1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
<?php
if ($Nb2>0) {
echo "<img src='Application/Groupe.gif'>";
echo "<table width='100%'>";
if ($Res2=mysql_query($ReqSelec2)) {
echo "<tr width=100% style='font-weight:bold;'><td width=40%>Titre</td><td width=60%>Description</td></tr>";
while($ligne2=mysql_fetch_row($Res2)){
$titre=$ligne2[1];
$desc=$ligne2[2];
$idG=$ligne2[0];
echo "<tr><td><a href='#?p=".$idG."'>".$titre."</a></td><td>".$desc."</td></tr>\n";
}
}
}
?>
</table>
<br>
<?php
if (isset($_REQUEST["p"])){
$idG=$_REQUEST["P"];
$ReqSelec3="Select Titre_AS, Responsable_AS, Commentaire_AS from actions where id_GpAS=$idG";
$Nb3=mysql_num_rows(mysql_query($ReqSelec3));
if ($Nb3>0) {
echo "<img src='Application/Action.gif'>";
echo "<table width='100%'>";
if ($Res3=mysql_query($ReqSelec3)) {
echo "<tr width=100% style='font-weight:bold;'><td width=40%>Titre</td><td width=10%>Responsable</td><td width=50%>Commentaire</td></tr>";
while($ligne3=mysql_fetch_row($Res3)){
$titre=$ligne3[0];
$resp=$ligne3[1];
$desc=$ligne3[2];
echo "<tr><td>".$titre."</a></td><td>".$resp."</td><td>".$desc."</td></tr>\n";
}
}
}
}
?>
</table> |
Partager