예제 #1
0
<nav class="navbar navbar-default" role="navigation">
 <?php 
if ($debug == 1) {
    ?>
       <button id = "btn-debug"  class = "btn btn-default"><i class="fa fa-bug"></i></button>
<!--debug button-->
  <?php 
}
?>
        <div class="container">
            <ul class="nav navbar-nav">
                <?php 
nav_main($dbc, $path);
?>
              
            </ul>
        </div>
    </nav><!---end nav=-->
예제 #2
0
<nav class="navbar navbar-inverse" role="navigation">
    <div class="container">
        <ul class="nav navbar-nav">
            
            <!-- Create dynamic pages nav links (php above) -->
            <?php 
nav_main($dbc, $pageid);
?>
            
            <!-- Replaced by dynamic pages nav links (php above) -->
            <!--
            <li<?php 
if ($pageid == 1) {
    echo ' class="active"';
}
?>
><a href="?page=1">Home</a></li>
            <li<?php 
if ($pageid == 2) {
    echo ' class="active"';
}
?>
><a href="?page=2">About Me</a></li>
            <li<?php 
if ($pageid == 3) {
    echo ' class="active"';
}
?>
><a href="?page=3">Professional Summary</a></li>
            <li<?php 
if ($pageid == 4) {
예제 #3
0
파일: navigation.php 프로젝트: m1cl/CMS
<nav class="navbar navbar-default" role="navigation">

	<div class="container">

    <button id="btn-debug" class="btn btn-default"><i class="fa fa-bug"></i></button>
		<ul class="nav navbar-nav">

			<?php 
nav_main($link, $pageid);
?>

			<li><a href="#">FAQ</a></li>
			<li><a href="#">Contact</a></li>
		</ul>
	</div>
</nav><!-- END nav -->