Viewing: plans.php
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
session_start();
include 'header.php';
include 'db.php';
$sql_query = "select * from plans";
$result = mysqli_query($conn,$sql_query);
$customer_plan = 0;
if(isset($_SESSION['plantype']) && $_SESSION['plantype']!="")
$customer_plan = $_SESSION['plantype'];
?>
<style>
@media only screen and (max-width: 768px) {
#learnmore .row {
padding-left: 15px !important;
}
}
</style>
<section id="pricing" class="pricing">
<div class="container aos-init aos-animate" data-aos="fade-up">
<div class="section-title">
<h2>Meet Our Plans</h2>
</div>
<div class="row gy-4 aos-init aos-animate" data-aos="fade-left">
<?php if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) { $pid = $row['id'] ; ?>
<div class="col-lg-4 col-md-6 d-flex aos-init aos-animate" data-aos="zoom-in" data-aos-delay="100">
<div class="box">
<?php if ($pid==57){?>
<span class="advanced" id="adv">Popular</span>
<?php }?>
<h3> <?php echo $row['pname'];?> </h3>
<?php $fq = $row['faq1'];
$psave = $row['psave'];
?>
<ul>
<?php
$sql_query_coupon = "SELECT * FROM coupontype WHERE planid='$pid'";
$result_coupon = mysqli_query($conn, $sql_query_coupon);
$sum = 0;
while ($row_coupon = $result_coupon->fetch_assoc()) {
// Cast the values to ensure they are numeric
$cprice = (float)$row_coupon['cprice'];
$cquantity = (float)$row_coupon['cquanity']; // note: consider renaming column if possible
$score = $cprice * $cquantity;
$sum += (int)$score;
?>
<?php if ($row_coupon['cquanity'] > 1) { ?>
<li>
<i class="bi bi-check"></i>
<span id="quan"><b><?php echo $row_coupon['cquanity']; ?></b></span>
<?php echo $row_coupon['name']; ?> of
<span> ₹<b><?php echo $row_coupon['cprice']; ?></b> each worth
<b> ₹<?php echo (float)$row_coupon['cprice'] * (float)$row_coupon['cquanity']; ?></b></span>
</li>
<?php } ?>
<?php if ($row_coupon['cquanity'] <= 1) { ?>
<li>
<i class="bi bi-check"></i>
<span id="quan"><b><?php echo $row_coupon['cquanity']; ?></b></span>
<?php echo $row_coupon['name']; ?> worth
<b> ₹<?php echo (float)$row_coupon['cprice'] * (float)$row_coupon['cquanity']; ?></b>
</li>
<?php } ?>
<?php } ?>
<?php if($fq){ ?>
<li><i class="bi bi-check"></i><b></b><?php echo $fq; ?></li>
<?php } ?>
</ul>
<?php
$newprice = (60 / 100) * $sum;
?>
<div class="btn-wrap" id="dm"><del>₹ <?php echo $sum ; ?></del>
<?php if ($pid==57){?>
<a href="#" class="btn-buy-red" id="save">Save <?php echo $psave ?>%</a>
<?php } ?>
<?php if (!($pid==57)){?>
<a href="#" class="btn-buy" id="save">Save <?php echo $psave ?>%</a>
<?php } ?>
</div>
<div class="price"><span id="sig">₹ </span><span id="val"><?php echo $row['pvalue'];?><span> / 365 days</span></div>
<?php if (!$customer_plan && $pid==57){?>
<div class="btn-wrap">
<a href="planbuy.php?id=<?php echo $row['id'];?>" class="btn-buy-red">Buy Now</a>
</div>
<?php } ?>
<?php if (!$customer_plan && !($pid==57)){?>
<div class="btn-wrap">
<a href="planbuy.php?id=<?php echo $row['id'];?>" class="btn-buy">Buy Now</a>
</div>
<?php } ?>
</div>
</div>
<?php }
} ?>
</div>
</div>
</section>
<section>
<div class="container">
<h2 class="text-center mb-4">Membership benefits</h2>
<h6 class="mb-4">You will be part of the blissfintrip club with other members where you get access to special events like –
<strong style="
color: #00800099;
">fitness, entertainment, virtual holiday tours</strong> and many more . Specific benefits as per category below :
</h6>
<div>
<div class="membershiplide swiper">
<div class="swiper-wrapper">
<div class="col-md-3 swiper-slide">
<div class="m-benifit ">
<div class="d-flex align-items-center">
<h4> Flights –Dom & Int </h4>
</div>
<ul>
<li><i class="fa-solid fa-circle-dot"></i>Discount coupons </li>
<li> <i class="fa-solid fa-circle-dot"></i> Discounted – cancellation, premium seat selection</li>
<li> <i class="fa-solid fa-circle-dot"></i> Free –cancellation,seat,meal</li>
<li> <i class="fa-solid fa-circle-dot"></i> Access to lowest fares in the market including last minute</li>
<li> <i class="fa-solid fa-circle-dot"></i> Conceirge service – Web Check-In,Extras</li>
</ul>
</div>
</div>
<div class="col-md-3 swiper-slide">
<div class="m-benifit">
<div class="d-flex align-items-center">
<h4>Hotels – Dom & Int</h4>
</div>
<ul>
<li> <i class="fa-solid fa-circle-dot"></i> Discount coupons </li>
<li> <i class="fa-solid fa-circle-dot"></i> Curated hotel collection ( after verification visits )</li>
<li> <i class="fa-solid fa-circle-dot"></i> Conceirge service – Update on room upgrade, preference, early check-In & late check-Out request</li>
<li> <i class="fa-solid fa-circle-dot"></i> Lowest price in the market</li>
</ul>
</div>
</div>
<div class="col-md-3 swiper-slide">
<div class="m-benifit">
<div class="d-flex align-items-center">
<h4>Packages – Dom & Int</h4>
</div>
<ul>
<li> <i class="fa-solid fa-circle-dot"></i> Access to packages for any destination as per budget</li>
<li> <i class="fa-solid fa-circle-dot"></i> Discount coupons</li>
<li> <i class="fa-solid fa-circle-dot"></i> 24*7 connect while on tour</li>
<li> <i class="fa-solid fa-circle-dot"></i> Group tours and Customized tours as per choice</li>
</ul>
</div>
</div>
<div class="col-md-3 swiper-slide">
<div class="m-benifit">
<div class="d-flex align-items-center">
<h4>Insurance - All</h4>
</div>
<ul>
<li> <i class="fa-solid fa-circle-dot"></i> Best product selection after research on Life, Car, Health insurance and others </li>
<li> <i class="fa-solid fa-circle-dot"></i> Claims Assistance 24*7</li>
<li> <i class="fa-solid fa-circle-dot"></i> Documents assistance</li>
<li> <i class="fa-solid fa-circle-dot"></i> Access to all Insurance products in the market</li>
<li> <i class="fa-solid fa-circle-dot"></i> Free Voucher</li>
</ul>
</div>
</div>
<div class="col-md-3 swiper-slide">
<div class="m-benifit">
<div class="d-flex align-items-center">
<h4>Investment Services</h4>
</div>
<ul>
<li> <i class="fa-solid fa-circle-dot"></i>Picking up best trades for quick gains by filtering out stocks from screeners </li>
<li> <i class="fa-solid fa-circle-dot"></i>Sector rotation - which ? why ? when ? </li>
<li> <i class="fa-solid fa-circle-dot"></i>Daily,weekly Trading ideas. </li>
<li> <i class="fa-solid fa-circle-dot"></i>Investment ideas for 2-3 years </li>
<li> <i class="fa-solid fa-circle-dot"></i>Call and Trade </li>
<li> <i class="fa-solid fa-circle-dot"></i>Free 2 stocks analysis every month technical only </li>
</ul>
</div>
</div>
</div>
<div class="swiper-pagination"></div>
</div>
</div>
</div>
</section>
<section id="learnmore">
<div class="container">
<!--<div class="section-title">-->
<!-- <h2>Learn More</h2>-->
<!-- </div>-->
<div class="row">
<h3 style="margin: 5px 9px 12px 0;">FAQS</h3>
<p><b>All coupons are non-transferable and non-refundable
Coupons are valid for self, spouse and 2 dependent kids up to 18 years of age
</b></p>
<h5>Terms and Conditions for Flight Coupons</h5>
<ul>
<li>No minimum booking Value</li>
<li>No refund of coupon Value on cancellation</li>
<li>Final discount applied on payment value</li>
</ul>
<h5>Terms and Conditions for Hotel Coupons</h5>
<ul>
<li>Minimum booking value Rs 4000</li>
<li>No refund of coupon Value on Cancellation</li>
<li>Final discount applied on payment value</li>
</ul>
<h5>Terms and Conditions of Packages</h5>
<ul>
<li>Minimum booking Value Rs 10000</li>
<li>No refund of coupon value on cancellation</li>
<li>Final discount applied on payment value</li>
</ul>
<h5>What is Insurance Value add ?</h5>
<ul>
<li>Insurance Portfolio analysis – Rs 500</li>
<li>Others – Claims Process handling- Rs 500</li>
<li>Documentation assistance - Rs 500</li>
<li>Others – Rs 500</li>
</ul>
<!--<ul><b>What is Brokerage Services ?</b>-->
<!--<li> Picking up best trades for quick gains by filtering out stocks from screeners</li>-->
<!--<li> Guidance on market levels for trading Nifty, Bank Nifty trading/investment-->
<!--</li>-->
<!--<li> Sector rotation - which sector why ? when-->
<!--</li>-->
<!--<li>Potential multi bagger stocks -->
<!-- </li>-->
<!--<li> Daily weekly alerts regarding market trend, which sectors , Dow Nasdaq tracking-->
<!--</li>-->
<!--<li>Weekly calls – 5 stocks for 10-20% gain in 1 month-->
<!-- </li>-->
<!-- <li>Investment ideas for 2-3 years .. This is done by filtering out from list of best calls available to us from various analysts and technical chartists-->
<!-- </li>-->
<!-- <li>Call and Trade -->
<!-- </li>-->
<!-- <li> Free 2 stocks analysis every month technical -->
<!--</li>-->
<!--</ul>-->
<!-- <p>All coupons are non-transferable and non-refundable -->
<!--Coupons are valid for self, family and dependent kids upto 18 years of age-->
<!--<p/>-->
<!--<ul>-->
<!-- <b>Terms and Conditions for Flight Coupons?</b>-->
<!-- <li>No minimum booking Value-->
<!--</li>-->
<!-- <li>No refund of coupon Value on cancellation-->
<!--</li>-->
<!-- <li>Final discount applied on payment value</li>-->
<!--</ul>-->
<!--<ul>-->
<!-- <b>Terms and Conditions for Hotel Coupons</b>-->
<!-- <li>Minimum booking value Rs 4000-->
<!--</li>-->
<!-- <li>No refund of coupon Value on Cancellation-->
<!--</li>-->
<!-- <li>Final discount applied on payment value-->
<!--</li>-->
<!--</ul>-->
<!--<ul>-->
<!-- <b>Terms and Conditions of Packages-->
<!--</b>-->
<!-- <li>Minimum Value Rs 10000-->
<!--</li>-->
<!-- <li>No refund of coupon value on cancellation-->
<!--</li>-->
<!-- <li>Final discount applied on payment value-->
<!--</li>-->
<!--</ul>-->
<!--<ul>-->
<!-- <b>What is Insurance Value add ?-->
<!--</b>-->
<!-- <li>Insurance Portfolio analysis – Rs 500-->
<!--</li>-->
<!-- <li>Others – Claims Process handling- Rs 500-->
<!--</li>-->
<!-- <li>Documentation assistance - Rs 500-->
<!--</li>-->
<!--</ul>-->
<!--<ul>-->
<b>How do I buy additional coupons ?
</b>
<p> Additional coupons are available for existing members only
It is valid till the expiry of the current membership plan.<br> <strong>Call Us to buy additional coupons.</strong>
</p>
<div class="row">
<div class="col-md-8">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th>Add On</th>
<th>No. of coupons</th>
<th>per coupon value</th>
<th>Total Value</th>
<th>Offer price</th>
<th>Discount %</th>
</tr>
</thead>
<tbody>
<tr>
<td>domestic flight</td>
<td>5</td>
<td>250</td>
<td>1250</td>
<td><strong>800</strong></td>
<td>36</td>
</tr>
<tr>
<td>domestic hotel</td>
<td>2</td>
<td>500</td>
<td>1000</td>
<td><strong>650</strong></td>
<td>35</td>
</tr>
<tr>
<td>packages</td>
<td>2</td>
<td>500</td>
<td>1000</td>
<td><strong>650</strong></td>
<td>35</td>
</tr>
<tr>
<td>international flight</td>
<td>2</td>
<td>500</td>
<td>1000</td>
<td><strong>600</strong></td>
<td>40</td>
</tr>
<tr>
<td>international hotel</td>
<td>2</td>
<td>1000</td>
<td>2000</td>
<td><strong>1200</strong></td>
<td>40</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</ul>
</div>
</div>
</section>
<style>
/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
a#save {
color: blue;
background: #d7e1fa;
font-size: 12px;
}
#learnmore li {
list-style: auto;
}
.pricing .box {
padding: 40px 20px;
background: #fff;
text-align: center;
box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
border-radius: 4px;
position: relative;
overflow: hidden;
transition: 0.3s;
}
.pricing .box:hover {
transform: scale(1.1);
box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}
.pricing h3 {
font-weight: 700;
font-size: 18px;
margin-bottom: 15px;
}
.pricing .price {
font-size: 36px;
color: #444444;
font-weight: 600;
font-family: "Poppins", sans-serif;
display: contents;
}
.pricing .price sup {
font-size: 20px;
top: -15px;
left: -3px;
}
.pricing .price span {
color: #121212;
font-size: 13px;
font-weight: 300;
}
.pricing img {
padding: 30px 40px;
border-radius: 50%;
width: 159px;
}
.pricing ul {
padding: 0;
list-style: none;
color: #444444;
text-align: center;
line-height: 26px;
font-size: 16px;
margin-bottom: 25px;
}
.pricing ul li {
padding-bottom: 10px;
}
.pricing ul .na {
color: #ccc;
text-decoration: line-through;
}
.pricing .btn-buy {
display: inline-block;
padding: 8px 40px 10px 40px;
border-radius: 50px;
color: #4154f1;
transition: none;
font-size: 16px;
font-weight: 400;
font-family: "Nunito", sans-serif;
font-weight: 600;
transition: 0.3s;
border: 1px solid #4154f1;
background: #4154f1;
color: #fff;
}
.pricing .advanced .btn-buy {
background: #fc5185;
}
.pricing .btn-buy:hover {
background: #4154f1;
color: #fff;
}
.pricing .featured {
width: 200px;
position: absolute;
top: 18px;
right: -68px;
transform: rotate(45deg);
z-index: 1;
font-size: 14px;
padding: 1px 0 3px 0;
background: #4154f1;
color: #fff;
}
del {
font-size: 16px;
margin: 18px 0 0 0;
}
span#quan {
padding: 3px 6px 0 0;
}
span#sig {
font-size: 29px;
font-weight: bolder;
}
span#val {
font-size: 39px;
font-weight: bolder;
}
div#dm a {
background: #4154f1;
color: #fff;
padding: 5px;
font-weight: bolder;
}
a.btn-buy-red {
display: inline-block;
padding: 8px 40px 10px 40px;
border-radius: 50px;
transition: none;
font-size: 16px;
font-weight: 400;
font-family: "Nunito", sans-serif;
font-weight: 600;
transition: 0.3s;
/* border: 1px solid #4154f1; */
margin: 8px;
background: #fc5185;
color: #fff;
}
a.btn-buy-red {
background: #fc5185 !important;
}
.swiper-pagination-bullet {
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
font-size: 12px;
color: #000;
opacity: 1;
background: rgba(0, 0, 0, 0.2);
}
.swiper-pagination-bullet-active {
color: #fff;
background: #007aff;
}
</style>
<?php include 'footer.php'; ?>
Back to File Manager