Server IP : 103.53.40.154 / Your IP : 18.217.4.250 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/ppcad7no/gujarataxi.com/../leetcoaching.co.in/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once('config.php'); if (!isLoggedIn()) { $_SESSION['msg'] = "You must log in first"; header('location: login.php'); } ?> <!-- Sidebar --> <ul class="navbar-nav sidebar sidebar-dark accordion" id="accordionSidebar" style="background-color:#2d353c;"> <!-- Sidebar - Brand --> <a class="sidebar-brand d-flex align-items-center justify-content-center" href="#"> <!-- <div class="sidebar-brand-icon rotate-n-15"> <i class="fas fa-laugh-wink"></i> </div> --> <!-- <img width="50px;" src="../images/ngos/"> --> <div class="sidebar-brand-text mx-3"> <?php if (isset($_SESSION['user'])) : ?> <?php echo $_SESSION['user']['name']; ?> <?php endif ?> </div> </a> <!-- Divider --> <hr class="sidebar-divider my-0"> <li class="nav-item active"> <a class="nav-link" href="index.php"> <i class="fas fa-fw fa-tachometer-alt"></i> <span>Dashboard</span></a> </li> <!--<li class="nav-item">--> <?php if (isset($_SESSION['user'])) : // $sqll = "SELECT * FROM `tbl_seo` WHERE se_id='1'"; // $runl = mysqli_query($db,$sqll) or die("Query Not run"); // $datal = mysqli_fetch_assoc($runl); // $wspath=$datal['site_path']; ?> <!--<a target="_blank" class="nav-link collapsed" href="<?php echo $wspath?>">--> <!-- <i class="fas fa-fw fa-globe" style="font-size:22px;"></i>--> <!-- <span>Visit Website</span>--> <!--</a>--> <?php endif ?> <!--</li>--> <?php if (isset($_SESSION['user'])) { // echo $_SESSION['user']['admin_access']; if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '03') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="static_page_list.php"> <i class="fas fa-fw fa-file"></i> <span>Manage Page Content</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '04') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_cat.php"> <i class="fas fa-fw fa-list"></i> <span>Service Category</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '09') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_service.php"> <i class="fas fa-fw fa-list"></i> <span>Manage Courses</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '18') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_fee_structure.php"> <i class="fas fa-fw fa-list"></i> <span>Fee Structure</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '19') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_career.php"> <i class="fas fa-fw fa-list"></i> <span>Manage Career</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '20') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_cutoff.php"> <i class="fas fa-fw fa-list"></i> <span>Manage Cut Off</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '21') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_testseries.php"> <i class="fas fa-fw fa-list"></i> <span>Manage Test Series</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '22') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_study_material.php"> <i class="fas fa-fw fa-list"></i> <span>Study Material</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '23') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_result.php"> <i class="fas fa-fw fa-list"></i> <span>Manage Result</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '14') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_tourspots.php"> <i class="fas fa-fw fa-list"></i> <span>Manage Instructors</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '12') !== false) { echo ' <hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage-booking.php"> <i class="fas fa-fw fa-list"></i> <span>Manage Booking</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li> '; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '01') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link" href="manage-seo.php"> <i class="fas fa-fw fa-tools" style="font-size:24px;color:red"></i> <span>SEO & Site Features</span><i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i></a> </li> <hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage-location.php"> <i class="fas fa-fw fa-address-book"></i> <span>Manage Location</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '16') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link" href="manage-sitedown.php"> <i class="fas fa-fw fa-globe" style="font-size:24px;color:yellow"></i> <span>Site Down</span><i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i></a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '10') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage-slider.php"> <i class="fas fa-fw fa-image"></i> <span>Manage Slider</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '06') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link" href="manage-member.php"> <i class="fas fa-fw fa-users"></i> <span>Manage Users</span><i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i></a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '17') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage-video-gallery.php"> <i class="fas fa-fw fa-blog"></i> <span>Manage Video Gallery</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '11') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="photo_gallery.php"> <i class="fas fa-fw fa-blog"></i> <span>Manage Gallery</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '05') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage_blogs.php"> <i class="fas fa-fw fa-blog"></i> <span>Manage Blogs</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '13') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link" href="manage-testimonial.php"> <i class="fas fa-fw fa-users"></i> <span>Manage Testimonial</span><i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i></a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '08') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="general-setting.php"> <i class="fas fa-fw fa-cog"></i> <span>General Settings</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '07') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage-queries.php"> <i class="fas fa-fw fa-users"></i> <span>Manage Queries</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } ?> <?php if ($_SESSION['user']['user_type'] == 'supadmin' || strpos($_SESSION['user']['admin_access'], '15') !== false) { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage-subadmin.php"> <i class="fas fa-fw fa-users"></i> <span>Manage Sub Admin</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li>'; } if (isset($_SESSION['user']) && $_SESSION['user']['user_type'] == 'member') { echo '<hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage-profile.php"> <i class="fas fa-fw fa-image"></i> <span>Manage Profile</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li> <hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="manage-user-blogs.php"> <i class="fas fa-fw fa-blog"></i> <span>Manage Blogs</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li> <hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="logout.php"> <i class="fas fa-fw fa-cog"></i> <span>Logout</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li> <hr class="sidebar-divider my-0">'; } } ?> <?php if (isset($_SESSION['user']) && ($_SESSION['user']['user_type'] == 'admin' || $_SESSION['user']['user_type'] == 'supadmin')) : ?> <hr class="sidebar-divider my-0"> <li class="nav-item"> <a class="nav-link collapsed" href="change-password.php?id=<?php echo $_SESSION['user']['id']; ?>"> <i class="fas fa-fw fa-cog"></i> <span>Change Password</span> <i style="padding-left:20px;" class="fas fa-fw fa-chevron-right"></i> </a> </li> <hr class="sidebar-divider my-0"> <?php endif ?> </ul>