<?php
$ntof=$_GET['ntof']; if (! is_numeric($ntof)) exit();  $codeTheme=$_GET['codeTheme']; if (! is_numeric($codeTheme)) exit();  $pano=$_GET['pano']; if (! is_numeric($pano)) exit();   echo "<html>"; echo "<head>"; echo 	"<title>Album photos</title>"; echo "</head>"; echo "<script language='javascript' >"; echo "setTimeout(\"frames['centre'].location.replace('visuPhoto_NoFrame.php?ntof=$ntof&logged=ok&res='+screen.width+'*'+screen.height);\",100);"; echo "</script>";  if ($pano!=1){ echo 	"<frameset framespacing='0' border='false' frameborder='0' cols='114,*'>"; echo 		"<frame name='gauche' scrolling='auto' src='fotoweb3.php'>"; echo 		"<frame name='centre' scrolling='auto' src=''>"; echo "</frameset>"; }else{ include("script_outils.php"); $nbphotospanobas = getValeurIni("nbphotospanobas");  echo 	"<frameset framespacing='0' border='false' frameborder='0' rows='*,120px'>"; echo 		"<frame name='centre' scrolling='auto' src=''>"; echo 		"<frame name='basPano' scrolling='auto' src='fotoweb82.php?codeTheme=".$codeTheme."&nbPhotos=".$nbphotospanobas."&pano=1'>"; echo "</frameset>"; } echo "</html>"; ?> 