Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64
User : u615232177 ( 615232177)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/u615232177/domains/ellexsleevesapartments.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u615232177/domains/ellexsleevesapartments.com/public_html/faqs.php
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']);
$page_title = "Frequently Asked Questions";
$page_header = "417ff7341d.jpg";
include("header.php"); ?>
<title><?php echo $company_name; ?> - <?php echo $page_title; ?></title>
<?php include("page_header.php"); ?>

  <!-- FAQs Section -->
  <div class="dextheme-section-padding bg-white">
    <div class="container">
      <div class="faqs-heading mb-5">
        <p class="dextheme-sub-title mb-4">Find Answers</p>
        <h2 class="dextheme-main-title mb-4">Your FAQ Resource</h2>
        <p class="dextheme-text-grey"><p>Find the answers to your pressing queries</p>
      </div>
      <div class="faqs-block">
        <div class="row g-4 justify-content-center">
          <?php
								$stmt = $con -> prepare('SELECT * FROM faqs');
								$stmt -> execute(); 
								$stmt -> store_result(); 
								$stmt -> bind_result($id,$question,$answer); 
								$numrows = $stmt -> num_rows();
								if($numrows > 0){
									while ($stmt -> fetch()) { 
							?>
          <div class="col-lg-8 col-12">
            <div class="faqs-accordion">
              <div class="accordion accordion-flush mb-4" id="accordionExample">
                <div class="accordion-item">
                  <h2 class="accordion-header" id="heading<?= $id ?>">
                    <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse<?= $id ?>" aria-expanded="true" aria-controls="collapse<?= $id ?>">
                      <span class="fw-bold"><?= $question ?></span>
                    </button>
                  </h2>
                  <div id="collapse<?= $id ?>" class="accordion-collapse collapse" aria-labelledby="heading<?= $id ?>" data-bs-parent="#accordionExample">
                    <div class="accordion-body ms-4 dextheme-text-grey mb-4 mt-2">
                     <?= $answer ?>
                    </div>
                  </div>
                </div>
               
              </div>
            </div>
          </div>
         <?php } } ?>
        </div>
      </div>
    </div>
  </div>
 <?php include("footer.php"); ?>

Al-HUWAITI Shell