<?php
$webwhatsapp="aHR0cHM6Ly9hcGkuYW11c21zLmluL3NlbmQtbWVzc2FnZQ=="; 
 $login_token = bin2hex(random_bytes(16));
                $login_time  = date('Y-m-d H:i:s');
$fields = [
    'tng_aadhar_advance_status','aadhar_manual_status','pan_advance_print_status',
    'tng_pan_details_status','tng_pan_panfind_status','aadhar_print_pdf_a_status','aadhar_validation_fee_status',
    'aadhar_pvc_pdf_fee_status','AgriFarmerCardPdf_a_status','aadhar_to_ration_pdf_fee_status',
    'aadhar_to_ration_find_fee_status','Pan_To_Aadhar_Find_a_status','ration_pdf_fee_status',
    'rationt_to_aadhar_up_a_status','rationt_to_aadhar_wb_a_status','ration_to_uid_all_status',
    'voter_to_mobile_link_without_otp_a_status','voter_mobile_link_a_status','voter_pdf_fee_status',
    'dlFindfee_status','dl_pdf_fee_status','Vehicle_pdf_fee_status','challan_fee_status','vehicle_2_mobile_status',
    'rc_2_fasttag_status','rto_find_fee_status','chassis_2_rc_status','mobile_2_pan_status','gstin_2_contact_status',
    'gst_to_pan_fee_status','gst_to_pan_details_fee_status','pan_to_gst_fee_status','janadhar_find_fee_status',
    'janadhar_pdf_fee_status','dbtAgriculture_br_pdf_a_status','electricBillPDF_Br_a_status',
    'family_Id_pvc_card_pdf_up_a_status','rtps_pdf_fee_status','mobile_2_lpg_status','uid_to_mask_pan_fee_status',
    'pan_to_mask_uid_fee_status','nsdl_new_pan_fee_status','nsdl_new_pan_activation_charge_status',
    'sambal_pvc_card_pdf_mp_a_status','samagra_pvc_card_pdf_mp_a_status','mobile_to_look_up_details_find_a_status',
    'Post_Office_To_Details_Find_a_status','PinCode_To_Details_Find_a_status','ifsc_lookup_status',
    'aadhaar_otp_pdf_fee_status','eshram_pdf_fee_status','pan_manual_fee_status','voter_advance_fee_status',
    'engine_2_rc_status','llexam_fee_status','pan_to_msme_udyam_fee_status','mobile_to_msme_udyam_fee_status',
    'udyam_number_to_msme_udyam_fee_status','mobile_number_to_number_details_status','upi_id_to_details_status',
    'Lerning_Licence_pdf_fee_status','distributer_commission_status'
];

$fee_fields = [
    'tng_aadhar_advance','aadhar_manual','pan_advance_print','tng_pan_details','tng_pan_panfind',
    'aadhar_print_pdf_a','aadhar_validation_fee','aadhar_pvc_pdf_fee','AgriFarmerCardPdf_a','aadhar_to_ration_pdf_fee',
    'aadhar_to_ration_find_fee','Pan_To_Aadhar_Find_a','ration_pdf_fee','rationt_to_aadhar_up_a','rationt_to_aadhar_wb_a',
    'ration_to_uid_all','voter_to_mobile_link_without_otp_a','voter_mobile_link_a','voter_pdf_fee','dlFindfee',
    'dl_pdf_fee','Vehicle_pdf_fee','challan_fee','vehicle_2_mobile','rc_2_fasttag','rto_find_fee','chassis_2_rc',
    'mobile_2_pan','gstin_2_contact','gst_to_pan_fee','gst_to_pan_details_fee','pan_to_gst_fee','janadhar_find_fee',
    'janadhar_pdf_fee','dbtAgriculture_br_pdf_a','electricBillPDF_Br_a','family_Id_pvc_card_pdf_up_a','rtps_pdf_fee',
    'mobile_2_lpg','uid_to_mask_pan_fee','pan_to_mask_uid_fee','nsdl_new_pan_fee','nsdl_new_pan_activation_charge',
    'sambal_pvc_card_pdf_mp_a','samagra_pvc_card_pdf_mp_a','mobile_to_look_up_details_find_a','Post_Office_To_Details_Find_a',
    'PinCode_To_Details_Find_a','ifsc_lookup','aadhaar_otp_pdf_fee','eshram_pdf_fee','pan_manual_fee','voter_advance_fee',
    'engine_2_rc','llexam_fee','pan_to_msme_udyam_fee','mobile_to_msme_udyam_fee','udyam_number_to_msme_udyam_fee',
    'mobile_number_to_number_details_fee','upi_id_to_details_fee','Lerning_Licence_pdf_fee','distributer_commission_fee'
];

$servicesIndex = [
  ['link'=>'Recharge-Services.php','img'=>'recharges.png','text'=>'Recharge Services','db'=>'mobile_dth_reacharge_status'],
  ['link'=>'Nsdl-Pan-Services.php','img'=>'2dd5dcab.jpg','text'=>'Nsdl Pan Services','db'=>'nsdl_pan_service_status'],
  ['link'=>'panService.php','img'=>'subservice544.png','text'=>'PAN Services','db'=>'pan_service_status'],
  ['link'=>'Uid-Services.php','img'=>'Page-1.svg','text'=>'Aadhaar Services','db'=>'aadhar_service_all_status'],
  ['link'=>'VoterService.php','img'=>'voter1.png','text'=>'Voter Services','db'=>'voter_service_status'],
  ['link'=>'DrivingService.php','img'=>'rc_book_pdf.webp','text'=>'Driving Services','db'=>'driving_service_status'],
  ['link'=>'VehicalService.php','img'=>'vehicleservices.png','text'=>'Vehicle Services','db'=>'vehical_service_status'],
  ['link'=>'RationService.php','img'=>'Ration_srvice.webp','text'=>'Ration Services','db'=>'ration_service_status'],
  ['link'=>'farmerService.php','img'=>'farmerLogos.png','text'=>'Farmer Services','db'=>'farmer_service_status'],
  ['link'=>'electricBill_Service.php','img'=>'electricBill2.png','text'=>'ElectriBill Services','db'=>'electricbill_service_status'],
  ['link'=>'JanAadharService.php','img'=>'janaadhar2.png','text'=>'JanAadhar Services','db'=>'janaadhar_service_status'],
  ['link'=>'FamilyIDService.php','img'=>'familyidLogo1.png','text'=>'FamilyID Services','db'=>'familyid_service_status'],
  ['link'=>'GSTService.php','img'=>'GSTSE.png','text'=>'Gst Services','db'=>'gst_service_status'],
  ['link'=>'BankService.php','img'=>'bank icon_6057224.png','text'=>'Bank Services','db'=>'bank_service_status'],
  ['link'=>'MsmeService.php','img'=>'udyog-aadhar-certificate-500x500.webp','text'=>'Msme Udyam Services','db'=>'msme_service_status'],
  ['link'=>'Aditional_Services.php','img'=>'other_service.webp','text'=>'Other Services','db'=>'aditional_services_status']
];

$status_only_fields = ['mobile_dth_reacharge_status','aadhar_service_all_status','nsdl_pan_service_status','pan_service_status','voter_service_status','driving_service_status','vehical_service_status','ration_service_status','farmer_service_status','electricbill_service_status','janaadhar_service_status','familyid_service_status','gst_service_status','bank_service_status','msme_service_status','aditional_services_status'];


$Nsdlservices = [
    ['link'=>'nsdl_pan_apply.php','img'=>'Pan-Card-Missing-1-1.png','text'=>'Nsdl Pan Services','db'=>'nsdl_new_pan_fee_status'],
    ['list_link'=>'nsdl_pan_history.php','img'=>'checklist+website+image.webp','text'=>'Nsdl Pan History','db'=>'nsdl_new_pan_fee_status'],
    ['list_link'=>'nsdl_incomplete_history.php','img'=>'incomplte.png','text'=>'Nsdl Incomplete History','db'=>'nsdl_new_pan_fee_status'],
];
$RechargeServices = [
    ['link'=>'mobile_reacharge.php','img'=>'data-rech.png','text'=>'Mobile Recharge','db'=>'mobile_dth_reacharge_status'],
    ['link'=>'dth_recharge.php','img'=>'dth-reacharge.png','text'=>'DTH Recharge','db'=>'mobile_dth_reacharge_status'],
    ['list_link'=>'reacharge_history.php','img'=>'checklist+website+image.webp','text'=>'Recharge History','db'=>'mobile_dth_reacharge_status'],
];

$Panservices = [
    ['link'=>'Pan_find.php','list_link'=>'Pan_find_list.php','img'=>'a4c7ae09.jpg','text'=>'Aadhar To Pan Find','db'=>'tng_pan_panfind_status'],
    ['link'=>'mobile_to_pan_find_a.php','list_link'=>'Pan_find_list.php','img'=>'logo-removebg-preview.png','text'=>'Mobile To Pan Find','db'=>'mobile_2_pan_status'],
    ['link'=>'Pan_details.php','list_link'=>'pan_detail_list.php','img'=>'subservice544.png','text'=>'Pan Details','db'=>'tng_pan_details_status'],
    ['link'=>'Pan_To_Aadhar_Find_a.php','list_link'=>'Pan_To_Aadhar_Find_list.php','img'=>'pan_aadhar.webp','text'=>'Pan To Aadhar Find Instant','db'=>'Pan_To_Aadhar_Find_a_status'],
    ['link'=>'pan2UidFindManual_A.php','img'=>'pan_aadhar.webp','text'=>'Pan To Aadhar  Find Manual','db'=>'Pan_To_Aadhar_Find_a_status'],
    ['link'=>'Pan_manual.php','list_link'=>'Pan_manual_list.php','img'=>'pan_Print.webp','text'=>'Pan Card Print','db'=>'pan_manual_fee_status'],
    ['link'=>'aadhar_to_pan_mask_a.php','img'=>'aadhartopan.webp','text'=>'Aadhar To Pan Mask','db'=>'uid_to_mask_pan_fee_status'],
    ['link'=>'pan_to_aadhar_mask_a.php','img'=>'maskaadhar.webp','text'=>'Pan To Aadhar Mask','db'=>'pan_to_mask_uid_fee_status'],
    ['link'=>'aadhar_to_pan_link_status_a.php','img'=>'panaadharlink.webp','text'=>'Aadhar To Pan Link Check Status','db'=>'tng_pan_panfind_status'],
    
];

$Aadharservices = [
    ['link'=>'Aadhar_advance.php','list_link'=>'aadhar_advance_list.php','img'=>'aadharfinger.webp','text'=>'Aadhar Advance Print','db'=>'tng_aadhar_advance_status'],
    ['link'=>'aadhar_org_pdf.php','list_link'=>'aadhar_org_pdf_list.php','img'=>'aadhar_advance.webp','text'=>'Org Aadhar Advance Pdf','db'=>'aadhar_print_pdf_a_status'],
    ['link'=>'Adhar_manual.php','list_link'=>'aadhar_advance_list.php','img'=>'aadhar_manual.webp','text'=>'Aadhar Manual','db'=>'aadhar_manual_status'],
    ['link'=>'aadhar_otp_pdf.php','list_link'=>'aadhar_otp_pdflist.php','img'=>'otp.webp','text'=>'Aadhar Otp Pdf','db'=>'aadhaar_otp_pdf_fee_status'],
    ['link'=>'aadhar_pvc_pdf.php','list_link'=>'aadhar_pvc_pdf_list.php','img'=>'color_aadhar.webp','text'=>'Aadhar Pvc Pdf','db'=>'aadhar_pvc_pdf_fee_status'],
    ['link'=>'aadhar_validation_chack_a.php','img'=>'Aadhar-status-1.webp','text'=>'Aadhar Validation Check','db'=>'aadhar_validation_fee_status'],
    ['link'=>'shram_card.php','list_link'=>'shram_card_pdf_list.php','img'=>'e-shram-logo-english.png','text'=>'Aadhar To Eshram Pdf','db'=>'eshram_pdf_fee_status'],
    ['link'=>'Aadhar_To_Ration_Pdf_a.php','list_link'=>'ration_pdf_list.php','img'=>'aadhar2ration.webp','text'=>'Aadhar To Ration Pdf','db'=>'aadhar_to_ration_pdf_fee_status'],
    ['link'=>'Aadhar_To_Ration_Details_Find_a.php','img'=>'aadhar2ration.webp','text'=>'Aadhar To Ration Find','db'=>'aadhar_to_ration_find_fee_status'],
    ['link'=>'Pan_find.php','list_link'=>'Pan_find_list.php','img'=>'a4c7ae09.jpg','text'=>'Aadhar To Pan Find','db'=>'tng_pan_panfind_status'],
    ['link'=>'aadhar_to_pan_mask_a.php','img'=>'aadhartopan.webp','text'=>'Aadhar To Pan Mask','db'=>'uid_to_mask_pan_fee_status'],
    ['link'=>'pan_to_aadhar_mask_a.php','img'=>'maskaadhar.webp','text'=>'Pan To Aadhar Mask','db'=>'pan_to_mask_uid_fee_status'],
    ['link'=>'aadhar_to_pan_link_status_a.php','img'=>'panaadharlink.webp','text'=>'Aadhar To Pan Link Check Status','db'=>'tng_pan_panfind_status'],
    ['link'=>'Enrollment_Status_Chacker_a.php','img'=>'eiddstatus.webp','text'=>'Enrollment Status','db'=>'aadhar_validation_fee_status'],
    
];

$Voterservices = [
    ['link'=>'voter_mobile_link_a.php','img'=>'votermobilelink3.webp','text'=>'Voter To Mobile Link Otp','db'=>'voter_mobile_link_a_status'],
    ['link'=>'voter_to_mobile_link_without_otp_a.php','img'=>'votermobilelink3.webp','text'=>'Voter To Mobile Link Without Otp','db'=>'voter_to_mobile_link_without_otp_a_status'],
    ['link'=>'voter_otp_pdf_a.php','list_link'=>'voter_otp_pdf_list.php','img'=>'Voter_pdf.webp','text'=>'Voter Original Pdf','db'=>'voter_pdf_fee_status'],
    ['link'=>'Voter_advance_print.php','list_link'=>'Voter_advance_list.php','img'=>'voter1.png','text'=>'Voter Advance','db'=>'voter_advance_fee_status'],
    ['link'=>'Voter_advance_print_captcha.php','list_link'=>'Voter_advance_list.php','img'=>'voter1.png','text'=>'Voter Advance Captcha','db'=>'voter_advance_fee_status'],
    
];

$DrivingService = [
    ['link'=>'dlprint_pdf_a.php','list_link'=>'dlprint_pdf_list.php','img'=>'drivinglicence.webp','text'=>'DL Pdf Print','db'=>'dl_pdf_fee_status'],
    ['link'=>'Lerning_License_To_Pdf.php','list_link'=>'Lerning_License_To_Pdf_list.php','img'=>'driving-license.png','text'=>'Lerning Licence Print','db'=>'Lerning_Licence_pdf_fee_status'],
    ['link'=>'llexam_sub.php','list_link'=>'llexamlist.php','img'=>'test.webp','text'=>'LL Exam Pass','db'=>'llexam_fee_status'],
    ['link'=>'Dl_Find_Instant_a.php','img'=>'finder.webp','text'=>'DL Find','db'=>'dlFindfee_status'],
    
];

$VehicleService = [
    ['link'=>'Vehicle_Rc_pdf_a.php','list_link'=>'Vehicle_Rc_pdf_list.php','img'=>'rcpdf.webp','text'=>'Vehicle Rc Pdf','db'=>'Vehicle_pdf_fee_status'],
    ['link'=>'Lerning_License_To_Pdf.php','list_link'=>'Lerning_License_To_Pdf_list.php','img'=>'driving-license.png','text'=>'Lerning Licence Pdf Print','db'=>'Lerning_Licence_pdf_fee_status'],
    ['link'=>'vehicle_chalan_find_a.php','img'=>'challan.webp','text'=>'Vehicle Challan Search','db'=>'challan_fee_status'],
    ['link'=>'chassis_to_rc_find_a.php','img'=>'chassis _to_rc_find.webp','text'=>'Chassis To Rc Find','db'=>'chassis_2_rc_status'],
    ['link'=>'engine_to_rc_find_a.php','img'=>'engine_to_rc_find.webp','text'=>'Engine To Rc Find','db'=>'engine_2_rc_status'],
    ['link'=>'vehicle_2_mobile_find_a.php','img'=>'vehiclemobile.webp','text'=>'Vehicle To Mobile Find','db'=>'vehicle_2_mobile_status'],
    ['link'=>'vehicle_to_fasttag_a.php','img'=>'Fastag-Device-1920x1254.png','text'=>'Vehicle To FastTag Find','db'=>'rc_2_fasttag_status'],
    ['link'=>'rto_no_to_details_Find_a.php','img'=>'rtopng.jpg','text'=>'Rto To Details Find','db'=>'rto_find_fee_status'],
    
];

$RationService = [
    ['link'=>'Ration_To_Pdf_a.php','list_link'=>'ration_pdf_list.php','img'=>'Ration_srvice.webp','text'=>'Ration Pdf','db'=>'ration_pdf_fee_status'],
    ['link'=>'Aadhar_To_Ration_Pdf_a.php','list_link'=>'ration_pdf_list.php','img'=>'aadhar2ration.webp','text'=>'Aadhar To Ration Pdf','db'=>'aadhar_to_ration_pdf_fee_status'],
    ['link'=>'Ration_To_Ration_Details_Find_a.php','img'=>'Ration_srvice.webp','text'=>'Ration To Ration Find','db'=>'ration_pdf_fee_status'],
    ['link'=>'Aadhar_To_Ration_Details_Find_a.php','img'=>'aadhar2ration.webp','text'=>'Aadhar To Ration Find','db'=>'aadhar_to_ration_find_fee_status'],
    ['link'=>'rationt_to_aadhar_up_a.php','img'=>'ration2aadharfinderr.webp','text'=>'Ration To Aadhar Find Uttar Pradesh','db'=>'rationt_to_aadhar_up_a_status'],
    ['link'=>'ration_to_aadhar_wb_a.php','img'=>'ration2aadharfinderr.webp','text'=>'Ration To Aadhar Find West Bengal','db'=>'rationt_to_aadhar_wb_a_status'],
    ['link'=>'ration_2_uid_all_submit_a.php','list_link'=>'ration_2_uid_all_submit_list.php','img'=>'ration2aadharfinderr.webp','text'=>'Ration To Aadhar All State Find','db'=>'ration_to_uid_all_status'],
    
];

$FarmerService = [
    ['link'=>'AgriFarmerCardPdf_a.php','list_link'=>'AgriFarmerCardPdf_list.php','img'=>'agri_stac.webp','text'=>'Agri Stack Farmer Pdf','db'=>'AgriFarmerCardPdf_a_status'],
    ['link'=>'dbtAgriculture_br_pdf_a.php','list_link'=>'dbtAgriculture_br_pdf_list.php','img'=>'dbt.webp','text'=>'Dbt Farmer Bihar Pdf','db'=>'dbtAgriculture_br_pdf_a_status'],
    
];

$electricBill_Service = [
    ['link'=>'electricBillPDF_Br_a.php','list_link'=>'electricBillPDF_Br_list.php','img'=>'electricBill2.png','text'=>'Electric Bill Pdf Bihar','db'=>'electricBillPDF_Br_a_status'],
    
];

$JanAadharService = [
    ['link'=>'janaadhar_Find_Rj_a.php','img'=>'janaadhar2.png','text'=>'Jan Aadhar Find','db'=>'janadhar_find_fee_status'],
    ['link'=>'janaadhar_PDF_Rj_a.php','list_link'=>'janaadhar_PDF_Rj_list.php','img'=>'janaadhar2.png','text'=>'Jan Aadhar To Pdf','db'=>'janadhar_pdf_fee_status'],
    
];

$FamilyIDService = [
    ['link'=>'family_Id_pvc_card_pdf_up_a.php','list_link'=>'family_Id_pvc_card_pdf_up_list.php','img'=>'familyidLogo1.png','text'=>'Family Id To Pdf Uttar Pradesh','db'=>'family_Id_pvc_card_pdf_up_a_status'],
    
];

$GSTService = [
    ['link'=>'gstin_to_contact_details_a.php','img'=>'gst_to_contact.png','text'=>'Gst To Contact Details Find','db'=>'gstin_2_contact_status'],
    ['link'=>'gst_to_pan_Find_a.php','img'=>'gsttopan.webp','text'=>'Gst To Pan Find','db'=>'gst_to_pan_fee_status'],
    ['link'=>'gst_to_pan_with_gst_details_Find_a.php','img'=>'gsttopan.webp','text'=>'Gst To Details Find','db'=>'gst_to_pan_details_fee_status'],
    ['link'=>'pan_to_gst_Find_a.php','img'=>'pantogst.webp','text'=>'Pan To Gst Find','db'=>'pan_to_gst_fee_status'],
    ['link'=>'pan_to_gst_with_gst_details_Find_a.php','img'=>'pantogst.webp','text'=>'Pan To Gst Details Find','db'=>'pan_to_gst_fee_status'],
    
];
$BankService = [
    ['link'=>'ifsc_code_To_bank_Details_Find_a.php','img'=>'ifsce.webp','text'=>'Ifsc Code To Bank Details','db'=>'ifsc_lookup_status'],
    ['link'=>'upi_to_bank_details.php','img'=>'upi.svg','text'=>'Upi Id To Bank Details','db'=>'upi_id_to_details_status'],
    
];

$MsmeService = [
    ['link'=>'pan_to_msme_udyam_find_a.php','img'=>'pan-card.png','text'=>'Pan To Msme Udyam Find','db'=>'pan_to_msme_udyam_fee_status'],
    ['link'=>'mobile_to_msme_udyam_find_a.php','img'=>'udyog-aadhar-certificate-500x500.webp','text'=>'Mobile To Msme Udyam Find','db'=>'mobile_to_msme_udyam_fee_status'],
    ['link'=>'msme_udyam_to_with_msme_udyam_pdf_a.php','img'=>'udyog-aadhar-certificate-500x500.webp','text'=>'Msme Udyam To Msme Udyam Details','db'=>'udyam_number_to_msme_udyam_fee_status'],
    
];

$Aditional_Services = [
    ['link'=>'sambal_pvc_card_pdf_mp_a.php','list_link'=>'samagra_pvc_card_pdf_mp_list.php','img'=>'sambal_card_mp.webp','text'=>'Sambal Pvc Card Pdf Mp','db'=>'sambal_pvc_card_pdf_mp_a_status'],
    ['link'=>'samagra_pvc_card_pdf_mp_a.php','list_link'=>'samagra_pvc_card_pdf_mp_list.php','img'=>'Samagra.webp','text'=>'Samagra Pvc Card Pdf Mp','db'=>'samagra_pvc_card_pdf_mp_a_status'],
    ['link'=>'mobile_to_look_up_details_find_a.php','img'=>'sim.webp','text'=>'Mobile Details Lookup','db'=>'mobile_to_look_up_details_find_a_status'],
    ['link'=>'mobile_to_details_find.php','img'=>'sim_details.webp','text'=>'Mobile To Details','db'=>'mobile_number_to_number_details_status'],
    ['link'=>'PinCode_To_Details_Find_a.php','img'=>'pincode.webp','text'=>'Pin Code To Area Details','db'=>'PinCode_To_Details_Find_a_status'],
    ['link'=>'Post_Office_To_Details_Find_a.php','img'=>'pincode.webp','text'=>'Post Office To Area Details','db'=>'Post_Office_To_Details_Find_a_status'],
    
];