Shell File Manager
<?php $page = 'download' ?>
<?php $page2 = 'user' ?>
<?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>
<div class="section-title ">
<h2> USER MANUAL DOWNLOAD</h2>
</div>
<center>
<div class="cont">
<div class="container2">
<?php
$products = "SELECT * FROM tb1 ";
$products_run = mysqli_query($connection, $products);
if (mysqli_num_rows($products_run) > 0) {
foreach ($products_run as $productsfor) {
// print_r($pritems1);
$Image = $productsfor['Image'];
$Name = $productsfor['Name'];
$product_category = $productsfor['product_category'];
$product_id = $productsfor['id'];
$Manual = $productsfor['Manual'];
?>
<div class="single-item" style="background-color: white;">
<a href="../downloads/download.php?file=<?php print_r($Manual); ?>" style="font-size:15px; text-align:center"> <img src="../assets/img/products/<?php print_r($Image); ?>" alt="Image 1" style="width:240px">
<?php print_r($Name); ?> <br>
<option value="../downloads/download.php?file=<?php print_r($DataSheet); ?>"><?php echo "Download"; ?> <i class="bi bi-arrow-down-square-fill"></i></option>
</a>
</div>
<?php
}
}
?>
</div>
</div>
</center>
<?php
include '../include/footer.php';
?>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<script src="../products/all_products.js"></script>
</body>
</html>
<?php
} else {
header("Location: ../Login/login-user.php");
}
?>
Shell File Manager Version 1.1, Coded By Shell
Email: [email protected]