trafficmonitor init...1

This commit is contained in:
choi.jh 2025-11-13 10:59:28 +09:00
parent a8bf04e301
commit 6dd87e09d4

View File

@ -1,18 +1,16 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<?php foreach ($viewDatas['formFields'] as $field => $label): ?><th><?= $label ?></th><?php endforeach ?> <?php foreach ($viewDatas['formFields'] as $field => $label): ?><th nowrap><?= $label ?></th><?php endforeach ?>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<?php $cnt = 0 ?>
<?php foreach ($viewDatas['entities'] as $entity): ?> <?php foreach ($viewDatas['entities'] as $entity): ?>
<tr> <tr>
<?php foreach ($viewDatas['formFields'] as $field): ?> <?php foreach ($viewDatas['formFields'] as $field): ?>
<td><?= $viewDatas['helper']->getFieldView($field, $entity->$field, $viewDatas) ?></td> <td nowrap><?= $viewDatas['helper']->getFieldView($field, $entity->$field, $viewDatas) ?></td>
<?php endforeach ?> <?php endforeach ?>
</tr> </tr>
<?php $cnt++ ?>
<?php endforeach ?> <?php endforeach ?>
</tbody> </tbody>
</table> </table>