| Code: |
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
global $prefix, $db;
$result = $db->sql_query("SELECT pid, title FROM " . $prefix . "_pages WHERE active='1'");
while ($row = $db->sql_fetchrow($result)) {
$pid = intval($row['pid']);
$title = filter($row['title'], "nohtml");
$content .= "<strong><big>·</big></strong> <a href=\"phpnuke-document.html&pa=showpage&pid=$pid\">$title</a><br>";
} |