0 ? " AND a_id NOT IN (".classifyarray($_SESSION['tempShown'],'unarray').")" : ''; // fShowSQL($sql); $clsMySQL->execQuery($sql); while ( $a = $clsMySQL->fetchArray() ) { $_SESSION['tempShown'][] = $a['a_id']; $uploaded_photo = ""; if(file_exists('../'.img_path($a['a_path'],'thumb'))) { $fPath = img_path($a['a_path'],'thumb'); } else { $fPath = $a['a_path']; } $uploaded_photo .= '
'; echo $uploaded_photo; } ?>