<?php $basedir = dirname(__FILE__) . "../../"; include $basedir . 'include/header.php'; $latest_item = itemClass::select_latest_item(); $feture_image = itemClass::select_featured_image($latest_item['id']); $user = user::user_profile($latest_item['owner_id']); $riew = itemClass::viewReview($latest_item['id']); $riew = mysql_num_rows(mysql_query($riew)); ?> <!--Content Left--> <div class="contentL"> <form id='' method="POST" action ="searchListing.php" > <h2> Rent Anything! </h2> <h4 class="pT15 pB15"> Rent with ease. We'll take care of the details! </h4> <div class="submit"> <input class="need" type="text" name="word" onclick="if(this.value=='What do you need?'){this.value=''}" onblur="if(this.value==''){this.value='What do you need?'}"value="What do you need?" /> <div class="wdth278"> <input class="zip mR20 " type="text" name="zip" onclick="if(this.value=='Zip code'){this.value=''}" onblur="if(this.value==''){this.value='Zip code'}" value="Zip code" /> <input class="search" type="submit" name="search" value="search " /> </div> </div>