ok
Direktori : /proc/thread-self/root/home2/selectio/public_html/caliberembedded.com/new/admin/ |
Current File : //proc/thread-self/root/home2/selectio/public_html/caliberembedded.com/new/admin/header.php |
<?php ob_start(); session_start(); $base_url=""; $assets="assets/";$error=0;$warning=0;$message=0;$site_name="Agastya"; include"config/config.php"; $url_array = explode('/', $_SERVER['REQUEST_URI']) ; $url = end($url_array); // Check if the user is logged in or not if(!isset($_SESSION['admin'])) { header('location: index.php'); exit; } ?> <html> <head> <meta charset="UTF-8"> <title>Dashboard | <?=$site_name?></title> <link rel="shortcut icon" href="<?= $assets ?>images/icon.png"/> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <link href="<?= $assets ?>dist/css/styles.css" rel="stylesheet" type="text/css" /> <script src="<?= $assets ?>plugins/jQuery/jQuery-2.1.4.min.js"></script> </head> <body class="skin-green fixed sidebar-mini" style="font-family:'Trebuchet MS';> <div class="wrapper rtl rtl-inv"> <header class="main-header"> <a href="<?=$base_url?>" class="logo"> <span class="logo-mini">RVM</span> <span class="logo-lg"><?=$site_name?></span> </a> <nav class="navbar navbar-static-top" role="navigation"> <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="navbar-custom-menu"> <ul class="nav navbar-nav"> <li class="hidden-xs hidden-sm"><a href="#" class="clock"></a></li> <!--<li class="hidden-xs"> <a href="<?=$base_url?>" data-toggle="tooltip" data-placement="bottom" title="Dashboard"><i class="fa fa-dashboard"></i></a> </li>--> <!-- <li class="hidden-xs"> <a href="#" data-toggle="tooltip" data-placement="bottom" title="Settings"><i class="fa fa-cogs"></i></a> </li> <li> <a href="#" target="_blank" data-toggle="tooltip" data-placement="bottom" title="Customer Display"><i class="fa fa-desktop"></i></a> </li> <li><a href="#" data-toggle="tooltip" data-placement="bottom" title="POS"><i class="fa fa-th"></i></a></li> <li> <a href="#" data-toggle="tooltip" data-placement="bottom" title="Alerts"> <i class="fa fa-bullhorn"></i> <span class="label label-warning">18</span> </a> </li>--> <li class="dropdown user user-menu" style="padding-right:5px;"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <img src="assets/Agastya Tech Training Logo -header.png.png" class="user-image" alt="Avatar" /> <span class="hidden-xs">Admin Admin</span> </a> <ul class="dropdown-menu" style="padding-right:3px;"> <li class="user-header"> <img src="assets/Agastya Tech Training Logo -header.png.png" alt="Avatar" /> <p> Admin <small>Admin of Agastiya </small> </p> </li> <li class="user-footer"> <!--<div class="pull-left"> <a href="" class="btn btn-default btn-flat">Profile</a> </div>--> <div class="pull-right" > <a href="logout.php" class="btn btn-default btn-flat sign_out">Sign Out</a> </div> </li> </ul> </li> </ul> </div> </nav> </header> <aside class="main-sidebar"> <section class="sidebar"> <ul class="sidebar-menu"> <!-- <li class="header">Main Navigation</li> --> <li class="mm_welcome <?php if($url=='dashboard.php'){ echo 'active';}?>"><a href="dashboard.php"><i class="fa fa-dashboard"></i> <span>Home</span></a></li> <li class="mm_welcome <?php if($url=='splash-ads.php'){ echo 'active';}?>"><a href="splash-ads.php"><i class="fa fa-dashboard"></i> <span>Splash Ads</span></a></li> <li class="mm_welcome <?php if($url=='certificate.php'){ echo 'active';}?>"><a href="certificate.php"><i class="fa fa-dashboard"></i> <span>Certificate</span></a></li> </ul> </section> </aside>