Location: PHPKode > projects > Kwalbum > kwalbum/pages/AdminMissingFilesPage.php
<?php
/*
 * Created on Sep 24, 2008
 * 2.0
 */
require_once 'include/IPage.php';
class AdminMissingFilesPage implements IPage
{
	private $result;

	function GetHead(& $title)
	{
		if (false == USER_IS_ADMIN)
			return;

		global $URLP;

		$title = 'Check for Missing Files';
		return '';
	}

	function ShowBody()
	{
		if (false == USER_IS_ADMIN)
			return;
		global $DB, $URLP;
		$query = 'SELECT ItemId, ItemPath, ItemFilename, ItemTypeId, ItemDate, ItemTime, Location FROM '.ITEM_TABLE.', '.LOCATION_TABLE.
			" WHERE LocationId=ItemLocationIdFk";
		$result = $DB->Query($query);
		$url = $URLP->GetExtendedURL();
		require 'AdminMissingFilesPage.html.php';
	}
}
?>
Return current item: Kwalbum