0byt3m1n1-V2
Path:
/
home
/
nlpacade
/
www
/
adminnlp
/
php
/
event
/
[
Home
]
File: add.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Internet Dreams</title> <link rel="stylesheet" href="css/screen.css" type="text/css" media="screen" title="default" /> <!--[if IE]> <link rel="stylesheet" media="all" type="text/css" href="css/pro_dropline_ie.css" /> <![endif]--> <!-- jquery core --> <script src="js/jquery/jquery-1.4.1.min.js" type="text/javascript"></script> <!-- Custom jquery scripts --> <script src="js/jquery/custom_jquery.js" type="text/javascript"></script> <!-- Tooltips --> <script src="js/jquery/jquery.tooltip.js" type="text/javascript"></script> <script src="js/jquery/jquery.dimensions.js" type="text/javascript"></script> <script type="text/javascript"> $(function() { $('a.info-tooltip ').tooltip({ track: true, delay: 0, fixPNG: true, showURL: false, showBody: " - ", top: -35, left: 5 }); }); </script> <!-- date picker script --> <link rel="stylesheet" href="css/datePicker.css" type="text/css" /> <script src="js/jquery/date.js" type="text/javascript"></script> <script src="js/jquery/jquery.datePicker.js" type="text/javascript"></script> <script type="text/javascript" charset="utf-8"> $(function() { // initialise the "Select date" link $('#date-pick') .datePicker( // associate the link with a date picker { createButton:false, startDate:'01/01/2005', endDate:'31/12/2020' } ).bind( // when the link is clicked display the date picker 'click', function() { updateSelects($(this).dpGetSelected()[0]); $(this).dpDisplay(); return false; } ).bind( // when a date is selected update the SELECTs 'dateSelected', function(e, selectedDate, $td, state) { updateSelects(selectedDate); } ).bind( 'dpClosed', function(e, selected) { updateSelects(selected[0]); } ); var updateSelects = function (selectedDate) { var selectedDate = new Date(selectedDate); $('#d option[value=' + selectedDate.getDate() + ']').attr('selected', 'selected'); $('#m option[value=' + (selectedDate.getMonth()+1) + ']').attr('selected', 'selected'); $('#y option[value=' + (selectedDate.getFullYear()) + ']').attr('selected', 'selected'); } // listen for when the selects are changed and update the picker $('#d, #m, #y') .bind( 'change', function() { var d = new Date( $('#y').val(), $('#m').val()-1, $('#d').val() ); $('#date-pick').dpSetSelected(d.asString()); } ); // default the position of the selects to today var today = new Date(); updateSelects(today.getTime()); // and update the datePicker to reflect it... $('#d').trigger('change'); //DatePicker du end events $('#date-pick2') .datePicker( // associate the link with a date picker { createButton:false, startDate:'01/01/2005', endDate:'31/12/2020' } ).bind( // when the link is clicked display the date picker 'click', function() { updateSelects2($(this).dpGetSelected()[0]); $(this).dpDisplay(); return false; } ).bind( // when a date is selected update the SELECTs 'dateSelected', function(e, selectedDate, $td, state) { updateSelects2(selectedDate); } ).bind( 'dpClosed', function(e, selected) { updateSelects2(selected[0]); } ); var updateSelects2 = function (selectedDate) { var selectedDate = new Date(selectedDate); $('#dd option[value=' + selectedDate.getDate() + ']').attr('selected', 'selected'); $('#mm option[value=' + (selectedDate.getMonth()+1) + ']').attr('selected', 'selected'); $('#yy option[value=' + (selectedDate.getFullYear()) + ']').attr('selected', 'selected'); } // listen for when the selects are changed and update the picker $('#dd, #mm, #yy') .bind( 'change', function() { var d = new Date( $('#yy').val(), $('#mm').val()-1, $('#dd').val() ); $('#date-pick2').dpSetSelected(d.asString()); } ); // default the position of the selects to today var today2 = new Date(); updateSelects2(today2.getTime()); // and update the datePicker to reflect it... $('#dd').trigger('change'); }); </script> <div id="content-table-inner"> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td> <!-- start step-holder --> <div id="step-holder"> <div class="step-no">1</div> <div class="step-dark-left"><a href="">Ajouter produit</a></div> <!--<div class="step-dark-right"> </div> <div class="step-no-off">2</div> <div class="step-light-left">Select related products</div> <div class="step-light-right"> </div> <div class="step-no-off">3</div> <div class="step-light-left">Preview</div> <div class="step-light-round"> </div> <div class="clear"></div>--> </div> <!-- end step-holder --> <!-- start id-form --> <table border="0" cellpadding="0" cellspacing="0" id="id-form"> <tr> <th valign="top">Nom _Event:</th> <td><input type="text" class="inp-form" /></td> <td></td> </tr> <tr> <td></td> </tr> <tr> <td></td> </tr> <tr> <th valign="top">Date début:</th> <td class="noheight"> <form id="chooseDateForm" action="php/event/add2.php" method="post"> <table border="0" cellpadding="0" cellspacing="0"> <tr valign="top"> <td> <select id="d" class="styledselect-day" name="start_day"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> </td> <td> <select id="m" class="styledselect-month" name="start_month"> <option value="1">Jan</option> <option value="2">Feb</option> <option value="3">Mar</option> <option value="4">Apr</option> <option value="5">May</option> <option value="6">Jun</option> <option value="7">Jul</option> <option value="8">Aug</option> <option value="9">Sep</option> <option value="10">Oct</option> <option value="11">Nov</option> <option value="12">Dec</option> </select> </td> <td> <select id="y" class="styledselect-year" name="start_year"> <option value="2005">2005</option> <option value="2006">2006</option> <option value="2007">2007</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> <option value="2011">2011</option> <option value="2012">2012</option> <option value="2013">2013</option> <option value="2014">2014</option> <option value="2015">2015</option> <option value="2016">2016</option> <option value="2017">2017</option> </select> </td> <td><a href="" id="date-pick"><img src="images/forms/icon_calendar.jpg" alt="" /></a></td> </tr> </table> </td> <td></td> </tr> <tr> <th valign="top">Date Fin:</th> <td class="noheight"> <table border="0" cellpadding="0" cellspacing="0"> <tr valign="top"> <td> <select id="dd" class="styledselect-day" name="end_day"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> </td> <td> <select id="mm" class="styledselect-month" name="end_month"> <option value="1">Jan</option> <option value="2">Feb</option> <option value="3">Mar</option> <option value="4">Apr</option> <option value="5">May</option> <option value="6">Jun</option> <option value="7">Jul</option> <option value="8">Aug</option> <option value="9">Sep</option> <option value="10">Oct</option> <option value="11">Nov</option> <option value="12">Dec</option> </select> </td> <td> <select id="yy" class="styledselect-year" name="end_year"> <option value="2005">2005</option> <option value="2006">2006</option> <option value="2007">2007</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> <option value="2011">2011</option> <option value="2012">2012</option> <option value="2013">2013</option> <option value="2014">2014</option> <option value="2015">2015</option> <option value="2016">2016</option> <option value="2017">2017</option> </select> </td> <td><a href="" id="date-pick2"><img src="images/forms/icon_calendar.jpg" alt="" /></a></td> </tr> </table> </td> <td></td> </tr> <tr> <th valign="top">Description:</th> <td><textarea rows="" cols="" class="form-textarea" name="description"></textarea></td> <td></td> </tr> <tr> <th> </th> <td valign="top"> <input type="submit" value="" class="form-submit" /> <input type="reset" value="" class="form-reset" /> </td> <td></td> </tr> </table> </form> <!-- end id-form --> </td> <td> <!-- end related-act-bottom --> <!-- end related-activities --> </td> </tr> <tr> <td><img src="images/shared/blank.gif" width="695" height="1" alt="blank" /></td> <td></td> </tr> </table> <div class="clear"></div> </div> <!-- end content-table-inner --
©
2018.