63 lines
1.2 KiB
PHTML
63 lines
1.2 KiB
PHTML
|
<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é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>
|