PHP Classes

File: fwphp/glomodul/post/z_navbar.php

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   fwphp/glomodul/post/z_navbar.php   Download  
File: fwphp/glomodul/post/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/post/z_navbar.php
Date: 1 year ago
Size: 1,923 bytes


Class file image Download
use B12phpfw\core\b12phpfw\Config_allsites as utl ; // init, setings, utilities

if ('1') { //if ($module_ arr['dbg']) {
echo '<h3>'.__FILE__ .'() '.', line '. __LINE__ .' said: '.'</h3>' ;
'<pre style="font-family:\'Lucida Console\'; font-size:small">';
'<b>$pp1</b>='; print_r($pp1);
//echo '<br><b>$_POST</b>='; print_r($_POST);
echo '</pre>'; }
<!-- Responsive NAVBAR -->

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

    <nav class="container-fluid">
          <li><a href="<?=$pp1->glomodul_url .'/'. $pp1->dir_menu .'/' ?>"

          <?php if(empty($_SESSION['username'])){ ?>
<li><a title="Posts dashboard" class="contrast" href="<?=$pp1->module_url?>">Posts dashboard</a></li>
          <!--li><a title="" class="contrast" href="< ?=$pp1->kalendar? >">Calendar</a></li-->
          <li><a title="" class="contrast" href="<?=$pp1->module_url.QS?>/about_module">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 -->