Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www.old
/
private
/
pa
/
[
Home
]
File: pa_modif.php.old
<?php include("../../inc/enligne_param.inc.php"); include("../../inc/gere_session.inc.php"); include("../../inc/salutations.inc.php"); $req="SELECT * FROM petites_annonces WHERE id_pa = $_GET[divers]"; //execute la requete $rep=mysql_query($req,$con)or die($req.__line__); $row=mysql_fetch_array($rep); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CCPSA Club Photo d'Antony</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> <!-- @import url("../../css/form.css"); --> </style> </head> <body> <div id="page" class="clearfix"> <h2>PETITES ANNONCES - MODIFICATION</h2> <h5>Interface Administrateur. Session ouverte pour : <?php echo ucfirst($LePrenom).' '.strtoupper($LeNom); ?></h5> <div id="left_col"> </div> <div id="container"> <div id="main_col"> <form id="form" name="form" method="post" action="pa_modif_x.php" enctype="multipart/form-data"> <!--AFFICHE LA PHOTO--> <p>Annonce InitiƩe par :</p> <input name="membre" readonly type="textdisabled" value="<?php echo $row['membre_pa'];?>" /> <p>Mail :</p> <input name="mail" type="text" value="<?php echo $row['lien_pa'];?>"/> <p><center><img src='../../pict/accroche/<?php echo $row['visuel_pa']; ?>'/></center></p> <p><?php /*?><?php echo $row['visuel_pa']; ?> <?php */?>Nouvelle Photo :</p> <input type="file" name="visuel" id="fileField" size="56" value="<?php echo $row['visuel_pa']; ?>"/> <p>Produit :</p> <input name="produit" type="text" value="<?php echo $row['def_pa'];?>"/> <p>Commentaires :</p> <textarea name="commentaires" type="text"><?php echo $row['comment_pa'];?></textarea> <p>Prix :</p> <input name="prix" type="text" value="<?php echo $row['prix_pa'];?>" /> <!-- POUR SAVOIR QUEL LIGNE EST A MODIFIER --> <input type="hidden" name="LeIDA" value="<?php echo $row['id_pa'] ?>" /> </div> <!--fin main_col--> <div id="right_col"> <p><input type="submit" name="Submit" value="Valider" /></p> <p> <center> <a href="pa.php" class="xlink" title="annuler"/>ANNULER</a> </center> </p> <!--FIN BOUTONS VALIDATION--> </div> <!--fin right_col--> </div> <!--fin container--> <!--BOUTONS VALIDATION--> </div> </form> <!--fin page--> </body> </html>
©
2020 Black Eagle Team