Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www
/
private
/
news
/
[
Home
]
File: news_modif.php
<?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 news 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 News modification</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>NEWS - MODIFICATION</h2> <h5>Interface Administrateur. Session ouverte pour : <?php echo ucfirst($LePrenom).' '.strtoupper($LeNom); ?></h5> <div id="left_col"> </div> <!--fin left_col--> <form name="form" id="form" method="post" action="news_modif_x.php" enctype="multipart/form-data"> <input type="hidden" name="LeID" value="<?php echo $row['id'] ?>" /> <div id="container"> <div id="main_col"> <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'];?>"/> <!--/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> <!--BOUTONS VALIDATION--> <p><center><a href="news.php" class="xlink" title="annuler" />ANNULER</a></center></p> <!--FIN BOUTONS VALIDATION--> </div> </div> <!--fin container--> </form> </div> <!--fin page--> </body> </html>
©
2020 Black Eagle Team