title = $title;
$this->vers_string = $vname;
$this->vers_number = $vnum;
$this->datefmt = $datefmt;
}
}
class Menu
{
var $urls;
function Menu($entries)
{
$this->urls = $entries;
}
}
class Screenshots
{
var $images;
function Screenshots($imgNames)
{
$this->images = $imgNames;
}
function RandomImg()
{
$idx = array_rand($this->images);
$this->MakeAnchor($this->images[$idx]);
}
function AllImg()
{
foreach($this->images as $img) {
$this->MakeAnchor($img);
}
}
function MakeAnchor($img)
{
echo "
\n";
}
function FullImage($img)
{
$img = basename($img);
echo "
\n";
}
}
?>