MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.68
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/imyrqtmy/public_html/vssvclinic/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/vssvclinic/book_appoinment_old.php
<?php
session_start();
if (!isset($_SESSION['userid'])) {
    header("Location: login.php");
}

$patients_id = $_SESSION['userid'];

include("Admin/Includes/db.php");;
 @$did = $_GET['docid'];

 
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="zxx">

<!-- Mirrored from htmldesigntemplates.com/html/ayurvedic/appointment.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 01 Mar 2022 21:39:50 GMT -->
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<title>Vaid Shyam Sunder Vats Clinic & Ayurvedic Research Centre</title>

	<link rel="shortcut icon" type="image/x-icon" href="images/cropped-favicon-32x32.png" />

	<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />

	<link href="css/style.css" rel="stylesheet" type="text/css" />

	<link href="css/plugin.css" rel="stylesheet" type="text/css" />

	<link rel="stylesheet" href="../../../cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
	<link rel="stylesheet" href="../../../cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" />
	<script async src='../../cdn-cgi/challenge-platform/h/g/scripts/invisible.js'></script></head>
	<body>

		<div id="preloader">
			<div id="status"></div>
		</div>


		<header class="main_header_area">
			<div class="topbar-wrap bg-dblue">
				<div class="container">
					<div class="top-info d-flex justify-content-between align-items-center">
						<ul class="t-address">
							<li class="pr-2"><i class="far fa-clock"></i> Open Hours: Mon - Sat 9.00 - 18.00</li>
							<li class="pr-2"><i class="fas fa-phone-alt"></i> 974 8845246937</li>
							<li><i class="far fa-envelope"></i> <a href="https://htmldesigntemplates.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fd94939b92bd988d9c89958e9c919cd39e9290">[email&#160;protected]</a></li>
						</ul>
						<ul class="t-social">
							<li>
								<span class="ct-search-link"><a href="#"><i class="fa fa-search"></i></a
									></span>
								</li>
								<li class="pl-2">
									<a href="#"><i class="fab fa-facebook-f"></i></a>
								</li>
								<li class="pl-2">
									<a href="#"><i class="fab fa-linkedin"></i></a>
								</li>
								<li class="pl-2">
									<a href="#"><i class="fab fa-twitter"></i></a>
								</li>
							</ul>
						</div>
					</div>
				</div>

				<?php include 'includes/header.php';?>


				<section class="breadcrumb-wrap">
					<div class="container">
						<h2 class="cl-white mb-0">Appointment</h2>
					</div>
					<div class="overlay"></div>
				</section>


				<section class="appointment bg-sfgrey-3 pb-10">
					<div class="container">
						<div>
							<div class="row align-items-center flex-mxl-column-reverse">
								<div class="col-lg-6 col-md-12">
									<div class="appoint-form mb-xs-0">
										<form class="row g-3">
											<div class="col-md-6">
												<input type="text" class="form-control" placeholder="First name" aria-label="Full name" />
											</div>
											<div class="col-md-6">
												<input type="number" class="form-control" placeholder="Phone Number" aria-label="Phone Number" />
											</div>
											<div class="col-12">
												<input type="text" class="form-control" placeholder="Email Address" aria-label="Email Address" />
											</div>

											<div class="col-md-12">
												<select id="inputState" class="niceSelect">
												<option value="">-- Select Docter --</option>	
							                <?php

							                        $sql = "select * from tbl_admin where type='Docter' and app=2 ";
							                        $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
							                        while ($cat_row = mysqli_fetch_assoc($sql_res)){ 
							                           ?>
							                            
							                            <?php 

							                            if($did == '')
														 {

														 	?>
														 		 <option value="<?php echo $cat_row["id"] ?>"><?php echo $cat_row["name"] ?></option>
														 		 <?php

														 }
														 else
														 {  

														 	if ($cat_row['id'] == $did) { ?>
                                                                <option value="<?php echo $cat_row["id"] ?>" selected><?php echo $cat_row["name"] ?></option>
                                                            <?php } else { ?>
                                                            	<option value="<?php echo $cat_row["id"] ?>"><?php echo $cat_row["name"] ?></option>
                                                            	<?php

												 } } }?>
												</select>
											</div>

											<div class="col-md-12">
												<select id="inputState" class="niceSelect">
												<option value="">-- Select Appoinment Place --</option>	

												 <option value="Mangolpuri">Mangolpuri</option> 

                                                <option value="Kalra">Kalra</option>
							                
												</select>
											</div>

											<div class="col-md-12">
												<select id="inputState" class="niceSelect">
												<option value="">-- Select Slot --</option>	
							                
												</select>
											</div>

											<div class="col-md-12">
												<input type="date" class="form-control" placeholder="Enter Date" aria-label="Phone Number" />
											</div>
											<div class="col-12">
												<textarea name="message" placeholder="Message" cols="30" rows="10"></textarea>

												 <input type="hidden" id="patients_id" name="patients_id"  value="<?php echo $patients_id;?>" >
                                                    <input type="hidden" id="amt" name="amt" required="" value="69" >
											</div>
											<div class="col-12 text-center">
												<button type="button" class="btn btn-primary buynow">Submit Now</button>
											</div>
										</form>
									</div>
								</div>
								<div class="col-lg-6 col-md-12 ps-lg-5">
									<div class="sc-title-two sc-border-left sc-border-none appoint-info w-100 mb-xs-0">
										<i class="fas fa-phone-volume bg-dblue"></i>
										<h2 class="mt-2">Sign Up for an Appointment with the Doctor</h2>
										<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio modi asperiores aliquid commodi, tempora dolor. Deleniti, id!</p>
										<h3 class="cl-lgreen mt-4 mb-3">+952-543256</h3>
									</div>
								</div>
							</div>
						</div>
					</div>
				</section>


				<section class="appointment-table">
					<div class="container">
						<div class="sc-title-two text-center">
							<h4 class="cl-green">Make Free To Check</h4>
							<h2>Doctor Available Time Table</h2>
						</div>
						<div class="table-wrap table-responsive">
							<table class="table table-borderless text-center mb-0">
								<thead class="bg-sfgrey-3">
									<tr>
										<th scope="col"><span class="cl-blue">Time</span></th>
										<th scope="col"><span class="cl-blue">Monday</span></th>
										<th scope="col"><span class="cl-blue">Tuesday</span></th>
										<th scope="col"><span class="cl-blue">Wednesday</span></th>
										<th scope="col"><span class="cl-blue">Thursday</span></th>
										<th scope="col"><span class="cl-blue">Friday</span></th>
										<th scope="col"><span class="cl-blue">Saturday</span></th>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td class="align-middle">9:00</td>
										<td>
											<h5>Dr. Tanner</h5>
											<p>Dermatologists</p>
										</td>
										<td></td>
										<td>
											<h5>Dr. Nikelt</h5>
											<p>Neurologist</p>
										</td>
										<td>
											<h5>Dr. Willson</h5>
											<p>Dentist</p>
										</td>
										<td>
											<h5>Dr. Kelson</h5>
											<p>Ear, Nose</p>
										</td>
										<td></td>
									</tr>
									<tr>
										<td class="align-middle">12:00</td>
										<td>
											<h5>Dr. Tanner</h5>
											<p>Dermatologists</p>
										</td>
										<td>
											<h5>Dr. Nikelt</h5>
											<p>Neurologist</p>
										</td>
										<td></td>
										<td></td>
										<td>
											<h5>Dr. Kelson</h5>
											<p>Ear, Nose</p>
										</td>
										<td>
											<h5>Dr. Willson</h5>
											<p>Dentist</p>
										</td>
									</tr>
									<tr>
										<td class="align-middle">3:00</td>
										<td>
											<h5>Dr. Tanner</h5>
											<p>Dermatologists</p>
										</td>
										<td></td>
										<td>
											<h5>Dr. Nikelt</h5>
											<p>Neurologist</p>
										</td>
										<td>
											<h5>Dr. Willson</h5>
											<p>Dentist</p>
										</td>
										<td></td>
										<td>
											<h5>Dr. Kelson</h5>
											<p>Ear, Nose</p>
										</td>
									</tr>
									<tr>
										<td class="align-middle">6:00</td>
										<td>
											<h5>Dr. Tanner</h5>
											<p>Dermatologists</p>
										</td>
										<td>
											<h5>Dr. Nikelt</h5>
											<p>Neurologist</p>
										</td>
										<td></td>
										<td>
											<h5>Dr. Willson</h5>
											<p>Dentist</p>
										</td>
										<td></td>
										<td>
											<h5>Dr. Kelson</h5>
											<p>Ear, Nose</p>
										</td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
				</section>


				<section class="call-to p-5 bg-green">
					<div class="container">
						<div class="row align-items-center">
							<div class="col-lg-4 col-md-12">
								<div class="call-contact d-flex align-items-center">
									<i class="fas fa-phone-alt display-6 cl-white"></i>
									<div class="pl-3">
										<h4 class="cl-white">Looking For Consultation?</h4>
										<p class="m-0 cl-white">(+6) 23 555 0892</p>
									</div>
								</div>
							</div>
							<div class="col-lg-4 col-md-12">
								<p class="call-to-mid cl-white">Contact us for all questions and thinks those. We will proud to you</p>
							</div>
							<div class="col-lg-4 col-md-12 text-center">
								<a href="contact.html" class="btn btn-white">Get Consultation</a>
							</div>
						</div>
					</div>
				</section>


				<?php include 'includes/footer.php';?>


				<form action="#" class="ct-searchForm">
					<div class="inner">
						<div class="container">
							<div class="row justify-content-center">
								<div class="col-sm-8">
									<div class="form-group">
										<input id="cf-search-form" type="text" placeholder="Search ..." required class="form-control" />
										<button type="submit" class="ct-search-btn"><i class="fa fa-search"></i></button>
									</div>
									<div class="form-group">
										<a href="#" class="ct-searchForm-close">
											<i class="fas fa-times"></i>
										</a>
									</div>
								</div>
							</div>
						</div>
					</div>
				</form>


				<div id="back-to-top">
					<a href="#"></a>
				</div>


				<script data-cfasync="false" src="../../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="js/jquery-3.5.1.min.js"></script>
				<script src="js/bootstrap.min.js"></script>
				<script src="js/plugin.js"></script>
				<script src="js/main.js"></script>
				<script src="js/custom-swiper.js"></script>
				<script src="js/custom-nav.js"></script>
				<script type="text/javascript">(function(){window['__CF$cv$params']={r:'6e550bae79244c7d',m:'sLX9xNMNKqQAmDs6llvj.dr1Nit7ERi4UgjMsq17nQ4-1646170769-0-ASrkOO5hLnsLs7Hb8Dq8tShxcgUPb86rdwJwB2K+5wzhuhliHL7ZotdDm2mAcsnzRlL8x5+htYBT3ZCERbpqf8HvMoxL+KMhqinrkQqBuVwPDigqAjzMzfzk5qU0t5cN5Rsdpuos48hczmQPKsKepqjcAlPBErgaXhf4FE6xj+Gl',s:[0x4c5f04923c,0x065c9d4d23],u:'/cdn-cgi/challenge-platform/h/g'}})();</script>

				<script src="https://checkout.razorpay.com/v1/checkout.js"></script>
<script>
$(document).on('click', '.buynow', function(e){
    
    
    // var id1 = $(this).attr('id').split('e').pop();
    // alert(id1)
    
    var doc_id = $('#inputState').val();
    
    var patients_id = $('#patients_id').val();
    // alert(userid);
    // alert(name);
    var amt = $('#amt').val();
    
    
    
    
    var options = {
    "key": "rzp_test_H58MfeAoQxaFUT", // Enter the Key ID generated from the Dashboard
    "amount": amt*100, // Amount is in currency subunits. Default currency is INR. Hence, 50000 refers to 50000 paise
    "currency": "INR",
    "name": "AAyuvada",
    "description": "Test Transaction",
    "image": "images/vaidshyam.jpg",
    // "order_id": "order_Ef80WJDPBmAeNt", //Pass the `id` obtained in the previous step
    // "account_id": "acc_Ef7ArAsdU5t0XL",
    "handler": function (response){
        // alert(response.razorpay_payment_id);
        // alert(response.razorpay_order_id);
        // alert(response.razorpay_signature)
      // console.log(response);
        $.ajax({
            type:'post',
            url:'payment_process.php',
            // url:'pays.php',
            data:"payment_id="+response.razorpay_payment_id+"&amt="+amt+"&name="+patients_id+"&docid="+doc_id,
            success:function(result){
                console.log(result);
                // window.location.href="index.php";
            }
        });
    }
};
  var rzp1 = new Razorpay(options);

    rzp1.open();
   
});
</script>
			</body>

				<!-- Mirrored from htmldesigntemplates.com/html/ayurvedic/appointment.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 01 Mar 2022 21:39:50 GMT -->
				</html>

MMCT - 2023