<div id="googlemapsForWPAdWrapper">
<a href="http://spn.tw/r3nVP"><img src="https://app.sponsoredtweets.com/images/blogger_signup.gif" alt="SponsoredTweets referral badge" style="border: 0;" width="728" height="90" /></a>
<div id="googlemapsForWP" class="left">
<h3><?php echo $heading ; ?></h3>
<div id='googlemapsForWPscreen'>
</div>
<div id='googlemapsForWPpanel'>
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" name="status" method="post" >
<input type="hidden" name="<?php echo $status; ?>" value="<?php $command; ?>" />
<label for="<?php echo $status; ?>" class="googlemapsForWPform left"><?php echo $advice; ?></label>
<input type="submit" id="<?php echo($status);?>-frm" name="<?php echo $status; ?>" value="<?php echo $command; ?>" class="googlemapsForWPform right btn" />
<div class="clear"></div>
</form>
<?php if($installed) : ?>
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" name="add" method="post" >
<input type="hidden" name="addmap" value="newmap" />
<input type="submit" name="newmap" value="Add New Map" class="googlemapsForWPform right btn" />
<div class="clear"></div>
</form>
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" name="view" method="post" >
<input type="hidden" name="viewmap" value="set" />
<select name="viewmapid" class="googlemapsForWPform left">
<?php foreach($maps as $key=>$map): ?>
<option value="<?php echo $map['id']; ?>" ><?php echo $map['mapname']; ?></option>
<?php endforeach; ?>
</select>
<input type="submit" name="viewmap" value="Add Map Flags" class="googlemapsForWPform right btn" />
<div class="clear"></div>
</form>
<!--
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" name="edit" method="post" >
<input type="submit" value="Edit Map Options" class="googlemapsForWPform" />
<select name="editmapid" class="googlemapsForWPform">
<?php foreach($maps as $key=>$map): ?>
<option value="<?php echo $map['id']; ?>" ><?php echo $map['mapname']; ?></option>
<?php endforeach; ?>
</select>
</form>
-->
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" name="delete" method="post" >
<input type="hidden" name="deletemap" value="set" />
<select name="deletemapid" class="googlemapsForWPform left">
<?php foreach($maps as $key=>$map): ?>
<option value="<?php echo $map['id']; ?>" ><?php echo $map['mapname']; ?></option>
<?php endforeach; ?>
</select>
<input type="submit" value="Delete Map" class="googlemapsForWPform right btn" />
<div class="clear"></div>
</form>
<?php endif; ?>
</div>
<div id='googlemapsForWPfooter'>
<p>Deleting a map is final and cannt be undone. It will remove the map and any flags that were on it</p>
<p>googlemapsForWP wordpress plugin allows you to import a static map and easily add flags or edit options without opening the html file.</p>
<p>Add multiple maps on the admin screen; the plugin will give you a shortcode for each to pop into your posts. </p>
<p>On the plan for the next releases:</p>
<ol>
<li>map options can be editted for saved maps</li>
<li>live placing of flags</li>
<li>full googlemaps static api support</li>
<li>googlemaps javascript support</li>
<li>geocoding function to allow easy selection of the centre you want using an address or postcode</li>
</ol><br /><br />
<p><span>Credits: <?php echo $credits; ?> </span> <span> Version: <?php echo $version; ?></span><a href="<?php echo googlemapsForWP::$googlemapsForWPURL; ?>" title="Webcat home" ><span>Website</span></a>
<span>Author: <?php echo googlemapsForWP::$googlemapsForWPAuthor; ?></span></p>
</div>
</div>
<div id="googlemapsForWPads" class="left">
</div>
<a href="http://spn.tw/r3nVP" class="clear"><img src="https://app.sponsoredtweets.com/images/blogger_signup.gif" alt="SponsoredTweets referral badge" style="border: 0;" width="728" height="90" /></a>
</div>