ok
Direktori : /home2/selectio/public_html/subamangala/admin/ |
Current File : /home2/selectio/public_html/subamangala/admin/header.php |
<?php ob_start(); session_start(); $base_url=""; $assets="assets/";$error=0;$warning=0;$message=0;$site_name=$_SESSION['setting']['name']; $current_page=basename($_SERVER['PHP_SELF']); include"config/config.php"; $logo=$_SESSION['setting']['logo']; $theme_color="#3c8dbc;"; $theme_text_color="color:#10152e;"; if(!isset($_SESSION['subamangala_matrimony'])) { header('location: login.php'); exit; }else{ $allPermissions=$_SESSION['permission']; } ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Dashboard | <?=$site_name?></title> <link rel="shortcut icon" href="images/icon.png"/> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <link href="<?= $assets ?>dist/css/styles.css" rel="stylesheet" type="text/css" /> <script src="<?= $assets ?>plugins/jQuery/jQuery-2.1.4.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <link rel="stylesheet" href="customized-files/croppie.css"> <script src="customized-files/croppie.js"></script> <script src="customized-files/modernizr.js"></script> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <!-- <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>--> </head> <style> .center-screen { display: flex; justify-content: center; align-items: center; text-align: center; min-height: 100vh; } table.table tbody tr:hover td { background-color: #abe2eb !important; } table{ font-size:16px!important; } @media only screen and (min-width: 998px){ body.pos1 { min-width: 1024px; overflow: visible; } .pos1 { min-width: 1020px; } } body{ font-size:18px!important; } .table-striped>tbody>tr:nth-of-type(odd) { background-color:#df76d7 !important; } .table-striped>tbody>tr:nth-of-type(even) { background-color: #bbb2df !important; } </style> <!-- Like POS -> skin-blue sidebar-collapse sidebar-mini pos1--> <!--skin-green sidebar-collapse sidebar-mini pos--> <!--<body class="skin-blue fixed sidebar-mini" style="background:white;">--> <!--skin-blue fixed sidebar-mini sidebar-collapse--> <style> /*@media only screen and (max-width: 998px){ body.pos { min-width: 1024px; overflow: visible; } } }*/ </style> <?php if($current_page=="bookings-create.php" || $current_page=="bookings-update.php" || $current_page=="bookings-passenger-info.php" || $current_page=="bookings-list.php" || $current_page=="booking-tickets-list.php") { $class="skin-blue sidebar-collapse sidebar-mini pos1"; }else{ $class="skin-blue fixed sidebar-mini"; } ?> <body class="<?=$class?>" style="background:white;"> <div class="wrapper rtl rtl-inv"> <header class="main-header"> <a href="<?=$base_url?>" class="logo" style="background-color:<?=$theme_color?>"> <span class="logo-mini"><b>SM</b></span> <span class="logo-lg"><b><?=$site_name?></b></span> </a> <nav class="navbar navbar-static-top" role="navigation"> <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="navbar-custom-menu"> <ul class="nav navbar-nav"> <?php if($_SESSION['subamangala_matrimony']['id']!=1){ ?> <!--<li class="hidden-xs" id="checkin_li" style="display: none;"> <a href="ownattendance.php" class="blinking" data-toggle="tooltip" data-placement="bottom" title="Checkin Now"><i style="background: green;padding: 3px;border-radius: 7px 7px 7px 7px;" class="fa fa-check"></i><span class="label label-warning" id="alert_checkin"></span> Click here to Checkin</a> </li> <li class="hidden-xs" id="checkout_li" style="display: none;"> <a href="ownattendance.php" class="blinking" data-toggle="tooltip" data-placement="bottom" title="Checkin Now"><i style="background: red;padding: 3px;border-radius: 7px 7px 7px 7px;" class="fa fa-check"></i><span class="label label-warning" id="alert_checkout"></span> Click here to Check Out</a> </li>--> <?php }?> <li class="hidden-xs hidden-sm"><a href="#" style="padding: 15px 0px;"><?=date('d-m-Y')?></a></li> <li class="hidden-xs hidden-sm"><a href="#" style="padding: 15px 10px;" class="clock"></a></li> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="hidden-xs"> <a href="bookings-list.php" data-toggle="tooltip" data-placement="bottom" title="Today Bookings"><i class="fa fa-bell-o"></i><span class="label label-warning" id="today_bookings_count"></span></a> </li> <?php }?> <li class="dropdown user user-menu" style="padding-right:5px;"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <img src="<?=$_SESSION['setting']['logo']?>" class="user-image" alt="Avatar" style="background: white;"/> <span class="hidden-xs"><?=$_SESSION['subamangala_matrimony']['name']?></span> </a> <ul class="dropdown-menu" style="padding-right:3px;"> <li class="user-header"> <img src="<?=$_SESSION['setting']['logo']?>" alt="Avatar" style="width: 220px;border:0px;" /> <p> <?=$_SESSION['subamangala_matrimony']['name']?> <small></small> </p> </li> <li class="user-footer"> <div class="pull-left"> <a href="profile.php" class="btn btn-warning btn-sm"><i class="fa fa-user" aria-hidden="true"></i> Profile</a> </div> <div class="pull-right"> <a href="logout.php" class="btn btn-danger btn-sm "><i class="fa fa-sign-out" aria-hidden="true"></i> Sign Out</a> </div> </li> </ul> </li> </ul> </div> </nav> </header> <aside class="main-sidebar"> <section class="sidebar"> <ul class="sidebar-menu"> <!-- Dashboard Starts Here --> <li class="mm_welcome <?php if($current_page=="index.php"){echo "active";}?>"> <a href="index.php" <?php if($current_page=="index.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?> ><i class="fa fa-dashboard"></i> <span>Dashboard</span></a> </li> <!-- Dashboard Endss Here --> <!-- Admin Login Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <!-- ஜாதி Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="caste-list.php"){echo "active";}?>"> <a href="caste-list.php" <?php if($current_page=="caste-list.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>ஜாதி</span></a> </li> <?php } ?> <!-- ஜாதி Details Endsss Here --> <!-- உட்பிரிவு Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="sub-caste-list.php"){echo "active";}?>"> <a href="sub-caste-list.php" <?php if($current_page=="sub-caste-list.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>உட்பிரிவு</span></a> </li> <?php } ?> <!-- உட்பிரிவு Details Endsss Here --> <!-- புதிய பதிவு Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="https://selectionsilks.com/subamangala/register.php"){echo "active";}?>"> <a href="https://selectionsilks.com/subamangala/register.php" target="_blank"><i class="bi bi-check2-square"></i> <span>புதிய பதிவு</span></a> </li> <?php } ?> <!-- புதிய பதிவு Details Endsss Here --> <!-- பதிவு பட்டியல் Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="profiles-list.php"){echo "active";}?>"> <a href="profiles-list.php" <?php if($current_page=="profiles-list.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>பதிவு பட்டியல்</span></a> </li> <?php } ?> <!-- பதிவு பட்டியல் Details Endsss Here --> <!-- பதிவு பட்டியல் admin Details Starts Here --> <?php // if($_SESSION['subamangala_matrimony']['id']==1){ ?> <!--<li class="mm_welcome--> <?php // if($current_page=="profiles-admin-list.php"){echo "active";} ?> <!--">--> <!-- <a href="profiles-admin-list.php"><i class="bi bi-check2-square"></i> <span>PREFERENCE ID</span></a>--> <!--</li>--> <?php // } ?> <!-- பதிவு பட்டியல் admin Details Endsss Here --> <!-- தேடல் Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="profiles-search.php"){echo "active";}?>"> <a href="profiles-search.php" <?php if($current_page=="profiles-search.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>தேடல் </span></a> </li> <?php } ?> <!-- தேடல் Details Endsss Here --> <!-- பொருத்தம் Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="profiles-match-list.php"){echo "active";}?>"> <a href="profiles-match-list.php" <?php if($current_page=="profiles-match-list.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>பொருத்தம் </span></a> </li> <?php } ?> <!-- பொருத்தம் Details Endsss Here --> <!-- நீக்கிய பதிவுகள் Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="delete-profiles-list.php"){echo "active";}?>"> <a href="delete-profiles-list.php" <?php if($current_page=="delete-profiles-list.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>நீக்கிய பதிவுகள் </span></a> </li> <?php } ?> <!-- நீக்கிய பதிவுகள் Details Endsss Here --> <!-- Register Type Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="register-type-list.php"){echo "active";}?>"> <a href="register-type-list.php" <?php if($current_page=="register-type-list.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>Register Type </span></a> </li> <?php } ?> <!-- Register Type Details Endsss Here --> <!-- Register Fees Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="register-fees-list.php"){echo "active";}?>"> <a href="register-fees-list.php" <?php if($current_page=="register-fees-list.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>Register Fees </span></a> </li> <?php } ?> <!-- Register Fees Details Endsss Here --> <!-- Register Fees Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="enquiery-list.php"){echo "active";}?>"> <a href="enquiery-list.php" <?php if($current_page=="enquiery-list.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>Enquiery</span></a> </li> <?php } ?> <!-- Register Fees Details Endsss Here --> <!-- Register Fees Details Starts Here --> <?php if($_SESSION['subamangala_matrimony']['id']==1){ ?> <li class="mm_welcome <?php if($current_page=="business.php"){echo "active";}?>"> <a href="business.php" <?php if($current_page=="business.php"){?> style="background-color: burlywood;color: black;font-weight: bolder;border-radius: 30px;" <?php } ?>><i class="bi bi-check2-square"></i> <span>Business</span></a> </li> <?php } ?> <!-- Register Fees Details Endsss Here --> <?php } ?> <!-- Admin Login Endss Here --> </ul> </section> </aside> <style> .blinking{ animation:blinkingText 1.0s infinite; } @keyframes blinkingText{ 0%{ color: green; } 40%{ color: yellow; } 50%{ color: pink; } 99%{ color:red; } 100%{ color: #000; } } </style> <script> $( document ).ready(function() { $('.float-numbers').keypress(function(event) { if ((event.which != 46 || $(this).val().indexOf('.') != -1) && (event.which < 48 || event.which > 57)) { event.preventDefault(); } }); }); </script>