<?php
    include('views/_header.tpl.php');
    
    // LET'S GET THE LISTING ID THAT WE WANT TO UPGRADE
    if($_GET){
        if($_GET['lid'] != ''){
            $lid = $_GET['lid'];
        }
    }
    
?>
 <link rel="stylesheet" href="/static/css/pricing.css"/>
    
<style type="text/css">
    .listing_warning a { color:#325fac; font-weight:600; }
    .listing_warning a:hover { color:#0096ff; }
</style>

<?php if(isset($_SESSION['loggedin']) && empty($lid)) : ?>     
    <div class="listing_warning" style="background:none; border:none; font-size:19px; line-height:29px; min-height:50px; height:auto; font-weight:300; margin-top:8px;">
        <div style="background:#e5e5e5; border-bottom:1px solid rgba(255,255,255,.5); color:#000; text-align:center; text-shadow:0px 1px 0px #fff; padding:20px 0 20px;">
            <span style="color:#ff0000;">Please choose a listing that you would like to uprade...</span>
            <br />
            <span style="font-size:15px;">Click <a href="/profile/edit">Edit My Account</a>, the visit your My Listings tab (or click the 
            Upgrade button on your listing&rsquo;s Listing Details page)</span>
        </div>
        <div class="clear"></div>
    </div>
<?php elseif(!$_SESSION['loggedin']) : ?>
    <div class="listing_warning" style="background:none; border:none; font-size:19px; line-height:29px; min-height:50px; height:auto; font-weight:300; margin-top:8px;">
        <div style="background:#e5e5e5; border-bottom:1px solid rgba(255,255,255,.5); color:#000; text-align:center; text-shadow:0px 1px 0px #fff; padding:20px 0 20px;">
            Please <a href="#login" class="loginpop loginbtn" style="outline: 0;">login <span style="font-family:'Times New Roman';">»</span></a>, then 
            <span style="font-weight:500;">choose a listing</span> that you would like to uprade first...
            <br />
            <span style="font-size:15px;">Click <span style="font-weight:500;">Edit My Account</span>, the visit your My Listings tab (or click the 
            Upgrade button on your listing&rsquo;s Listing Details page)</span>
        </div>
        <div class="clear"></div>
    </div>  
<?php endif; ?>
 
 <br /><br />
 
 <h1 style="text-align:center;">
        Select an upgrade package below to make your listing stand out &amp; reach more potential renters/lessors...
 </h1>

<br />

<div class="comparison">

  <table style="border-bottom:0px !important">
    <thead>
      <tr>
        <th class="tl tl2"></th>
        <th class="grayqbo">
          Silver Listing Package
        </th>
        <th class="qbo">
          Gold Listing Package
        </th>
        <th class="grayqbo">
          Platinum Listing Package
        </th>                
      </tr>
      <tr>
        <th style="text-align:left; display: table-cell; vertical-align: bottom; padding-bottom:5px;">
            <strong>Listing Enhancements</strong><br />
            <span style="font-weight:300;">Enhance your listing with any of the additional features below</span>          
        </th>
        <th class="price-info">
          <div class="pricedescrip">A way to get started</div>
          <!--<div class="price-was">Was $6.00</div>-->
          <br />
          <div class="price-now"><span>$99</span> /month</div>
           <br />
          <div><a href="/pay?lid=<?php echo $lid; ?>&plan=Silver" class="price-buy">Buy Now</a></div>
          <!--<div class="price-try"><span class="hide-mobile">or </span><a href="#">try it free<span class="hide-mobile"></span></a></div>-->
        </th>
        <th class="price-info">
          <div class="pricedescrip">Our most popular choice</div>
          <!--<div class="price-was">Was $7.00</div>-->
           <br />
          <div class="price-now"><span>$149</span> /month</div>
          <br />
          <div><a href="/pay?lid=<?php echo $lid; ?>&plan=Gold" class="price-buy">Buy Now</a></div>
          <!--<div class="price-try"><span class="hide-mobile">or </span><a href="#">try it free<span class="hide-mobile"></span></a></div>-->
        </th>
        <th class="price-info">
          <div class="pricedescrip">Get noticed</div>
          <!--<div class="price-was">Was $25.00</div>-->
          <br />
          <div class="price-now"><span>$199</span> /month</div>
          <br />
          <div><a href="/pay?lid=<?php echo $lid; ?>&plan=Platinum" class="price-buy">Buy Now</a></div>
          <!--<div class="price-try"><span class="hide-mobile">or </span><a href="#">try it free<span class="hide-mobile"></span></a></div>-->
        </th>
      </tr>
    </thead>
    <tbody style="border-bottom:1px solid #ccc !important">
      <tr>
        <td></td>
        <td colspan="3">Featured Listing</td>
      </tr>
      <tr class="compare-row">
        <td>Featured Listing</td>
        <td></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="3">HTML Listing Content</td>
      </tr>
      <tr class="compare-row-white">
        <td>HTML Listing Content</td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="3">Visitor Counter</td>
      </tr>
      <tr class="compare-row">
        <td>Visitor Counter</td>
        <td></td>
        <td></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="3">Top of Category</td>
      </tr>
      <tr class="compare-row-white">
        <td>Top of Category</td>
        <td></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="3">Google Map</td>
      </tr>
      <tr class="compare-row">
        <td>Google Map</td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
        <td><span class="tickgreen"><i class="fa fa-check" aria-hidden="true"></i></span></td>
      </tr> 
    </tbody>
      <tfoot style="background:none; border:0px !important">
          <tr style="border-bottom:0 !important">
                <td></td>     
                <td><a href="/pay?lid=<?php echo $lid; ?>&plan=Silver">Buy Now</a></td>
                <td><a href="/pay?lid=<?php echo $lid; ?>&plan=Gold">Buy Now</a></td>
                <td><a href="/pay?lid=<?php echo $lid; ?>&plan=Platinum">Buy Now</a></td>       
          </tr> 
      </tfoot>          
  </table>
<br /><br />
Featured Listings appear on the Home page above all the regular listings &amp; have larger images.
</div>
<br />

<?php include('views/_footer.tpl.php'); ?>