Black Eagle Team Minishell
Path:
/
home
/
c
/
c
/
p
/
ccpsafy
/
www.old
/
private
/
vie_club
/
[
Home
]
File: vie_club_modif.php.old
<?php include("../../inc/enligne_param.inc.php"); include("../../inc/gere_session.inc.php"); include("../../inc/salutations.inc.php"); $date=(date('j-m-Y')); $heure=(date('G.i')); $req="SELECT * FROM vie_club WHERE id = $_GET[chgt]"; //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>VIE DU CLUB - 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="vie_club_modif_x.php" enctype="multipart/form-data"> <!--AFFICHE LA PHOTO--> <p><img src='../../pict/accroche/<?php echo $row['visuel']; ?>'/></p> <hr /> <p>Ancien fichier : <?php echo $row['visuel']; ?> / Nouvelle Photo :</p> <input type="file" name="visuel" id="file" size="56" value="<?php echo $row['visuel']; ?>"/> <p>Titre :</p> <input name="titre" type="text" value="<?php echo $row['titre'];?>"/> <p>Texte :</p> <textarea name="texte"><?php echo $row['texte'];?></textarea> <p>Lien :</p> <input name="lien" type="text" value="<?php echo $row['lien'];?>"/> <!-- POUR SAVOIR QUEL LIGNE EST A MODIFIER --> <input type="hidden" name="LeID" value="<?php echo $row['id'] ?>" /> <!--/DATE DE MISE A JOUR DU SITE/--> <input type="hidden" name="date" value="<?php echo $date;?>" /> <input type="hidden" name="heure" value="<?php echo $heure;?>" /> </div> <!--fin main_col--> <div id="right_col"> <p> <input type="submit" name="Submit" value="Valider" /> </p> <p> <center> <a href="vie_club.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