%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<?php include(APPPATH.'views/includes/header.php'); $query = $this->db->query("select * from `SH_PaymentOrders` where orderID='".$response['order_id']."'")->row_array(); $r = $query['OrderID']; $A = $query['OrderAmount']; /*if(($response['order_id']=!$query['OrderID']) and ($A!=$response['mer_amount'].'0')){ echo "update `SH_PaymentOrders` SET OrderPaymentStatus='', orderFailuremsg='Failure', Amount='".$response['mer_amount']."' where orderID='".$order_id."'"; die; $query = $this->db->query("update `SH_PaymentOrders` SET OrderPaymentStatus='', orderFailuremsg='Failure', Amount='".$response['mer_amount']."' where orderID='".$order_id."'")->row_array(); }*/ ?> <!--BreadcrumbsStart--> <section id="breadcrumbs"> <div class="container"> <div class="row"> <div class="col-md-12"> <h1>Payment Status: <?php if(($response['order_status']=='Success') and ($response['order_id']==$query['OrderID']) and ($A==$response['mer_amount'].'0')){ echo $response['order_status']; } else { echo "Fail"; }?></h1> </div> <div class="col-md-12"> <ul> <li>Sharda Hospital</li> <li>Medical Package</li> </ul> </div> </div> </div> </section> <!--BreadcrumbsEnd--> <!--MainDIV-Start--> <section id="main"> <div class="container"> <div class="row"> <div id="payment" class="col-sm-8 col-sm-offset-2"> <!-- <h2 class="h2inner mrg-bot30">Payment Status: <?php echo $order_status; ?></h2> --> <div class="row"> <div class="col-sm-10 col-sm-offset-1 col-xs-12"> <?php error_reporting(0); $response['order_status']; /* $workingKey='92337578B1BEB60D3308787C704E9519'; //Working Key should be provided here. $encResponse=$_POST["encResp"]; //This is the response sent by the CCAvenue Server $rcvdString=decrypt($encResponse,$workingKey); //Crypto Decryption used as per the specified working key. $order_status=""; $decryptValues=explode('&', $rcvdString); $dataSize=sizeof($decryptValues); */ for($i = 0; $i < $dataSize; $i++) { $information=explode('=',$decryptValues[$i]); if($i==3) $order_status=$information[1]; } if(($response['order_status']==="Success") && ($r==$response['order_id'])) { echo '<center><h2 class="h2inner mrg-bot30">Thank you for your purchase. Your Transaction is successful.</h2></center>'; ?> <h3>Customer Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_name']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_tel']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_email']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Billing Address</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_address'].',<br />'.$response['billing_city'].',<br />'.$response['billing_state'].' - '.$response['billing_zip'].',<br />'.$response['billing_country']; ?></td> </tr> </table> <h3>Product Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Order ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['order_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Product</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['merchant_param4']; ?></td> </tr> </table> <h3>Transaction Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Transaction ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['TID']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Transaction Date</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['trans_date']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Bank Reference Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['bank_ref_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Amount</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['currency']." ".$response['amount']; ?></td> </tr> </table> <?php echo '<br /><div class="download_top"><br /><center><a href="http://shardahospital.org/MedicalPackage/" class="button">Buy Another Package</a></center></div>'; } else if($response['order_status']==="Aborted") { echo '<br /><center><h3 style="color:#f47436;">Thank you for your purchase.However, the transaction has been declined.</h3></center>'; ?> <h3>Customer Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_name']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_tel']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_email']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Billing Address</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_address'].',<br />'.$response['billing_city'].',<br />'.$response['billing_state'].' - '.$response['billing_zip'].',<br />'.$response['billing_country']; ?></td> </tr> </table> <h3>Product Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Order ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['order_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Product</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['merchant_param4']; ?></td> </tr> </table> <h3>Transaction Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Transaction ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['TID']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Transaction Date</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['trans_date']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Bank Reference Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['bank_ref_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Amount</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['currency']." ".$response['amount']; ?></td> </tr> </table> <?php echo '<br /><div class="download_top"><br /><center><a href="http://shardahospital.org/MedicalPackage/" class="button">Try Again</a></center></div>'; } else if($response['order_status']==="Failure") { echo '<br /><center><h3 style="color:#f47436;">Thank you for your purchase. However, the transaction has been declined.</h3></center><br />'; ?> <h3>Customer Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_name']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_tel']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_email']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Billing Address</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_address'].',<br />'.$response['billing_city'].',<br />'.$response['billing_state'].' - '.$response['billing_zip'].',<br />'.$response['billing_country']; ?></td> </tr> </table> <h3>Product Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Order ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['order_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Product</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['merchant_param4']; ?></td> </tr> </table> <h3>Transaction Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Transaction ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['TID']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Transaction Date</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['trans_date']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Bank Reference Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['bank_ref_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Amount</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['currency']." ".$response['amount']; ?></td> </tr> </table> <?php echo '<br /><div class="download_top"><br /><center><a href="http://shardahospital.org/MedicalPackage/" class="button">Try Again</a></center></div>'; } /*********** order id and amount are not match. ************/ else if($response['order_status']==="Hacked") { echo '<center><h2 class="h2inner mrg-bot30">It seems you have tried to hack into the system and tamper with the details. The amount has been deducted from your account. Kindly get in touch to get your refund.</h2></center>'; ?> <h3>Customer Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_name']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_tel']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_email']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Billing Address</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_address'].',<br />'.$response['billing_city'].',<br />'.$response['billing_state'].' - '.$response['billing_zip'].',<br />'.$response['billing_country']; ?></td> </tr> </table> <h3>Product Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Order ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['order_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Product</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['merchant_param4']; ?></td> </tr> </table> <h3>Transaction Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Transaction ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['TID']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Transaction Date</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['trans_date']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Bank Reference Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['bank_ref_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Amount</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['currency']." ".$response['amount']; ?></td> </tr> </table> <?php echo '<br /><div class="download_top"><br /><center><a href="http://shardahospital.org/MedicalPackage/" class="button">Buy Another Package</a></center></div>'; } else { $this->db->where('orderID',$response['order_id']); $this->db->set('PaymentFailureMsg','Failure'); $this->db->set('OrderPaymentStatus','Aborted'); $this->db->update('SH_PaymentOrders'); $security_error = "Security Error. Illegal access detected. Please Try again later."; echo '<br /><center><h3 style="color:#f47436;">'.$security_error.'</h3></center>'; ?> <h3>Customer Details</h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_name']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_tel']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_email']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:3px;"><strong>Billing Address</strong>: </td> <td style="border:1px solid #333;padding:3px;"><?php echo $response['billing_address'].',<br />'.$response['billing_city'].',<br />'.$response['billing_state'].' - '.$response['billing_zip'].',<br />'.$response['billing_country']; ?></td> </tr> </table> <?php echo '<br /><div class="download_top"><br /><center><a href="http://shardahospital.org/MedicalPackage/" class="button">Buy Another Package</a></center></div>'; } echo "<br><br>"; /* echo "<table cellspacing=4 cellpadding=4>"; for($i = 0; $i < $dataSize; $i++) { $information=explode('=',$decryptValues[$i]); echo '<tr><td>'.$information[0].'</td><td>'.$information[1].'</td></tr>'; } echo "</table><br>"; */ ?> </div> </div> </div> </div> </div> </section> <!--MainDIV-End--> <!--form-validation-start--> <script src="<?php echo base_url();?>assets/js/jquery.validate.js"></script> <script> $.validator.setDefaults({ submitHandler: function() { $("#customerData").submit(); // alert("submitted!"); } }); $().ready(function() { // validate the customerData form when it is submitted $("#customerData").validate(); // validate signup form on keyup and submit $("#signupForm").validate({ rules: { firstname: "required", lastname: "required", username: { required: true, minlength: 2 }, password: { required: true, minlength: 5 }, confirm_password: { required: true, minlength: 5, equalTo: "#password" }, email: { required: true, email: true }, topic: { required: "#newsletter:checked", minlength: 2 }, agree: "required" }, messages: { firstname: "Please enter your firstname", lastname: "Please enter your lastname", username: { required: "Please enter a username", minlength: "Your username must consist of at least 2 characters" }, password: { required: "Please provide a password", minlength: "Your password must be at least 5 characters long" }, confirm_password: { required: "Please provide a password", minlength: "Your password must be at least 5 characters long", equalTo: "Please enter the same password as above" }, email: "Please enter a valid email address", agree: "Please accept our policy", topic: "Please select at least 2 topics" } }); // propose username by combining first- and lastname $("#username").focus(function() { var firstname = $("#firstname").val(); var lastname = $("#lastname").val(); if (firstname && lastname && !this.value) { this.value = firstname + "." + lastname; } }); //code to hide topic selection, disable for demo var newsletter = $("#newsletter"); var inital = newsletter.is(":checked"); var topics = $("#newsletter_topics")[inital ? "removeClass" : "addClass"]("gray"); var topicInputs = topics.find("input").attr("disabled", !inital); // show when newsletter is checked newsletter.click(function() { topics[this.checked ? "removeClass" : "addClass"]("gray"); topicInputs.attr("disabled", !this.checked); }); }); //mobile $(document).ready(function() { $('#ContactPhone').blur(function(e) { if (validatePhone('ContactPhone')) { $('#spnPhoneStatus').html('Valid'); $('#spnPhoneStatus').css('color', 'green'); } else { $('#spnPhoneStatus').html('Invalid'); $('#spnPhoneStatus').css('color', 'red'); } }); }); function validatePhone(ContactPhone) { var a = document.getElementById(ContactPhone).value; var filter = /^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/; if (filter.test(a)) { return true; } else { return false; } } //mobile </script> <!--form-validation-end--> <!--MAP-End--> <section id="map"> <div class="container-fluid"> <div class="row"> <div class="col-md-6 col-sm-6 col-xs-12 contact-us-img"> <ul class="list-unstyled"> <li> <h3>Sharda Hospital</h3> <span class="glyphicon glyphicon-map-marker pull-left"></span> <p>Sharda University Campus Greater Noida Plot No. 32-34, Knowledge Park III, Greater Noida, UP.- 201306</p> </li> <li><span class="glyphicon glyphicon-earphone pull-left"></span> <p>0120-2333999</p></li> <li><span class="glyphicon glyphicon-envelope pull-left"></span> <p>info@shardahospital.org</p></li> </ul> </div> <div class="col-md-6 col-sm-6 col-xs-12 padding-none"> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3507.169408441502!2d77.48051051461232!3d28.474444382480506!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x390cea9cae68659b%3A0xc95b3bd7cf26316e!2sSharda+Hospital!5e0!3m2!1sen!2sin!4v1498126204776" width="100%" height="434" frameborder="0" style="border:0" allowfullscreen></iframe> </div> </div> </div> </section> <!--MAP-End--> <?php include(APPPATH.'views/includes/quick_links.php') ?> <?php include(APPPATH.'views/includes/subscribe.php') ?> <?php include(APPPATH.'views/includes/footer.php'); ?>