.content.php
<?php /** * This file is the local content file * It may be auto generated from the database or * manually edited * * @package picture-gallery * @filesource * @see content.php' * @copyright (c) http://Finn-Rasmussen.com * @license http://Finn-Rasmussen.com/license/ myPHP License conditions * @author http://Finn-Rasmussen.com * @version 1.11 * @since 27-nov-2009 */ require_once(HTML_BASE_UTIL_PATH.'/Picture.php'); if (defined('HTML_LANGUAGE_UTIL_PATH')) { require_once(HTML_LANGUAGE_UTIL_PATH.'/Translate.php'); } require_once(HTML_PAGE_COMPONENT_PATH.'/Page.php'); $h1 = $pageKeyword; if (defined('HTML_LANGUAGE_UTIL_PATH')) { $h1 = Translate::get(TRANSLATE_DIR_PICTURE_GALLERY); } Page::h1($h1);
/** * Show all the images in the picture gallery */ $count = count($GLOBALS[DEFINE_PICTURES]); for ($name = 0; $name < $count; $name++) { Picture::display($name); }
?>
|