/* * Screenshots Page * */ // set this for position of this file relative $file_root = "."; // load libraries require($file_root."/include/"."incl.php"); // start of html html_header("ScummVM :: Screenshots"); sidebar_start(); //display welcome table echo html_round_frame_start("Screenshots","98%","",20); ?>
',
'align=center class="color0"'
)
),
html_frame_tr(
html_frame_td(
html_ahref(" << Back",$PHP_SELF."?offset=".$offset,"class=menuItem"),
'align=left class="color4"'
)
),
html_frame_end();
}
}
else
{
// Grab list of images from screenshot dir
// and loop through them and add to $shots array
$shots = array();
$images = get_files($file_root."/screenshots","png");
while (list($key,$image) = each($images))
{
if (ereg("big",$image))
continue;
array_push($shots,$image);
}
// counter vars
$total = count($shots);
$num = 0;
$where = 0;
echo html_frame_start("Screenshot Gallery","540",2,0,"color0")."
',
'align=center class="color0"'
);
// count number of images displayed.
$num++;
// end row at 2
if (($num % 2 == 0) && ($num != 1))
{
echo "