ok
Direktori : /home/importfo/www/rinaankola.in/admin/ |
Current File : /home/importfo/www/rinaankola.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="gallery.php" class="waves-effect "><i class="md md-pages"></i><span>Slider</span></a></li> <li class="has_sub"> <a href="#" class="waves-effect <?= $page == '#' ? 'active':'' ?>"><i class="md md-now-widgets"></i><span>2D Imprints Frames</span><span class="pull-right"><i class="md md-add"></i></span></a> <ul class="list-unstyled"> <li><a href="ser-detail.php" class="waves-effect <?= $page == 'ser-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Both Hand Both Feet</span></a></li> <li><a href="ser1-detail.php" class="waves-effect <?= $page == 'ser1-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Pair Of Hand/Feet</span></a></li> <li><a href="ser2-detail.php" class="waves-effect <?= $page == 'ser2-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Sibling Option</span></a></li> <li><a href="ser3-detail.php" class="waves-effect <?= $page == 'ser3-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Family Options </span></a></li> <li><a href="ser4-detail.php" class="waves-effect <?= $page == 'ser4-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Customized Frames</span></a></li> </ul> </li> <li class="has_sub"> <a href="#" class="waves-effect <?= $page == '#' ? 'active':'' ?>"><i class="md md-now-widgets"></i><span>3D Babies and kids Frames</span><span class="pull-right"><i class="md md-add"></i></span></a> <ul class="list-unstyled"> <li class="has_sub"> <a href="#" class="waves-effect <?= $page == '#' ? 'active':'' ?>"><i class="md md-now-widgets"></i><span>3D Both Hands Both Feet</span><span class="pull-right"><i class="md md-add"></i></span></a> <ul class="list-unstyled"> <li><a href="ser5.php" class="waves-effect <?= $page == 'ser5.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Basic Frames</span></a></li> <li><a href="ser6.php" class="waves-effect <?= $page == 'ser6.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Single Picture Frame</span></a></li> <li><a href="ser7.php" class="waves-effect <?= $page == 'ser7.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Muktiple Picture Frame</span></a></li> </ul> </li> <li class="has_sub"> <a href="#" class="waves-effect <?= $page == '#' ? 'active':'' ?>"><i class="md md-now-widgets"></i><span>Pair of Hands / Feet</span><span class="pull-right"><i class="md md-add"></i></span></a> <ul class="list-unstyled"> <li><a href="ser.php" class="waves-effect <?= $page == 'ser.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Basic Frames</span></a></li> <li><a href="ser1.php" class="waves-effect <?= $page == 'ser1.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Single Picture Frame</span></a></li> </ul> </li> </ul> </li> <li class="has_sub"> <a href="#" class="waves-effect <?= $page == '#' ? 'active':'' ?>"><i class="md md-now-widgets"></i><span>3D Casting Frames</span><span class="pull-right"><i class="md md-add"></i></span></a> <ul class="list-unstyled"> <!--<li><a href="services8-detail.php" class="waves-effect <?= $page == 'services8-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Babies & Kids Frames</span></a></li>--> <li><a href="services7-detail.php" class="waves-effect <?= $page == 'services7-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Adults Hand & Feet frames</span></a></li> <li><a href="services6-detail.php" class="waves-effect <?= $page == 'services6-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Couple Cast</span></a></li> <li><a href="services5-detail.php" class="waves-effect <?= $page == 'services5-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Siblings Frames </span></a></li> <li><a href="services4-detail.php" class="waves-effect <?= $page == 'services4-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Family Casting Frames</span></a></li> <li><a href="services3-detail.php" class="waves-effect <?= $page == 'services3-detail.php' ? 'active':'' ?>"><i class="md md-pages"></i><span>Table Top</span></a></li> </ul> </li> <!--<li><a href="services-detail.php" class="waves-effect "><i class="md md-pages"></i><span>services</span></a></li>--> <li><a href="services2-detail.php" class="waves-effect "><i class="md md-pages"></i><span>Combination 2D & 3D casting</span></a></li> <li><a href="services1-detail.php" class="waves-effect "><i class="md md-pages"></i><span>Miniature jewallary</span></a></li> <li><a href="services-detail.php" class="waves-effect "><i class="md md-pages"></i><span>Miniature</span></a></li> <li><a href="cgallery.php" class="waves-effect "><i class="md md-pages"></i><span>Gallery</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>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>