Look4CarCare Look4CarCare
   Home   |   About Us   |   Contact Us   



Quick Search:


Search Look4carcare from your own website

To do this, simply add the HTML below onto your page:

<form method="post" action="/LVH5YR62223">
  <input type="hidden" name="action" value="search" />
  <!--<input type="hidden" name="selSearchDistance" value="20" />-->
  <div>
    <span class="label">Search:</span>
    <select name="selCategory" id="selCategory">
      <option value="M1LCMD26410">SMART Repairs</option>
    </select>
  <div>
  <div>
    <span class="label">Postcode:</span>
    <span>
      <input type="text" name="txtPostcode1" id="txtPostcode1"
        value="" maxlength="4" size="3" style="text-transform:uppercase" />
      <input type="text" name="txtPostcode2" id="txtPostcode2"
        value="" maxlength="3" size="2" style="text-transform:uppercase" />
    </span>
  </div>
  <div>
    <span class="label">Distance:</span>
    <select name="selSearchDistance">
      <option value="5">5 miles</option>
      <option value="10">10 miles</option>
      <option value="20">20 miles</option>
      <option value="40">40 miles</option>
    </select>
    <input type="submit" value="Search!" />
  </div>
</form>

Please note that this code can change from time to time. To account for this, if you have a PHP-enabled website (security settings allowing), it may be more convenient and easier to update if you pull the above code snippet from our site regularly, and cache it somewhere on your system. At its' simplest, the code to do this would look like this:

$localfile = "externalsearch.txt";
$externalfile = "http://www.look4carcare.co.uk/externalsearchcode.php";
if (!file_exists($localfile) ||
    (filemtime($localfile) < strtotime(date("Y-m-d"))))
{
    $searchCode = join("", file($externalfile));
    $fh = fopen($localfile, "w");
    fputs($fh, $searchCode);
} else { $searchCode = join("", file($localfile));}
 
If you would like to advertise on this site
please contact us
 
 
   Home   |   About Us   |   How it Works   |   Services   |   Search for suppliers   |   FAQ   |   How to be listed   |   News   |   Site Map   
Copyright © 2006 Look4CarCare. All Rights Reserved