MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b2432/saktishree15304.ipage.com/ChemIntel/
File Upload :
Current < : /hermes/sb_web/b2432/saktishree15304.ipage.com/ChemIntel/checkout.php

<?php include("config.php"); 
 $sess_id= $_REQUEST['sess_id'];  
if(isset($_POST['submit']))

{		
	
$usql="update order_details set billing_fname='".str_replace("'","&#39;",$_POST['billing_fname'])."',billing_address='".str_replace("'","&#39;",$_POST['billing_address'])."',billing_city='".str_replace("'","&#39;",$_POST['billing_city'])."',billing_phoneno='".str_replace("'","&#39;",$_POST['billing_phoneno'])."',billing_email='".str_replace("'","&#39;",$_POST['billing_email'])."',billing_company='".str_replace("'","&#39;",$_POST['billing_company'])."',billing_zipcode='".str_replace("'","&#39;",$_POST['billing_zipcode'])."' where sess_id='".$sess_id."'";
  $urs=mysqli_query($con,$usql);

	print "<script>self.location='paynow.php?sess_id=$sess_id';</script>";


}


?>
<!DOCTYPE html>
<!-- LOCAL -->
<html lang="en" class="no-js">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
    <title>ChemIntel360 l Chemical Research and Consulting</title>
    <link href="css/style.css"  rel="stylesheet">
    <link href="css/custom-css.css"  rel="stylesheet" media="screen">
    <link href="css/custom-style.css"  rel="stylesheet" rel="stylesheet" media="print">
    <link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,700,900" rel="stylesheet">
<link rel='stylesheet' href='css/bootstrap.css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="shortcut icon" href="images/logo.png" />
  <meta name="google-site-verification" content="hZC2AGqRI58WpmyzDIgaYXemBpLe4wbUA2OLlaVDHVM" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-LNK78L652Q"></script>
    <style type="text/css">
        main .hero-home.relative {
            min-height: 400px !important;
        }

        .toast-editor {
            min-height: 82px !important;
        }

        .toast-editor .toast {
            bottom: -83px;
        }

        .uneditable {
            -ms-opacity: 0.5;
            opacity: 0.5;
        }
    </style>

    <script>document.documentElement.className = document.documentElement.className.split('no-js').join('');</script>
<body class="show-cart-toggle">
    <div class="skip">
        <a class="btn btn-skip" tabindex="0" href="#content">Skip to main content</a>
    </div>


    <?php include"header.php"; ?>
    <div class="breadcrumbs">

        <div class="wrap">
            <ol>
                <li>
                    <a href="index.php">Home</a>
                </li>
  <li>
                    <a href="report.php">Reports</a>
                </li>
                <li>
                    <a href="checkout.php">Checkout</a>
                </li>
            </ol>
        </div>

    </div>
    <main id="content" class="store_landing">
          <div class="inner_head">
	<!--featured image code-->
		<img src="images/blog-bg.jpg" alt="">
		<div class="inner-title">
	<div class="wrapper">
	<h1>Checkout</h1>
		</div>
	</div>
	</div>
<div class="col-md-2">   </div>  
       <div class="col-md-4">
        	<form action="" method="post">
                                    <div class="form-group required-field">
                                        <label> Name </label>
                                        <input type="text" class="form-control" name="billing_fname" value="<?php echo $row['billing_fname']; ?>" required>
                                    </div><!-- End .form-group -->

                                     <div class="form-group required-field">
                                        <label>Email </label>
                                        <input type="text" class="form-control" name="billing_email" value="<?php echo $row['billing_email']; ?>" required>
                                    </div><!-- End .form-group -->

                                    <div class="form-group">
                                        <label>Phone No </label>
                                        <input type="text" class="form-control" name="billing_phoneno" value="<?php echo $row['billing_phoneno']; ?>" required>
                                    </div><!-- End .form-group -->
                                     <div class="form-group">
                                        <label>Address</label>
                                        <input type="text" class="form-control" name="billing_address" value="<?php echo $row['billing_address']; ?>" required>
                                    </div><!-- End .form-group -->
    <div class="form-group">
                                        <label>Company Name</label>
                                        <input type="text" class="form-control" name="billing_company" value="<?php echo $row['billing_company']; ?>" required>
                                    </div><!-- End .form-group -->
                                    <div class="form-group required-field">
                                        <label>City  </label>
                                        <input type="text" class="form-control" name="billing_city" value="<?php echo $row['billing_city']; ?>" required>
                                    </div><!-- End .form-group -->

                                   
                                    <div class="form-group required-field">
                                        <label>Zip/Postal Code </label>
                                        <input type="text" class="form-control" name="billing_zipcode" value="<?php echo $row['billing_zipcode']; ?>" required>
                                    </div><!-- End .form-group -->
 
                                     <div class="form-group required-field" style="float:right">
                                          <input type="submit" name="submit" class="btn btn-primary" value="Pay Now" style="border:1px solid #000;">
                                    </div><!-- End .form-group -->
                                    
                                    <!-- End .form-group -->
                                    
                            </li>

        
     </form>
           </div>    
         <div class="col-md-4">
                        <div class="order-summary">
                            <h3>Report in the Basket</h3>

                           

                            <div id="order-cart-section">
                                <table class="table table-mini-cart">
                                    <tbody>
                                      <?php
										   $p=1;
											$cart_details="select * from order_details where sess_id='$sess_id'";
											$Sw=mysqli_query($con,$cart_details);
											while($rowm=mysqli_fetch_array($Sw))
											{
						
											?>
                                        <tr>
                                            <td class="product-col">
                                                
                                                <div>
                                                    <h3 class="product-title" style="font-size:20px">
                                                       <?php print $rowm['report_name'];?>
                                                    </h3>

                                                  
                                                </div>
                                            </td>
                                             </tr>
                                            
                                             <tr>
                                              <td align="right" class="price-col">
                    
                    <h2 style="color:#000000;font-weight:bold;font-size:24px;text-align:center">Total - US$  <?php print $rowm['price'];?></h2>
                    
                  </td>
                                        </tr>

                                        <?php } ?>
                                    </tbody>    
                                </table>
<p>Note: Once the payment is confirmed, the report will be delivered in electronic format (.pdf) to the registered email id. </p>
                            </div><!-- End #order-cart-section -->
                        </div><!-- End .order-summary -->
                    </div>
            
         
                  
         
            
              
               
         
    </main>
    
  <?php include"footer.php"; ?>
        <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>

    <script type="text/javascript" src="js/custom-js.js"></script>
</body>

</html>