Shell File Manager

Current Path : /home/camscanae/public_html/downloads/
Upload File :
Current File : /home/camscanae/public_html/downloads/poster.php

<?php $page = 'download' ?>
<?php $page2 = 'poster' ?>

<?php

session_start();
include_once('../include/config.php');

$log_status = $_GET['log_status'];

if ($log_status == '') {
  header("Location: ../Login/login-user.php");
}


if ($log_status == $_SESSION['log_status']) {

?>

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

  <head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">

    <title>CamScan FZCO |Downloads</title>
    <link rel="stylesheet" href="../products/All_Products.css">
    <!-- <link rel="stylesheet" href="ts.css"> -->
    <?php
    include('../include/header.php');
    include('../include/nav.php');

    ?>


    <br><br>

  <body>


    <!-- ======= Gallery Section ======= -->
    <section id="gallery" class="gallery">
      <div class="container" data-aos="fade-up">

        <div class="section-title ">
          <h2>Posters & Brochures</h2>
          <div style="text-align: left;">

            <p>CamScan FZCO provides partners with a wide selection of downloadable up-to-date posters and brochures, all in high resolution format. Clients may choose to print these out for marketing and/or <a href="mailto:[email protected]"> request printed versions </a> from CamScan FZCO.</p><br>
            <br>

            <?php
            $type = "SELECT * FROM bosters_brochures ";
            $type_run = mysqli_query($connection, $type);

            if (mysqli_num_rows($type_run) > 0) {
              foreach ($type_run as $typefor) {
                // print_r($pritems1);
                $file_name = $typefor['file_name'];
                $file = $typefor['file'];


            ?>

                <ul>

                  <li><a href="download.php?file=<?php print_r($file) ?>"> <?php print_r($file_name) ?> - <?php print_r($file) ?> </a></li>
                </ul>

            <?php
              }
            }
            ?>
          </div>
        </div><br>


        <div class="swiper-pagination"></div>
      </div>

      </div>
    </section><!-- End Gallery Section -->

    </main><!-- End #main -->

    <!-- ======= Footer ======= -->
    <?php
    include '../include/footer.php';
    ?>
  </body>

  </html>


<?php


} else {
  header("Location: ../Login/login-user.php");
}

?>

Shell File Manager Version 1.1, Coded By Shell
Email: [email protected]