// Ensure the admin is allowed to access the selected page
$pageon = true;
if ($_GET['pagenum'] == 1 && !$page1) $pageon = false;
if ($_GET['pagenum'] == 2 && !$page2) $pageon = false;
if ($_GET['pagenum'] == 3 && !$page3) $pageon = false;
if ($_GET['pagenum'] == 4 && !$page4) $pageon = false;
[b]if ($pageon == false) { redirect("index.php".$aidlink."&pagenum=$default"); }[/b]
Category Forum
Upgrading issues - 8Labels
None yet
Statistics
1 participant
Notifications
You are not receiving notifications from this thread.
Related Questions