This commit is contained in:
Damien LASSERRE 2012-04-12 14:08:42 +00:00
parent 5399c57010
commit f7fd60c9a0
2 changed files with 26 additions and 22 deletions

View File

@ -1,23 +1,27 @@
<div style="width:100%;">
<style>
</style>
<table width="100%">
<tr>
<th><b>Siret</b></th>
<th><b>Raison sociale</b></th>
<th><b>Code Postal</b></th>
<th><b>Ville</b></th>
</tr>
<?php
foreach($this->liste as $societe) {
echo '<tr>';
echo '<td>'.$societe['siren'].$societe['nic'].'</td>';
echo '<td>'.$societe['raisonSociale'].'</td>';
echo '<td>'.$societe['adr_cp'].'</td>';
echo '<td>'.$societe['adr_ville'].'</td>';
echo '</tr>';
}
?>
</table>
<style>
.color{
background-color: #DCE3FC;
}
</style>
<table width="100%" style="font-size:10px;">
<tr>
<th><b>Siret</b></th>
<th><b>Raison sociale</b></th>
<th><b>Code Postal</b></th>
<th><b>Ville</b></th>
</tr>
<?php
$i=0;
foreach($this->liste as $societe) {
echo '<tr '.((($i%2) == 0)?'class="color"':'').'>';
echo '<td>'.$societe['siren'].$societe['nic'].'</td>';
echo '<td>'.$societe['raisonSociale'].'</td>';
echo '<td>'.$societe['adr_cp'].'</td>';
echo '<td>'.$societe['adr_ville'].'</td>';
echo '</tr>';
$i++;
}
?>
</table>
<div>

View File

@ -34,7 +34,7 @@ $(document).ready(function(){
bgiframe: true,
title: title,
width: 800,
height: 300,
height: 250,
modal: true,
open: function(event, ui) {
$(this).html('Chargement...');