include("config.php");
define('AVULSED_ROOT', '../../');
if ($_GET["sec"]==""){
die("error: no has especificado la seccion");
}else{
$sec=$_GET["sec"];
}
if ($gestor = opendir("photos/$sec/")) {
if (file_exists("photos/$sec/_cabecera.html")) {
if ($gestor_c=fopen("photos/$sec/_cabecera.html", "rb")){
$contenido = '';
while (!feof($gestor_c)) {
$contenido .= fread($gestor_c, 8192);
}
fclose($gestor_c);
}
$cabecera=$contenido;
}
if (file_exists("photos/$sec/_pie.html")) {
if ($gestor_p=fopen("photos/$sec/_pie.html", "rb")){
$contenido = '';
while (!feof($gestor_p)) {
$contenido .= fread($gestor_p, 8192);
}
fclose($gestor_p);
}
$pie=$contenido;
}
// closedir($gestor);
}else{
die("error:la seccion no existe");
}
?>
AVULSED Official Gallery of Gore
Click
on each thumb to enlarge
|
|