31 lines
800 B
PHP
31 lines
800 B
PHP
<?php
|
|
/** artist list for a specific gallery
|
|
* @version 1.0.0
|
|
* @date 2009-07-27
|
|
* @author Martin Lenzelbauer
|
|
*/
|
|
|
|
/** predefined entry point for the PHP script
|
|
* @return page content
|
|
*/
|
|
//-------------------------------
|
|
function doPhpScript($page){
|
|
//-------------------------------
|
|
$title = "Galerien | Sammlung Hotel Lebensquell";
|
|
$image = "badzell_logo_neu_klein.jpg";
|
|
$url = "http://www.lebensquell-badzell.com/";
|
|
$ids = array();
|
|
|
|
$out = "<h1>" . $title . "</h1>";
|
|
$out .= "<a href=\"" . $url . "\" target=\"_blank\"><img src=\"images/" . $image . "\" alt=\"" . $title . "\" /></a><h1> </h1>";
|
|
$j = 0;
|
|
foreach ($ids as $id) {
|
|
$person = FlexiconFactory::instanceById($id, $page);
|
|
$person->load();
|
|
$out .= $person->publishForPersonList($j%2);
|
|
$j++;
|
|
}
|
|
return $out;
|
|
}
|
|
|
|
?>
|