Location: PHPKode > projects > AlkalinePHP > menu.php
<?
include("identify.php");
load_all("menu", 1);
?>

<!doctype html public "-//w3c//dtd html 3.2//en">

<html>

<head>
<title><? echo "$site_name Menu"; ?></title>
<meta name="GENERATOR" content="AlkalinePHP">
<meta name="FORMATTER" content="Arachnophilia 4.0">

</head>

<body>



<?
topheader();
echo "<center><b>User Menu</b></center>";
botheader();
topcontent();
echo "<table cellpadding=5 align=center bordercolor=$main_theme->table_border_color>";
echo "				<tr>";


if ($main_user->level >= 5) {
	echo "					<td width=100>";
	topheader_small();
	echo "High Level Access:";
	botheader();

	topcontent_small();
	if ($main_user->level >= 10) {
		echo "---<a href=\"databases.php\">view/edit</a> databases<br>\n";
		echo "---<a href=\"editsettings.php\">edit</a> settings<br>\n";
	}

	if ($main_user->level >= $main_settings->min_op_add_user) {
		echo "---<a href=\"add_user.php\">add</a> a new user<br>\n";
	}

	if ($main_user->level >= $main_settings->min_op_edit_themes) {
		echo "---<a href=\"themes.php\">edit</a> themes<br>\n";
	}

	if ($main_user->level >= $main_settings->min_op_post_news) {
		echo "---<a href=\"articlesubmit.php?action=newarticle\">Add</a> a news article<br>\n";
	}

	echo "---<a href=\"phpinfo.php\">PHP</a> info<br>\n";

	botcontent();
}
echo "</td><td>";

topheader_small();
echo "User Access:";
botheader();

topcontent_small();
echo "---<a href=\"user.php?user_id=$main_user->id\">view</a> | <a href=\"edituser.php\">edit</a> profile<br>\n";
echo "---<a href=\"viewuser.php\">view</a> all users<br>\n";
echo "---<a href=\"user.php?user_id=$main_user->id\">read</a> messages<br>\n";
echo "---<a href=\"themes.php\">Set</a> theme usage<br>\n";
botcontent();
echo "</td></tr></table>";


topheader_small();
echo "Public Access:";
botheader();

topcontent();
echo "---<a href=\"news.php\">View</a> news<br>\n";
echo "---<a href=\"login1.php\">Login</a> under a different name<br>\n";
echo "---<a href=\"stats.php\">Site statistics</a><br>\n";
echo "---<a href=\"forum.php\">Forums</a>\n";
botcontent();
botcontent();

include("botpage.inc");
?>
		
</body>

</html>
Return current item: AlkalinePHP