Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/public_html/storage/framework/views/ |
<!doctype html>
<html lang="en">
<head>
<title>Tradze, <?php echo $__env->yieldContent('title'); ?></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"/>
<meta property="og:title" content="<?php echo $__env->yieldContent('meta_title'); ?>">
<meta property="og:description" content="<?php echo $__env->yieldContent('meta_description'); ?>">
<!-- Global styles START -->
<?php echo $__env->make('frontend_new.partials.core-css', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<!-- Global styles END -->
<!-- Start css page -->
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/plugins/owl.carousel/owl-carousel/owl.theme.css')); ?>" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/plugins/owl.carousel/owl-carousel/owl.carousel.css')); ?>" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/plugins/FlipClock/compiled/flipclock.css')); ?>" type="text/css" media="screen">
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/css/bootstrap-css/bootstrap-datepicker.css')); ?>" type="text/css" media="screen">
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/css/css-carousel-treatments.css')); ?>" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend/assets/css/typehead-bootstrap3.css')); ?>" type="text/css" media="screen">
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/css/css-top-contact.css')); ?>" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/css/build.css')); ?>" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/css/css-book-massage.css')); ?>" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?php echo e(asset('/themes/frontend_new/assets/css/css-treatment.css')); ?>" type="text/css" media="screen"/>
<?php echo $__env->yieldContent('css_page'); ?>
</head>
<body class="no_testimonials_page">
<?php /*start header*/ ?>
<?php echo $__env->make('frontend_new.partials.header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php /*end start header*/ ?>
<div class="sec-gap sec-gap service-type-v-2 service-type-sub-wrap" style="background: #F5F5F5 url(<?php echo e(asset('/themes/frontend_new/assets/img/bg-listing.png')); ?>) !important; background-repeat: no-repeat !important; background-size: cover !important;">
<div class="back-button">
<?php if(isset($old_service_type_id)): ?>
<?php if($old_service_type_id == 1): ?>
<a href="<?php echo e(route('booking.inperson')); ?>" class="btn-back"> <i class="fa fa-arrow-left"></i></a>
<?php endif; ?>
<?php if($old_service_type_id == 2): ?>
<a href="<?php echo e(url('/booking/online')); ?>" class="btn-back"> <i class="fa fa-arrow-left"></i></a>
<?php endif; ?>
<?php endif; ?>
<?php if(isset($old_parent_category_id)): ?>
<a href="<?php echo e(url('/services/rapid-response/service',$old_parent_category_id)); ?>" class="btn-back"> <i class="fa fa-arrow-left"></i></a>
<?php endif; ?>
</div>
<div class="container">
<div class="block-header text-center block-title header-welcome-text">
<h1><?php echo e($parent_category[0]->name); ?></h1>
<!-- Alert When duration is empty -->
<?php if(session()->has('errorMassage')): ?>
<div class="alert alert-danger">
<?php echo e(session()->get('errorMassage')); ?>
<!-- <?php print_r(Session::get('booking')); ?> -->
</div>
<?php endif; ?>
<!-- End Alert -->
<p>Comprehensive Service Solutions: Expert Care and Support Across All Industries for Your Business, Home, and Personal Needs</p>
<div class="search-input-rounded">
<form>
<input type="text" name="search" value="<?php echo e($search ?? ''); ?>" placeholder="Search here..." class="form-control">
</form>
<span class="icon">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.5607 15.4397L13.7529 11.6319C14.5397 10.4461 15.0002 9.02634 15.0002 7.50008C15.0002 3.36454 11.6356 0 7.50008 0C3.36454 0 0 3.36454 0 7.50008C0 11.6356 3.36454 15.0002 7.50008 15.0002C9.02634 15.0002 10.4461 14.5397 11.6319 13.7529L15.4397 17.5607C16.0247 18.1464 16.9757 18.1464 17.5607 17.5607C18.1464 16.9749 18.1464 16.0254 17.5607 15.4397ZM2.25002 7.50008C2.25002 4.60505 4.60505 2.25002 7.50008 2.25002C10.3951 2.25002 12.7501 4.60505 12.7501 7.50008C12.7501 10.3951 10.3951 12.7501 7.50008 12.7501C4.60505 12.7501 2.25002 10.3951 2.25002 7.50008Z" fill="black"></path>
</svg>
</span>
</div>
</div>
<div class="row custom-row">
<?php foreach($services as $service): ?>
<div class="col-3">
<div class="box-inner service" id="<?php echo e($service->id); ?>">
<!-- <a href="<?php echo e(url('booking/treatment/service/'.$service->id)); ?>" onclick='select_service()'> -->
<a id="<?php echo e($service->id); ?>" href="javascript:void(0)" onclick='select_service(this)'>
<div class="imgbox">
<img src="<?php echo e(asset('images/'.$service->image)); ?>" alt="">
</div>
<h2><?php echo e($service->name); ?></h2>
</a>
</div>
</div>
<?php endforeach; ?>
</div>
<!-- Modal -->
<div class="modal fade" id="info-treatment" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<!-- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> -->
<!-- modal body start -->
<!-- <div class="modal-body">
</div> -->
<!-- modal body end -->
</div>
</div>
</div>
<!-- modal end -->
</div>
</div>
<?php /*start footer*/ ?>
<?php echo $__env->make('frontend_new.partials.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php /*end footer*/ ?>
<?php echo e(csrf_field()); ?>
<?php /*start core js*/ ?>
<?php echo $__env->make('frontend_new.partials.core-js', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php /*end core js*/ ?>
<!--Page JS-->
<script type="text/javascript" src="<?php echo e(asset('/themes/frontend_new/assets/plugins/owl.carousel/owl-carousel/owl.carousel.js')); ?>"></script>
<script>
$(document).ready(function () {
$(".owl-treatments").owlCarousel({
autoPlay: 3000, //Set AutoPlay to 3 seconds
navigation: false,
pagination: true,
itemsCustom: [
[0, 2],
[450, 2],
[600, 3],
[700, 4],
[1000, 5],
[1200, 6],
[1400, 6],
[1600, 7]
],
});
$(".owl-social").owlCarousel({
autoPlay: 3000, //Set AutoPlay to 3 seconds
navigation: false,
pagination: true,
itemsCustom: [
[0, 2],
[450, 2],
[600, 3],
[700, 3],
[1000, 4],
[1200, 5],
[1400, 5],
[1600, 5]
],
});
$(".owl-event").owlCarousel({
autoPlay: 3000, //Set AutoPlay to 3 seconds
navigation: true,
pagination: false,
itemsCustom: [
[0, 1],
[450, 1],
[600, 3],
[700, 3],
[1000, 4],
[1200, 4],
[1400, 5],
[1600, 5]
],
});
});
</script>
<script>
var CSRF_TOKEN = $('input[name="_token"]').val();
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': CSRF_TOKEN
}
});
</script>
<script>
function select_service(id) {
console.log("inside function");
var trID= $(id).attr('id');
$.ajax({
method: "POST",
url: "<?php echo e(route('bookings.view-treatment-service')); ?>",
cache: false,
data: {'trID': trID},
beforeSend: function () {},
dataType: "json",
})
.done(function (data) {
console.log(data);
if(data.count == 0){
$('#info-treatment').find('.modal-content').html("<span><i class='fa fa-spin fa-spinner fa-4x'></i></span>");
$('#info-treatment').find('.modal-content').html(data.partial);
$('#info-treatment').modal('show');
} else {
window.location.href = trID;
}
});
}
</script>
<?php
if(session()->has('errorMassage')){
?>
<script>
// value = $request->session()->get('booking', 'default');
//
window.onload = function(){
console.log("-----");
var trID = "<?php echo Session::get('booking')['massage'] ?>";
console.log(trID);
$.ajax({
method: "POST",
url: "<?php echo e(route('bookings.view-treatment-duration')); ?>",
cache: false,
data: {'trID': trID},
beforeSend: function () {},
dataType: "json",
})
.done(function (data) {
// console.log(data);
$('#info-treatment').find('.modal-content').html("<span><i class='fa fa-spin fa-spinner fa-4x'></i></span>");
$('#info-treatment').find('.modal-content').html(data.partial);
$('#info-treatment').modal('show');
});
}
</script>
<?php
}
?>
<script>
function select_service_duration(id) {
var trID= $(id).attr('id');
// set massage
$.ajax({
method: "POST",
url: "<?php echo e(route('bookings.setmassage')); ?>",
cache: false,
data: {massage: trID},
dataType: "json",
})
.error(function (data) {
var response = jQuery.parseJSON(data.responseText);
})
.done(function (data) {
// load_hours(date);
// load_therapists();
// displayTherapists();
// VIEW MODAL
$.ajax({
method: "POST",
url: "<?php echo e(route('bookings.view-treatment-duration')); ?>",
cache: false,
data: {'trID': trID},
beforeSend: function () {},
dataType: "json",
})
.done(function (data) {
// console.log(data);
$( "#duration_error_msg" ).hide();
$('#info-treatment').find('.modal-content').html("<span><i class='fa fa-spin fa-spinner fa-4x'></i></span>");
$('#info-treatment').find('.modal-content').html(data.partial);
$('#info-treatment').modal('show');
});
});
}
function select_duration(id){
var durationID= $(id).attr('id');
$.ajax({
method: "POST",
url: "<?php echo e(route('bookings.setduration')); ?>",
cache: false,
data: {duration: durationID},
dataType: "json",
})
.error(function (data) {
var response = jQuery.parseJSON(data.responseText);
})
.done(function (data) {
$( "#duration_error_msg" ).hide();
console.log("---------");
});
}
</script>
<script>
function select_service_duration_with_time(){
console.log("inside time function");
var duration = ($("input[name='duration']:checked").val()=='undefined')? 0 : $("input[name='duration']:checked").val();
console.log(duration);
if(duration == 0 || duration == null){
$( "#duration_error_msg" ).show();
}else {
var toURL = "<?php echo e(route('bookings.book_a_massage')); ?>";
window.location.href = toURL;
}
}
function redirect_to_therapist_screen() {
var toURL = "<?php echo e(route('bookings.book_a_massage')); ?>";
window.location.href = toURL;
}
</script>
<?php echo $__env->yieldContent('custom_scripts'); ?>
</body>
</html>