<div class="container-fluid">

<div class="row mb-4">

<div class="col-md-12">

<div class="card border-0 shadow-sm">

<div class="card-body">

<h2 class="fw-bold">

Issue Builder Wizard

</h2>

<div class="text-muted">

Create and validate proceedings issues.

</div>

</div>

</div>

</div>

</div>

<div class="row">

<div class="col-lg-4">

<div class="card border-0 shadow-sm">

<div class="card-header">

Existing Issues

</div>

<div class="card-body">

<table class="table table-sm">

<thead>

<tr>

<th>ID</th>
<th>Volume</th>
<th>Issue</th>

</tr>

</thead>

<tbody>

<?php foreach($issues as $i): ?>

<tr>

<td>
<?= (int)$i['id'] ?>
</td>

<td>
<?= htmlspecialchars($i['volume_no']) ?>
</td>

<td>
<?= htmlspecialchars($i['issue_no']) ?>
</td>

</tr>

<?php endforeach; ?>

</tbody>

</table>

</div>

</div>

</div>

<div class="col-lg-8">

<div class="card border-0 shadow-sm">

<div class="card-header bg-success text-white">

Approved Galleys Ready For Issue

</div>

<div class="card-body">

<table class="table table-bordered">

<thead>

<tr>

<th>ID</th>
<th>Submission</th>
<th>Title</th>
<th>Galley</th>

</tr>

</thead>

<tbody>

<?php foreach($readyArticles as $r): ?>

<tr>

<td>
<?= (int)$r['id'] ?>
</td>

<td>
<?= htmlspecialchars($r['submission_no']) ?>
</td>

<td>
<?= htmlspecialchars($r['title']) ?>
</td>

<td>
<?= (int)$r['galley_id'] ?>
</td>

</tr>

<?php endforeach; ?>

</tbody>

</table>

</div>

</div>

</div>

</div>

</div>
