D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
mpwalmi
/
public_html
/
Filename :
book-tickets.php
back
Copy
<?php include('admin/config.php'); ?> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack --> <head> <title> Book Tickets | M.P. Water and Land Management Institute, Bhopal</title> <?php include'header-link.php'; ?> <style type="text/css"> .form-style-5{ max-width: 500px; padding: 10px 20px; background: #f4f7f8; margin: 10px auto; padding: 20px; background: #f4f7f8; border-radius: 8px; font-family: Georgia, "Times New Roman", Times, serif; } .form-style-5 fieldset{ border: none; } .form-style-5 legend { font-size: 1.4em; margin-bottom: 10px; } .form-style-5 label { display: block; margin-bottom: 8px; } .form-style-5 input[type="text"], .form-style-5 input[type="date"], .form-style-5 input[type="datetime"], .form-style-5 input[type="email"], .form-style-5 input[type="number"], .form-style-5 input[type="search"], .form-style-5 input[type="time"], .form-style-5 input[type="url"], .form-style-5 textarea, .form-style-5 select { font-family: Georgia, "Times New Roman", Times, serif; background: rgba(255,255,255,.1); border: none; border-radius: 4px; font-size: 15px; margin: 0; outline: 0; padding: 10px; width: 100%; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; background-color: #e8eeef; color:#8a97a0; -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset; box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset; margin-bottom: 30px; } .form-style-5 input[type="text"]:focus, .form-style-5 input[type="date"]:focus, .form-style-5 input[type="datetime"]:focus, .form-style-5 input[type="email"]:focus, .form-style-5 input[type="number"]:focus, .form-style-5 input[type="search"]:focus, .form-style-5 input[type="time"]:focus, .form-style-5 input[type="url"]:focus, .form-style-5 textarea:focus, .form-style-5 select:focus{ background: #d2d9dd; } .form-style-5 select{ -webkit-appearance: menulist-button; height:35px; } .form-style-5 .number { background: #1abc9c; color: #fff; height: 30px; width: 30px; display: inline-block; font-size: 0.8em; margin-right: 4px; line-height: 30px; text-align: center; text-shadow: 0 1px 0 rgba(255,255,255,0.2); border-radius: 15px 15px 15px 0px; } .form-style-5 input[type="submit"], .form-style-5 input[type="button"] { position: relative; display: block; padding: 19px 39px 18px 39px; color: #FFF; margin: 0 auto; background: #1abc9c; font-size: 18px; text-align: center; font-style: normal; width: 100%; border: 1px solid #16a085; border-width: 1px 1px 3px; margin-bottom: 10px; } .form-style-5 input[type="submit"]:hover, .form-style-5 input[type="button"]:hover { background: #109177; } </style> </head> <body style="background-image: url('assets/images/park/wp3556796.jpg');"> <div class="main-container"> <?php include 'header.php'; ?> <div class="title-section dark-bg module grey-bg"> <div class="container"> <div class="row"> <div class="col-sm-12 col-padding-y"> <div class="title-section-text"> <h1>Ticket Booking</h1> </div> </div> </div> </div> </div> <div class=" container "> <div class=" content-wrapper wrap "> <div class="container-top"> <div class="row"> <div class="form-style-5"> <form method="post" action="purchase-code.php"> <fieldset> <legend><span class="number">1</span>Book Tickets</legend> <input type="text" name="name" placeholder="Your Name *" required> <input type="text" name="phone" placeholder="Your Number *" required> <label for="exampleInputEmail1">Select Visit Date</label> <?php $qu = mysqli_query($con,"SELECT * FROM `park_events` WHERE id=".$_GET['id']." "); while ($ro = mysqli_fetch_array($qu)) { $sdate = date('Y-m-d', strtotime($ro['sdate'])); $edate = date('Y-m-d', strtotime($ro['edate'])); ?> <input type="date" name="book_date" min="<?= $sdate ?>" max="<?= $edate ?>"> <input type="hidden" name="price" value="<?= $ro['offer_price']; ?>" required > <?php } ?> <input type="number" name="tickets" placeholder="No of Person*" min="1" max="15" required> <input type="submit" value="Book Now" name="submit" /> </form> </div> </div> </div> </div> </div> <script type="text/javascript" src="webroot/plugins/jquery.validate.min.js"></script> </div> <?php include('footer.php'); ?> <?php include'footer-link.php'?> </body> </html>