')!==false or strpos($getstr,"'")!==false or strpos($getstr,"\0")!==false or strpos($getstr,',')!==false or strpos($getstr,'"')!==false or strpos($getstr,'./')!==false or strpos($getstr,'/*')!==false or strpos($getstr,'*/')!==false or strpos($getstr,'--')!==false or strpos($getstr,'=')!==false or stripos($getstr,'union ')!==false or stripos($getstr,'benchmark')!==false or stripos($getstr,'(')!==false or stripos($getstr,')')!==false or stripos($getstr,'#')!==false or stripos($getstr,'INFORMATION_SCHEMA')!==false or is_array($getstr)) { header('Location: http://kmwap.ru/'); exit; } } unset($getstr); foreach ($_POST as $poststr) { if (strpos($poststr,"\0")!==false or strpos($poststr,'../')!==false or stripos($poststr,'INFORMATION_SCHEMA')!==false or stripos($poststr,'benchmark')!==false) { header('Location: http://kmwap.ru/'); exit; } } unset($poststr); foreach ($_POST as $pkey=>$pvalue) { $_POST[$pkey]=str_replace("'",'"',$_POST[$pkey]); $_POST[$pkey]=str_replace('`','"',$_POST[$pkey]); $_POST[$pkey]=str_replace('%','',$_POST[$pkey]); $_POST[$pkey]=str_replace('<','',$_POST[$pkey]); $_POST[$pkey]=str_replace('>','',$_POST[$pkey]); $_POST[$pkey]=str_replace('#','',$_POST[$pkey]); $_POST[$pkey]=str_replace('/*','',$_POST[$pkey]); $_POST[$pkey]=str_replace('*/','',$_POST[$pkey]); $_POST[$pkey]=str_replace('--','',$_POST[$pkey]); } $q = mysql_query("select `www` from `allarm`"); $m = @mysql_fetch_array($q); $a = $m['www']; $razdel = $_GET['dir']; /*if (preg_match("~(img/games|img/photo/anal|img/photo/oral|img/photo/siski|img/photo/popki|img/photo/geys|img/photo/lesbi|img/photo/sb|img/photo/other|img/video/anal|img/video/zoo|img/video/student|img/video/razvrat|img/video/lesbi|img/video/maloletki|img/themes|img/slide|img/video/chastnoe)~", $razdel)) {}else { echo '

Нет такого раздела!

'; exit; } */ if (!empty($razdel)) { $dir = opendir ($razdel); $i = 0; while ($file = readdir ($dir)) { if (($file != ".") and ($file != "..") and ($file != "Thumbs.db")) { $mas[] = $file; $i = $i + 1; } } closedir ($dir); $next = $_GET['next']; $kol = $i; if ($kol < 3) $count = $kol; if (empty ($next)) $next = 0; if ($kol > $next + 3) { if ($next !== 0) { $count = $next + 2; } else { $count = 2; } } else $count = $kol - 1; for ($j = $next; $j <= $count; $j++) { echo "
Скриншот:
.
Выберите формат:
"; if (count ($mas) == '0') echo "Файлы не найдены!"; } } echo "
"; if ($next != 0) echo "Назад ||"; if ($kol > $next + 3) echo " Вперед
"; echo'На главную
'; echo "
"; require_once("inc/footer.php"); ?>