<?php
checkSession();
?>
<!doctype html>
<html lang="en" class="color-sidebar sidebarcolor1 color-header headercolor1">


<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--favicon-->
    <link rel="icon" href="<?php  ahkweb('logo');  ?>" type="image/png" />
    <!--plugins-->
    <link href="../template/ahkweb/assets/plugins/vectormap/jquery-jvectormap-2.0.2.css" rel="stylesheet" />
    <link href="../template/ahkweb/assets/plugins/simplebar/css/simplebar.css" rel="stylesheet" />
    <link href="../template/ahkweb/assets/plugins/perfect-scrollbar/css/perfect-scrollbar.css" rel="stylesheet" />
    <link href="../template/ahkweb/assets/plugins/metismenu/css/metisMenu.min.css" rel="stylesheet" />
    <!-- loader-->
    <link href="../template/ahkweb/assets/css/pace.min.css" rel="stylesheet" />
    <script src="../template/ahkweb/assets/js/pace.min.js"></script>
    <!-- Bootstrap CSS -->
    <link href="../template/ahkweb/assets/plugins/datatable/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
    <link href="../template/ahkweb/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="../template/ahkweb/assets/css/bootstrap-extended.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&amp;display=swap" rel="stylesheet">
    <link href="../template/ahkweb/assets/css/app.css" rel="stylesheet">
    <link href="../template/ahkweb/assets/css/icons.css" rel="stylesheet">
    <!-- Theme Style CSS -->

    <link rel="stylesheet" href="../template/ahkweb/assets/css/dark-theme.css" />
    <link rel="stylesheet" href="../template/ahkweb/assets/css/semi-dark.css" />
    <link rel="stylesheet" href="../template/ahkweb/assets/css/header-colors.css" />
    <title>Welcome TO - <?php ahkweb('webname'); ?></title>
</head>

<body>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/3.1.62/jquery.inputmask.bundle.js"></script>
    <!--wrapper-->
    <div class="wrapper">
        <!--sidebar wrapper -->
        <div class="sidebar-wrapper" data-simplebar="true">
            <div class="sidebar-header">
                <div>
                    <img src="<?php echo ahkweb('logo');  ?>" class="logo-icon" alt="logo icon">
                </div>
                <div>
                    <h4 class="logo-text"><?php ahkweb('webname'); ?></h4>
                </div>
                <div class="toggle-icon ms-auto"><i class='bx bx-arrow-to-left'></i>
                </div>
            </div>
             <!--navigation-->
           <ul class="metismenu" id="menu">
                <li
               <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                    <a href="index.php">
                         <div class="parent-icon"><img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTBFU1JKaxwgSbn7KpLeaky1E8Mm7qhyLMdrg&s" width="40ox" style="border-radius:3px;">
                        </div>
                        <div class="menu-title">Dashboard</div><img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
                    </a>
                    <!-- <ul>
						<li> <a href="index.php"><i class="bx bx-right-arrow-alt"></i>Default</a>
						</li>
						<li> <a href="dashboard-eCommerce.html"><i class="bx bx-right-arrow-alt"></i>eCommerce</a>
						</li>
						<li> <a href="dashboard-analytics.html"><i class="bx bx-right-arrow-alt"></i>Analytics</a>
						</li>
						<li> <a href="dashboard-digital-marketing.html"><i class="bx bx-right-arrow-alt"></i>Digital Marketing</a>
						</li>
						<li> <a href="dashboard-human-resources.html"><i class="bx bx-right-arrow-alt"></i>Human Resources</a>
						</li>
					</ul> -->
                </li>
                
                
               
                          <!-- AADHAAR LIMIT CROSS List -->
                      
                 <?php if(checkAdmin($udata['type']) == true){ ?>
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                        <div class="parent-icon"><img src="https://upload.wikimedia.org/wikipedia/commons/c/c0/Perspective-Button-Search-icon.png" width="40ox" style="border-radius:4px;">
                        </div>
                        <div class="menu-title">User Management</div><img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
                    </a>
                    <ul>
                        <li> <a href="users.php"><i class="bx bx-right-arrow-alt"></i>All Users</a>
                        </li>
                        
                       
                        <li> <a href="adduser.php"><i class="bx bx-right-arrow-alt"></i>Add New</a>
                        <li> <a href="qrpay_pending.php"><i class="bx bx-right-arrow-alt"></i>QR pending <sup style="color:red;">NEW</sup></a>
                        <li> <a href="PendingManualUsers.php"><i class="bx bx-right-arrow-alt"></i>Manual user pending <sup style="color:red;">NEW</sup></a>
                        <li> <a href="BalanceTransfer.php"><i class="bx bx-right-arrow-alt"></i>Balance Transfer <sup style="color:red;">Added</sup></a>
                        </li>
                       

                    </ul>
                </li>
                 <?php } ?>
                <!-- User Management END -->
                <!-- User management -->
                 <?php if($udata['type'] == "distributor" || $udata['type'] == "super_dist" ){ ?>
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                        <div class="parent-icon"><img src="https://upload.wikimedia.org/wikipedia/commons/c/c0/Perspective-Button-Search-icon.png" width="40ox" style="border-radius:4px;">
                        </div>
                        <div class="menu-title bg-primary TEXT-BLACK">User Management</div>
           
                    </a>
                    <ul>
                        <li> <a href="adduser.php"><i class="bx bx-right-arrow-alt"></i>Add New</a></li>
                        <li> <a href="myusers.php"><i class="bx bx-right-arrow-alt"></i>My User List</a></li>
                    </ul>
                </li>
                 <?php } ?>
                 
                  <!-- NSDL NEW PAN SERVICE -->
                
              
                </li>                 
               <li>
                 <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                      <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/NSDL-Pan-center.webp" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title "><span class="badge bg-danger"></span>NSDL PAN SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
       
                    </a>
                    <ul>
                        <li> <a href="nsdl_pan_apply.php"><i class="bx bx-right-arrow-alt"></i>EKYC & ESIGN APPLY</a>
                        </li>
                        <li> <a href="nsdl_pan_history.php"><i class="bx bx-right-arrow-alt"></i>NSDL PAN HISTORY</a>
                        </li>
                         <li> <a  href="nsdl_incomplete_history.php"><i class="bx bx-right-arrow-alt"></i>INCOMPLETE HISTORY</a>
                        </li>
                        
                    </ul>
                </li>
                
               <li>
               <!-- RECHARGE SERVICE -->
<li>
  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">
    <div class="parent-icon">
      <img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/mobilerere2.png" width="50px" style="border-radius:4px;">
    </div>
    <div class="menu-title "><span class="badge bg-danger"></span>RECHARGE SERVICE</div>
    <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
  </a>
  <ul>
    <?php if($webdata['mobile_recharge_active']==1){ ?>
      <li><a href="mobile_reacharge.php"><i class="bx bx-right-arrow-alt"></i>MOBILE RECHARGE</a></li>
    <?php } else { ?>
      <li><a href="javascript:void(0)" onclick="Swal.fire({icon:'error',title:'Service Disabled',text:'🚫 Mobile Recharge Service is Disabled!'})">
        <i class="bx bx-right-arrow-alt"></i>MOBILE RECHARGE (OFF)</a></li>
    <?php } ?>

    <?php if($webdata['dth_recharge_active']==1){ ?>
      <li><a href="dth_recharge.php"><i class="bx bx-right-arrow-alt"></i>DTH RECHARGE</a></li>
    <?php } else { ?>
      <li><a href="javascript:void(0)" onclick="Swal.fire({icon:'error',title:'Service Disabled',text:'🚫 DTH Recharge Service is Disabled!'})">
        <i class="bx bx-right-arrow-alt"></i>DTH RECHARGE (OFF)</a></li>
    <?php } ?>

    <li><a href="reacharge_history.php"><i class="bx bx-right-arrow-alt"></i>RECHARGE HISTORY</a></li>
    <li><a hidden href="#"><i class="bx bx-right-arrow-alt"></i>RECHARGE STATUS CHECK</a></li>
  </ul>
</li>

                 <!-- AADHAR ADVANCE -->
                
              
                </li>                 
               <li>
                 <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                        <div class="parent-icon"><img src="https://uidai.gov.in/images/langPage/Page-1.svg" width="50ox" style="border-radius:4px;">
                        </div>
                        <div class="menu-title "><span class="badge bg-danger"></span>AADHAR SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
       
                    </a>
                    <ul>
                        <li> <a href="Aadhar_advance.php"><i class="bx bx-right-arrow-alt"></i>AADHAR ADVANCE</a>
                        </li>
                        <li> <a href="aadhar_advance_list.php"><i class="bx bx-right-arrow-alt"></i>AADHAR ADVANCE LIST</a>
                        </li>
                         <li> <a href="aadhar_org_pdf.php"><i class="bx bx-right-arrow-alt"></i>ORG AADHAR ADVANCE PDF</a>
                        </li>
                         <li> <a href="aadhar_org_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>ORG AADHAR ADVANCE PDF LIST</a>
                        </li>
                          <li> <a href="Adhar_manual.php"><i class="bx bx-right-arrow-alt"></i>AADHAR MANUAL</a>
                        </li>
                        <li> <a href="aadhar_advance_list.php"><i class="bx bx-right-arrow-alt"></i>AADHAR MANUAL LIST</a>
                        </li>  
                        <li> <a href="aadhar_otp_pdf.php"><i class="bx bx-right-arrow-alt"></i>AADHAR OTP PDF</a>
                        </li>
                             <li> <a href="aadhar_otp_pdflist.php"><i class="bx bx-right-arrow-alt"></i>AADHAR OTP PDF LIST</a>
                        </li>
                         <li> <a href="aadhar_validation_chack_a.php"><i class="bx bx-right-arrow-alt"></i>AADHAR VALIDATION CHACK</a>
                        </li>   
                        <li> <a href="aadhar_pvc_pdf.php"><i class="bx bx-right-arrow-alt"></i>ORG AADHAR PVC PDF</a>
                        </li>
                        <li> <a href="aadhar_pvc_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>ORG AADHAR PVC PDF LIST</a>
                        </li>     
                    </ul>
                </li>
                
               <li>
                 
                <!-- PAN SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                       <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/subservice544.png" width="50px" style="border-radius:4px;"></div>
                     
                       <div class="menu-title "><span class="badge bg-danger"></span>PAN SERVICE</div>
                       <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="Pan_find.php"><i class="bx bx-right-arrow-alt"></i>AADHAR TO PAN FIND</a>
                         </li>
                        <li> <a href="mobile_to_pan_find_a.php"><i class="bx bx-right-arrow-alt"></i> MOBILE TO PAN FIND INSTANT</a>
                        </li>
                        <li> <a href="Pan_find_list.php"><i class="bx bx-right-arrow-alt"></i>PAN FIND LIST</a>
                        </li>
                        <li> <a href="aadhar_to_pan_mask_a.php"><i class="bx bx-right-arrow-alt"></i> AADHAR TO PAN MASK</a>
                        </li>
                         <li> <a href="aadhar_to_pan_link_status_a.php"><i class="bx bx-right-arrow-alt"></i> AADHAR TO PAN STATUS CHACK FREE</a>
                        </li>
                        <li> <a href="Pan_details.php"><i class="bx bx-right-arrow-alt"></i>PAN DETAIL INSTANT</a>
                        </li>  
                         <li> <a href="pan_detail_list.php"><i class="bx bx-right-arrow-alt"></i>PAN DETAIL LIST</a>
                        </li> 
                         <li> <a href="Pan_To_Aadhar_Find_a.php"><i class="bx bx-right-arrow-alt"></i>PAN TO AADHAR INSTANT</a>
                        </li>
                          <li> <a href="Pan_To_Aadhar_Find_list.php"><i class="bx bx-right-arrow-alt"></i>PAN TO AADHAR INSTANT LIST</a>
                        </li>
                         <li> <a href="pan_to_aadhar_mask_a.php"><i class="bx bx-right-arrow-alt"></i> PAN TO AADHAR MASK</a>
                        </li>
                         <li> <a href="pan2UidFindManual_A.php"><i class="bx bx-right-arrow-alt"></i>PAN TO AADHAR MANUAL</a>
                        </li>
                        <li> <a href="Pan_manual.php"><i class="bx bx-right-arrow-alt"></i>MANUAL PRINT</a>
                        </li>
                        <li> <a href="Pan_manual_list.php"><i class="bx bx-right-arrow-alt"></i>PAN PRINT LIST</a>
                        </li>
                       
                       
                        

                    </ul>
                </li>
                
                
 <!-- AGRI FARMER PDF  -->
                <li>
                 <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                        <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/farmerLogos.png" width="50px" style="border-radius:4px;"></div>

                      
                        <div class="menu-title "><span class="badge bg-danger"></span>FARMER SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
       
                    </a>
                    <ul>
                        <li> <a href="AgriFarmerCardPdf_a.php"><i class="bx bx-right-arrow-alt"></i>AGRI STACK FARMER PDF</a>
                       </li>
                         <li> <a href="AgriFarmerCardPdf_list.php"><i class="bx bx-right-arrow-alt"></i>AGRI STACK FARMER PDF LIST</a>
                       
                        </li>
                         <li> <a href="dbtAgriculture_br_pdf_a.php"><i class="bx bx-right-arrow-alt"></i>DBT FARMER BIHAR PDF</a>
                       
                        </li>
                        <li> <a href="dbtAgriculture_br_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>DBT FARMER BIHAR PDF LIST</a>
                       
                        </li>
                    </ul>
                </li>
                 <!-- ESHRAM PDF  PDF  -->
                <li>
                 <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                        <div class="parent-icon"><img src="https://eshramwebportal-megh.azureedge.net/nduwwsmedia/themes/images/e-shram-logo-english.png" width="50px" style="border-radius:4px;"></div>

                      
                        <div class="menu-title "><span class="badge bg-danger"></span>ESHRAM SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
       
                    </a>
                    <ul>
                        <li> <a href="shram_card.php"><i class="bx bx-right-arrow-alt"></i>ESHRAM PDF</a>
                       
                        </li>
                         <li> <a href="shram_card_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>ESHRAM PDF LIST</a>
                       
                        </li>
                         
                    </ul>
                </li>
                <!-- AADHAR TO RATION  PDF  -->
                <li>
                 <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                        <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/Ration_srvice.webp" width="50px" style="border-radius:4px;"></div>

                      
                        <div class="menu-title "><span class="badge bg-danger"></span>RATION SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
       
                    </a>
                    <ul>
                        <li> <a href="Ration_To_Pdf_a.php"><i class="bx bx-right-arrow-alt"></i>RATION PDF</a>
                        </li>   
                         <li> <a href="Aadhar_To_Ration_Pdf_a.php"><i class="bx bx-right-arrow-alt"></i>AADHAR TO RATION PDF</a>
                        </li>   
                        <li> <a href="ration_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>RATION PDF LIST</a>
                        </li> 
                        <li> <a href="Ration_To_Ration_Details_Find_a.php"><i class="bx bx-right-arrow-alt"></i>RATION TO DETAIL FIND</a>
                        </li> 
                        <li> <a href="Aadhar_To_Ration_Details_Find_a.php"><i class="bx bx-right-arrow-alt"></i>AADHAR TO RATION FIND</a>
                        </li> 
                        <li> <a href="rationt_to_aadhar_up_a.php"><i class="bx bx-right-arrow-alt"></i>RATION TO AADHAR UTTAR PRADESH</a>
                        </li> 
                        <li> <a href="ration_to_aadhar_wb_a.php"><i class="bx bx-right-arrow-alt"></i>RATION TO AADHAR WEST BENGAL</a>
                        </li> 
                        <li> <a href="ration_2_uid_all_submit_a.php"><i class="bx bx-right-arrow-alt"></i>RATION TO AADHAR ALL STATE </a>
                        </li> 
                        <li> <a href="ration_2_uid_all_submit_list.php"><i class="bx bx-right-arrow-alt"></i>RATION TO AADHAR ALL STATE LIST </a>
                        </li> 
                    </ul>
                </li>

               
                
                 
               
              
                       
                 <!-- VOTER SERVICE -->
                 <li>
                 <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                        <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/voter1.png" width="50px" style="border-radius:4px;"></div>
                    
                        <div class="menu-title "><span class="badge bg-danger"></span> VOTER SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
       
                    </a>
                    <ul>
                        <li> <a href="voter_to_mobile_link_without_otp_a.php"><i class="bx bx-right-arrow-alt"></i>VOTER MOBILE LINK WITHOUT OTP</a>
                        </li>
                        <li> <a href="voter_mobile_link_a.php"><i class="bx bx-right-arrow-alt"></i>VOTER MOBILE LINK WITH OTP</a>
                        </li>
                        <li> <a href="voter_otp_pdf_a.php"><i class="bx bx-right-arrow-alt"></i>VOTER ORGINAL PDF</a>
                        </li> 
                        <li> <a href="voter_otp_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>VOTER ORGINAL PDF LIST</a>
                        </li> 
                         <li> <a href="Voter_advance_print.php"><i class="bx bx-right-arrow-alt"></i>VOTER ADVANCE PRINT</a>
                        </li>
                        <li> <a href="Voter_advance_print_captcha.php"><i class="bx bx-right-arrow-alt"></i>VOTER ADVANCE CAPTCHA PRINT</a>
                        </li>
                        <li> <a href="Voter_advance_list.php"><i class="bx bx-right-arrow-alt"></i>VOTER ADVANCE PRINT LIST</a>
                        </li>   
                                            
                    </ul>
                </li>               
                  
                    <!-- DL SERVICE -->
                     <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                        <div class="parent-icon"><img src="https://cdni.iconscout.com/illustration/premium/preview/driving-license-5266729-4397188.png" width="50ox" style="border-radius:4px;">
                        </div>
                        <div class="menu-title"><span class="badge bg-danger"></span>DRIVING LICENCE SERVICE </div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="dlprint_pdf_a.php"><i class="bx bx-right-arrow-alt"></i>DL PRINT PDF</a>
                        </li>
                         <li> <a href="dlprint_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>DL PRINT PDF LIST</a>
                        </li>
                         <li> <a href="llexam_sub.php"><i class="bx bx-right-arrow-alt"></i>LLEXAM PASS</a>
                        </li>
                         <li> <a href="llexamlist.php"><i class="bx bx-right-arrow-alt"></i>LLEXAM PASS LIST</a>
                        </li>
                        <li> <a href="Dl_Find_Instant_a.php"><i class="bx bx-right-arrow-alt"></i>DL FIND </a>
                        </li>
                        

                    </ul>
                </li>
                
                    <!-- VEHICLE SERVICE -->
                  <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                        <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/vehicleservices.png" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>LARNING PASS </div>
<img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>                   

                    </a>
                    <ul>
                        <li> <a href="llexam_sub.php"><i class="bx bx-right-arrow-alt"></i>LARNING APPLY</a>
                        </li>
                         <li> <a href="llexamlist.php"><i class="bx bx-right-arrow-alt"></i>LARNING LIST</a>
                        </li>
                        

                    </ul>
                </li>  
                 
                <!-- GST SERVICE -->
                  <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                        <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/vehicleservices.png" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>VEHICLE SERVICE </div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="Vehicle_Rc_pdf_a.php"><i class="bx bx-right-arrow-alt"></i>VEHICLE RC PDF</a>
                        </li>
                         <li> <a href="Vehicle_Rc_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>VEHICLE RC PDF LIST</a>
                        </li>
                        <li> <a href="vehicle_chalan_find_a.php"><i class="bx bx-right-arrow-alt"></i>VEHICLE CHALAN SEARCH</a>
                        </li>
                         <li> <a href="chassis_to_rc_find_a.php"><i class="bx bx-right-arrow-alt"></i>CHASSIS TO VEHICLE NO</a>
                        </li>
                        <li> <a href="engine_to_rc_find_a.php"><i class="bx bx-right-arrow-alt"></i>ENGINE TO VEHICLE NO</a>
                        </li>
                        <li> <a href="vehicle_2_mobile_find_a.php"><i class="bx bx-right-arrow-alt"></i>VEHICLE TO MOBILE NO</a>
                        </li>
                         <li> <a href="vehicle_to_fasttag_a.php"><i class="bx bx-right-arrow-alt"></i>VEHICLE TO FAST TAG NO</a>
                        </li>
                        <li> <a href="vehicle_to_fasttag_a.php"><i class="bx bx-right-arrow-alt"></i>VEHICLE TO FAST TAG NO</a>
                        </li>
                        <li> <a href="rto_no_to_details_Find_a.php"><i class="bx bx-right-arrow-alt"></i>RTO TO DETAILS</a>
                        </li>
                        

                    </ul>
                </li>  
                  <!-- MSME SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                       <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/udyog-aadhar-certificate-500x500.webp" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>MSME UDYAM SERVICE </div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="pan_to_msme_udyam_find_a.php"><i class="bx bx-right-arrow-alt"></i> PAN TO MSME UDYAM FIND</a>
                        </li>
                        <li> <a href="mobile_to_msme_udyam_find_a.php"><i class="bx bx-right-arrow-alt"></i> MOBILE TO MSME UDYAM FIND </a>
                        </li>
                         <li> <a href="msme_udyam_to_with_msme_udyam_pdf_a.php"><i class="bx bx-right-arrow-alt"></i> MSME UDYAM TO DETAIL PDF</a>
                        </li>
                        

                    </ul>
                </li> 
                <!-- GST SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                       <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/GSTSE.png" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>GST SERVICE </div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="gstin_to_contact_details_a.php"><i class="bx bx-right-arrow-alt"></i> GST TO CONTACT DETAIL</a>
                        </li>
                        <li> <a href="gst_to_pan_Find_a.php"><i class="bx bx-right-arrow-alt"></i> GST TO PAN </a>
                        </li>
                         <li> <a href="gst_to_pan_with_gst_details_Find_a.php"><i class="bx bx-right-arrow-alt"></i> GST TO PAN DETAILS </a>
                        </li>
                         <li> <a href="pan_to_gst_Find_a.php"><i class="bx bx-right-arrow-alt"></i> PAN TO GST  </a>
                        </li>
                         <li> <a href="pan_to_gst_with_gst_details_Find_a.php"><i class="bx bx-right-arrow-alt"></i> PAN TO GST DETAILS </a>
                        </li>
                        

                    </ul>
                </li>  
                
                
                <!-- JAN AADHAR SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                      <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/janaadhar2.png" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>JAN AADHAR SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="janaadhar_Find_Rj_a.php"><i class="bx bx-right-arrow-alt"></i>JAN AADHAR FIND</a>
                        </li>
                        <li> <a href="janaadhar_PDF_Rj_a.php"><i class="bx bx-right-arrow-alt"></i>JAN AADHAR PDF </a>
                        </li>
                        <li> <a href="janaadhar_PDF_Rj_list.php"><i class="bx bx-right-arrow-alt"></i>JAN AADHAR PDF LIST</a>
                        </li>
                        

                    </ul>
                </li>  
                 <!-- ELECTRICT  SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                      <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/electricBill2.png" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>ELECTRIC BILL SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="electricBillPDF_Br_a.php"><i class="bx bx-right-arrow-alt"></i>ELECTRIC BILL BIHAR</a>
                        </li>
                       <li> <a href="electricBillPDF_Br_list.php"><i class="bx bx-right-arrow-alt"></i>ELECTRIC BILL BIHAR PDF LIST</a>
                        </li>
                        

                    </ul>
                </li>  
                <!-- FAMILY ID  SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                      <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/familyidLogo1.png" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>FAMILY ID SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="family_Id_pvc_card_pdf_up_a.php"><i class="bx bx-right-arrow-alt"></i>FAMILY ID UTTAR PRADESH</a>
                        </li>
                       <li> <a href="family_Id_pvc_card_pdf_up_list.php"><i class="bx bx-right-arrow-alt"></i>FAMILY ID PDF LIST</a>
                        </li>
                        

                    </ul>
                </li>  
                 <!-- RTPS  SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                      <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/rtps1.png" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>RTPS SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="Bihar_Rtps_Certificate_pdf_a.php"><i class="bx bx-right-arrow-alt"></i>BIHAR RTPS PDF</a>
                        </li>
                         <li> <a href="Bihar_Rtps_Certificate_pdf_list.php"><i class="bx bx-right-arrow-alt"></i>BIHAR RTPS PDF LIST</a>
                        </li>
                       
                        

                    </ul>
                </li>  
                 <!-- LPG  SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                      <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/290894LP.png" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>LPG GAS SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="mobile_to_lpg_verfy_a.php"><i class="bx bx-right-arrow-alt"></i>MOBILE TO LPG GAS FIND</a>
                        </li>
                       
                        

                    </ul>
                </li>  
                              <!-- LPG  SERVICE -->
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

                
                      <div class="parent-icon"><img src="https://<?php echo $_SERVER['SERVER_NAME']; ?>/template/ahkweb/assets/images/other_service.webp" width="50px" style="border-radius:4px;"></div>
                     
                        <div class="menu-title"><span class="badge bg-danger"></span>OTHER SERVICE</div>
                        <img src="https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcmtucGZvN3A2OXVwZnN5czAwMzhwcmk4ZXNjMDhvOXRzZTA1YTk2aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mWnDeIKilkwDcrM2VT/giphy.gif" alt="Girl in a jacket" width="50" height="20"></sup></h1>
           

                    </a>
                    <ul>
                        <li> <a href="sambal_pvc_card_pdf_mp_a.php"><i class="bx bx-right-arrow-alt"></i>SAMBHAL PDF (MADHYA PRADESH)</a>
                        </li>
                        <li> <a href="samagra_pvc_card_pdf_mp_a.php"><i class="bx bx-right-arrow-alt"></i>SAMAGRA PDF (MADHYA PRADESH)</a>
                        </li>
                         <li> <a href="samagra_pvc_card_pdf_mp_list.php"><i class="bx bx-right-arrow-alt"></i>SAMAGRA / SAMBHAL PDF LIST</a>
                        </li>
                        <li> <a href="mobile_to_look_up_details_find_a.php"><i class="bx bx-right-arrow-alt"></i>MOBILE LOOK UP DETAILS</a>
                        </li>
                        <li> <a href="Enrollment_Status_Chacker_a.php"><i class="bx bx-right-arrow-alt"></i>ENROLLMENT STATUS CHACKER</a>
                        </li>
                         <li> <a href="PinCode_To_Details_Find_a.php"><i class="bx bx-right-arrow-alt"></i>PIN CODE TO DETAILS</a>
                        </li>
                        <li> <a href="Post_Office_To_Details_Find_a.php"><i class="bx bx-right-arrow-alt"></i>POST OFFICE CODE TO DETAILS</a>
                        </li>
                        <li> <a href="ifsc_code_To_bank_Details_Find_a.php"><i class="bx bx-right-arrow-alt"></i>IFSC CODE CODE TO BANK DETAILS</a>
                        </li>
                       
                        

                    </ul>
                </li>  
              
                  
                <!-- WALLET MANAGEMENT -->
<li>
    <a href="javascript:;" class="has-arrow" style="background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); border-radius: 8px; color: #fff;">
        <div class="parent-icon"><i class="bx bx-wallet"></i></div>
        <div class="menu-title">Wallet Management</div>
    </a>
    <ul>
        <li><a href="wallet.php"><i class="bx bx-right-arrow-alt"></i>Add Balance</a></li>
        <li><a href="wallet_history.php"><i class="bx bx-right-arrow-alt"></i>Wallet History</a></li>
    </ul>
</li>

<!-- LOGOUT -->
<li>
    <a href="../includes/logout.php" style="background: linear-gradient(135deg, #ff416c, #ff4b2b); border-radius: 8px; color: #fff;">
        <div class="parent-icon"><i class="bx bx-log-out"></i></div>
        <div class="menu-title">Logout</div>
    </a>
</li>
                <!-- Settings -->
                <?php if(checkAdmin($udata['type']) == true){
				    ?>
                <li>
                  <a href="javascript:void(0)" style="background: radial-gradient(circle at center, indigo, #4b0082 20%, #6a0dad 50%, #4169e1 80%, indigo) !important;
" =""="">

     <div class="parent-icon"><img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS2OiL34vtU1cGNsFglsqFMNI8lwUHi7DUF5A&s" width="50ox" style="border-radius:4px;">
     
</div>                  
                        <div class="menu-title">WEBSITE SETTING.</div>
 
                    </a>
                    <ul>
                        <li> <a href="apihistory.php"><i class="bx bx-right-arrow-alt"></i>Api History Details</a>
                        </li>
                         <li> <a href="settings.php"><i class="bx bx-right-arrow-alt"></i>Website Details</a>
                        </li>
                        <li> <a href="pricing.php"><i class="bx bx-right-arrow-alt"></i>Pricing</a>
                        </li>
                        <li> <a href="SetComission.php"><i class="bx bx-right-arrow-alt"></i>Set Comission</a>
                        </li>
                        <li> <a href="notifications.php"><i class="bx bx-right-arrow-alt"></i>Notifications</a></li>
                        <li> <a href="LogoUpdate.php"><i class="bx bx-right-arrow-alt"></i>Update Logo</a></li>
                        
                    
                       

                    </ul>
                </li>
                
                 <?php } ?>
                <!-- Settings -->
                
                
                <li>
                    <a
                    </a>
                   
                </li>
                
                <!-- Refer and Earn -->
               <!-- Content Shifted to sidebarextra.php -->
        </div>
        <!--end sidebar wrapper -->
        <!--start header -->
        <header>
            <div class="topbar d-flex align-items-center">
                <nav class="navbar navbar-expand">
                    <div class="mobile-toggle-menu"><i class='bx bx-menu'></i>
                    </div>
                   <?php
                   if(isset($_GET['gettoAdmin']) && $_GET['session'] == 'true'){
                    loginAsAdmin();
                   }
                   
                        if(isset($_SESSION['adminasuser'])== true && $_SESSION['adminusername']!=NULL){
                                ?>
                                <!-- <form action="" method="POST">
                                    <div class="search-bar flex-grow-1">
                                        <div class="position-relative search-bar-box">
                                            <a href="?gettoAdmin=1&session=true" type="submit" class="btn btn-success">Go Back to Admin Panel</a>
                                        </div>
                                    </div>
                                </form> -->
                               
                           
                                <?php 
                            }else{
                                ?>
                           
                                <?php
                            }
                   ?>
                    <div style="margin-right:12px;" class="text-success">
                        <style>
                        #time {
                            color: white;
                            font-size: 18px;
                            font-family: "Times New Roman", Times, serif;
                        }
                        </style>
                        <a id="time"></a>
                        <script>
                        var timeDisplay = document.getElementById("time");

                        function refreshTime() {
                            var dateString = new Date().toLocaleString("en-IN", {
                                timeZone: "Asia/Kolkata"
                            });
                            var formattedString = dateString.replace(", ", " - ");
                            timeDisplay.innerHTML = formattedString;
                        }

                        setInterval(refreshTime, 1000);
                        </script>
                    </div>
                    <a class="btn btn-warning" href="wallet.php">Wallet: <?php 
                    if($udata['balance']==NULL){
                        echo "0";
                    }else{
                        echo  $udata['balance'];

                    }
                    ?></a>
                    
                    
                    <div class="top-menu ms-auto">
                        
                        <ul class="navbar-nav align-items-center">
                            <?php if(checkAdmin($udata['type']) == true){ ?> 
                             <li class="nav-item mobile-search-icon">
								<a class="nav-link" href="#">	<i class='bx bx-search'></i>
								</a>
							</li> 
                         <li class="nav-item dropdown dropdown-large">
						<a class="nav-link dropdown-toggle dropdown-toggle-nocaret show" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="true">	<i class="bx bx-category"></i>
						</a>
								<div class="dropdown-menu dropdown-menu-end">
							<div class="card-header bg-warning">
								<h4 class="mt-0 mb-0">Quick Service Links</h4>
							</div>
							<div class="row row-cols-3 g-3 p-3">
								
								<div class="col text-center">
									<a href="https://pgecm.co.in/">
										<div class="app-box mx-auto bg-gradient-kyoto text-dark"><i class="bx bx-group"></i>
										</div>
										<div class="text-success app-title">All in one Working</div>
									</a>
								</div>
								<div class="col text-center">
									<a href="https://gtak.pgecm.co.in/">
										<div class="app-box mx-auto bg-gradient-lush text-white"><i class="bx bx-atom"></i>
										</div>
										<div class="text-success app-title">Pan Api</div>
									</a>
								</div>
								<div class="col text-center">
									<a href="https://pgecm.in/">
										<div class="app-box mx-auto bg-gradient-kyoto text-dark"><i class="bx bx-shield"></i>
										</div>
										<div class="text-success app-title">PG Fast</div>
									</a>
								</div>
								<div class="col text-center">
									<a href="https://www.milesweb.in/">
										<div class="app-box mx-auto bg-gradient-moonlit text-white"><i class="bx bx-notification"></i>
										</div>
										<div class="text-success app-title">Hosting Domain Hostinger</div>
									</a>
								</div>
								<div class="col text-center">
									<a href="https://gtak.pgecm.co.in">
										<div class="app-box mx-auto bg-gradient-cosmic text-white"><i class="bx bx-file"></i>
										</div>
										<div class="text-primary app-title">E-Pan</div>
									</a>
								</div>
								
								<div class="col text-center">
									<a href="https://gtak.pgecm.co.in">
										<div class="app-box mx-auto bg-gradient-burning text-white"><i class="bx bx-filter-alt"></i>
										</div>
										<div class="text-primary app-title">Script All</div>
									</a>
								</div>
							</div>
						</div>
					</li>
							 <?php } ?>
							 
                             <li class="nav-item dropdown dropdown-large">
                                <a class="nav-link dropdown-toggle dropdown-toggle-nocaret position-relative" href="#"
                                    role="button" data-bs-toggle="dropdown" aria-expanded="false"> <span
                                        class="alert-count">7</span>
                                    <i class='bx bx-bell'></i>
                                </a>
                                <div class="dropdown-menu dropdown-menu-end">
                                    <a href="javascript:;">
                                        <div class="msg-header">
                                           
     <p class="msg-header-title">Notifications</p>
                                            <p class="msg-header-clear ms-auto">Marks all as read</p>
                                        </div>
                                    </a>
                                    <div class="header-notifications-list">
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-primary text-primary"><i
                                                        class="bx bx-group"></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">New Customers<span
                                                            class="msg-time float-end">14 Sec
                                                            ago</span></h6>
                                                    <p class="msg-info">5 new user registered</p>
                                                </div>
                                            </div>
                                        </a>
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-danger text-danger"><i
                                                        class="bx bx-cart-alt"></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">New Orders <span class="msg-time float-end">2
                                                            min
                                                            ago</span></h6>
                                                    <p class="msg-info">You have recived new orders</p>
                                                </div>
                                            </div>
                                        </a>
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-success text-success"><i
                                                        class="bx bx-file"></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">24 PDF File<span class="msg-time float-end">19
                                                            min
                                                            ago</span></h6>
                                                    <p class="msg-info">The pdf files generated</p>
                                                </div>
                                            </div>
                                        </a>
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-warning text-warning"><i
                                                        class="bx bx-send"></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">Time Response <span
                                                            class="msg-time float-end">28 min
                                                            ago</span></h6>
                                                    <p class="msg-info">5.1 min avarage time response</p>
                                                </div>
                                            </div>
                                        </a>
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-info text-info"><i
                                                        class="bx bx-home-circle"></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">New Product Approved <span
                                                            class="msg-time float-end">2 hrs ago</span></h6>
                                                    <p class="msg-info">Your new product has approved</p>
                                                </div>
                                            </div>
                                        </a>
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-danger text-danger"><i
                                                        class="bx bx-message-detail"></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">New Comments <span class="msg-time float-end">4
                                                            hrs
                                                            ago</span></h6>
                                                    <p class="msg-info">New customer comments recived</p>
                                                </div>
                                            </div>
                                        </a>
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-success text-success"><i
                                                        class='bx bx-check-square'></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">Your item is shipped <span
                                                            class="msg-time float-end">5 hrs
                                                            ago</span></h6>
                                                    <p class="msg-info">Successfully shipped your item</p>
                                                </div>
                                            </div>
                                        </a>
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-primary text-primary"><i
                                                        class='bx bx-user-pin'></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">New 24 authors<span
                                                            class="msg-time float-end">1 day
                                                            ago</span></h6>
                                                    <p class="msg-info">24 new authors joined last week</p>
                                                </div>
                                            </div>
                                        </a>
                                        <a class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                                <div class="notify bg-light-warning text-warning"><i
                                                        class='bx bx-door-open'></i>
                                                </div>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name">Defense Alerts <span
                                                            class="msg-time float-end">2 weeks
                                                            ago</span></h6>
                                                    <p class="msg-info">45% less alerts last 4 weeks</p>
                                                </div>
                                            </div>
                                        </a>
                                    </div>
                                    <a href="javascript:;">
                                        <div class="text-center msg-footer">View All Notifications</div>
                                    </a>
                                </div>
                            </li> 
                            
                            <li class="nav-item dropdown dropdown-large">
                                  <?php
                if(checkAdmin($udata['type']) == true){
                    ?>
                                <a class="nav-link dropdown-toggle dropdown-toggle-nocaret position-relative" href="#"
                                    role="button" data-bs-toggle="dropdown" aria-expanded="false"> <span
                                        class="alert-count"><?=  $query_noforadmin;?></span>
                                    <i class='bx bx-comment'></i>
                                </a>
                           
                <?php
                }else{
                    ?>
                        <a class="nav-link dropdown-toggle dropdown-toggle-nocaret position-relative" href="#"
                                    role="button" data-bs-toggle="dropdown" aria-expanded="false"> <span
                                        class="alert-count"><?=  $query_foruser;?></span>
                                    <i class='bx bx-comment'></i>
                                </a>
                                <?php
                }
                ?>
                                <div class="dropdown-menu dropdown-menu-end">
                                    <a href="javascript:;">
                                        <div class="msg-header">
                                            <p class="msg-header-title">Messages</p>
                                            <p class="msg-header-clear ms-auto">Marks all as read</p>
                                        </div>
                                    </a>
                                    <div class="header-message-list">
                                        <?php
$res = mysqli_query($ahk_conn,"SELECT * FROM contact  WHERE email='".$udata['email']."'");
if(mysqli_num_rows($res)>0){
    $x=0;
    while($mdata = mysqli_fetch_assoc($res)){
        $x ++;
        ?>
                                        <div class="dropdown-item" href="javascript:;">
                                            <div class="d-flex align-items-center">
                                               <p class="msg-info"><?= $mdata['reply'];?></p>
                                                <div class="flex-grow-1">
                                                    <h6 class="msg-name"<?php $mdata['mess'];?>  <span
                                                            class="msg-time float-end"><?php $mdata['date'];?> </span></h6>
                                                    <p class="msg-info"><?= $mdata['reply'];?></p>
                                                </div>
                                            </div>
                                        </div>
                                     
                                        <?php
       
    }
}
?>
                                    
                                        
                                    </div>
                                    <a href="javascript:;">
                                        <div class="text-center msg-footer">View All Messages</div>
                                    </a>
                                </div>
                            </li> 
                        </ul>
                    </div>
                    <div class="user-box dropdown">
                        <a class="d-flex align-items-center nav-link dropdown-toggle dropdown-toggle-nocaret" href="#"
                            role="button" data-bs-toggle="dropdown" aria-expanded="false">
                            <img src="../template/ahkweb/assets/images/avatars/avatar-2.png" class="user-img"
                                alt="user avatar">
                            <div class="user-info ps-3">
                                <p class="user-name mb-0"><?php  echo $udata['name'];  ?></p>
                                <p class="designattion mb-1"> </p>
                            </div>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="profile.php"><i
                                        class="bx bx-user"></i><span>Profile</span></a>
                            </li>
                            <li><a
                            </li>
                            <li><a 
                            </li>
                            <li><a 
                            </li>
                            <li><a
                            </li>
                            <li>
                                <div class="dropdown-divider mb-0"></div>
                            </li>
                            <li><a class="dropdown-item" href="../includes/logout.php"><i
                                        class='bx bx-log-out-circle'></i><span>Logout</span></a>
                            </li>
                        </ul>
                    </div>
                </nav>
            </div>
        </header>
        <!--end header --> 