Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Bajwa Cold Store</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="keywords" content="Truck Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
- <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
- <!-- bootstarp-css -->
- <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
- <!--// bootstarp-css -->
- <!-- css -->
- <link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
- <!--// css -->
- <script src="js/jquery-1.11.1.min.js"></script>
- <!--fonts-->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,800,700,600' rel='stylesheet' type='text/css'>
- <!--/fonts-->
- <link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
- <script src="js/wow.min.js"></script>
- <script>
- new WOW().init();
- </script>
- <!-- pop-up -->
- <link rel="stylesheet" href="css/touchTouch.css" type="text/css" media="all" />
- <script type="text/javascript" src="js/jquery.fancybox.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- /*
- * Simple image gallery. Uses default settings
- */
- $('.fancybox').fancybox();
- });
- </script>
- <!-- pop-up -->
- <!--start-smoth-scrolling-->
- <script type="text/javascript" src="js/move-top.js"></script>
- <script type="text/javascript" src="js/easing.js"></script>
- <script type="text/javascript">
- jQuery(document).ready(function($) {
- $(".scroll").click(function(event){
- event.preventDefault();
- $('html,body').animate({scrollTop:$(this.hash).offset().top},900);
- });
- });
- </script>
- </head>
- <body>
- <div id="home" class="banner a-banner">
- <!-- container -->
- <div class="container">
- <div class="header">
- <div class="head-logo">
- <a href="index.html"><img src="images/logo7.png" alt="" /></a>
- </div>
- <div class="top-nav">
- <span class="menu"><img src="images/menu.png" alt=""></span>
- <ul class="nav1">
- <li class="hvr-sweep-to-bottom"><a href="index.php">Home<i><img src="images/nav-but1.png" alt=""/></i></a></li>
- <li class="hvr-sweep-to-bottom"><a href="about.php">About<i><img src="images/nav-but2.png" alt=""/></i></a></li>
- <li class="hvr-sweep-to-bottom active"><a href="services.php">Services<i><img src="images/nav-but3.png" alt=""/></i></a></li>
- <li class="hvr-sweep-to-bottom"><a href="signup.php">Sign-Up<i><img src="images/nav-but4.png" alt=""/></i></a></li>
- <li class="hvr-sweep-to-bottom"><a href="login.php">Login<i><img src="images/nav-but5.png" alt=""/></i></a></li>
- <div class="clearfix"> </div>
- </ul>
- <!-- script-for-menu -->
- <script>
- $( "span.menu" ).click(function() {
- $( "ul.nav1" ).slideToggle( 300, function() {
- // Animation complete.
- });
- });
- </script>
- <!-- /script-for-menu -->
- </div>
- <div class="clearfix"> </div>
- </div>
- </div>
- <!-- //container -->
- </div>
- <!-- //banner -->
- <!-- products-top -->
- <div class="products-top">
- <!-- container -->
- <div class="container">
- <!--<h3 class="wow fadeInRight animated" data-wow-delay="0.4s" style="visibility: visible; -webkit-animation-delay: 0.4s;">Login Successful!!</h3>
- <h5 class="wow fadeInRight animated" data-wow-delay="0.4s" style="visibility: visible; -webkit-animation-delay: 0.4s;">Press continue to avail our services.</h5>
- <h1><a href="avail.php">Continue</a></h1> -->
- <?php
- session_start();
- $cd=$_SESSION["C1"];
- $nm=$_SESSION["C2"];
- //$cd=$row['cid']
- //$nm="ankita";
- //echo"Name=:".$nm."<br>";
- //echo"Email=:".$em."<br>";
- $un=$_POST["units"];
- //echo"Address=:".$ad."<br>";
- $dr=$_POST["months"];
- //echo"Contact=:".$cn."<br>";
- $tp=$_POST["type1"];
- //echo"Password=:".$ps."<br>";
- //$ba=$un*$dr*1000;
- $bn=rand(1,100000);
- $rn=rand(1,100);
- //$dt=$_POST["date2"];
- $currentDate = strtotime("now");
- $starttime=date("y-m-d", $currentDate);
- $rt=$_POST["service_type"];
- if($rt=="blast")
- {
- $ba=$un*$dr*1000;
- }
- if($rt=="room")
- {
- $ba=$un*$dr*200;
- }
- else if($rt=="ultra")
- {
- $ba=$un*$dr*300;
- }
- else if($rt=="product")
- {
- $ba=$un*$dr*400;
- }
- else if($rt=="ambient")
- {
- $ba=$un*$dr*1500;
- }
- else if($rt=="normal")
- {
- $ba=$un*$dr*100;
- }
- else
- {
- $ba=$un*$dr*0;
- //echo "This service is temporarily unavailable. Sorry for inconvenience.<br>";
- }
- $dbhost='localhost';
- $dbuser='root';
- $conn=mysql_connect($dbhost,$dbuser);
- if(!$conn)
- {
- die('Could not connect: '.mysql_error());
- }
- $sql="INSERT INTO service (cid,cname,units,duration,date1,type1,bill_amount,bill_no,room_no,type_service) VALUES($cd,'$nm',$un,$dr,'$starttime','$tp',$ba,$bn,$rn,'$rt')";
- mysql_select_db('store');
- $retval=mysql_query($sql,$conn);
- if(!$retval)
- {
- die('Could not enter data: '.mysql_error());
- }
- echo "<b>Customer_ID: ".$cd."<br>";
- echo "Customer_Name: ".$nm."<br>";
- echo "Number of units: ".$un."<br>";
- echo "Duration: ".$dr."<br>";
- echo "Date: ".$starttime."<br>";
- echo "Bill No.: ".$bn."<br>";
- echo "According to your requirements we have alloted room no.: ".$rn." to you.<br>";
- echo "Service Type: ".$rt."<br></b>";
- //echo "Password: ".$row['password']."<br>";
- echo "<font size='10' face='Arial'><b><br>Bill_Amount:- *</b>".$ba."<br>";
- echo "</font>";
- echo"<b>Congratulations!! Now you have successfully entered details so proceed further to pay options to continue..\n</b><br><br>";
- echo "* As per current scenario, if further charges are involved due to any reason then the customer has to pay that also(See Terms and Conditions for your query).<br>";
- echo"<font size='10'><b><u><a href='#'>Proceed</a></u></b></font>";
- mysql_close($conn);
- ?>
- </div>
- <!-- //products-top -->
- <!-- products-bottom -->
- <div class="products-bottom">
- <!-- container -->
- <!-- //container -->
- </div>
- <!-- products-bottom -->
- <!-- footer -->
- <div class="footer">
- <!-- container -->
- <div class="container">
- <div class="col-md-6 footer-left wow fadeInLeft animated" data-wow-delay="0.4s" style="visibility: visible; -webkit-animation-delay: 0.4s;">
- <ul>
- <li><a href="index.php">Home</a></li>
- <li><a href="about.php">About</a></li>
- <li><a href="services.php">Services</a></li>
- <li><a href="signup.php">Sign-Up</a></li>
- <li><a href="login.php">Login</a></li>
- </ul>
- </div>
- <div class="col-md-3 footer-middle wow bounceIn animated" data-wow-delay="0.4s" style="visibility: visible; -webkit-animation-delay: 0.4s;">
- <h3>Address</h3>
- <div class="address">
- <p>Bajwa Cold Store
- <span>Kahnuwan road, Batala</span>
- </p>
- </div>
- <div class="phone">
- <p>+91-9815964055</p>
- </div>
- </div>
- <div class="col-md-3 footer-right wow fadeInRight animated" data-wow-delay="0.4s" style="visibility: visible; -webkit-animation-delay: 0.4s;">
- <a href="#"><img src="images/logo7.png" alt="" /></a>
- <p>Proin eget ipsum ultrices, aliquet velit eget, tempus tortor. Phasellus non velit sit amet diam faucibus molestie tincidunt efficitur nisi.</p>
- </div>
- <div class="clearfix"> </div>
- </div>
- <!-- //container -->
- </div>
- <!-- //footer -->
- <div class="copyright">
- <!-- container -->
- <div class="container">
- <div class="copyright-left wow fadeInLeft animated" data-wow-delay="0.4s" style="visibility: visible; -webkit-animation-delay: 0.4s;">
- <p>� 2017 Bajwa Cold Store</p>
- </div>
- <div class="copyright-right wow fadeInRight animated" data-wow-delay="0.4s" style="visibility: visible; -webkit-animation-delay: 0.4s;">
- <ul>
- <li><a href="#" class="twitter"> </a></li>
- <li><a href="#" class="twitter facebook"> </a></li>
- <li><a href="#" class="twitter chrome"> </a></li>
- <li><a href="#" class="twitter pinterest"> </a></li>
- <li><a href="#" class="twitter linkedin"> </a></li>
- <li><a href="#" class="twitter dribbble"> </a></li>
- </ul>
- </div>
- <div class="clearfix"> </div>
- <script type="text/javascript">
- $(document).ready(function() {
- /*
- var defaults = {
- containerID: 'toTop', // fading element id
- containerHoverID: 'toTopHover', // fading element hover id
- scrollSpeed: 1200,
- easingType: 'linear'
- };
- */
- $().UItoTop({ easingType: 'easeOutQuart' });
- });
- </script>
- <a href="#home" id="toTop" class="scroll" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>
- </div>
- <!-- //container -->
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement