ok

Mini Shell

Direktori : /home/importfo/www/smilehomehealthcare.in/admin/
Upload File :
Current File : /home/importfo/www/smilehomehealthcare.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: 229px; height: 50px;" src="images/logo.png"> </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="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="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