Server : LiteSpeed System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64 User : u615232177 ( 615232177) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/u615232177/domains/poiseseat.com/public_html/ |
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']);
include("header.php"); ?>
<title><?php echo $company_name; ?> - Book an Appointment</title>
<!-- Title Page -->
<section class="bg-title-page p-t-40 p-b-50 flex-col-c-m" style="background-image: url(images/banner-min.jpg);">
<h2 class="l-text2 t-center">
<div class='space_top'></div>
Book an Appointment
</h2>
</section>
<br />
<section class="bgwhite p-t-66 p-b-60">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php
$stmt = $con -> prepare('SELECT * FROM instructions');
$stmt -> execute();
$stmt -> store_result();
$stmt -> bind_result($inst_id,$instruction);
$numrows = $stmt -> num_rows();
if($numrows > 0){
while ($stmt -> fetch()) {
echo $instruction;
}} ?>
</div>
</div>
<br><br>
<div class='row'>
<?php
$stmt_h = $con -> prepare('SELECT * FROM hair_styles');
$stmt_h -> execute();
$stmt_h -> store_result();
$stmt_h -> bind_result($h_id,$hair_id,$title,$description,$duration,$price,$picture,$display);
$numrows_h = $stmt_h -> num_rows();
if($numrows_h > 0){
while ($stmt_h -> fetch()) { ?>
<div class="col-md-4" data-aos='fade-down' data-aos-delay='100'>
<div class="ap-title" data-aos='fade-down' data-aos-delay='100'>
<div class="room-item">
<a href="hair_style_details.php?u=<?php echo $hair_id; ?>">
<img src="img/hair_styles/<?php echo $picture; ?>" style="border:2px solid hotpink;border-radius:5px;width:100%;object-fit:cover;height:250px;"
alt="<?php echo $title; ?>">
</a>
<div class="ri-text"><br>
<a href="hair_style_details.php?u=<?php echo $hair_id; ?>">
<h4 style='color:hotpink;'><?php echo $title; ?></h4>
</a>
<div style='font-weight:900;'><?php echo $currency;echo number_format($price); ?></div>
<p><?php echo $description; ?></p>
<table>
<tbody>
</tbody>
</table>
<a href="hair_style_details.php?u=<?php echo $hair_id; ?>" class="flex-c-m size2 bg1 bo-rad-23 hov1 m-text3 trans-0-4" style='width:200px;margin-top:10px;'>Book Now</a>
</div>
</div>
</div>
</div>
<?php }} ?>
</div>
</div>
</section>
<?php include("footer.php"); ?>