<?php
 
    require_once('nearbyplugin.class.php');
 
    $geoplugin        =    new nearbyPlugin();
 
    if($_POST['city'])
 
    {
 
    $geoplugin->nearbyList();
 
    }
 
    
 
?>
 
<form name="form1" method="post" action="">
 
  <table width="500" border="0">
 
    <tr>
 
      <td height="36" colspan="2"><div align="center"><strong>Find Places in Kerala, India Near to:</strong></div></td>
 
    </tr>
 
    <tr>
 
      <td width="177"><div align="right"><strong>City</strong>  </div></td>
 
      <td width="313"><label>
 
        <input type="text" name="city" id="city">
 
      </label></td>
 
    </tr>
 
    <tr>
 
      <td><div align="right"><strong>Location </strong> </div></td>
 
      <td><label>
 
        <input type="text" name="location" id="location">
 
      </label></td>
 
    </tr>
 
    <tr>
 
      <td><div align="right"><strong>Within a Radius of </strong> </div></td>
 
      <td><input type="text" name="r_radius" id="r_radius"> 
 
        <strong>Miles</strong></td>
 
    </tr>
 
    <tr>
 
      <td> </td>
 
      <td><input type="hidden" name="country" id="country" value="India">
 
      <input type="hidden" name="region" id="region" value="Kerala"></td>
 
    </tr>
 
    <tr>
 
      <td colspan="2"><div align="center">
 
        <label>
 
        <input type="submit" name="List Places" id="List Places" value="List Places">
 
        </label>
 
      </div></td>
 
    </tr>
 
  </table>
 
</form>
 
 
 |