PHPIndex

This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).

footer.php
wget 'https://lists2.roe3.org/tg-hof/includes/footer.php'
View Content
<section>
    <footer class="text-center text-lg-start text-white" style="background-color: #111111">
      <div class="container pt-5 pb-0 col-md-12">
        <section class="col-md-12">
          <div class="row pb-2">
            <div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3">
              <a href="/tg-hof/" class="logo me-auto">
                <img src="assets/img/tg-hof.webp" class="flogo" style="padding-bottom: 12px;">
              </a>
              <p class="footerp">
                The Tech-Geeks Hall of Fame recognizes those who have made significant and frequent contributions to the the tech-geeks@tech-geeks.org community.
              </p>
            </div>

            <hr class="w-100 clearfix d-md-none" />

            <div class="col-md-2 col-lg-2 col-xl-2 mx-auto mt-3">
              <h6 class="text-uppercase mb-4 font-weight-bold" style="color: #ffffff; font-weight: 600;">About Us</h6>
              <div class="footerp">
                <p><a href="about-us.php">About The TG Hall of Fame</a></p>
                <p><a href="nominate.php">Nominate Someone</a></p>
              </div>
            </div>

            <hr class="w-100 clearfix d-md-none" />

            <div class="col-md-4 col-lg-3 col-xl-3 mx-auto mt-3">
              <h6 class="text-uppercase mb-4 font-weight-bold" style="color: #ffffff; font-weight: 600;">Contact</h6>
              <div class="footerp">
                <p><i class="fa fa-location-arrow mr-3"></i> Subscribe to Tech-Geeks</p>
                <p><i class="fas fa-envelope mr-3"></i> <a href="mailto:tech-geeks-join@tech-geeks.org">tech-geeks-join@tech-geeks.org</a></p>
              </div>
            </div>
          </div>
        </section>

        <hr>

        <section class="p-3 pt-0 container">
          <div class="row d-flex align-items-center">
            <div class="col-md-7 col-lg-8 text-center text-md-start">
              <div class="p-3 footerp" style="font-size: 13px; font-weight: 200;">Copyright © <span id="currentyear"></span>, Tech-Geeks Hall of Fame. All rights reserved.</div>
            </div>
<!--
            <div class="col-md-5 col-lg-4 ml-lg-0 text-center text-md-end">
              <a class="btn btn-outline-light btn-floating m-1" class="text-white" role="button" href="#"><i class="fa-brands fa-facebook-f"></i></a>
              <a class="btn btn-outline-light btn-floating m-1" class="text-white" role="button" href="#"><i class="fa-brands fa-linkedin-in"></i></a>
              <a class="btn btn-outline-light btn-floating m-1" class="text-white" role="button" href="#"><i class="fa-brands fa-youtube"></i></a>
            </div>
-->
          </div>
        </section>
      </div>
    </footer>
  </section>
  
  <button onclick="topFunction()" id="backtotop" title="Go to top">
  <i class="fas fa-angle-up" style="color:var(--accent-color);font-size: 20px;"></i>
  </button>

  <script src="assets/js/bootstrap.bundle.min.js"></script>
  <script src="assets/js/main.js" defer></script>
header.php
wget 'https://lists2.roe3.org/tg-hof/includes/header.php'
View Content
<?php
$conn = mysqli_connect("localhost", "mdrone", "einstein", "aasict_db");

$res = mysqli_query($conn, "SELECT setting_value FROM settings WHERE setting_key = 'voting_enabled'");
$row = mysqli_fetch_assoc($res);
$voting_enabled = $row['setting_value'] == '1';
?>
<header id="header" class="header d-flex align-items-center fixed-top">
    <div class="container container-xl position-relative d-flex align-items-center">

      <a href="/tg-hof/" class="logo d-flex align-items-center me-auto">
        <img src="assets/img/TG-HOF.webp" alt="Tech-Geeks Hall of Fame">
      </a>

      <?php
        $activePage = basename($_SERVER['PHP_SELF'], ".php");
        echo '<style>';
        echo '.active{';
        echo 'color: var(--accent-color)!important;';
        echo '}';
        echo '</style>';
      ?>

      <nav id="navmenu" class="navmenu">
        <ul>
          <li><a class="<?= ($activePage == 'index') ? 'active':''; ?>" href="/tg-hof/" >Home</a></li>
          <li class="dropdown"><a class="<?= ($activePage == 'about-us') || ($activePage == 'vision-mission') || ($activePage == 'presidents-message') || ($activePage == 'executive-committee') || ($activePage == 'downloads') ? 'active':''; ?>" href="#"><span>About</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
            <ul>
              <li><a class="<?= ($activePage == 'about-us') ? 'active':''; ?>" href="about-us.php">About Us</a></li>
              <li><a class="<?= ($activePage == 'executive-committee') ? 'active':''; ?>" href="executive-committee.php">Executive Committee</a></li>
              <li><a class="<?= ($activePage == 'downloads') ? 'active':''; ?>" href="downloads.php">Download Documents</a></li>
            </ul>
          </li>
          <li><a class="<?= ($activePage == 'nominate') ? 'active':''; ?>" href="nominate.php">Nominate Someone</a></li>

<?php if ($voting_enabled) { ?>
          <li><a class="<?= ($activePage == 'voting/vote.php') ? 'active':''; ?>" href="voting/vote.php">Vote!</a></li>
<?php } ?>

          <li><a class="<?= ($activePage == 'members/') ? 'active':''; ?>" href="members/index.php">View Hall of Fame Members</a></li>
          <li class="logbtn"><a href="login.php"><button type="button" class="btn calltoactionbtn login-btn">Login</button></a></li>

        </ul>
        
        <i class="mobile-nav-toggle d-xl-none bi bi-list"></i>
      </nav>

    </div>
  </header>