Added query

This commit is contained in:
CHIEFSOFT\ameye
2025-09-22 16:49:57 -04:00
parent 979ea25b10
commit 69b8f0c64e
2 changed files with 133 additions and 33 deletions
+99 -33
View File
@@ -21,40 +21,106 @@
crossorigin="anonymous"></script>
</head>
<body style="font-size: 14px; margin-top: auto; margin-bottom: auto; text-align: center; background-color: #fafac9; padding: 15px">
<span style="font-size: 60px; margin-top: auto; margin-bottom: auto; text-align: center;">
MERMS Provision <?=$label_env??''?>
</span>
<body
style="font-size: 14px; margin-top: auto; margin-bottom: auto; text-align: center; background-color: #fafac9; padding: 15px">
<div class="container-fluid">
<span style="font-size: 60px; margin-top: auto; margin-bottom: auto; text-align: center;">
MERMS Provision <?= $label_env ?? '' ?>
</span>
<div class="row">
<div class="col-sm">
<h3>
Ongoing Provisions
</h3>
<table class="table table-hover table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Default URL</th>
<th scope="col">Added</th>
<th scope="col">Prov. Status</th>
</tr>
</thead>
<tbody>
<?php
foreach ($hanging_list ?? [] as $pr) {
?>
<tr>
<th scope="row"><?= $pr->id ?></th>
<td><?= $pr->internal_url ?></td>
<td><?= $pr->added ?></td>
<td><?= $pr->status ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
<div class="col-sm">
<h3>
Hanging Provisions
</h3>
<table class="table table-hover table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Default URL</th>
<th scope="col">Added</th>
<th scope="col">Prov. Status</th>
</tr>
</thead>
<tbody>
<?php
foreach ($hanging_list ?? [] as $pr) {
?>
<tr style="text-align: left;">
<th scope="row"><?= $pr->id ?></th>
<td><a href="https://<?=$pr->internal_url ?>" target="_blank"><?= $pr->internal_url ?></a></td>
<td><?= $pr->added ?></td>
<td><?= $pr->status ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
<div class="col-sm">
<h3>
Completed Provisions
</h3>
<table class="table table-hover table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Default URL</th>
<th scope="col">Added</th>
<th scope="col">Prov. Status</th>
</tr>
</thead>
<tbody>
<?php
foreach ($hanging_list ?? [] as $pr) {
?>
<tr>
<th scope="row"><?= $pr->id ?></th>
<td><?= $pr->internal_url ?></td>
<td><?= $pr->added ?></td>
<td><?= $pr->status ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
<table class="table table-hover table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
</body>
</html>