"; // Sets the Redicection META tag to go to next slide automatically else echo "{Normal Browsing}"; } else echo "{ Slide Show Finished }"; // Sets the Redicection META tag to go to next slide automatically echo ""; echo "
"; if ($currentShow==1) echo ""; else echo " "; if($auto == '') { if ($currentShow>=$maxphoto) echo " "; else echo " "; }else { echo " "; } ?> =$maxphoto) echo " "; else echo " "; echo "
"; echo " $maxphoto){ echo "\n"; echo "\n"; echo ""; } else { $countphoto = 0; $page_detail_result= sql_query("SELECT `id`,`filename`,`caption`,`cap_pos` FROM upload_new_images WHERE page_id = '$page_id' AND iszip=0 and `show`=1 order by myorder", $dbi); while (list($id_result,$filename_result,$caption_result,$cap_pos_result) = sql_fetch_row($page_detail_result, $dbi)){ $countphoto++; if ($currentShow <= $maxphoto){ if ($currentShow==$countphoto){ echo "\n"; echo "\n"; echo ""; } } } echo "\n"; echo "\n"; echo ""; } echo "
Slide Show Finished

".$caption_result."
$currentShow/$maxphoto
"; echo ""; ?>