File: //var/www/grapossconnect/themeImages.php
<?php
include 'header.php';
$req_dec_theme_id = $_REQUEST['x'];
$req_theme_id = base64_decode($req_dec_theme_id);
$themeReturn = file_get_contents('https://eclara.in/ticket_bck/tt_wht_themes_api.php?theme_id=' . $req_theme_id);
$themeReturn = json_decode($themeReturn);
?>
<link rel="stylesheet" type="text/css" href="https://meriwebsite.in/wp-content/themes/meriwebsite/css/slick.css" />
<style>
/* ******************************************** BOOK NOW SECTION CSS */
.BookNow-section {
padding: 3em 0;
/* background: #fff9f0; */
}
.BookNow-section .BookNow-leftBox {
background: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px -2px #9e9e9e;
}
.BookNow-section .BookNow-leftBox h2 {
margin: 0;
font-weight: 800;
font-size: 22px;
color: #c6800f;
}
.BookNow-section .BookNow-leftBox h3 {
margin: 0;
font-size: 16px;
font-weight: 700;
padding: 10px 0;
}
.BookNow-section .BookNow-leftBox h4 {
margin: 0;
border-top: 1px solid #cdcdcd;
margin-top: 10px;
padding: 10px 0;
font-weight: 700;
}
.BookNow-section .BookNow-leftBox .slick-dots {
display: none !important;
}
.BookNow-section .BookNow-leftBox .slider-slick-box {
height: 100vh;
background: #5d5d5d;
border-radius: 10px;
}
.BookNow-section .BookNow-leftBox .slick-slider {
display: flex;
align-items: center;
}
.BookNow-section .BookNow-leftBox .slick-slider img {
width: 100%;
}
.BookNow-section .BookNow-leftBox .slick-custom-arrow-left {
font-size: 14px;
color: #fff;
cursor: pointer;
position: absolute;
font-weight: 700;
top: -80px;
right: 80px;
z-index: 1;
background: #5d5d5d;
padding: 4px 14px;
border-radius: 10px;
}
.BookNow-section .BookNow-leftBox .slick-custom-arrow-right {
font-size: 14px;
color: #fff;
cursor: pointer;
position: absolute;
font-weight: 700;
top: -80px;
right: 0;
z-index: 1;
background: #5d5d5d;
padding: 4px 14px;
border-radius: 10px;
}
.BookNow-section .BookNow-RightBox {
background: #fff;
border-radius: 10px;
padding: 30px 20px;
box-shadow: 0 0 10px -2px #9e9e9e;
}
.BookNow-section .BookNow-RightBox h3 {
margin: 0;
font-weight: 800;
font-size: 20px;
color: #c88417;
text-align: center;
}
.BookNow-section .BookNow-RightBox form {
background: whitesmoke;
margin-top: 20px;
border: 1px solid #e8e8e8;
border-radius: 4px;
padding: 20px 4px;
}
.BookNow-section .BookNow-RightBox form input {
width: 100%;
padding: 10px;
font-weight: 700;
font-size: 12px;
border: 1px solid silver;
border-radius: 4px;
margin-bottom: 12px;
}
.BookNow-section .BookNow-RightBox form select {
width: 100%;
padding: 10px;
font-weight: 700;
font-size: 12px;
border: 1px solid silver;
border-radius: 4px;
margin-bottom: 12px;
}
.BookNow-section .BookNow-RightBox form textarea {
width: 100%;
padding: 10px;
font-weight: 700;
font-size: 12px;
border: 1px solid silver;
border-radius: 4px;
margin-bottom: 12px;
}
.BookNow-section .BookNow-RightBox form a {
background: #5d5d5d;
font-size: 12px;
font-weight: 800;
padding: 10px 30px;
border: none;
color: #fff;
border-radius: 4px;
transition: 0.4s all;
}
.BookNow-section .BookNow-RightBox form a:hover {
background: #ffab23;
}
.defaultModal img {
width: 100%;
}
.defaultModal button.close {
background: #f5b653;
opacity: 1;
color: #000;
position: absolute;
right: 8px;
top: 0;
padding: 10px 10px;
font-size: 24px;
border-radius: 0 0 10px 10px;
}
</style>
<section class="aboutus-page">
<div class="page-header">
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<h1>Theme <?php echo $req_theme_id;?></h1>
<p>Home / <span>Themes </span></p>
</div>
</div>
</div>
</div>
<section class="BookNow-section">
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="BookNow-leftBox">
<h2> </h2>
<!-- <h4>Themes To Choose</h4> -->
<div class="site">
<div class="slider">
<?php
foreach ($themeReturn as $th) {
?>
<div class="slick-slide">
<img src="<?php echo $th->image; ?>" alt="" style="width:100%;">
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</section>
<script src="https://kenwheeler.github.io/slick/slick/slick.js"></script>
<script src="https://demo-ochre.vercel.app/isotope-docs.min.js"></script>
<script src="/wp-content/themes/meriwebsite/js/bootstrap.min.js"></script>
<script>
$(document).ready(function() {
$(".slider").slick({
dots: true,
speed: 1000,
infinite: true,
autoplay: false,
autoplaySpeed: 3000,
adaptiveHeight: true,
nextArrow: '<div class="slick-custom-arrow slick-custom-arrow-right">Next <i class="fas fa-angle-right"></i></div>',
prevArrow: '<div class="slick-custom-arrow slick-custom-arrow-left"><i class="fa fa-angle-left"></i> Previous</div>'
});
});
</script>
<?php include 'footer.php'; ?>