Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/domains/amberpublishers.in/public_html/ijsri/
Dosya Yükle :
Current File : /home/u866425823/domains/amberpublishers.in/public_html/ijsri/test_issue.php

<?php
require_once '../admin/include/db.php';
require_once 'functions.php';

// Get the current issue
$currentIssue = getCurrentIssue($conn);

// Get the papers for the current issue
$currentPapers = getIssuePapers($conn, $currentIssue['issue_id']);

// Get the past issues
$pastIssues = getPastIssues($conn, $currentIssue['issue_id']);
?>

<!DOCTYPE html>
<html>
<head>
    <title>International Journal - Current Issue</title>
    <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
    <h1>International Journal - Current Issue</h1>
    
    <h2><a href="issue_details.php?issue_id=<?php echo $currentIssue['issue_id']; ?>">Volume <?php echo $currentIssue['volume_number']; ?> | Issue <?php echo $currentIssue['issue_number']; ?></a></h2>
    
    <h3>Papers:</h3>
    <?php if (!empty($currentPapers)): ?>
        <ul>
            <?php foreach ($currentPapers as $paper): ?>
                <li><a href="paper_details.php?paper_id=<?php echo $paper['paper_id']; ?>"><?php echo $paper['title']; ?></a></li>
            <?php endforeach; ?>
        </ul>
    <?php else: ?>
        <p>No papers found for the current issue.</p>
    <?php endif; ?>
    
    <h3>Past Issues:</h3>
    <?php if (!empty($pastIssues)): ?>
        <ul>
            <?php foreach ($pastIssues as $pastIssue): ?>
                <li><a href="issue_details.php?issue_id=<?php echo $pastIssue['issue_id']; ?>">Volume <?php echo $pastIssue['volume_number']; ?> | Issue <?php echo $pastIssue['issue_number']; ?></a></li>
            <?php endforeach; ?>
        </ul>
    <?php else: ?>
        <p>No past issues found.</p>
    <?php endif; ?>
</body>
</html>

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.