<?php
$ntof=$_GET['ntof']; if (! is_numeric($ntof)) exit(); include("fotoweb77.php");  $queryImage = "SELECT theme.codeTheme,theme.panoramique  from image,theme where id='$ntof' AND theme.codeTheme=image.codeTheme"; $resultImage = mysql_query ($queryImage) or die ("La requête a échoué :".$queryImage);  $lineRelation = mysql_fetch_row($resultImage); $codeTheme =  $lineRelation[0]; $pano = $lineRelation[1];  mysql_free_result($resultImage);  echo "<HTML>"; echo "<HEAD>"; echo "<TITLE>Album photo</TITLE>"; echo "</HEAD>"; echo "<frameset frameborder=\"0\" framespacing=\"0\" cols=\"*,180\">"; echo "	<frameset  rows=\"8%,92%\">"; echo "		<frame name=\"menu\" scrolling=\"no\" frameborder=\"0\" noresize src=\"fotoweb63.php?menu=D\">"; echo "		<frame name=\"bas\" scrolling=\"auto\" frameborder=\"0\" noresize src=\"fotoweb69.php?ntof=$ntof&codeTheme=$codeTheme&pano=$pano\">"; echo "	</frameset>"; echo "	<frameset rows=\"75px,*\">"; echo "	<frame name=\"menuDroiteHaut\" scrolling=\"no\" frameborder=\"0\" noresize src=\"fotoweb66.html\">"; if ($pano!=1) { include("script_outils.php"); $nbphotosdroite = getValeurIni("nbphotosdroite"); echo "	<frame name=\"menuDroiteBas\" scrolling=\"auto\" frameborder=\"0\" noresize src=\"fotoweb82.php?codeTheme=$codeTheme&nbPhotos=$nbphotosdroite&pano=$pano\">"; } else echo "	<frame name=\"menuDroiteBas\" scrolling=\"auto\" frameborder=\"0\" noresize src=\"fotoweb66.html\">";  echo "	</frameset>"; echo "</frameset>"; echo "</HTML>"; ?> 