2003-05-22 08:12:53 -04:00
|
|
|
<h1 id="wphead"><a href="http://wordpress.org" rel="external"><span>WordPress</span></a></h1>
|
|
|
|
<ul id="adminmenu">
|
|
|
|
<li><a href="b2edit.php"><strong>Post / Edit</strong></a></li>
|
|
|
|
<li><a href="javascript:profile(<?php echo $user_ID ?>)">My Profile</a></li>
|
|
|
|
<li><a href="b2team.php">Team</a></li>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
if ($pagenow != "b2profile.php") {
|
|
|
|
|
2003-05-22 18:51:40 -04:00
|
|
|
$menu = file("./b2menutop.txt");
|
2003-05-22 08:12:53 -04:00
|
|
|
$i=0;
|
|
|
|
$j=$menu[0];
|
|
|
|
while ($j != "") {
|
|
|
|
$k = explode("\t",$j);
|
|
|
|
if ($user_level >= $k[0]) {
|
|
|
|
echo "\n<li><a href='".$k[1]."'>".trim($k[2]).'</a></li>';
|
|
|
|
}
|
|
|
|
$i=$i+1;
|
|
|
|
$j=$menu[$i];
|
|
|
|
if (trim($j) == "***")
|
|
|
|
$j="";
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
?>
|
2003-05-24 17:50:22 -04:00
|
|
|
<li><a href="<?php echo $siteurl."/".$blogfilename; ?>">View site</a></li>
|
2003-05-23 04:29:51 -04:00
|
|
|
<li id="last"><a href="<?php echo $siteurl ?>/b2login.php?action=logout">Logout</a></li>
|
2003-05-22 08:12:53 -04:00
|
|
|
</ul>
|
2003-05-23 04:29:51 -04:00
|
|
|
<br clear="all" />
|
2003-05-22 08:12:53 -04:00
|
|
|
|
2003-05-23 04:29:51 -04:00
|
|
|
<h2><?php echo $title; ?></h2>
|