Add page liasse

This commit is contained in:
Michael RICOIS 2012-06-08 13:18:09 +00:00
parent 5be1a4a686
commit 75bb6e2b39

View File

@ -0,0 +1,63 @@
<div id="center">
<?php if ($message!='') { ?>
<div style="margin:5px; padding: 0pt 0.7em;" class="ui-state-highlight ui-corner-all">
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<?=$message?></p>
</div>
<?php } ?>
<h1 class="titre">Saisie ou Correction Liasse</h1>
<div class="paragraph">
<div>
<label>Num&eacute;ro identifiant Siret</label>
<?=$this->SiretTexte($this->siret)?>
</div>
<div class="clearfix">
<label>Raison Sociale</label>
<?=$this->raisonSociale?>
</div>
</div>
<h2>TITRE</h2>
<style>
#tabs { font-size:0.8em; }
</style>
<div id="tabs">
<ul>
<?php foreach ( $this->entetes as $i => $entete ) {?>
<li><a href="#tabs-<?=$i?>"><?=$entete?></a></li>
<?php }?>
</ul>
<?php foreach ( $this->postes as $i => $item ) {?>
<div id="tabs-<?=$i?>">
<table>
<?php
$max = count($item['cols'][0]);
$nbcols = count($item['cols']);
for ($i=0;$i<$max;$i++) {
?>
<tr>
<?php for ($k=0;$k<$nbcols;$k++) {?>
<td>
<?=(isset($item['cols'][$k][$i]))?$item['cols'][$k][$i].'=':'';?>
</td>
<td>0</td>
<?php }?>
</tr>
<?php }?>
</table>
</div>
<?php }?>
</div>
<script>
$(function() {
$( "#tabs" ).tabs();
});
</script>
</div>