示例#1
0
			<li><a <?php 
echo echoNavItem(site_url());
?>
>home: program search</a></li>
			<li><a <?php 
echo echoNavItem(site_url("about"));
?>
>About</a></li>
			<li><a <?php 
echo echoNavItem(site_url("faq"));
?>
>FAQ</a></li>
			<li><a <?php 
echo echoNavItem(site_url("contact"));
?>
>Contact us</a></li>
			<li class="sep"><a <?php 
echo echoNavItem(site_url("login"));
?>
>MIT program administrators</a></li>
示例#2
0
 Management</a></li>
		<?php 
if ($userlevel == "0") {
    ?>
			<li><a <?php 
    echo echoNavItem(base_url() . "index.php/adminprogram");
    ?>
>Programs</a></li>
			<li><a <?php 
    echo echoNavItem(base_url() . "index.php/adminuser");
    ?>
>Administrators</a></li>
			<li><a <?php 
    echo echoNavItem(base_url() . "index.php/adminterm");
    ?>
>Search Criteria</a></li>
			<li><a <?php 
    echo echoNavItem(base_url() . "index.php/adminmessage");
    ?>
>Email Management</a></li>
		<?php 
}
?>
		<li><a <?php 
echo echoNavItem(base_url() . "index.php/adminuser/edit/{$userid}");
?>
>My Profile</a></li>
		<li><a href="<?php 
echo str_replace("https", "http", base_url());
?>
">Logout</a></li>