Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/form_map_location_body.html.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  Forms generation and 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: Forms generation and 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: 2010-05-11 15:08
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>