ok

Mini Shell

Direktori : /home/importfo/public_html/physiocarephysiotherapy.co.in/admin/
Upload File :
Current File : /home/importfo/public_html/physiocarephysiotherapy.co.in/admin/sidebar.php

<?php  include("config.php"); ?>
 
<?php
    if(!isset($_SESSION['admin_login']))
    {
        //header("Location:index.php");
        echo'<script type="text/javascript">window.location=\'index.php\';</script>';
    }
    else
    {
        $email=$_SESSION['admin_login'];
        $name=$_SESSION['name'];
        $image=$_SESSION['image'];
    }
?>
  <div class="left side-menu">
    <div class="sidebar-inner slimscrollleft">
        <div class="user-details">
            <div class="user-info">
                <div class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><?php echo $name; ?><span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="profile.php"><i class="md md-face-unlock"></i> Profile<div class="ripple-wrapper"></div></a></li>
                        <li><a href="logout.php"><i class="md md-settings-power"></i> Logout</a></li>
                    </ul>
                </div>
                <p class="text-muted m-0" style="color:#3a3870;font-weight: 600;">( Admin )</p>
            </div>
        </div>
        <!--- Divider -->
        <div id="sidebar-menu">

            <ul>
                <li><a href="dashboard.php"class="waves-effect active"><i class="md md-home"></i><span>Dashboard</span></a></li>
                 <!-- <li><a href="gallery.php" class="waves-effect "><i class="md md-pages"></i><span>Success Gallery</span></a></li> -->
                  <li><a href="cgallery.php" class="waves-effect "><i class="md md-pages"></i><span>Clinic Gallery</span></a></li>
                                 <li><a href="services-detail.php" class="waves-effect "><i class="md md-pages"></i><span>services</span></a></li>

                 <!-- <li><a href="testi.php" class="waves-effect "><i class="md md-pages"></i><span>Testimonials</span></a></li> -->
                  <li><a href="blog.php" class="waves-effect "><i class="md md-pages"></i><span>Blog</span></a></li>
              
                <!--<li><a href="blog.php" class="waves-effect "><i class="md md-pages"></i><span>Add Blog </span></a></li>-->
                <!--<li><a href="video.php" class="waves-effect "><i class="md md-pages"></i><span>Add Video Link </span></a></li>-->
                <li><a href="contact.php" class="waves-effect "><i class="md md-pages"></i><span>Email Inquiry</span></a></li>
                <!--<li><a href="booking-inquiry.php" class="waves-effect "><i class="md md-pages"></i><span>Appointment Inquiry</span></a></li>-->
               <!--- <li><a href="blog.php" class="waves-effect "><i class="md md-pages"></i><span>Add Blog</span></a></li>  -->
               
            </ul>

            <div class="clearfix"></div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>

<script type="text/javascript">
// Add active class to the current button (highlight it)
var header = document.getElementById("sidebar-menu");
var btns = header.getElementsByClassName("waves-effect");
for (var i = 0; i < btns.length; i++) {
  btns[i].addEventListener("click", function() {
  var current = document.getElementsByClassName("active");
  current[0].className = current[0].className.replace("active", "");
  this.className += "active";
  });
}
</script>

Zerion Mini Shell 1.0