Black Eagle Team Minishell
Path:
/
home
/
c
/
c
/
p
/
ccpsafy
/
www.old
/
private
/
programme
/
[
Home
]
File: programme_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 programme where id_p = $_GET[chgt]"; //execute la requete $rep=mysql_query($req,$con)or die($REQCAT.__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 Programme 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>PROGRAMME - 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 name="form2" id="form2" method="post" action="programme_modif_x.php" enctype="multipart/form-data"> <input type="hidden" name="LeID" value="<?php echo $row['id_p'] ?>" /> <p>Date :</p> <p> <select name="jour"> <?php echo '<option value="'.$row['jour_p'].'">'.$row['jour_p'].'</option>'; echo "<option value='Lundi'>Lundi</option>"; echo "<option value='Mardi'>Mardi</option>"; echo "<option value='Mercredi'>Mercredi</option>"; echo "<option value='Jeudi'>Jeudi</option>"; echo "<option value='Vendredi'>Vendredi</option>"; echo "<option value='Samedi'>Samedi</option>"; echo "<option value='Dimanche'>Dimanche</option>"; ?> </select> <select name="date" id="menu_dates"> <?php echo '<option value="'.$row['date_p'].'">'.$row['date_p'].'</option>'; echo "<option value='01'>01</option>"; echo "<option value='02'>02</option>"; echo "<option value='03'>03</option>"; echo "<option value='04'>04</option>"; echo "<option value='05'>05</option>"; echo "<option value='06'>06</option>"; echo "<option value='07'>07</option>"; echo "<option value='08'>08</option>"; echo "<option value='09'>09</option>"; echo "<option value='10'>10</option>"; echo "<option value='11'>11</option>"; echo "<option value='12'>12</option>"; echo "<option value='13'>13</option>"; echo "<option value='14'>14</option>"; echo "<option value='15'>15</option>"; echo "<option value='16'>16</option>"; echo "<option value='17'>17</option>"; echo "<option value='18'>18</option>"; echo "<option value='19'>19</option>"; echo "<option value='20'>20</option>"; echo "<option value='21'>21</option>"; echo "<option value='22'>22</option>"; echo "<option value='23'>23</option>"; echo "<option value='24'>24</option>"; echo "<option value='25'>25</option>"; echo "<option value='26'>26</option>"; echo "<option value='27'>27</option>"; echo "<option value='28'>28</option>"; echo "<option value='29'>29</option>"; echo "<option value='30'>30</option>"; echo "<option value='31'>31</option>"; ?> </select> <select name="mois"> <?php echo '<option value="'.$row['mois_p'].'">'.$row['mois_p'].'</option>'; echo "<option value='01Janvier'>Janvier</option>"; echo "<option value='02Février'>Février</option>"; echo "<option value='03Mars'>Mars</option>"; echo "<option value='04Avril'>Avril</option>"; echo "<option value='05Mai'>Mai</option>"; echo "<option value='06Juin'>Juin</option>"; echo "<option value='07Juillet'>Juillet</option>"; echo "<option value='08Août'>Août</option>"; echo "<option value='09Septembre'>Septembre</option>"; echo "<option value='10Octobre'>Octobre</option>"; echo "<option value='11Novembre'>Novembre</option>"; echo "<option value='12Décembre'>Décembre</option>"; ?> </select> <select name="an"> <?php echo '<option value="'.$row['an_p'].'">'.$row['an_p'].'</option>'; echo "<option value='2018'>2018</option>"; echo "<option value='2019'>2019</option>"; echo "<option value='2020'>2020</option>"; echo "<option value='2021'>2021</option>"; echo "<option value='2022'>2022</option>"; echo "<option value='2023'>2023</option>"; echo "<option value='2024'>2024</option>"; echo "<option value='2025'>2025</option>"; echo "<option value='2026'>2026</option>"; ?> </select></p> <p>Sujet :</p> <textarea name="sujet" ><?php echo $row['sujet_p']; ?></textarea> <p>Lien :</p> <input name="lien" type="text" value="<?php echo $row['lien_p']; ?>"/> <p>Règle du jeu :</p> <textarea name="regledujeu" ><?php echo $row['regledujeu_p']; ?></textarea> </div> <!--fin main_col--> <div id="right_col"> <p><input type="submit" name="Submit" value="Valider" /></p> <!--BOUTONS VALIDATION--> <p><center> <a href="programme.php" title="annuler" class="xlink"/>ANNULER</a></center></p> <!--FIN BOUTONS VALIDATION--> <!--/DATE DE MISE A JOUR DU SITE/--> <input type="hidden" name="date_prog" value="<?php echo $date; ?>" /> <input type="hidden" name="heure_prog" value="<?php echo $heure; ?>" /> <!----> </div> <!--fin right_col--> </div> <!--fin container--> </form> </div> <!--fin page--> </body> </html>
©
2020 Black Eagle Team