LES PARTIES CONCERNEES SONT EN ROUGE
<?php
session_start();
?>
<html>
<head>
<script>
</script>
</head>
<body bgcolor="white" text="black" link="#000033" vlink="#000000" alink="#00FFFF">
<form enctype="multipart/form-data" method="post" action="upload2.php">
<center>
<p align="left"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="3">
<img src="../img/doc.gif" width="71" height="52" align="absmiddle">
Documentation</font></b></p>
<table border="0" cellspacing="0" align="center" >
<tr bgcolor="#CCF4FD">
<td width="116" height="41" bgcolor="#D0CCD0">
<div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Fichier</font></div>
<td width="343" height="41" bgcolor="#D0CCD0">
<input type="file" size="50" name="fichier">
</tr>
<tr bgcolor="#E1FFE1">
<td width="116" height="23" bgcolor="#D0CCD0">
<div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Type
de fichier</font> </div>
<td width="343" height="23" bgcolor="#D0CCD0">
<select name="type">
<option value="autres">Autres...</option>
<option value="word">Word</option>
<option value="powerpoint">Powerpoint</option>
<option value="excel">Excel</option>
<option value="Publisher">Publisher</option>
<option value="acrobat Reader">Acrobat reader</option>
<option value="fichier zip">Fichier ZIP</option>
<option value="fichier image">Fichier image</option>
<option value="fichier texte">Fichier texte</option>
</select>
</tr>
<?php
if ($visible=="false" )
{
print("<input type='hidden' name='docae' value='$idae'>" );
print("<input type='hidden' name='docpar' value='$idpar'>" );
print("<input type='hidden' name='doceve' value='$x'>" );
}
else
{
include('../liendb.php';
$cherchedoc="select * from planae";
$retour_reketae=mysql_query($cherchedoc , $appel);
$nombre_actionae=mysql_numrows($retour_reketae);
if($qui=='ae'
{
print("<TR><td bgcolor=\"#D0BFD0\" align=\"right\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\">Doc lié à<br>une action AE:</font></td><td bgcolor=\"#D0BFD0\"><select name=\"docae\"><option value='0'>Aucune</option>" );
for ($numactionae=0 ; $numactionae<$nombre_actionae ; $numactionae++)
{
$nom_actionae=mysql_result($retour_reketae , $numactionae , 'nom';
$id_actionae=mysql_result($retour_reketae , $numactionae , 'id';
print("<option value='$id_actionae'>$nom_actionae</option>" );
}
print("</select></td></tr>" );
}
$cherchedoc="select * from plandvi";
$retour_reketae=mysql_query($cherchedoc , $appel);
$nombre_actionae=mysql_numrows($retour_reketae);
if($qui=='par'
{
print("<TR><td bgcolor=\"#D0BFD0\" align=\"right\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\">Doc lié à une<br>action partenaire:</font></td><td bgcolor=\"#D0BFD0\"><select name=\"docpar\"><option value='0'>Aucune</option>" );
for ($numactionae=0 ; $numactionae<$nombre_actionae ; $numactionae++)
{
$nom_actionae=mysql_result($retour_reketae , $numactionae , 'nom';
$id_actionae=mysql_result($retour_reketae , $numactionae , 'id';
print("<option value='$id_actionae'>$nom_actionae</option>" );
}
print("</select></td></tr>" );
}
$cherchedoc="select * from evenement";
$retour_reketae=mysql_query($cherchedoc , $appel);
$nombre_actionae=mysql_numrows($retour_reketae);
if($qui=='eve'
{
print("<TR><td bgcolor=\"#D0BFD0\" align=\"right\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\">Doc lié à un<br>évenements:</font></td><td bgcolor=\"#D0BFD0\"><select name=\"doceve\"><option value='0'>Aucune</option>" );
for ($numactionae=0 ; $numactionae<$nombre_actionae ; $numactionae++)
{
$nom_actionae=mysql_result($retour_reketae , $numactionae , 'manifestation';
$id_actionae=mysql_result($retour_reketae , $numactionae , 'id_eve';
print("<option value='$id_actionae'>$nom_actionae</option>" );
}
print("</select></td></tr>" );
}
}
?>
<tr bgcolor="#CCF4FD">
<td height="122" bgcolor="#D0CCD0" width="116">
<div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><br>
Descriptif du contenu <br>
du fichier:<br>
<br>
</font> </div>
<td height="122" bgcolor="#D0CCD0" width="343"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<textarea name="contenu" cols="50" rows="5"></textarea>
</font>
</tr>
<tr bgcolor="#CCF4FD">
<td bgcolor="#D0CCD0" colspan="2">
<center>
<input type="reset" value="Effacer" name="reset">
<input type="submit" value="Envoyer" name="submit" >[g]
</center>
</tr>
</table>
</center>
</form>
<?php include ("../retour.inc" ); ?>
</body>
</html>
---------------
http://www.zeec.de/media-details.jsp?mediaId=49063