Sindbad~EG File Manager

Current Path : /home/u625735752/domains/floralwhite-woodpecker-723030.hostingersite.com/public_html/1.92/
Upload File :
Current File : /home/u625735752/domains/floralwhite-woodpecker-723030.hostingersite.com/public_html/1.92/about.php

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  
  <title>JAM ON | Your Home For Urban Music</title>
  <meta name="description" content="Jam-On FM brings you the best in nonstop music, fresh hits, and smooth vibes. Tune in anytime, anywhere.">



<?php include 'head.php'?>
 
</head>
<body>
<?php include 'header.php'?>
  







<section class=" py-5">

<?php
include "conn.php";

// Load all content as key-value pairs
$res = $mysqli->query("SELECT section_key, content FROM about_content");
$content = [];
while ($row = $res->fetch_assoc()) {
    $content[$row['section_key']] = $row['content'];
}
?>

   
<div class="container py-5">
  <h1 class="display-4 fw-bold"><?= $content['about_heading'] ?></h1>
  <p class="lead"><?= $content['about_intro'] ?></p>
</div>

<div class="container py-5">
  <div class="row align-items-center g-5">
    <div class="col-md-6">
      <img src="<?= $content['jam_image1'] ?>" class="img-fluid rounded w-100" alt="Jam On Team">
    </div>
    <div class="col-md-6">
      <h4 class="fw-bold mb-5"><?= $content['jam_heading'] ?></h4>
      <div class="row g-5">
        <div class="col-md-6">
          <img src="<?= $content['jam_image2'] ?>" class="img-fluid rounded w-100 mb-5" alt="Gespräch">
        </div>
        <div class="col-md-6">
          <img src="<?= $content['jam_image3'] ?>" class="img-fluid rounded w-100 mb-5" alt="Teamwork">
        </div>
      </div>
      <p class="mb-5"><?= $content['jam_paragraph'] ?></p>
    </div>
  </div>
</div>

<div class="container py-5">
  <div class="row align-items-center g-5">
    <div class="col-md-12">
      <h4 class="fw-bold mb-5"><?= $content['young_heading'] ?></h4>
      <p class="mb-5"><?= $content['young_paragraph'] ?></p>

      <h4 class="fw-bold mb-5"><?= $content['culture_heading'] ?></h4>
      <p class="mb-5"><?= $content['culture_paragraph'] ?></p>
    </div>
  </div>
</div>
  
    

<!-- Meet Our Team -->
<div class="container py-5">

    <div class="row justify-content-center">
    <div class="col-lg-12" data-aos="fade-right">
      <h4 class="font-02 mb-1">Meet </h4>
    <h2 class="display-5 fw-bold  mb-4">Our Team</h2>  
    </div> 
    </div>
	

    <div class="row text-center g-4">
        <?php
        // Fetch all team members from the database
        $team_res = $mysqli->query("SELECT id, name, designation, profile_image FROM team ORDER BY created_at ASC");
        if ($team_res && $team_res->num_rows > 0) {
            while ($team_member = $team_res->fetch_assoc()) {
                // Prepend 'img/team/' to the profile_image path
                $image_path = 'img/team/' . $team_member['profile_image'];
                ?>
                <div class="col-6 col-md-3">
                    <img src="<?= htmlspecialchars($image_path) ?>" class="rounded-circle w-75 mb-2" alt="<?= htmlspecialchars($team_member['name']) ?>">
                    <h6 class="mb-0 text-white"><?= htmlspecialchars($team_member['name']) ?></h6>
                    <small class="text-secondary"><?= htmlspecialchars($team_member['designation']) ?></small>
                </div>
                <?php
            }
        } else {
            echo "<p class='text-center'>No team members found.</p>";
        }
        ?>
    </div>
</div>


</section>


 


<?php include 'footer.php'?>



</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists