HEX
Server: Apache
System: Linux p3plzcpnl485017.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: rbrijwzv8p53 (8461783)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/rbrijwzv8p53/public_html/pdmc.org.pk/our-values.php
<?php
session_start();
ini_set('display_errors', 1);
error_reporting(E_ALL);

$servername = "72.167.84.16";
$username = "pdmcsb";
$password = "pdmcdb@2104";
$database = "pdmcdb";

$conn = new mysqli($servername, $username, $password, $database);

if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    $email = mysqli_real_escape_string($conn, $_POST['email']);
    $password = mysqli_real_escape_string($conn, $_POST['password']);

    $query = "SELECT * FROM request WHERE Email = '$email'";
    $result = mysqli_query($conn, $query);

    if ($result) {
        $user = mysqli_fetch_assoc($result);
        if ($user && password_verify($password, $user['Password'])) {
            $_SESSION['user_id'] = $user['id'];
            $_SESSION['user_email'] = $user['Email'];
            header("Location: index.php");
            exit();
        }
    }

    $_SESSION['error_message'] = "Invalid email or password.";
    header("Location: login.php");
    exit();
}
// Clear the error message after displaying it
if (isset($_SESSION['error_message'])) {
    $error_message = $_SESSION['error_message'];
    unset($_SESSION['error_message']);
}
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <style>/* Add this to your CSS file */
        .image-container {
          margin-left:-6rem;
          margin-right:3rem;/* Adjust the margin as needed */
           animation: moveUpDown 2s infinite alternate;
        }
        
        @keyframes moveUpDown {
          from {
            transform: translateY(0);
          }
          to {
            transform: translateY(-20px); /* Adjust the distance as needed */
          }
        }
        }</style>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">

  <title>Inner Page - FlexStart Bootstrap Template</title>
  <meta content="" name="description">
  <meta content="" name="keywords">

  <!-- Favicons -->
  <link href="assets/img/favicon.png" rel="icon">
  <link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">

  <!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">

  <!-- Vendor CSS Files -->
  <link href="assets/vendor/aos/aos.css" rel="stylesheet">
  <link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
  <link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
  <link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
  <link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">

  <!-- Template Main CSS File -->
  <link href="assets/css/style.css" rel="stylesheet">


</head>

<body>

  <!-- ======= Header ======= -->
 <header id="header" class="header fixed-top">
    <div class="container-fluid container-xl d-flex align-items-center justify-content-between">

      <a href="index.php" class="logo d-flex align-items-center">
        <img src="assets/img/logo.png" alt="">
        <span>PDMC</span>
      </a>

    
<nav id="navbar" class="navbar">
    <ul>
        <li><a class="nav-link scrollto active" href="index.php">Home</a></li>
        <li><a class="nav-link scrollto" href="pdmc-member.php">PDMC Member</a></li>
        <li><a class="nav-link scrollto" href="membership.php">Membership</a></li>

        <?php
        if (isset($_SESSION['user_id']) && isset($_SESSION['user_email'])) {
            // User is logged in, show profile icon and dropdown menu
            $userId = $_SESSION['user_id'];
            $userEmail = $_SESSION['user_email'];

            $query = "SELECT * FROM request WHERE id = '$userId' AND Email = '$userEmail'";
            $result = mysqli_query($conn, $query);

            if (mysqli_num_rows($result) > 0) {
                $row = mysqli_fetch_assoc($result);
                echo '<li><a class="nav-link scrollto" href="partners.php">Partners</a></li>';
                echo '<li><a href="blog.php">Blog</a></li>';
                echo '<li><a class="nav-link scrollto" href="events.php">Events</a></li>';
                echo '<li><a class="nav-link scrollto" href="trainings.php">Trainings</a></li>';
                echo '<li><a class="nav-link scrollto" href="#contact">Contact</a></li>';

                $userName = $row['Fullname'];
                echo '<div class="dropdown">';
                echo '   ';
                echo '<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown"><i class="fas fa-user-circle"></i> ' . $userName;
                echo '<span class="caret"></span></button>';
                echo '<ul class="dropdown-menu">';
                echo '<li><a href="profile.php">Profile</a></li>';
                echo '<li><a href="logout.php">Logout</a></li>';
                echo '</ul>';
                echo '</div>';
            }
        } else {
            // User is not logged in, show login and sign-up buttons
            echo '<li><a class="nav-link scrollto" href="login.php?message=membership_required">Partners</a></li>';
            echo '<li><a class="nav-link scrollto" href="login.php?message=membership_required">Blog</a></li>';
            echo '<li><a class="nav-link scrollto" href="login.php?message=membership_required">Events</a></li>';
            echo '<li><a class="nav-link scrollto" href="login.php?message=membership_required">Trainings</a></li>';
            echo '<li><a class="nav-link scrollto" href="login.php?message=membership_required">Contact</a></li>';
            echo '<li><a class="getstarted scrollto" href="login.php">Sign In</a></li>';
            echo '<li><a class="getstarted scrollto" href="becomemember.php">Become Member</a></li>';
        }
        ?>
        <i class="bi bi-list mobile-nav-toggle"></i>
    </ul>
</nav><!-- .navbar -->
    </div>
  </header><!-- End Header -->


  <main id="main">

    <!-- ======= Breadcrumbs ======= -->
    <section class="breadcrumbs">
      <div class="container">

        <ol>
          <li><a href="index.php">Home</a></li>
          <li>Our Values</li>
        </ol>
        <h2>Our Values</h2>

      </div>
    </section><!-- End Breadcrumbs -->

  
    <!-- ======= Values Section ======= -->
    <section id="values" class="values">

      <div class="container" data-aos="fade-up">

        <header class="section-header">
          <h2>Our Values</h2>
          <p>The values of Pakistan Digital Media Creator (PDMC) form the foundation of our community and guide our actions as we strive to empower, unite, and elevate content creators across the nation. Here are the core values that define PDMC.</p>
        </header>

        <div class="row">

          <div class="col-lg-4" data-aos="fade-up" data-aos-delay="200">
            <div class="box">
              <img src="assets/img/hero-img.png" class="img-fluid" alt="">
              <h3>Integrity
              </h3>
              <p>     Integrity is at the core of everything we do. PDMC values honesty, transparency, and ethical conduct. We encourage creators to uphold the highest standards of integrity in their content creation, collaborations, and interactions within the community.</p>
            </div>
          </div>

          <div class="col-lg-4 mt-4 mt-lg-0" data-aos="fade-up" data-aos-delay="400">
            <div class="box">
              <img src="assets/img/features-2.png" class="img-fluid" alt="">
              <h3>Collaboration</h3>
              <p>PDMC recognizes the strength in collaboration. We actively promote a culture of cooperation and mutual support among our members. By fostering collaborative projects and partnerships, we aim to amplify the impact of our collective creativity.
</p>
            </div>
          </div>

          <div class="col-lg-4 mt-4 mt-lg-0" data-aos="fade-up" data-aos-delay="600">
            <div class="box">
              <img src="assets/img/features.png" class="img-fluid" alt="">
              <h3>Creativity
              </h3>
              <p>      We celebrate and nurture the diverse creative expressions of our members. PDMC values innovation, originality, and the limitless possibilities that arise when creators are free to explore and push the boundaries of their craft.</p>
            </div>
          </div>
            <div class="col-lg-4 mt-4 mt-lg-0" data-aos="fade-up" data-aos-delay="600">
            <div class="box">
              <img src="assets/img/pricing-business.png" class="img-fluid" alt="">
              <h3>Advocacy
              </h3>
              <p>   PDMC serves as a collective voice advocating for the rights and interests of content creators. We engage with industry stakeholders, policymakers, and the public to address challenges and champion the importance of a thriving and respectful digital media environment.</p>
            </div>
          </div>
            <div class="col-lg-4 mt-4 mt-lg-0" data-aos="fade-up" data-aos-delay="600">
            <div class="box">
              <img src="assets/img/pricing-free.png" class="img-fluid" alt="">
              <h3>Continuous Learning
              </h3>
              <p>   The digital media landscape is ever-evolving, and PDMC values a commitment to continuous learning. We provide training programs, workshops, and resources to keep our members informed about the latest trends, technologies, and strategies in the dynamic world of content creation.</p>
            </div>
          </div>
            <div class="col-lg-4 mt-4 mt-lg-0" data-aos="fade-up" data-aos-delay="600">
            <div class="box">
              <img src="assets/img/features-2.png" class="img-fluid" alt="">
              <h3>Community
              </h3>
              <p>     PDMC is more than an organization; it's a community. We prioritize the well-being of our members and encourage a supportive environment where creators can connect, share experiences, and build lasting relationships..</p>
            </div>
          </div>

        </div>

      </div>
   </section><!-- End Values Section -->
  </main><!-- End #main -->
 <!-- ======= Footer ======= -->
  <footer id="footer" class="footer">

    <div class="footer-newsletter">
      <div class="container">
        <div class="row justify-content-center">
          <div class="col-lg-12 text-center">
            <h4>Legal Support PDMC</h4>
            <p>"Your creative journey is safeguarded with PDMC's commitment to providing free legal coverage. Partnered with top law firms, we ensure that our members can express themselves freely without fear of persecution. Explore the legal support available to you as a valued member of the PDMC community."</p>
          </div>
        
        </div>
      </div>
    </div>

    <div class="footer-top">
      <div class="container">
        <div class="row gy-4">
          <div class="col-lg-4 col-md-12 footer-info">
            <a href="index.html" class="logo d-flex align-items-center">
              <img src="assets/img/logo.png" alt="">
              <span>PDMC</span>
            </a>
            <p>Cras fermentum odio eu feugiat lide par naso tierra. Justo eget nada terra videa magna derita valies darta donna mare fermentum iaculis eu non diam phasellus.</p>
            <div class="social-links mt-3">
              <a href="#" class="twitter"><i class="bi bi-twitter"></i></a>
              <a href="#" class="facebook"><i class="bi bi-facebook"></i></a>
              <a href="#" class="instagram"><i class="bi bi-instagram"></i></a>
              <a href="#" class="linkedin"><i class="bi bi-linkedin"></i></a>
            </div>
          </div>

          <div class="col-lg-2 col-6 footer-links">
            <h4>Useful Links</h4>
            <ul>
              <li><i class="bi bi-chevron-right"></i> <a href="#">Home</a></li>
              <li><i class="bi bi-chevron-right"></i> <a href="#">About us</a></li>
              <li><i class="bi bi-chevron-right"></i> <a href="#recent-blog-posts">Blogs</a></li>
         
            </ul>
          </div>

          <div class="col-lg-3 col-6 footer-links">
            <h4>Our Services</h4>
            <ul>
              <li><i class="bi bi-chevron-right"></i> <a href="membership.php">Membership</a></li>
              <li><i class="bi bi-chevron-right"></i> <a href="pdmc-member.php">PDMC Member</li>
              <li><i class="bi bi-chevron-right"></i> <a href="becomemember.php">Become Member</a></li>
            </ul>
          </div>

          <div class="col-lg-3 col-md-12 footer-contact text-center text-md-start">
            <h4>Contact Us</h4>
            <p>
             
              <strong>Phone:</strong> +1 5589 55488 55<br>
              <strong>Email:</strong> info@example.com<br>
            </p>

          </div>

        </div>
      </div>
    </div>

    <div class="container">
      <div class="copyright">
        &copy; Copyright <strong><span>PDMC</span></strong>. All Rights Reserved
      </div>
      <div class="credits">
      
        Designed by <a href="https://epicinfotechconsulting.com/">Epic Infotech Consulting Group</a>
      </div>
    </div>
  </footer><!-- End Footer -->

  <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>

  <!-- Vendor JS Files -->
  <script src="assets/vendor/purecounter/purecounter_vanilla.js"></script>
  <script src="assets/vendor/aos/aos.js"></script>
  <script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
  <script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
  <script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
  <script src="assets/vendor/php-email-form/validate.js"></script>

  <!-- Template Main JS File -->
  <script src="assets/js/main.js"></script>
</body>

</html>