Subversion Repositories Applications.gtt

Rev

Rev 30 | Rev 67 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<dl class="ajout_2_points">
        <dt>Vous devez travailler</dt>
        <dd><?=$tps_w;?> heures par jour</dd>
        <dt>Congés payés restants</dt>
        <dd><?=$conges_payes;?> jours</dd>
        <dt>Heures supp restantes</dt>
        <dd><?=$rtt;?> heures</dd>
</dl>
<p>Aujourd'hui, nous sommes le <a href="<?=$jc_url;?>"><?=$jc['jour'];?> <?=$jc['mois_nom'];?> <?=$jc['annee'];?></a></p>
<p>Semaine du <a href="<?=$jc_url;?>"><?=$sjc_1['jour'];?> <?=$sjc_1['mois'];?> <?=$sjc_1['annee'];?> au <?=$sjc_7['jour'];?> <?=$sjc_7['mois'];?> <?=$sjc_7['annee'];?></a></p>
<div id="calendrier">
<table>
        <caption><a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?>
        <?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a></caption>
        <thead>
                <tr>
                        <th>Lun</th>
                        <th>Mar</th>
                        <th>Mer</th>
                        <th>Jeu</th>
                        <th>Ven</th>
                        <th>Sam</th>
                        <th>Dim</th>
                </tr>
        </thead>
        <tbody>
                <?php foreach ($elements as $semaine) : ?>
                <tr>
                        <?php foreach ($semaine as $jour) : ?>
                        <td class="<?=$jour['class'];?>"> <? if ($jour['class'] == 'jour_vide') :?>
                        <?=$jour['jour'];?> <? else :?> <a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
                        <? endif;?></td>
                        <?php endforeach; ?>
                </tr>
                <?php endforeach; ?>
        </tbody>
</table>

<form id="gestion" name="gestion" action="<?=$url_gestion_valider;?>" method="post">
<table>
        <caption>
        <a href="<?=$url_semaine_precedente;?>">&lt;&lt;</a>
        <?=$sj_1['jour'];?> <?=$sj_1['mois'];?> <?=$sj_1['annee'];?> au <?=$sj_7['jour'];?> <?=$sj_7['mois'];?> <?=$sj_7['annee'];?>
        <a href="<?=$url_semaine_suivante;?>">&gt;&gt;</a>
        </caption>
        <thead>
        <tr>
                <th>Projets</th>
<?php foreach ($elements[$s] as $jour) : ?>
                <th class="<?=$jour['class'];?>">
                        <? if ($jour['class'] == 'jour_vide') :?>
                                <?=$jour['jour_nom'];?> <?=$jour['jour'];?>
                        <? else :?>
                                <a href="<?=$jour['url'];?>"><?=$jour['jour_nom'];?> <?=$jour['jour'];?></a>
                        <? endif;?>
                </th>
<?php endforeach; ?>
        </tr>
        </thead>
        <tbody>
<?foreach ($preferences as $categorie => $projets):?>
        <tr><td colspan="8" class="categorie"><?=$categorie;?></td></tr>
        <?foreach ($projets as $projet):?>
        <tr>
                <td class="projet"><?=$projet['nom'];?></td>
                <?php foreach ($elements[$s] as $num => $jour) : ?>
                <td class="<?=$jour['class'];?>"><input id="pr:<?=$projet['id'];?>:<?=$num;?>" name="pr:<?=$projet['id'];?>:<?=$num;?>" value="<?=$projet['date'][$num];?>" type="text"/></td>
                <?php endforeach; ?>
        </tr>
        <?php endforeach; ?>
        <tr><td class="total_titre">Totaux</td>
        <?php foreach ($elements[$s] as $num => $jour) : ?>
                <td class="categorie_total"><?=$categorie_totaux[$categorie][$num];?></td>
        <?php endforeach; ?>
        </tr>
<?php endforeach; ?>
        <tr><td colspan="8" class="categorie">Absences</td></tr>
<?php foreach ($ab as $ab_id => $tab_ab_jours) : ?>
        <tr><td class="absence_titre"><?=$ab_libelle[$ab_id];?></td>
        <?php foreach ($tab_ab_jours as $num => $ab_duree) : ?>
                <td class="ab"><input id="ab:<?=$ab_id;?>:<?=$num;?>" name="ab:<?=$ab_id;?>:<?=$num;?>" value="<?=$ab_duree;?>" type="text"/></td>
        <?php endforeach; ?>
        </tr>
<?php endforeach; ?>
        <tr><td class="total_titre">Totaux</td>
        <?php foreach ($elements[$s] as $num => $jour) : ?>
                <td class="categorie_total"><?=$ab_total[$num];?></td>
        <?php endforeach; ?>
        </tr>
        <tr><td class="totaux_titre">Totaux journée</td>
<?php foreach ($elements[$s] as $num => $jour) : ?>
                <td class="totaux"><?=$totaux[$num];?></td>
<?php endforeach; ?>
        </tr>
        </tbody>
</table>
<input id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" />
</form>
</div>