rendered paste body<?php session_start();ob_start();if ($_SESSION['rank'] == '[admin]') {include("e:/domains/c/cic-clan.co.uk/user/htdocs/includes/common.php");include($document_root."includes/menu.php");$path ="notts_meetup";//echo $path;//Set up table and open first rowecho "<head><LINK REL=STYLESHEET TYPE='text/css' HREF='/amiga_files/ned_hltv.css'></head>";echo "<body class=\"tdgrey\"><br>";echo "<center><table border='0' bgcolor=#ffffff class='tdgrey_75'><tr>";//echo "<a href=$includes$pathbak$picnamebak><img src=$includes$pathbak$picnamebak width=200 height=200 border=0 target=_blank></a>";// connect to mysqlinclude($document_root."includes/connect_cic-clan.php");//$id_low = 0;//$id_high = 11;//$result = mysql_query("SELECT * FROM notts_meetup WHERE id >$id_low AND id < $id_high",$db );//while ($myrow = mysql_fetch_array($result)) {$result = mysql_query("SELECT * FROM notts_meetup",$db );$number=0;while ($myrow = mysql_fetch_array($result)) {// If number of pictures displayed is a multiple of 10// Close current row and open a new oneif (($number % 10)==0) { echo '</tr><tr>';}$number++;$picpath = $myrow["picpath"]; $large_pic = $myrow["large_pic"]; $thumb_name = $myrow["thumb_name"]; $id = $myrow["id"]; $thumb_path = $myrow["thumb_path"];echo "<td bgcolor='#D3D3D3' width='10%'>"; echo "<a href=/file_anywhere/$picpath/$large_pic><img src=/file_anywhere/$thumb_path/$thumb_name border=0 target=_blank></a>";; echo "</td>";//echo "<td>"; echo $row[email]; echo $count; echo"</td>"; //$number++;// $id_low++;$id_high++;// echo"<tr>";}//}if ($_SESSION['rank'] !== '[admin]') { echo "<font class=textred>access denied you are not logged in as an admin</font>"; //header("location:index.php"); header("Refresh: 3; URL=$webroute"); } echo "</tr>";echo "</table></center></body>"; } ob_end_flush();?>