Location: PHPKode > projects > MJGUEST > mjguest/interface/menu.htm.php
<div id="menu">
	<img id="logo" src="<?php echo $this->SYSTEM->sys_dirs['gui']?>blank.gif" alt="Logo" />
	<ul>
		<li id="m_read">
			<a href="<?php echo $this->script_name?>do=read&amp;from=0<?php if(mjguest_basedir !== false) echo '#guestbook' ?>" title="<?php echo $this->say['button_view']?>"> <?php echo $this->say['button_view']?> </a>
		</li>
		<li id="m_write">
			<a href="<?php echo (mjguest_basedir and $this->SYSTEM->settings->param['comment_system']) ? '#insert' : $this->script_name.'do=write'; if(mjguest_basedir !== false) echo '#guestbook' ?>" title="<?php echo $this->say['button_sign']?>"> <?php echo $this->say['button_sign']?> </a>
		</li>
<?php	if ($this->SYSTEM->user->get('status') > 1): ?>
		<li id="m_setup">
			<a href="<?php echo $this->script_name?>do=setup<?php if(mjguest_basedir !== false) echo '#guestbook' ?>" title="<?php echo $this->say['button_admin']?>"> <?php echo $this->say['button_admin']?> </a>
		</li>
		<li id="m_rss">
			<a href="<?php echo mjguest_basedir?>guestbook.rss.php" target="_new">
				<img src="<?php echo $this->SYSTEM->sys_dirs['gui']?>rss.png" alt="RSS" title="RSS Feed" width="16" height="16" />
			</a>
		</li>
<?php	else: ?>
		<li id="m_setup">
			<script type="text/javascript" charset="utf-8" src="<?php echo $this->SYSTEM->sys_dirs['js']?>md5.js"></script>
			<form method="post" action="<?php echo $this->script_name?>do=setup<?php if(mjguest_basedir !== false) echo '#guestbook' ?>" accept-charset="utf-8" onsubmit="return CPlogin(this)">
				<input type="password" id="loginpass" name="loginpass" title="<?php echo $this->say['button_admin']?> - <?php echo $this->say['enter_admin_pass']?>" autocomplete="off" />
				<input type="hidden" id="logincode" name="logincode" autocomplete="off" />
				<input type="submit" value="  ›  " />
			</form>
		</li>
<?php	endif ?>
	</ul>
</div>
Return current item: MJGUEST