Black Eagle Team Minishell
Path:
/
home
/
c
/
c
/
p
/
ccpsafy
/
www.old
/
private
/
news
/
[
Home
]
File: news_supp.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 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 suppression</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 - SUPPRESSION</h2> <h5>Interface Administrateur. Session ouverte pour : <?php echo ucfirst($LePrenom).' '.strtoupper($LeNom); ?></h5> <div id="left_col"> </div> <!--fin left_col--> <div id="container"> <h4>Attention, cette suppression est définitive !</h4> <div id="main_col"> <form name="form2" id="form2" method="post" action="news_supp_x.php" enctype="multipart/form-data"> <input type="hidden" name="LeID" value="<?php echo $row['id'] ?>" /> <?php echo '<p>'.$row['titre'].'</p> <p>'.$row['texte'].'</p> <p>'.$row['lien'].'</p>'; ?> <!--/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="Supprimer" /></p> <!--BOUTONS VALIDATION--> <p><center><a href="news.php" class="xlink" title="annuler" />ANNULER</a></center></p> <!--FIN BOUTONS VALIDATION--> </div> <!--fin right_col--> </div> <!--fin container--> <hr /> </form> </div> <!--fin page--> </body> </html>
©
2020 Black Eagle Team