Boarding Pass

Current Path : /home/u869455702/domains/steelblue-goldfinch-156491.hostingersite.com/public_html/
Upload File :
Current File : /home/u869455702/domains/steelblue-goldfinch-156491.hostingersite.com/public_html/about.php

<?php
include 'includes/header.php';
include 'includes/db.php';

// Fetch company story
$story_result = $conn->query("SELECT * FROM company_story ORDER BY id DESC LIMIT 1");
$story = $story_result->fetch_assoc();

// Fetch mission and vision
$mission_result = $conn->query("SELECT * FROM about_texts WHERE section = 'mission' ORDER BY id DESC LIMIT 1");
$vision_result = $conn->query("SELECT * FROM about_texts WHERE section = 'vision' ORDER BY id DESC LIMIT 1");
$mission = $mission_result->fetch_assoc();
$vision = $vision_result->fetch_assoc();

// Fetch core values
$core_values = $conn->query("SELECT * FROM core_values ORDER BY id ASC");

// Fetch leadership
$leaders = $conn->query("SELECT * FROM leadership ORDER BY id ASC");
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>About Us - Petra Tissue Company</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" />
  <link rel="stylesheet" href="assets/styles.css" />
  <link rel="icon" type="image/png" href="assets/images/favicon.ico">

</head>
<body>

    <div class="floating-element"></div>
    <div class="floating-element"></div>
<!-- Page Header -->
<section class="page-header">
  <div class="container">
    <h1>About Petra Tissue</h1>
    <ul class="breadcrumb">
      <li><a href="index.php">Home</a></li>
      <li>About Us</li>
    </ul>
  </div>
</section>

<!-- About Section -->
<section class="about-section">
  <div class="container">
    <div class="about-content reveal fade-bottom">
      <div class="about-text">
        <h3><?= htmlspecialchars($story['title']) ?></h3>
        <p><?= nl2br(htmlspecialchars($story['content'])) ?></p>
      </div>
      <div class="about-image">
        <?php if (!empty($story['image'])): ?>
          <img src="uploads/<?= htmlspecialchars($story['image']) ?>" alt="Petra Tissue Factory" />
        <?php else: ?>
          <img src="assets/images/about-fixed.jpg" alt="Petra Tissue Factory" />
        <?php endif; ?>
      </div>
    </div>

    <div class="mission-vision reveal fade-bottom">
      <div class="mission-card">
        <h3><i class="fas fa-bullseye"></i> Our Mission</h3>
        <p><?= nl2br(htmlspecialchars($mission['content'])) ?></p>
      </div>
      <div class="vision-card">
        <h3><i class="fas fa-eye"></i> Our Vision</h3>
        <p><?= nl2br(htmlspecialchars($vision['content'])) ?></p>
      </div>
    </div>

    <div class="section-title reveal fade-bottom">
      <h2>Our Core Values</h2>
    </div>

    <div class="features-grid reveal fade-bottom">
      <?php while ($value = $core_values->fetch_assoc()): ?>
      <div class="feature-card">
        <div class="feature-icon">
          <i class="<?= htmlspecialchars($value['icon']) ?>"></i>
        </div>
        <h3><?= htmlspecialchars($value['title']) ?></h3>
        <p><?= nl2br(htmlspecialchars($value['description'])) ?></p>
      </div>
      <?php endwhile; ?>
    </div>
  </div>
</section>

<!-- Team Section -->
<!-- <section class="team-section">
  <div class="container">
    <div class="section-title reveal fade-bottom">
      <h2>Meet Our Leadership</h2>
    </div>
    <div class="team-grid reveal fade-bottom">
      <?php while ($member = $leaders->fetch_assoc()): ?>
      <div class="team-member">
        <div class="member-image">
          <?php if (!empty($member['image'])): ?>
            <img src="uploads/<?= htmlspecialchars($member['image']) ?>" alt="<?= htmlspecialchars($member['name']) ?>" />
          <?php endif; ?>
        </div>
        <div class="member-info">
          <h4><?= htmlspecialchars($member['name']) ?></h4>
          <p><?= htmlspecialchars($member['title']) ?></p>
          <div class="social-links">
            <?php if ($member['linkedin']): ?>
              <a href="<?= $member['linkedin'] ?>" target="_blank"><i class="fab fa-linkedin-in"></i></a>
            <?php endif; ?>
            <?php if ($member['twitter']): ?>
              <a href="<?= $member['twitter'] ?>" target="_blank"><i class="fab fa-twitter"></i></a>
            <?php endif; ?>
            <?php if ($member['facebook']): ?>
              <a href="<?= $member['facebook'] ?>" target="_blank"><i class="fas fa-envelope"></i></a>
            <?php endif; ?>
          </div>
        </div>
      </div>
      <?php endwhile; ?>
    </div>
  </div>
</section> -->

<?php include 'includes/footer.php'; ?>
</body>
</html>

Sindabad File Uploader 1.0, Coded By Sindbad EG ~ The Terrorists Not Found
404
Not Found