<?php
session_start();  $str = $_GET['str']; $nbResult = $_GET['nbResult']; $nbPhotos = $_GET['nbPhotos']; $codeTheme = $_GET['codeTheme']; $nbPage = $_GET['nbPage']; $pano = $_GET['pano'];   echo "<html>"; echo "<head>"; echo "<link rel='stylesheet' href='ergonomie/style.css'>"; echo "<script language='javascript' src='script/script.js'></script>"; echo "</head>"; echo "<body>"; echo "<table border='0' width='95%' align='center'>"; echo "<tr>"; echo 	"<td class='libelle' align='center' colspan='3'>".$nbResult." photos</td>"; echo "</tr>"; if ($nbPage >= 5) { echo "<tr>"; echo "<td align='center' valign='center'>"; echo 	"<img src='ergonomie/_images/imdebut.gif' onClick=deplacerAscenceur($codeTheme,$nbPhotos,$nbResult,$nbPage,'precedent',$pano) id='imdebut' onMouseOver=rolloverIn('imdebut') onMouseOut=rolloverOut('imdebut') style='cursor:pointer;cursor:hand' alt='Pages précédentes' title='Pages précédentes'>"; echo "</td>"; }  echo "<td align='center' valign='center'>"; echo 	$str; echo "</td>";  if ($nbPage >= 5) { echo "<td align='center' valign='center'>"; echo 	"<img src='ergonomie/_images/imfin.gif' onClick=deplacerAscenceur($codeTheme,$nbPhotos,$nbResult,$nbPage,'suivant',$pano) id='imfin' onMouseOver=rolloverIn('imfin') onMouseOut=rolloverOut('imfin') style='cursor:pointer;cursor:hand' alt='Pages suivantes' title='Pages suivantes'>"; echo "</td>"; } echo "</tr>"; echo "</table>"; if (isset($_SESSION['SESS_CHRONO']) && $_SESSION['SESS_CHRONO']!='rand'){ $libChrono=">>chronologique"; $libRand="aléatoire"; }else{ $libChrono="chronologique"; $libRand=">>aléatoire"; }  echo "</table>"; echo "<table border='0' width='95%' align='center'>"; echo "<tr>"; echo "<td class='libellepetit' align='left' ><A class='ordre' href='#'onClick=updateOrdre($codeTheme,$nbPhotos,$nbResult,$nbPage,'',$pano,'date')>".$libChrono."</A></td>"; echo "<td class='libellepetit' align='right' ><A class='ordre' href='#'onClick=updateOrdre($codeTheme,$nbPhotos,$nbResult,$nbPage,'',$pano,'rand')>".$libRand."</A></td>"; echo "</tr>"; echo "</table>";  echo "</body>"; echo "</html>"; ?> 