Domain: amberpublishers.in
Server Adress: 86.38.243.169
privdayz.com
<!DOCTYPE html>
<html lang="en">
<?php include 'common/head.php'; ?>
<body>
<?php include 'common/header.php'; ?>
<main id="main">
<!-- ======= Breadcrumbs Section ======= -->
<section class="breadcrumbs">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<h2 class="fw-bold">Issue Content</h2>
<ol>
<li><a href="index.php">Home</a></li>
<li><a href="issues.php">Issues</a></li>
<li>Issue Content</li>
</ol>
</div>
</div>
</section><!-- End Breadcrumbs Section -->
<!-- Issue Content -->
<section class="issue-content">
<div class="container p-5" style="background-color:#fafafa;">
<div class="row">
<div class="col-lg-12">
<?php
// Assuming you have established a database connection
require '../admin/include/db.php';
if (isset($_GET['id'])) {
$issueId = $_GET['id'];
// Fetch the issue data from the database
$sql = "SELECT * FROM issues WHERE id = '$issueId'";
$result = mysqli_query($conn, $sql);
if (mysqli_num_rows($result) > 0) {
$row = mysqli_fetch_assoc($result);
$issueTitle = $row['title'];
$issueDescription = $row['description'];
// $issueFile = $row['file_path'];
// Output the issue content
echo "<h3 class='fw-bold'>$issueTitle</h3>";
echo "<h5><strong>Title :</strong><span> $issueDescription</span></h5>";
// echo "<p> $issueDescription</p>";
echo "<h5><strong>Download Issue: </strong><a href='#' download class='btn btn-outline-dark'><i class='fas fa-download'></i> Download</a></h5>";
} else {
echo "<p>No issue found.</p>";
}
} else {
echo "<p>Invalid issue ID.</p>";
}
?>
</div>
</div>
</div>
</section><!-- End Issue Content Section -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<?php include 'common/footer.php'; ?>
<!-- End Footer -->
<?php include 'common/scripts.php'; ?>
</body>
</html>
