시스템관리 페이지 추가

This commit is contained in:
yangsh
2025-12-11 16:48:03 +09:00
parent 533d6b5d6b
commit 7324d2d9ba
38 changed files with 5291 additions and 188 deletions

View File

@@ -32,19 +32,25 @@
</tr>
</thead>
<tbody>
<?php
$nRow = 1;
foreach ($statistics['reserve'] as $row):
?>
<?php if (empty($statistics['reserve'])): ?>
<tr>
<th scope="row"> <?= substr($row['rcpt_tm'], 0, 10) ?></th>
<td class="text-center"><?= substr($row['rsrv_date'], 0, 10) ?></td>
<td class="text-center"><?= $row['rsrv_tm_ap'] ?></td>
<td class="text-center" colspan="3">데이터가 없습니다.</td>
</tr>
<?php else: ?>
<?php
$nRow++;
endforeach;
?>
$nRow = 1;
foreach ($statistics['reserve'] as $row):
?>
<tr>
<th scope="row"> <?= substr($row['rcpt_tm'], 0, 10) ?></th>
<td class="text-center"><?= substr($row['rsrv_date'], 0, 10) ?></td>
<td class="text-center"><?= $row['rsrv_tm_ap'] ?></td>
</tr>
<?php
$nRow++;
endforeach;
?>
<?php endif; ?>
</tbody>
</table>
</div>
@@ -60,8 +66,8 @@
<table class="mb-0 table">
<colgroup>
<col width="10%" />
<col width="60%" />
<col width="30%" />
<col width="70%" />
<col width="20%" />
</colgroup>
<thead>
<tr>
@@ -71,13 +77,19 @@
</tr>
</thead>
<tbody>
<?php foreach ($notice as $key => $n): ?>
<tr onclick="location.href='board/notice/detail/<?= $n['bbs_sq'] ?>'">
<th scope="row"><?= ($key + 1) ?></th>
<td><?= $n["subject"] ?></td>
<td class="text-center"><?= $n["update_tm"] ?></td>
<?php if (empty($notice)): ?>
<tr>
<td class="text-center" colspan="3">데이터가 없습니다.</td>
</tr>
<?php endforeach; ?>
<?php else: ?>
<?php foreach ($notice as $key => $n): ?>
<tr onclick="location.href='board/notice/detail/<?= $n['bbs_sq'] ?>'">
<th scope="row"><?= ($key + 1) ?></th>
<td><?= $n["subject"] ?></td>
<td class="text-center"><?= $n["update_tm"] ?></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</tbody>
</table>
</div>
@@ -99,19 +111,25 @@
</tr>
</thead>
<tbody>
<?php
$nRow = 1;
foreach ($statistics['status2'] as $row):
?>
<?php if (empty($statistics['status2'])): ?>
<tr>
<th scope="row"> <?= substr($row['rcpt_tm'], 0, 10) ?></th>
<td class="text-center"><?= substr($row['photo_save_dt'], 0, 10) ?></td>
<td class="text-center"><?= $row['elapsed_dt'] ?></td>
<td class="text-center" colspan="3">데이터가 없습니다.</td>
</tr>
<?php else: ?>
<?php
$nRow++;
endforeach;
?>
$nRow = 1;
foreach ($statistics['status2'] as $row):
?>
<tr>
<th scope="row"> <?= substr($row['rcpt_tm'], 0, 10) ?></th>
<td class="text-center"><?= substr($row['photo_save_dt'], 0, 10) ?></td>
<td class="text-center"><?= $row['elapsed_dt'] ?></td>
</tr>
<?php
$nRow++;
endforeach;
?>
<?php endif; ?>
</tbody>
</table>
</div>
@@ -134,19 +152,25 @@
</tr>
</thead>
<tbody>
<?php
$nRow = 1;
foreach ($statistics['status3'] as $row):
?>
<?php if (empty($statistics['status3'])): ?>
<tr>
<th scope="row"> <?= substr($row['rcpt_tm'], 0, 10) ?></th>
<td class="text-center"><?= substr($row['photo_save_dt'], 0, 10) ?></td>
<td class="text-center"><?= $row['elapsed_dt'] ?></td>
<td class="text-center" colspan="3">데이터가 없습니다.</td>
</tr>
<?php else: ?>
<?php
$nRow++;
endforeach;
?>
$nRow = 1;
foreach ($statistics['status3'] as $row):
?>
<tr>
<th scope="row"> <?= substr($row['rcpt_tm'], 0, 10) ?></th>
<td class="text-center"><?= substr($row['photo_save_dt'], 0, 10) ?></td>
<td class="text-center"><?= $row['elapsed_dt'] ?></td>
</tr>
<?php
$nRow++;
endforeach;
?>
<?php endif; ?>
</tbody>
</table>
</div>