MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.133.138.129
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/rajwadahouse.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/rajwadahouse.com/home-faq-testi.php
<section id="testifaq" style="background-color:#d0e8ea;">
   
 <div class="accrodion-and-testimonial-section section">
            <div class="container sb-border pb-100 pb-lg-80 pb-md-70 pb-sm-60 pb-xs-50">
                <div class="row">
                    <div class="col-lg-6">
                        <!--FAQ Accordin Start-->
                        <div class="faq-area mb-sm-50 mb-xs-40">
                            <h3 class="title">What can we do for you ?</h3>
                            <div class="faq-accordion">
                                <div id="accordion">
                                    <?php
                                        $sql = "SELECT * FROM `tbl_faqs` ORDER BY faq_id DESC";
                                        $run = mysqli_query($db, $sql) or die("Query Not run");
                                        $index = 0; // To make each collapse and heading ID unique
                                        while($datafaq = mysqli_fetch_assoc($run)){
                                            $index++;
                                    ?>
                                    <div class="card card-style-two">
                                        <div class="card-header" id="heading<?php echo $index; ?>">
                                            <h5 class="mb-0">
                                                <a class="" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo $index; ?>" aria-expanded="false" aria-controls="collapse<?php echo $index; ?>">
                                                    <?php echo $datafaq['question']?>
                                                </a>
                                            </h5>
                                        </div>
                                        <div id="collapse<?php echo $index; ?>" class="collapse" aria-labelledby="heading<?php echo $index; ?>" data-bs-parent="#accordion">
                                            <div class="card-body">
                                                <?php echo $datafaq['answer']?>
                                            </div>
                                        </div>
                                    </div>
                                    <?php } ?>
                                </div>
                            </div>

                        </div>
                        <!--FAQ Accordin Start-->
                    </div>
                    <div class="col-lg-6">
                        <div class="testimonial-area">
                            <h3 class="title">What can we do for you ?</h3>
                            <div class="testimonial-wrap bg-gray-two">
                                <div class="row justify-content-center">
                                    <div class="col-lg-12">
                                        <div class="testimonial-wrapper section-space--inner">
                                            <div class="tf-element-carousel" data-slick-options='{
                                                "slidesToShow": 1,
                                                "slidesToScroll": 1,
                                                "infinite": true,
                                                "arrows": false,
                                                "dots": true
                                                }' data-slick-responsive='[
                                                {"breakpoint":768, "settings": {
                                                "slidesToShow": 1
                                                }},
                                                {"breakpoint":575, "settings": {
                                                "slidesToShow": 1
                                                }}
                                                ]'>
                                                
                                                 <?php
                                            $sql = "SELECT * FROM tbl_testimonial ORDER BY `order_by` ASC";
                                            $run = mysqli_query($db,$sql) or die("Query Not run");
                                            while($data = mysqli_fetch_assoc($run)){
                                        ?>
                                        
                                                <div class="item">
                                                    <!-- single testimonial item Strat-->
                                                    <div class="single-testimonial-item">
                                                        <div class="testimonial-image">
                                                            <img src="<?php echo $wspath?>admin/images/property-image/<?php echo $data['image'];?>" class="img-fluid" alt="">
                                                        </div>
                                                        <div class="testimonial-content">
                                                            <p class="testimonial-text"> <?php echo $data['tes_description'];?></p>
                                                            <img src="<?php echo $wspath?>assets/images/icons/quote-icon.png" alt="">
                                                            <p class="testimonial-author"><?php echo $data['name'];?></p>
                                                            <!--<span class="post">Customer</span>-->
                                                        </div>
                                                    </div>
                                                    <!-- single testimonial item End-->
                                                </div>
                                                <?php }?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
</section>

MMCT - 2023