\n\n"; if ($page1) { echo "\n"; echo ($pagenum == 1 ? "".$locale['ac01']."" : "".$locale['ac01']."")."\n"; } if ($page2) { echo "\n"; echo ($pagenum == 2 ? "".$locale['ac02']."" : "".$locale['ac02']."")."\n"; } if ($page3) { echo "\n"; echo ($pagenum == 3 ? "".$locale['ac03']."" : "".$locale['ac03']."")."\n"; } if ($page4) { echo "\n"; echo ($pagenum == 4 ? "".$locale['ac04']."" : "".$locale['ac04']."")."\n"; } echo " \n"; $result = dbquery("SELECT * FROM ".$db_prefix."admin WHERE admin_page='$pagenum' ORDER BY admin_title"); $rows = dbrows($result); if ($rows != 0) { $counter = 0; $columns = 4; $align = $admin_images ? "center" : "left"; echo "\n\n"; while ($data = dbarray($result)) { if (checkrights($data['admin_rights']) && $data['admin_link'] != "reserved") { if ($counter != 0 && ($counter % $columns == 0)) echo "\n\n"; echo "\n"; $counter++; } } echo "\n
"; if ($admin_images) { echo "".$data[
\n".$data['admin_title']."
"; } else { echo " ".$data['admin_title'].""; } echo "
\n"; } else { echo "

\n".$locale['401']."

\n
\n"; } echo "\n\n\n"; closetable(); tablebreak(); opentable($locale['250']); echo "\n\n\n\n
".$locale['251']." ".dbcount("(user_id)", "users", "user_status<='1'")."
".$locale['252']." ".dbcount("(user_id)", "users", "user_status='2'")."
".$locale['253']." ".dbcount("(user_id)", "users", "user_status='1'")."
".$locale['254']." ".dbcount("(submit_id)", "submissions", "submit_type='n'")."
".$locale['255']." ".dbcount("(submit_id)", "submissions", "submit_type='a'")."
".$locale['256']." ".dbcount("(submit_id)", "submissions", "submit_type='l'")."
".$locale['260']." ".dbcount("(submit_id)", "submissions", "submit_type='p'")."
".$locale['257']." ".dbcount("(comment_id)", "comments")."
".$locale['258']." ".dbcount("(shout_id)", "shoutbox")."
".$locale['259']." ".dbcount("(post_id)", "posts")."
".$locale['261']." ".dbcount("(photo_id)", "photos")."
\n"; closetable(); echo "\n"; require_once BASEDIR."footer.php"; ?>