include("../px/includes/db.php");
?>
include("liveheader.php");
?>
|
|
|
$id = $_REQUEST['id'];
// print $id . ' ';
print '';
$result=mysql_query("SELECT * FROM gcpx ORDER BY gid DESC ");
while($row=mysql_fetch_array($result)){
$wouldbe = 'images/thumbs/' . $row['gid'] . '_1.jpg';
// if( is_file( "images/main/" . $a_row['CID'] . "_1.jpg" )) {
// if ( $wouldbe exists ) {
if( is_file( $wouldbe )) {
$pcount++;
$rcount++;
Print '
| ';
if ( $rcount >= 6 ) { print ' '; $rcount = ''; }
if ( $pcount >= 1000 ) { break; }
} // if pic exists
}
print ' ';
?>
|
|
|