ok
Direktori : /proc/thread-self/root/home2/selectio/public_html/tnpsctestbatch.com/ |
Current File : //proc/thread-self/root/home2/selectio/public_html/tnpsctestbatch.com/view_price_details.php |
<?php include 'header.php'; ?> <?php if(!isset($_SESSION['user_exam'])){ $_SESSION['tnpsccheck_out'] = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; echo '<script> alert("please Login"); window.location.href="https://tnpsctestbatch.com/login.php"; </script>'; }else{ unset($_SESSION['tnpsccheck_out']); } ?> <style> .site-button { outline: none; color: #fff; padding: 7px 21px; border-radius: 10px; position: relative; overflow: hidden; cursor: pointer; display: inline-table; background-color: #1967d2; border: none; font-size: 16px; font-weight: 600; transition: 0.5s all ease; } </style> <!-- CONTENT START --> <div class="page-content"> <!-- OUR BLOG START --> <div class="section-full p-t120 p-b90 bg-white"> <div class="container"> <!-- BLOG SECTION START --> <div class="section-content"> <div class="row d-flex justify-content-center"> <div class="col-lg-8 col-md-12"> <!-- Candidate detail START --> <div class="cabdidate-de-info"> <h4 class="twm-s-title">Product</h4> <div class="twm-timing-list-wrap"> <div class="twm-timing-list"> <div class="twm-time-list-title">General Studies</div> <div class="twm-time-list-position"> <img style="width: 160px;" src="icons/gendral_styies.jpg" alt="No image" > </div> <div class="twm-time-list-discription"> <p>1.Practice TNPSC GENERAL STUDIES questions in tamil framed from 6th to 12th Tamilnadu School Text Books.</p> <p>2.Questions are framed from line by line of every single chapter.</p> <p>3.The more you practice test, the more you score marks.</p> </div> </div> <div class="twm-timing-list"> <div class="twm-time-list-title">TNPSC Batch Series</div> <div class="twm-time-list-position"> <img style="width: 160px;" src="icons/General-Tamil-scaled.jpg" alt="No image" ></div> <div class="twm-time-list-discription"> <p>1.Practice numerous TNPSC Group 1,Group 2/2A,Group 4 online mock tests.</p> <p>2.Questions are set similar to the TNPSC standards.</p> <p>3.The more you practice, the more you become a civil servant.</p> </div> </div> </div> <h4 class="twm-s-title">Validity </h4> <div class="twm-timing-list-wrap"> <div class="twm-timing-list"> <div class="twm-time-list-discription"> <p>The paid amount is valid for the next 30 days from the date of the payment.</p> </div> </div> </div> </div> </div> <div class="col-lg-4 col-md-12 rightSidebar"> <form class="form" action="" method="post" id="checkOut" > <div class="side-bar-2"> <div class="twm-s-contact-wrap mb-5"> <h4 class="section-head-small mb-4">Price Details </h4> <div class="twm-s-contact"> <div class="row"> <div class="col-lg-12"> <div class="form-group mb-3"> <input name="pay_status" type="hidden" Value = "0" class="form-control" /> <input name="amount" type="hidden" Value = "49" class="form-control" /> </div> </div> <div class="col-lg-12"> <label> Total amount : Rs.49</label> </div> <div class="col-md-12"> <button type="submit" class="site-button btn-xs"> Check Out </button> </div> </div> </div> </div> </div> </form> </div> </div> </div> </div> </div> <!-- OUR BLOG END --> </div> <!-- CONTENT END --> <?php include 'footer.php'; ?> <script> $('#checkOut').on('submit', function(e){ console.log("Click And Form Working"); e.preventDefault(); $('#loading-div').hide(); $('#content-div').show(); var formData = new FormData(this); formData.append('type', 'checkout_order'); $.ajax({ url: 'api/check_out.php', type: 'post', dataType: 'json', data: formData, cache: false, contentType: false, processData: false, enctype: 'multipart/form-data', success: function (response) { if(response['status']==200){ window.location.href="payment-redirect.php?amount="+response['amount']+"&order_id="+response['order_id']+"&user_id="+response['user_id']; $("#checkout").trigger("reset"); $('#loading-div').hide(); $('#content-div').show(); }else{ alert(response['message']); $('#loading-div').hide(); $('#content-div').show(); } } }); }); </script>