PHP Classes

File: fwphp/glomodul/blog_akram/aside_admin.php

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   fwphp/glomodul/blog_akram/aside_admin.php   Download  
File: fwphp/glomodul/blog_akram/aside_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 mnu, adrs, msg, mkd. Same module db adapter for any shared db adapter
Date: 1 year ago
Size: 1,645 bytes


Class file image Download
=get_cursor("SELECT COUNT(*) FROM comments WHERE status='OFF'");

//echo '<pre><b>mnuitms=</b>='; print_r($active); echo '</pre>';

  <div class="col-sm-2">

  <ul id="Side_Menu" class="nav nav-pills nav-stacked">

  <li class="<?=$active === 'dashboard' ? 'active' : '' ?>">
  <a href="Dashboard.php"><span class="glyphicon glyphicon-th"></span> &nbsp;Dashboard</a></li>

  <li class="<?=$active === 'addnewpost' ? 'active' : '' ?>">
  <a href="AddNewPost.php"> <span class="glyphicon glyphicon-list-alt"></span> &nbsp;Add New Post</a></li>

  <li class="<?=$active === 'comments' ? 'active' : '' ?>">
  <a href="Comments.php"><span class="glyphicon glyphicon-comment"></span> &nbsp;Comments
if($Total_comments>0){ ?>
<span class="label pull-right label-warning"><?=$Total_comments?></span>
        <?php } ?>

  <li class="<?=$active === 'categories' ? 'active' : '' ?>">
  <a href="Categories.php"><span class="glyphicon glyphicon-tags"></span> &nbsp;Categories </a></li>

  <li class="<?=$active === 'admins' ? 'active' : '' ?>">
  <a href="Admins.php"><span class="glyphicon glyphicon-user"></span> &nbsp;Admins</a></li>

  <li><a href="index.php?Page=1" target="_Blank"><span class="glyphicon glyphicon-equalizer"></span> &nbsp;Live Blog</a></li>

  <li><a href="Logout.php"><span class="glyphicon glyphicon-log-out"></span>

  </div> <!-- Ending of Side area -->