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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
| <body>
<?php
if(isset($_POST['afficher'])){
$pseudo = $_POST['app'];
$_SESSION['pseudo'] = $_POST['app'];
}
$pseudo=$_GET['pseudo'];
$session=$_SESSION['session'];
mysql_connect("localhost","root","");
mysql_select_db("bdd");
$T=mysql_query("SELECT nom,prenom FROM apprenant WHERE pseudo= '$pseudo' ") or die(mysql_error());
$donnee = mysql_fetch_array($T);
$nom=$donnee['nom'];
$prenom=$donnee['prenom'];
$vide = $_POST['vide'];
$duree = $_POST['duree'];
$heure = $_POST['heure'];
$recur = $_POST['recursivite'];
$liste = $_POST['listes'];
$arbres = $_POST['arbres'];
$pointeur= $_POST['pointeurs'];
$pilefile = $_POST['pilesfiles'];
?>
<table width="100%" height="1041" border="0" cellpadding="3" cellspacing="0">
<tr>
<td height="91" bgcolor="#FFFFFF"> </td>
<td height="91" bgcolor="#98BEDE"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','918','height','134','src','images/bleu flash','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/bleu flash' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="918" height="134">
<param name="movie" value="images/bleu flash.swf">
<param name="quality" value="high">
<embed src="images/bleu flash.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="918" height="134"></embed>
</object></noscript></td>
<td height="91" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF"><div align="center"></td>
<td height="22" bgcolor="#FFFFFF"> </td>
<td height="22" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td width="167" rowspan="3" align="left" valign="top" bgcolor="#FFFFFF"><?php include('gauche.html');?></td>
<td width="919" height="799" align="left" valign="top" bgcolor="#E8F0F4"><blockquote><h1 align="center"> <span class="Style26"> <img src="images/trace.jpeg" width="50" height="50"> Les traces de l'apprenant </span></h1>
<hr align="center" noshade class="bare">
<p align="center"><span class="Style27">Les traces de l'apprenant :</span> <?php echo $nom;?> <?php echo $prenom;?></p>
<div align="center">
<?php
if ($vide) { echo "veuillez choisir ";
}elseif ($duree) {
?>
<table width="99%" border="1" cellpadding="1" bordercolor="#98BEDE" >
<tr class="Style2">
<td width="9%"><div align="center" class="Style34">Id trace</div></td>
<td width="12%"><div align="center" class="Style34"><strong>Nom du cours</strong></div></td>
<td width="10%"><div align="center" class="Style34"><strong>La durée</strong></div></td>
<?php
mysql_connect("localhost","root","");
mysql_select_db("bdd");
$res=mysql_query("SELECT id,session,nomcour,datelecture,lienvisite,heurvisite,dureevisite FROM trace WHERE pseudo= '$pseudo' ")
or die(mysql_error());
while($rep=mysql_fetch_array($res))
{
?>
</tr>
<tr class="Style2">
<td width="9%"><?php echo $rep['id']; ?></td>
<td width="12%"><?php echo $rep['nomcour'];?></td>
<td width="10%"><?php echo $rep['dureevisite']; ?></td>
<?php
}
}elseif ($heure) {?>
<table width="99%" border="1" cellpadding="1" bordercolor="#98BEDE" >
<tr class="Style2">
<td width="9%"><div align="center" class="Style34">Id trace</div></td>
<td width="12%"><div align="center" class="Style34"><strong>Nom du cours</strong></div></td>
<td width="10%"><div align="center" class="Style34"><strong>Heure visite</strong></div></td>
<?php
mysql_connect("localhost","root","");
mysql_select_db("bdd");
$res=mysql_query("SELECT id,session,nomcour,datelecture,lienvisite,heurvisite,dureevisite FROM trace WHERE pseudo= '$pseudo' ")
or die(mysql_error());
while($rep=mysql_fetch_array($res))
{
?>
</tr>
<tr class="Style2">
<td width="9%"><?php echo $rep['id']; ?></td>
<td width="12%"><?php echo $rep['nomcour'];?></td>
<td width="10%"><?php echo $rep['heurvisite']; ?></td>
<?php
}
}else { }
?>
</tr>
</table>
</div>
<p align="center" class="element"><a href="interpretationtrace.php" class="Style33">Interprétation tra<span class="Style33">ce </span></a><span class="Style33">
</p>
<hr align="center" noshade class="bare">
</blockquote></td>
<td width="196" rowspan="3" align="left" valign="top" bgcolor="#FFFFFF"><?php include('droit.html');?></td>
</tr>
<tr>
<td height="25" align="left" valign="top"> </td>
</tr>
<tr>
<td height="25" align="left" valign="top" bgcolor="#FE8432"> </td>
</tr>
</table>
</body> |
Partager