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();
- $cs=$_POST["cid"];
- //echo"Customer ID=:".$cs."<br>";
- $ps=$_POST["pass"];
- //echo"Password=:".$ps."<br>";
- $dbhost='localhost';
- $dbuser='root';
- $conn=mysql_connect($dbhost,$dbuser);
- if(!$conn)
- {
- die('Could not connect: '.mysql_error());
- }
- $sql="SELECT * FROM signup where cid=$cs and password='$ps'";
- mysql_select_db('store');
- $retval=mysql_query($sql,$conn);
- if(!$retval)
- {
- echo"Invalid user-id or password\n";
- echo"<a href=login.php>Login again...</a>";
- }
- //echo"s";
- $p=0;
- $cnt=mysql_num_rows($retval);
- if($cnt==0)
- {
- echo"<font size='12' face='arial'>Invalid user-id or password\n<br>";
- echo"<u><a href=login.php>Login again...</a></u>";
- echo "</font>";
- }
- else
- {
- while($row=mysql_fetch_array($retval,MYSQL_ASSOC))
- {
- $_SESSION["C1"]=$row['cid'];
- $_SESSION["C2"]=$row['cname'];
- //echo "First name: <input type='text' name='fname' value='".$row['cid']."'><br>";
- echo "Customer_ID: ".$row['cid']."<br>";
- echo "Customer_Name: ".$row['cname']."<br>";
- echo "Email_ID: ".$row['emailid']."<br>";
- echo "Address: ".$row['address']."<br>";
- echo "Contact: ".$row['contact']."<br>";
- //echo "Password: ".$row['password']."<br>";
- //echo"Login successfully\n";
- //header("location:login1.php");
- }
- }
- mysql_close($conn);
- ?>
- <?php
- //session_start();
- $cs=$_POST["cid"];
- //echo"Customer ID=:".$cs."<br>";
- $ps=$_POST["pass"];
- //echo"Password=:".$ps."<br>";
- $dbhost='localhost';
- $dbuser='root';
- $conn=mysql_connect($dbhost,$dbuser);
- if(!$conn)
- {
- die('Could not connect: '.mysql_error());
- }
- $sql="SELECT * FROM service where cid=$cs and password='$ps'";
- mysql_select_db('store');
- $retval1=mysql_query($sql,$conn);
- if(!$retval)
- {
- echo"Invalid user-id or password\n";
- //echo"<a href=login.php>Login again...</a>";
- }
- //echo"s";
- $p=0;
- $cnt=mysql_num_rows($retval);
- if($cnt==0)
- {
- echo"<font size='12' face='arial'>Invalid user-id or password\n<br>";
- //echo"<u><a href=login.php>Login again...</a></u>";
- //echo "</font>";
- }
- else
- {
- while($row=mysql_fetch_array($retval,MYSQL_ASSOC))
- {
- $_SESSION["C1"]=$row['cid'];
- $_SESSION["C2"]=$row['cname'];
- //echo "First name: <input type='text' name='fname' value='".$row['cid']."'><br>";
- echo "Customer_ID: ".$row['cid']."<br>";
- echo "Customer_Name: ".$row['units']."<br>";
- echo "Email_ID: ".$row['duration']."<br>";
- echo "Address: ".$row['date1']."<br>";
- echo "Contact: ".$row['type1']."<br>";
- //echo "Password: ".$row['password']."<br>";
- }
- }
- 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>We are here to help you.</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