$section = 20; if ( $_GET["sub"] ) { $sub = $_GET["sub"]; } else { $sub = 20; } $ttl = "Eventos"; require "../lib/header.php"; $qsub = mysql_fetch_array(mysql_query("select ttl from sections where vis='1' and id='$sub'")); if ( $_GET["id"] ) { $q = mysql_fetch_array(mysql_query("select date, ttl, lead, txt from txt where vis='1' and section='$sub' and id='$_GET[id]'")); $gallery = $_GET["id"]; include "../lib/gallery.php"; ?>
echo stripslashes($q["txt"]); $files = mysql_num_rows(mysql_query("select id from txt_files where vis='1' and txt='$_GET[id]'")); if ( $files ) { ?>
$qafiles = mysql_query("select id, ttl, file from txt_files where vis='1' and txt='$_GET[id]' order by pos asc, ttl asc");
while ( $qfiles = mysql_fetch_array($qafiles) ) {
?>
—
}
?>
Nenhum conteúdo nesta secção
} } require "../lib/footer.php"; ?>