File:  [mozdev] / cdn / www / b2-include / b2menutop.php
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Sun Mar 16 20:26:15 2003 UTC (16 years, 5 months ago) by cdn
Branches: MAIN
CVS tags: HEAD
deboog

    1: <img src="/b2-img/blank.gif" width="1" height="5" alt="" border="0" />
    2: <table width="100%" border="0" cellpadding="0" cellspacing="0">
    3: <tr height="15">
    4: 
    5: <td height="15" width="20"><img src="/b2-img/blank.gif" width="1" height="1" alt="" /></td>
    6: 
    7: <td rowspan="3" width="50" valign="top"><a href="http://cafelog.com/"><img src="<?php
    8: echo '/';
    9: ?>b2-img/b2minilogo.png" width="50" height="50" border="0" alt="visit b2's website" style="border-width:1px; border-color: #999999; border-style: dashed" /></a></td>
   10: 
   11: <td><img src="/b2-img/blank.gif" width="1" height="1" alt="" /></td>
   12: <td width="150" style="text-align: right; padding-right: 6px;">
   13: <span style="color: #b0b0b0; font-family: verdana, arial, helvetica; font-size: 10px;">logged in as : <b><?php echo $user_login; ?></b></span>
   14: </td>
   15: 
   16: </tr>
   17: <tr>
   18: 
   19: <td class="menutop" width="20">&nbsp;
   20: </td>
   21: 
   22: <td class="menutop"<?php if ($is_NS4) { echo " width=\"500\""; } ?>>
   23: <div class="menutop"<?php if ($is_NS4) { echo " width=\"500\""; } ?>>
   24: 
   25: 
   26: <?php if ($is_NS4) { echo $HTTP_USER_AGENT; } ?>
   27: 
   28: 
   29: <?php $sep = "&nbsp;&nbsp;|&nbsp;&nbsp;"; ?>
   30: &nbsp;<a href="b2edit.php" class="menutop" style="-font-weight: bold;">Post / Edit</a><?php echo $sep ?><a href="javascript:profile(<?php echo $user_ID ?>)" class="menutop">My Profile</a><?php echo $sep; ?><a href="b2team.php" class="menutop">Team</a><?php
   31: 
   32: 
   33: if ($pagenow != "b2profile.php") {
   34: 
   35: $menu = file(PROJECT_PATH . '/' . $b2inc."/b2menutop.txt");
   36: $i=0;
   37: $j=$menu[0];
   38: while ($j != "") {
   39: 	$k = explode("\t",$j);
   40: 	if ($user_level >= $k[0]) {
   41: 		echo "$sep<a href=\"".$k[1]."\" class=\"menutop\">".trim($k[2])."</a>";
   42: 	}
   43: 	$i=$i+1;
   44: 	$j=$menu[$i];
   45: 	if (trim($j) == "***")
   46: 		$j="";
   47: }
   48: 
   49: }
   50: ?>
   51: 
   52: </div>
   53: </td>
   54: 
   55: <td width="150" class="menutop" align="right" bgcolor="#FF9900">
   56: <a href="<?php echo $siteurl."/".$blogfilename; ?>" class="menutop">View site</a>
   57: <?php echo $sep; ?>
   58: <a href="b2login.php?action=logout" class="menutop">Logout</a>
   59: </td>
   60: 
   61: </tr>
   62: <tr>
   63: 
   64: <td>&nbsp;</td>
   65: <td style="padding-left: 6px;"><span class="menutoptitle">:: <?php echo $title; ?></span></td>
   66: <td>&nbsp;</td>
   67: 
   68: </tr>
   69: 
   70: </table>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>