include("Templates/img.inc");
$line_arr=file("bild_temp.htm");
$img_nr=$_GET["img"] or $img_nr=0;
$img_nr=1*$img_nr;
$img_arr=$image_list[$img_nr];
// #EBFF7F width="624" height="624"
$table='
|
[title]
 |
|
|
|
|
';
$width=$img_arr["width"]*2;
if ($width==624) {
$height=440;
} else {
$height=612;
}
$table=str_replace("[width]",$width,$table);
$table=str_replace("[height]",$height,$table);
// $table=str_replace("[title]",$img_arr["title"]."
".$img_arr["src"],$table); // Bildernamen anzeigen
$table=str_replace("[title]",$img_arr["title"],$table);
$table=str_replace("[filename]",$img_arr["filename"],$table);
$table=str_replace("[lastnum]",$img_arr["lastnum"],$table);
$table=str_replace("[nextnum]",$img_arr["nextnum"],$table);
if($_GET["auto"]>0) {
$script='document.write("
<\/a>");';
} else {
$script='document.write("
<\/a>");';
}
$table=str_replace("[script]",$script,$table);
$insertmark='';
if ($_GET["auto"]>0) {
$lastmark='';
$endscript='
';
$nextfile="'image_left.php?auto=" . $_GET["auto"] . "&img=" . $img_arr["nextnum"] ."#start" . "'";
$aktfile="'image_left.php?auto=" . $_GET["auto"] . "&img=" . $img_arr["nextnum"] ."#start" . "'";
$stopfile="'image_left.php?img=" . $img_nr ."#start" . "'";
$endscript=str_replace("[nextfile]",$nextfile,$endscript);
$endscript=str_replace("[stopfile]",$stopfile,$endscript);
$millitime=$_GET["auto"]*1000;
$endscript=str_replace("[millitime]",$millitime,$endscript);
}
?>
$noline='