PHP Classes

File: templates/form_map_location_body.html.php

Recommend this page to a friend!
  Classes of Manuel Lemos   PHP Forms Class with HTML Generator and JavaScript Validation   templates/form_map_location_body.html.php   Download  
File: templates/form_map_location_body.html.php
Role: Auxiliary script
Content type: text/plain
Description: Google Maps map location custom input form body template
Class: PHP Forms Class with HTML Generator and JavaScript Validation
HTML forms generation and validation.
Author: By
Last change: Added an example of how to use GeoCoding support to search for a location.
Date: 13 years ago
Size: 824 bytes
 

Contents

Class file image Download
<table align="center">

<tr>
<th><?php $form->AddLabelPart(array("FOR"=>"address")); ?></th>
<td><?php $form->AddInputPart("address"); ?>
<?php
       
if(IsSet($verify["map"]))
        {
?>
&nbsp;[Verify]
<?php
       
}
?></td>
</tr>

<tr>
<th><?php $form->AddLabelPart(array("FOR"=>"country")); ?></th>
<td><?php $form->AddInputPart("country"); ?>
<?php
       
if(IsSet($verify["country"]))
        {
?>
&nbsp;[Verify]
<?php
       
}
?>
&nbsp;
<?php $form->AddInputPart("locate_address"); ?></td>
</tr>

</table>

<fieldset>
<legend><b><?php $form->AddLabelPart(array("FOR"=>"map")); ?></b></legend>
<div align="center"><?php $form->AddInputPart("map"); ?>
<?php
       
if(IsSet($verify["map"]))
        {
?>
&nbsp;[Verify]
<?php
       
}
?></div>
</fieldset>
<hr />
<div align="center"><?php $form->AddInputPart("refresh"); ?> <?php $form->AddInputPart("doit"); ?></div>