Subversion Repositories Applications.gtt

Rev

Rev 142 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 142 Rev 167
Line 39... Line 39...
39
		<?php foreach ($elements as $jour) : ?>
39
		<?php foreach ($elements as $jour) : ?>
40
		<td><?=(!empty($jour['travail'])) ? $jour['travail'] : "&nbsp;";?></td>
40
		<td><?=(!empty($jour['travail'])) ? $jour['travail'] : "&nbsp;";?></td>
41
		<?php endforeach; ?>
41
		<?php endforeach; ?>
42
		<td class="total"><?=$total_w;?></td>
42
		<td class="total"><?=$total_w;?></td>
43
	</tr>
43
	</tr>
44
	<?foreach ($projets as $categorie => $pr):?>
44
	<?php foreach ($projets as $categorie => $pr):?>
45
		<tr class="categories <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>">
45
		<tr class="categories <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>">
46
			<th class="entete categories_titre"><?=$categorie;?> [<?=$categories[$categorie]['abreviation'];?>]</th>
46
			<th class="entete categories_titre"><?=$categorie;?> [<?=$categories[$categorie]['abreviation'];?>]</th>
47
			<?php foreach ($elements as $jour_id => $jour) : ?>
47
			<?php foreach ($elements as $jour_id => $jour) : ?>
48
			<td class="categories_total"><?=(isset($categories[$categorie][$jour_id])) ? $categories[$categorie][$jour_id] : "&nbsp;";?></td>
48
			<td class="categories_total"><?=(isset($categories[$categorie][$jour_id])) ? $categories[$categorie][$jour_id] : "&nbsp;";?></td>
49
			<?php endforeach; ?>
49
			<?php endforeach; ?>
50
			<td class="total"><?=$categories[$categorie]['total'];?></td>
50
			<td class="total"><?=$categories[$categorie]['total'];?></td>
51
		</tr>
51
		</tr>
52
		<?foreach ($pr as $id => $projet):?>
52
		<?php foreach ($pr as $id => $projet):?>
53
		<tr class="projets <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>">
53
		<tr class="projets <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>">
54
			<th id="pr:<?=$id;?>" class="entete projet_nom" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></th>
54
			<th id="pr:<?=$id;?>" class="entete projet_nom" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></th>
55
			<?php foreach ($elements as $jour_id => $jour) : ?>
55
			<?php foreach ($elements as $jour_id => $jour) : ?>
56
			<td class="projet"><?=(isset($projet['duree'][$jour_id])) ? $projet['duree'][$jour_id] : "&nbsp;";?></td>
56
			<td class="projet"><?=(isset($projet['duree'][$jour_id])) ? $projet['duree'][$jour_id] : "&nbsp;";?></td>
57
			<?php endforeach; ?>
57
			<?php endforeach; ?>