include_once("header.php"); if ($_SESSION[forcerefresh][thumb]) { unset($_SESSION[forcerefresh][thumb]); echo "\n"; include_once("footer.php"); die; } if (!$_GET[d]||ereg("\.\.",$_GET[d])) { $c=chdir($imagedir); unset($_GET[d]); } else { $_GET[d]=rawurldecode($_GET[d]); $_GET[d]=stripslashes($_GET[d]); $c=@chdir($imagedir."/".$_GET[d]); } if (!$c&&$_GET[d]) { echo "
$ddir | \n";
if ($i%$_SESSION[admin][cols]==($_SESSION[admin][cols]-1)) {
echo " \n";
}
$j++;
}
}
$j=$i;
for ($i=0; $i
\n";
echo " \n"; echo " \n"; echo " | \n";
if ($j%$_SESSION[admin][cols]==($_SESSION[admin][cols]-1)) {
echo " ".basename($videos[$i])." | \n";
if ($j%$_SESSION[admin][cols]==($_SESSION[admin][cols]-1)) {
echo " \n";
}
$j++;
}
echo "