Salon Mybookigs
Salon Mybookigs
Salon Mybookigs
php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['login'])==0)
header('location:index.php');
else{
?>
<?php
if(isset($_POST['submit']))
$useremail=$_SESSION['login'];
$vid = $_POST['vid'];
$message=$_POST['message'];
$query = $dbh->prepare($sql);
$query->bindParam(':useremail',$useremail,PDO::PARAM_STR);
$query->bindParam(':vid',$vid,PDO::PARAM_STR);
$query->bindParam(':message',$message,PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)
else
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<!--Bootstrap -->
<!--slick-slider -->
<!--bootstrap-slider -->
<link href="assets/css/bootstrap-slider.min.css" rel="stylesheet">
<!-- Google-Font-->
</head>
<body>
<?php include('includes/colorswitcher.php');?>
<!-- /Switcher -->
<!--Header-->
<?php include('includes/header.php');?>
<!--Page Header-->
<!--Page Header-->
<div class="container">
<div class="page-header_wrap">
<div class="page-heading">
<h1>My Booking</h1>
</div>
<ul class="coustom-breadcrumb">
<li><a href="#">Home</a></li>
<li>My Booking</li>
</ul>
</div>
</div>
<div class="dark-overlay"></div>
</section>
<?php
$useremail=$_SESSION['login'];
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?>
<div class="container">
</div>
<div class="dealer_info">
</div>
</div>
<div class="row">
<?php include('includes/sidebar.php');?>
<div class="profile_wrap">
<div class="my_salons_list">
<ul class="salon_listing">
<?php
$useremail=$_SESSION['login'];
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?>
<li>
</a>
<div class="form-group">
<textarea class="form-control white_bg" name="message" rows="2"
placeholder="Write a short review..." required="required"></textarea>
</div>
<div class="form-group">
</div>
</form>
</div>
<a>Salon ID
<div class="salon_title">
<div>
</div>
<?php if($result->Status==1)
{ ?>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
</li>
<?php }} ?>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--/my-salons-->
<?php include('includes/footer.php');?>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/interface.js"></script>
<!--Switcher-->
<script src="assets/switcher/js/switcher.js"></script>
<!--bootstrap-slider-JS-->
<script src="assets/js/bootstrap-slider.min.js"></script>
<!--Slider-JS-->
<script src="assets/js/slick.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
</body>
</html>
<?php } ?>