Файловый менеджер - Редактировать - /home/d46091/gemregistrationportal.org/MakePayment.php
Назад
<?php if (isset($_POST['form_id']) && ($_POST['form_id'] == "catlouge_form")) { $applicant_name = $_POST['applicant_name']; $mobile_number= $_POST['mobile_number']; $email_id=$_POST['email_id']; $totalProducts = $_POST['prodtotal']; if($totalProducts==1){ // $price = 1000 * 1; //$gst = 0.18; $price=2999; // $CalculatedGstAmount = $price * $gst; // $totalPrice = $price + $CalculatedGstAmount; $totalPrice =$price; }elseif($totalProducts==2){ //$price = 900 * 2; //$gst = 0.18; $price=2999; // $CalculatedGstAmount = $price * $gst; //$totalPrice = $price + $CalculatedGstAmount; $totalPrice = $price; }elseif($totalProducts==3){ // $price = 800 * 3; // $gst = 0.18; $price=2999; // $CalculatedGstAmount = $price * $gst; // $totalPrice = $price + $CalculatedGstAmount; // }elseif($totalProducts==4){ // $price = 700 * 4; // $gst = 0.18; // $CalculatedGstAmount = $price * $gst; // $totalPrice = $price + $CalculatedGstAmount; // }elseif($totalProducts==5){ // $price = 600 * 5; // $gst = 0.18; // $CalculatedGstAmount = $price * $gst; // $totalPrice = $price + $CalculatedGstAmount; // }elseif($totalProducts > 5){ // $price = 500 * $totalProducts; // $gst = 0.18; // $CalculatedGstAmount = $price * $gst; // $totalPrice = $price + $CalculatedGstAmount; } elseif($totalProducts > 3){ $priceVal = $totalProducts; for($value1=4;$value1<=$priceVal;$value1++){ $value2=$value1-3; for($i=1;$i<=$value2;$i++){ $price = 2999 + (590*$i); $totalPrice = $price; } } // $price = 500 * $totalProducts; // $gst = 0.18; // $CalculatedGstAmount = $price * $gst; // $totalPrice = $price + $CalculatedGstAmount; } }else{ $applicant_name = ''; $mobile_number= ''; $email_id=''; header('Location:./'); exit(); } ?> <!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 Page</title> <meta name="description" content="Udyog Aadhaar Registration Online Application Form. Quick Udyog Aadhar Online Registration platform. MSME Udyog Aadhar Free Registration Process."> <meta name="yandex-verification" content="de6c3e2c532ec8bd" /> <link rel="icon" href="./assets/img/flag.png" type="image/gif" sizes="16x16" alt="Udyog Aadhaar Registration Online - MSME Registration Online Form"> <link rel="stylesheet" href="fontawesome/css/all.css"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap" rel="stylesheet"> <style> body { background: #EEE; padding: 0; margin: 0; font-family: 'Manjari', sans-serif; overflow-x: hidden; } h1{ text-transform: uppercase; padding-top: 20px; } .btn-custom { background: #115399; color: #fff; } .btn.focus, .btn:focus { box-shadow: none; } .btn-custom:hover { color: #fff; background: #115399; } .container { box-shadow: 1px 0 10px 15px rgba(0, 0, 0, .3); background: linear-gradient(to bottom, #115399 0%, #115399 50%, #000000 50%, #ddd 50%, #ddd 100%); padding: 10px 0 15px 0px; } .center-content { display: block; margin: 20px auto; width: 40%; } .float-right .form-control { border-radius: 0px; width: 35% !important; } .center-content .form-control { outline: none; border: none; background: none; border-bottom: 1px solid #ddd; border-radius: 0px !important; } .center-content .form-control:focus, .center-content .form-control:hover { border: none; margin: 0 auto; background: none; box-shadow: none; border-bottom: 1px solid #AAB7B8; } .form-group { margin-top: 25px; } @media(max-width: 992px){ h2{ text-align: center; } .center-content{ width: 60%; } } @media(max-width: 768px){ h2{ text-align: center; } .center-content{ width: 60%; } .form-inline{ display: block; text-align: center; float: none !important; } } @media(max-width: 575px){ .pl-5{ padding-left: 0 !important; } .center-content{ width: 80%; } .float-right .form-control{ width: 100% !important; margin-top: 15px; } .float-right .form-control:nth-child(2){ margin-bottom: 15px; } .container{ background: linear-gradient(to bottom, #3b5997 0%, #3b5997 60%, #000000 50%, #ddd 52%, #ddd 100%); max-width: 80%; } } @media(max-width: 425px){ h3,h2{ font-size: 1.5rem; } h1{ font-size: 2rem; } h2{ margin: 0; } } .form-group { margin-top: 30px !important; } h1 { text-transform: uppercase; padding-top: 10px; margin-top: -2rem; font-family: monospace; font-size: 24px; font-weight: bold; } h4 { text-transform: uppercase; padding-top: 10px; font-family: sans-serif; font-size: 15px; font-weight: 650; } .btn{ border-radius:0; } </style> <div class="container mt-5 mb-5"> <div class="row"> <div class="col-lg-12"> <div class="text-center text-white"> <bR> <h3>PAYMENT PAGE</h3> </div> </div> </div> <div class="row bg-white center-content"> <img src="https://payu.in/public-assets/intermediate-pages/4d024d43652064630f04dc8e8ff1073e.svg" style="padding: 15px;"><div class="col-lg-12 p-4"> <h1>REGISTRATION FEE PAYMENT</h1> <hr> <h4>PAYMENT FOR</h4> <p>GEM CATLOUGE FEE FOR NO OF SELECTED PRODUCTS :=> <?php echo $totalProducts;?></p> <h4>AMOUNT PAYABLE</h4> <p style="color:#115399;font-weight:bold"id="prdisp"><?php echo '₹ '.$totalPrice;?> (Including Gst)</p> <form action="subcat.php"method="post"> <div class="form-group mt-0"> <input type="tel" class="form-control"maxlength="4"minlength="4"name="product_price" value="<?php echo $totalPrice;?>"id="price"required> </div> <div class="form-group mt-0"> <input type="text" class="form-control" placeholder="Name"name="applicant_name" value=<?php echo $applicant_name;?> readonly> </div> <div class="form-group"> <input type="email"name="email_id" class="form-control" placeholder="Email"value=<?php echo $email_id;?> readonly> </div> <div class="form-group"> <input type="tel"name="mobile_number"maxlength="10"minlength="10" class="form-control" placeholder="Mobile" value=<?php echo $mobile_number;?> readonly> </div> <input type="hidden"name="form_id"value="catlouge"> <input type="hidden"name="form_name"value="Catlouge Registration"> <input type="hidden"name="nature_business"value="<?php echo $_POST['nature_business'];?>"> <input type="hidden"name="business_details"value="<?php echo $_POST['business_details'];?>"> <input type="hidden"name="prodtotal"value="<?php echo $_POST['prodtotal'];?>"> <input type="hidden"name="reference"value="<?php echo $_POST['Reference'];?>"> <button type="submit" class="btn btn-custom">MAKE PAYMENT</button> </form> </div> <img src="https://payu.in/public-assets/intermediate-pages/cb3ad7de3fb80058718f94b03977aa42.png" style="width: 50%;margin: auto;display: block;padding: 10px;"> </div> </div> </div> <script> function onTextprice() { var x = document.getElementById("price").value; document.getElementById("prdisp").innerHTML = "₹ " + x; } </script>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка