52 lines
2.3 KiB
PHP
Executable File
52 lines
2.3 KiB
PHP
Executable File
<div id="div_prestataires">
|
|
|
|
<div id="div_prestataires_selectionnes" class="col-6" style="padding-left:0px;padding-right:1px;">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("E-mail non sélectionnés") ?> </th>
|
|
<th style='text-align:center'> E-mail </th>
|
|
<th width="5%" style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="=>>" onClick="javascript:ajouter_tous_prestataire_mess();" > </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($prestataire_non_selections as $prestataire_non_selection):
|
|
$idPrestataire=$this->nettoyer($prestataire_non_selection['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<td ><?= $this->nettoyer($prestataire_non_selection['libelle']) ?></td>
|
|
<td ><?= $this->nettoyer($prestataire_non_selection['email']) ?></td>
|
|
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_prestataire_mess('<?=$idPrestataire?>');" ></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="div_prestataires_non_selectionnes" class="col-6" style="padding-left:0px;padding-right:0px;">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
|
|
<thead>
|
|
<tr>
|
|
<th width="5%" style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="<<=" onClick="javascript:retirer_tous_prestataire_mess();" > </th>
|
|
<th style='text-align:center'> <?= _("E-mail sélectionnés") ?> </th>
|
|
<th style='text-align:center'> E-mail</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($prestataire_selections as $prestataire_selection):
|
|
$idPrestataire=$this->nettoyer($prestataire_selection['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'> <input type="button" value="<=" onClick="javascript:retirer_un_prestataire_mess('<?=$idPrestataire?>');" ></td>
|
|
<td ><?= $this->nettoyer($prestataire_selection['libelle']) ?></td>
|
|
<td ><?= $this->nettoyer($prestataire_selection['email']) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|