PHP Classes

File: index.php.txt

Recommend this page to a friend!
  Classes of Biju   Nearby Places Plugin   index.php.txt   Download  
File: index.php.txt
Role: Example script
Content type: text/plain
Description: Index File to List Places
Class: Nearby Places Plugin
Find places of interest near by a given location
Author: By
Last change:
Date: 11 years ago
Size: 1,410 bytes


Class file image Download
$geoplugin = new nearbyPlugin();
<form name="form1" method="post" action="">
  <table width="500" border="0">
      <td height="36" colspan="2"><div align="center"><strong>Find Places in Kerala, India Near to:</strong></div></td>
      <td width="177"><div align="right"><strong>City</strong>&nbsp;&nbsp;</div></td>
      <td width="313"><label>
        <input type="text" name="city" id="city">
      <td><div align="right"><strong>Location&nbsp;</strong>&nbsp;</div></td>
        <input type="text" name="location" id="location">
      <td><div align="right"><strong>Within a Radius of&nbsp;</strong>&nbsp;</div></td>
      <td><input type="text" name="r_radius" id="r_radius">
      <td><input type="hidden" name="country" id="country" value="India">
      <input type="hidden" name="region" id="region" value="Kerala"></td>
      <td colspan="2"><div align="center">
        <input type="submit" name="List Places" id="List Places" value="List Places">