PHP Classes

File: fwphp/glomodul/blog/z_navbar.php

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   fwphp/glomodul/blog/z_navbar.php   Download  
File: fwphp/glomodul/blog/z_navbar.php
Role: Example script
Content type: text/plain
Description: Example script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: Update of fwphp/glomodul/blog/z_navbar.php
Date: 1 year ago
Size: 1,428 bytes


Class file image Download
use B12phpfw\core\b12phpfw\Config_allsites as utl ; // init, setings, utilities
<!-- Responsive NAVBAR-->

  <div class="hero" data-theme="dark">

    <nav class="container-fluid">
          <li><a href="<?=$pp1->sitehome?>" class="contrast"><strong>Sitehome</strong></a></li>

          <?php if(empty($_SESSION['username'])){ ?>
<li><a title="Paginated posts with summary" class="contrast" href="index.php">Home</a></li>
          <li><a title="" class="contrast" href="<?=$pp1->kalendar?>">Calendar</a></li>
          <li><a title="" class="contrast" href="<?=$pp1->about_us?>">About</a></li>
          <li><a title="" class="contrast" href="<?=$pp1->features?>">Module</a></li>
          <li><a title="" class="contrast" href="<?=$pp1->contact_us?>">Contact us</a></li>
          <?php } ?>

          <?php if(!empty($_SESSION['username'])){ ?>
&nbsp; &nbsp; &nbsp;
             <li><a title="Posts & other tables with CRUD functionality" class="contrast"
             <li><a class="contrast" href="<?=$pp1->logout?>">Logout</a></li>

          <?php }else{ ?>
<li><a class="contrast" href="<?=$pp1->loginfrm?>">Login</a></li>
          <?php } ?>


  </div><!-- ./ Hero -->

<!-- NAVBAR END -->