Subversion Repositories Applications.gtt

Rev

Rev 10 | Rev 18 | 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; ?>
<?php endforeach; ?>
        </tbody>
</table>
<input id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" />
</form>
</div>