Location: PHPKode > projects > Kwalbum > kwalbum/pages/LocationsPage.php
<?php
/**
 * Show a map of all geotagged locations and items
 *
 * @author Tim Redmond
 * @version 2.2
 * @since 2.2 Apr 28, 2009
 * @package kwalbum
 */
require_once 'include/IPage.php';

class LocationsPage implements IPage
{
	function GetHead(&$title)
	{
		global $URLP;
		$title = $URLP->GetTitle().': Locations';
		return '<script src="http://maps.google.com/maps?file=api&v=2&key='.GOOGLE_MAP_KEY.'" type="text/javascript"></script>
<script src="ajax/gmap/map.js" type="text/javascript"></script>';
	}

	function ShowBody()
	{
		global $URLP, $DB;
		require 'LocationsPage.html.php';
	}
}
Return current item: Kwalbum