prestation/Vue/Ajaxvidal/changerviewbd.php
2025-12-01 18:54:33 +00:00

31 lines
1.1 KiB
PHP

<?php if (isset($msgErreur) and $msgErreur>" "): ?>
<div class="text-center p-t-10">
<h4 class="txt3">
<div id="msgErreur" name="msgErreur" class="col-12 alert alert-danger">
<?= $msgErreur ?>
</div>
</h4>
</div>
<?php else: ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center' colspan='3'> <?= "View : $viewName" ?> </th>
</tr>
<tr>
<th style='text-align:center'> <?= _("COLUMN_NAME") ?> </th>
<th style='text-align:center'> <?= _("COLUMN_TYPE") ?> </th>
<th style='text-align:center'> <?= _("COLUMN_DEFAULT") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($colonnes_table as $colonne_table): ?>
<tr>
<td align='center'><?= $this->nettoyer($colonne_table['COLUMN_NAME']) ?></td>
<td align='center'><?= $this->nettoyer($colonne_table['COLUMN_TYPE']) ?></td>
<td align='center'><?= $this->nettoyer($colonne_table['COLUMN_DEFAULT']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>