Файловый менеджер - Редактировать - /home/d46091/efoodlicence.com/MakePayment2.php
Назад
<?php // ini_set('display_errors', 1); // ini_set('display_startup_errors', 1); // error_reporting(E_ALL); // print_r($_POST); // die(); $kobz = $_POST['nature_business']; $turnoverSelected = $_POST['turnover']; $turnoverSelected = $_POST['turnover']; $newRegistration = array('Large Animals: 2<br>Small Animals: 10<br>Poultry Birds: 50','Turnover upto Rs. 12 Lacs / annum','Turnover Upto 12 Lacs', 'Upto 500 Ltrs of Milk per day Upto 2.5 MT of Milk Solids per annum', 'Turnover upto Rs. 12 Lacs per annum', 'Turnover upto Rs. 12 Lacs per annum Or Production capacity upto 100 Kgs/Ltrs per day','Production capacity upto 100 kgs / LTR / DAY','Turnover upto Rs. 12 Lacs / annum','Turnover upto Rs. 12 Lacs / annum','Single Vehicle and Turnover upto Rs. 12 Lacs / annum'); $state1 = array('Large Animals: 3 to 50 Small Animals: 11 to 150 Poultry Birds: 51 - 1000','Turnover upto Rs. 30 crores per annum','Below 1 MT / day ','Below 1 MT per day','1MT – 2 MT per Day','Up to 2 MT per Day','One Star, Two Star or Hotel without Star Rating by Ministry of Tourism (HRACC)','Upto 100 Vending Machines in only one state/ut','Turnover upto Rs. 20 crores per annum','Production Capacity: More than 2 MT / day','Storage Capacity Upto 50,000 MT','Upto 100 Vehicles and Turnover upto Rs. 30 Crores / annum','Turnover more than Rs. 12 Lacs per annum','Storage Capacity Upto 10,000 MT','Storage Capacity Upto 1000 MT','501 – 10,000 Ltrs of Milk per day OR 2.5 MT – 500 MT of Milk Solids per annum'); $state2 = array('Production Capacity: Upto 2 MT / day','10001 – 50,000 Ltrs of Milk per day 501 MT – 2500 MT of Milk Solids per yr','1-2 MT per day','101 Kgs/Ltrs – 1 MT per Day','Three Star and Four Star','1-2 MT / day','Production capacity 1MT - 2MT / DAY','Productions capacity 1MT - 2MT / DAY','Turnover upto Rs. 20 Cr / annum'); $central = array('Large Animals: More than 50<br>Small Animals: More than 150<br>Poultry Birds: More than 1000','Turnover More than Rs. 30 crores per annum', 'More than 50,000 Liters of Milk per day More than 2500 MT of Milk Solid Per yr','More than 2 MT per day','More than 2 MT per day No Grains','More than 2 MT per Day','Five Star and Above','More than 100 Vending Machines and / or located in two or more states / UTS','More than 500 KG meat per day or more than 150 / MT meat per annum','Turnover More than Rs. 20 crores per annum','Production capacity More than 2MT / DAY','More than 2 MT / day','Production Capacity: More than 2 MT / Day','Turnover more than Rs. 20 Cr / annum','Storage Capacity of More than 50,000','More than 100 Vehicles and Turnover more than Rs. 30 Crores / annum','Storage Capacity of More than 10,000','Storage Capacity of More than 1000','Turnover Above 20CR'); $specialTerm1 = array('Production capacity 101 KGS/LTR - 1MT / DAY','501 – 10,000 Ltrs of Milk per day OR 2.5 MT – 500 MT of Milk Solids per annum','Below 1 MT / day','Upto 500 KG meat per day or upto 150 / MT meat per day','Production capacity 1MT - 2MT / DAY'); //turnover// $categories = [ "Head Office/Registered Office", "Food or Health Supplements and Nutraceuticals etc.", "Proprietary Food", "Radiation processing of food", "E-commerce", "Importers", "Exporters" ]; $turnover = $turnoverSelected[0]; // $selectedYears = $_POST['years']; $years = '1_Year'; // $selectedYearX = $_POST['yearx']; $yearx = '1_Year'; if (in_array($turnover, $newRegistration)) { if ($years == '1_Year') { $servicePrices = 4179; } // elseif ($years == '2_Year') { // $servicePrices = 3299; // } elseif ($years =='3_Year') { // $servicePrices = 3899; // } elseif ($years == '4_Year') { // $servicePrices = 4399; // } elseif ($years == '5_Year') { // $servicePrices = 4899; // } $turnover = $turnoverSelected[0]; #include_once('first-mail.php'); include_once('submitx.php'); exit(); } elseif (in_array($kobz, $categories)) { $servicePrices = 20999; }elseif (in_array($turnover, $specialTerm1)) { $servicePrices = 9499; }elseif (in_array($turnover, $state1)) { $servicePrices = 9499; }elseif (in_array($turnover, $state2)) { $servicePrices = 12999; }elseif (in_array($turnover, $central)) { $servicePrices = 20999; }elseif(isset($turnover) && ($turnover =='Turnover Above 12 Lacs Upto 20CR')){ $servicePrices = 9499; }elseif(isset($turnover) && ($turnover =='Turnover Above 20CR')){ $servicePrices = 20999; }elseif($_POST['nature_business'] == 'Radiation processing of food') { $servicePrices = 20999; }else{ echo 'fail'; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Payment | FSSAI</title> <link rel="icon" href="https://efoodlicence.com/re%20(1).svg" type="image/gif" sizes="16x16"> <script src="https://kit.fontawesome.com/d23a55b7f1.js" crossorigin="anonymous"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap" rel="stylesheet"> <link rel="stylesheet" href="/css/main.css?v=<?php echo time(); ?>"> <style> body{ background: url(https://img.freepik.com/free-vector/decorative-indian-flag-theme-independence-day-15th-august-tricolor-background_1055-18058.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; margin:6rem; } .lft{ background: rgba(0,0,0,0.8); } table, th, td { border: 1px solid black; border-collapse: collapse; } .main-con{ width:95%; } .rcon{ background:white; height:100%; border: 1px solid black; } td { border: 1px solid black; text-align: center; background-color: #80877d57; padding-top: 10px; padding-bottom: 10px; font-weight: bold; font-size: 14px; } td,.info{ border: 1px solid black; background-color: #fff; padding-top: 10px; padding-bottom: 10px; font-weight: bold; font-size: 14px; } th, td { padding: 5px; text-align: left; } .price_table table { border: 1px solid #b8fdde; margin-top: 0; } .bg-head{ background-color: #28a745!important; width:95%; margin:auto; } .blinkTxt { animation: blinker 2.8s linear infinite; color:red; } @keyframes blinker { 50% { opacity: 0; } } form{ background:none !important; } .rfrm{ padding: 25px; background: url(https://i.pinimg.com/originals/33/ef/8b/33ef8b9c0b902154a6cd4103a21275ef.jpg); background-repeat: no-repeat; background-size: auto 100%; filter: grayscale(0); } .bgz{ padding: 30px 45px 30px 14px; background: url(bg3.png); background-repeat: no-repeat; background-size: contain; margin-left: 19.2rem; /* width: 100%; */ height: auto; margin-top: 0rem; } .whats-new-title { background: #0f7451 ; color: #fff; padding: 5px; line-height: 1.2em; } .txt{ padding:0px 8px 0px 8px!important; border-bottom:2px solid #a3a3a3; font-family:inherit; margin-top: 37px; } @media (max-width:780px){ .rfrm{ display:none; } } </style> </head> <body> <!--<div class="bg-head p-2 text-white">FSSAI PAYMENT FOR <?php echo $scope;?></div>--> <div class="container-fluid"> <div class="row"> <div class="col-lg-7 col-12 mx-auto p-0 rfrm"> <div class="bgz"> <p class="txt">Name : <?php echo $_POST['applicant_name'];?></p> <p class="txt">Mobile Number : <?php echo $_POST['mobile_number'];?></p> <p class="txt">Email Id : <?php echo $_POST['email_id'];?></p> <p class="txt">Nature Of Business : <?php echo '<br>'.$_POST['nature_business'];?></p> <!--<p class="txt">Certificate Validity Selected : <?php echo str_replace('_', ' ',$years);?></p>--> </div> </div> <div class="col-lg-5 col-xs-12 rcon p-4 mx-auto"> <div class="whats-new-title"> <h3 class="text-center" style="font-size:16px"><?php echo $scope.' APPLICATION FOR NEW REGISTRATION (TATKAL)';?></h3> </div> <table style="width:100%"> <tr> <th>Status:</th> <td>Payment Pending</td> </tr> <!--<tr> <th>Request Number:</th> <td>FSSAIOL155VKL</td> </tr>--> </table> <div class="mt-3 mb-3 font-weight-bold text-center">No Hidden Charges</div> <div class="price_table"> <table width="100%"> <tbody> <?php #if($turnover=='Turnover Above 12 Lacs Upto 20CR'){ #$msgDisp =''; ?> <!--<tr> <td width="134">Govt Fees <p style="font-size:12px"></p></td> <td width="134"style="text-align:right"><?php echo 'Rs '.$govtFees;?></td> </tr>--> <?php #}else{ echo''; #$msgDisp ='<p class="font-weight-bold mt-3 blinkTxt">Note:This is only service fee, Government fee will be payable by you after application has been filled.</p>';}?> <!--<tr> <?php if($turnover =='Turnover Above 12 Lacs Upto 20CR'){?> <td width="134;">Service Fees <p style="font-size:12px">Including GST & Internet Handling Charges</p></td> <?php }else{?> <td width="134;">Service Fees <p style="font-size:12px">Including GST, Govt Fees & Internet Handling Charges</p></td> <?php } ?> <td width="174"style="text-align:right">Rs <?php echo $servicePrices;?> </td> </tr>--> <tr> <td colspan="2">1. Government Fees</td> </tr> <tr> <td colspan="2">2. PG & Internet Handling Charges</td> </tr> <tr> <td colspan="2">3. Consultancy Fees</td> </tr> <tr> <td colspan="2">4. Tatkaal Processing Charges Including GST</td> </tr> <tr> <td width="134" style="font-size:15px">Total</td> <td width="156" style="font-size:15px;text-align:right"colspan="4">Rs <?php echo $servicePrices;?> </td> </tr> </tbody> </table> <?php echo $msgDisp;?> <!--<p class="font-weight-bold mt-3">Note:This is only service fee, Government fee will be payable by you after application has been filled.</p>--> </div> <form method="post" action="submitx.php" style="height: 20%!important;"> <input type="hidden" name="applicant_name" value="<?php echo $_POST['applicant_name']; ?>"/> <input type="hidden" name="email_id" value="<?php echo $_POST['email_id']; ?>"/> <input type="hidden" name="mobile_number" value="<?php echo $_POST['mobile_number']; ?>"/> <input type="hidden"name="name_of_business"value="<?php echo $_POST['name_of_business']; ?>"> <input type="hidden"name="nature_business"value="<?php echo $_POST['nature_business']; ?>"> <input type="hidden"name="food_category"value="<?php echo $_POST['food_category']; ?>"> <input type="hidden"name="designition"value="<?php echo $_POST['designition']; ?>"> <input type="hidden"name="office_address"value="<?php echo $_POST['office_address']; ?>"> <input type="hidden"name="pincode"value="<?php echo $_POST['pincode']; ?>"> <input type="hidden"name="gst"value="<?php echo $_POST['gst']; ?>"> <input type="hidden"name="office_state"value="<?php echo $_POST['office_state']; ?>"> <input type="hidden"name="office_district"value="<?php echo $_POST['office_district']; ?>"> <input type="hidden"name="turnover"value="<?php echo $turnover; ?>"> <input type="hidden"name="yearx"value="<?php echo $yearx; ?>"> <input type="hidden"name="years"value="<?php echo $years; ?>"> <input type="hidden"name="business_name"value="<?php echo $_POST['business_name']; ?>"> <input type="hidden"name="type_of_organisation"value="<?php echo $_POST['type_of_organisation']; ?>"> <input type="hidden" name="product_price" value="<?php echo $servicePrices; ?>"/> <input type="hidden"name="form_id"value="tatkal_fssai_registration"> <input type="hidden" class="form-control" name="form_name" value="Tatkal FSSAI Registration"> <button class="btn whats-new-title mt-3 w-100" type="submit">Pay Now </button> </form> <?php if($turnover =='Turnover Above 12 Lacs Upto 20CR'){?> <div class="col-lg-12" style="color:red;text-weight:bold;text-align:justify;margin-top:0.5rem;"> <b>Note:</b> <br><b>Applicable Government fees of New License For 1 Year Validity is included in the above fees.</b> </div> <?php }else{?> <div class="col-lg-12" style="color:red;text-weight:bold;text-align:justify;"> <b>Note:</b> <br><b>Applicable Government fees of New License For 1 Year Validity is included in the above fees.</b> </div> <?php } ?> </div> </div> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка