Modification structure HTML

This commit is contained in:
Michael RICOIS 2009-09-14 15:40:12 +00:00
parent 407552ce41
commit 73af0b021f

View File

@ -43,6 +43,14 @@ if( cache_exist() && !( preg_match('/saisie/i', $_SESSION['tabInfo']['droits'])
$raisonSociale = $_SESSION['tabInfo']['entrep']['raisonSociale'];
?>
<<script type="text/javascript">
<!--
$(document).ready(function(){
});
//-->
</script>
<div id="center">
<h1 class="titre">LISTE DES &Eacute;TABLISSEMENTS</h1>
@ -91,14 +99,26 @@ $raisonSociale = $_SESSION['tabInfo']['entrep']['raisonSociale'];
</tr>
<?php
}
if (count($etabs)==0)
echo '<tr><td class="StyleInfoData" width="580">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aucun &eacute;tablissement n\'est pr&eacute;sente dans notre base</td></tr>';
elseif (preg_match('/CARTES/i', $_SESSION['tabInfo']['pref']))
echo '<tr><td colspan="4">&nbsp;</td></tr><tr><td class="StyleInfoData" colspan="4" width="580" align="center"><iframe src="/?page=carte&siret='.$siren.'" width=505 height=505 marginheight="1" marginwidth="1" scrolling="No" frameborder=1></iframe></td></tr>';
?>
</table>
</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td colspan="2" width="550" class="StyleInfoData">
<?php
if (count($etabs)==0)
{
echo 'Aucun &eacute;tablissement n\'est pr&eacute;sente dans notre base';
}
elseif (preg_match('/CARTES/i', $_SESSION['tabInfo']['pref']))
{
echo '<iframe src="/?page=carte&siret='.$siren.'" width=505 height=505 marginheight="1" marginwidth="1" scrolling="No" frameborder=0></iframe>';
}
?>
</td>
</tr>
</table>
</div>
<?php