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/trainings.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 (!isset($_SESSION['user_id']) || !isset($_SESSION['user_email'])) {
    // User is not logged in. Redirect them back to the login page
    header("Location: login.php?message=membership_required");
    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>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">

  <title>Home PDMC - Index</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">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">


  <!-- 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>Trainings</li>
        </ol>
        <h2>Trainings</h2>

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

 <section id="training" class="training">

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

    <header class="section-header">
      <p>Empowering Excellence: PDMC Member Training </p>


    </header>

    <div class="training-programs">
<h4 style="text-align: center;">Welcome to the Training Hub at Pakistan Digital Media Creator (PDMC), where innovation meets education. As a PDMC member, you have exclusive access to cutting-edge training programs designed to elevate your skills, enhance your creativity, and propel your digital media journey to new heights.</h4>

<h3 style="font-weight: bold; color: #25A3CE;">Our Training Programs:</h3>

      <ol>
        <li>
          <strong>Digital Mastery Workshops:</strong>
          Unleash the full potential of digital media with our in-depth workshops covering the latest trends, tools, and techniques. From advanced video editing to social media strategies, these sessions are tailored to sharpen your skills and keep you ahead of the curve.
        </li>

        <li>
          <strong>Content Creation Bootcamps:</strong>
          Dive deep into the art and science of content creation through our intensive bootcamps. Led by industry experts, these hands-on sessions provide practical insights, collaborative opportunities, and real-world scenarios to enhance your storytelling capabilities.
        </li>

        <li>
          <strong>Strategic Social Media Seminars:</strong>
          Navigate the ever-evolving landscape of social media with our strategic seminars. Stay informed about algorithm changes, audience engagement tactics, and the secrets to building a powerful online presence. Elevate your social media game and connect with your audience effectively.
        </li>

        <li>
          <strong>Legal Literacy for Creators:</strong>
          Understand your rights and responsibilities in the digital space. Our legal literacy sessions cover topics such as intellectual property, contracts, and compliance, ensuring you navigate the legal landscape with confidence and integrity.
        </li>

        <li>
          <strong>Brand Collaboration Masterclasses:</strong>
          Learn the art of collaboration and partnership building in the digital world. Our masterclasses provide insights into effective brand collaborations, negotiations, and creating win-win scenarios that benefit both creators and brands.
        </li>

        <li>
          <strong>Tech Innovations and Trends:</strong>
          Stay on the cutting edge of technology. Explore the latest innovations and trends in the digital sphere, from emerging platforms to immersive technologies. Our sessions keep you informed about the tools that can amplify your creativity.
        </li>
      </ol>
    </div>

    <div class="how-to-access">
    <h3 style="font-weight: bold; color: #25A3CE;">How to Access Training:</h3>
      <ol>
        <li>Log in to your PDMC account.</li>
        <li>Navigate to the "Training Hub" section on your dashboard.</li>
        <li>Explore the available training programs and select the ones that align with your interests and goals.</li>
        <li>Register for upcoming sessions or access on-demand content at your convenience.</li>
      </ol>
    </div>

    <div class="training-benefits">
 <h3 style="font-weight: bold; color: #25A3CE;">Benefits of PDMC Training:</h3>
      <ul>
        <li>
          <strong>Exclusive Access:</strong>
          PDMC training programs are tailored exclusively for our members, providing a unique learning experience within our community.
        </li>
        <li>
          <strong>Networking Opportunities:</strong>
          Connect with fellow creators, industry experts, and trainers during our interactive sessions, fostering meaningful connections.
        </li>
      </ul>
    </div>

    <!--<div class="cta-button" style="display: flex; justify-content: center; align-items: center; height: 200px; border-radius: 10px;">-->
    <!--  <a href="" style="background-color: #25A3CE; color: white; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; border: none; border-radius: 5px;">-->
    <!--    <span>Access Training Hub</span> <i class="bi bi-arrow-right"></i>-->
    <!--  </a>-->
    <!--</div>-->

  </div>
</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>