PHP Classes

File: fwphp/glomodul/user/navbar_admin.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/user/navbar_admin.php  >  Download  
File: fwphp/glomodul/user/navbar_admin.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: ver 7.0.1 mnu, msg, mkd FUNCTIONAL namespaces, CRUD PDO trait, pretty URL-s
Date: 3 months ago
Size: 1,633 bytes


Class file image Download

//$u riq = $this->g etp('u riq') ;
//works, but no need : $p p1 = $this->g etp('p p1') ;

<!-- N A V B A R A D M I N-->
<div style="height:10px; background:#27aae1;"></div>

<nav class="navbar navbar-expand-lg navbar-dark bg-dark">

  <div class="container">
    <a href="<?=$pp1->home_usr?>" title="Refresh this page" class="navbar-brand">Home</a>
    <button class="navbar-toggler" data-toggle="collapse" data-target="#navbarcollapseCMS">
      <span class="navbar-toggler-icon"></span>

    <div class="collapse navbar-collapse" id="navbarcollapseCMS">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item"><a href="<?=$pp1->sitehome?>" class="nav-link">Sitehome</a></li>
      <li class="nav-item"><a href="" class="nav-link">|</a></li>

      <!--li class="nav-item"><a href="<=$pp1->admins?>" class="nav-link">Admins</a></li>
      <li class="nav-item"><a href="<=$pp1->categories?>" class="nav-link">Categories</a></li>
      <li class="nav-item"><a href="<=$pp1->posts?>" class="nav-link">Msgs (Posts)</a></li>
      <li class="nav-item"><a href="<=$pp1->comments?>" class="nav-link">Comments</a></li>
      <li class="nav-item"><a href="" class="nav-link">|</a></li-->

    <ul class="navbar-nav ml-auto">
      <!--li class="nav-item"><a href="<?=$pp1->upd_user_loggedin?>" class="nav-link">My Profile</a></li-->
      <li class="nav-item"><a href="<?=$pp1->logout?>" class="nav-link text-danger">
        <i class="fas fa-user-times"></i> Logout</a></li>


<div style="height:10px; background:#27aae1;"></div>

For more information send a message to info at phpclasses dot org.