ok

Mini Shell

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

<?php 
    if(!isset($_SESSION)) 
    { 
        session_start(); 
    } 
?>
<?php
    if(!($_SESSION['admin_login'] || $_SESSION['expire']))

    {
        //header("Location:index.php");
        echo'<script type="text/javascript">window.location=\'index.php\';</script>';
    }
    else
    {
        $image=$_SESSION['image'];
    }
   
    ?>
     <?php include("sidebar.php"); ?>
            <!-- Left Sidebar End --> 
            <?php
                if(isset($_SESSION['admin_login']))
                {
                    $email=$_SESSION['admin_login'];
                    $sql="select * from admin where email='$email'";
                    $res=mysqli_query($db,$sql);
                    $row=mysqli_fetch_array($res);
                    $email=md5($row['email']);
                }

            ?>
<div class="topbar">
                <!-- LOGO -->
                <div class="topbar-left">
                    <div class="text-center">
                        <a href="dashboard.php" class="logo"> <span><img style="width: 160px; height: 60px;" src="images/logo.jpg"> </span></a>
                    </div>
                </div>
                <!-- Button mobile view to collapse sidebar menu -->
                <div class="navbar navbar-default" role="navigation">
                    <div class="container">
                        <div class="">
                            <div class="pull-left">
                                <button class="button-menu-mobile open-left">
                                    <i class="fa fa-bars"></i>
                                </button>
                                <span class="clearfix"></span>
                            </div>
                           <!--  <form class="navbar-form pull-left" role="search">
                                <div class="form-group">
                                    <input type="text" class="form-control search-bar" placeholder="Type here for search...">
                                </div>
                                <button type="submit" class="btn btn-search"><i class="fa fa-search"></i></button>
                            </form> -->

                            <ul class="nav navbar-nav navbar-right pull-right">
                               
                                <!-- <li class="hidden-xs">
                                    <a href="#" id="btn-fullscreen" class="waves-effect waves-light"><i class="md md-crop-free"></i></a>
                                </li> -->
                                
                                <li class="dropdown">
                                    <a href="" class="dropdown-toggle profile" data-toggle="dropdown" aria-expanded="true"><img src="upload/<?php echo $row['image']; ?>" alt="user-img" class="img-circle" style="height: 70px; width: 70px;" > </a>
                                    <ul class="dropdown-menu">
                                        <li><a href="profile.php"><i class="md md-face-unlock"></i> Profile</a></li>
                                        <!-- <li><a href="javascript:void(0)"><i class="md md-settings"></i> Settings</a></li>
                                        <li><a href="javascript:void(0)"><i class="md md-lock"></i> Lock screen</a></li> -->
                                        <li><a href="logout.php"><i class="md md-settings-power"></i> Logout</a></li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                        <!--/.nav-collapse -->
                    </div>
                </div>
            </div>

Zerion Mini Shell 1.0