Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www.old
/
private
/
occup_salle
/
[
Home
]
File: occup_salle_modif.php
<?php include("../../inc/enligne_param.inc.php"); include("../../inc/gere_session.inc.php"); include("../../inc/salutations.inc.php"); $req="select * from occup_salle where id_salle = $_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 occupation club</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>OCCUPATION CLUB - MODIFICATION</h2> <h5>Interface Administrateur. Session ouverte pour : <?php echo ucfirst($LePrenom).' '.strtoupper($LeNom); ?>.</h5> <hr /> <div id="left_col"> </div> <div id="container"> <div id="main_col"> <form id="form" name="form" method="post" action="occup_salle_modif_x.php" enctype="multipart/form-data"> <input type="hidden" name="idsalle" value="<?php echo $row['id_salle'] ?>" /> <p>Occupant :</p> <p> <select name="occupant_salle"> <?php echo '<option value="'.$row['occupant_salle'].'">'.$row['occupant_salle'].'</option>'; echo "<option value='Mathilde'>Mathilde</option>"; echo "<option value='Mickaël'>Mickaël</option>"; echo "<option value='Wilfried'>Wilfried</option>"; echo "<option value='Sebastien'>Sebastien</option>"; echo "<option value='Michel'>Michel</option>"; echo "<option value='Daniel K'>Daniel K</option>"; echo "<option value='Pierre'>Pierre</option>"; echo "<option value='Daniel C'>Daniel C</option>"; echo "<option value='Martine'>Martine</option>"; ?> </select></p> <p>Date :</p> <p> <select name="jour_salle"> <?php echo '<option value="'.$row['jour_salle'].'">'.$row['jour_salle'].'</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_salle"> <?php echo '<option value="'.$row['date_salle'].'">'.$row['date_salle'].'</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_salle"> <?php echo '<option value="'.$row['mois_salle'].'">'.$row['mois_salle'].'</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_salle"> <?php echo '<option value="'.$row['an_salle'].'">'.$row['an_salle'].'</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>Heure début / Heure fin :</p> <p> <select name="heuredebut_salle"> <?php echo '<option value="'.$row['heuredebut_salle'].'">'.$row['heuredebut_salle'].'</option>'; echo "<option value='09'>9 heures</option>"; echo "<option value='10'>10 heures</option>"; echo "<option value='11'>11 heures</option>"; echo "<option value='12'>12 heures</option>"; echo "<option value='13'>13 heures</option>"; echo "<option value='14'>14 heures</option>"; echo "<option value='15'>15 heures</option>"; echo "<option value='16'>16 heures</option>"; echo "<option value='17'>17 heures</option>"; echo "<option value='18'>18 heures</option>"; echo "<option value='19'>19 heures</option>"; echo "<option value='20'>20 heures</option>"; echo "<option value='21'>21 heures</option>"; ?> </select> <select name="heurefin_salle"> <?php echo '<option value="'.$row['heurefin_salle'].'">'.$row['heurefin_salle'].'</option>'; echo "<option value='09'>9 heures</option>"; echo "<option value='10'>10 heures</option>"; echo "<option value='11'>11 heures</option>"; echo "<option value='12'>12 heures</option>"; echo "<option value='13'>13 heures</option>"; echo "<option value='14'>14 heures</option>"; echo "<option value='15'>15 heures</option>"; echo "<option value='16'>16 heures</option>"; echo "<option value='17'>17 heures</option>"; echo "<option value='18'>18 heures</option>"; echo "<option value='19'>19 heures</option>"; echo "<option value='20'>20 heures</option>"; echo "<option value='21'>21 heures</option>"; ?> </select></p> <p>Sujet :</p> <textarea name="objet_salle" ><?php echo $row['objet_salle']; ?></textarea> </div> <!--fin main_col--> <div id="right_col"> <p> <center> <a href="occup_salle.php" class="xlink" title="annuler"/>ANNULER</a> </center> </p> <!--FIN BOUTONS VALIDATION--> </div> <!--fin right_col--> </div> <hr /> <!--BOUTONS VALIDATION--> <p> <input type="submit" name="Submit" value="Valider" /> </p> <!--fin container--> </form> </div> <!--fin page--> </body> </html>
©
2020 Black Eagle Team