".$extarray[$i]."
"; break; } } if ($bBreak==false) {return -1;} return $FilterExtension; } /////////////////////////// // GET ACTUAL SCRIPT NAME ////////////////////////// function thisscript() { extract($GLOBALS); // function to show the actual script name $MaxLevel=split("/",$_SERVER["SCRIPT_NAME"]); $phpscript=$MaxLevel[count($MaxLevel)-1]; return $phpscript; } ///////////////////////////////////////////// // Prepare posted date To INSERT,UPDATE PHP ///////////////////////////////////////////// function verifposted($myinput) { extract($GLOBALS); $datatoreturn = "" ; if (isset($_POST[$myinput])) $datatoreturn=$_POST[$myinput]; if ( $magicq != 1 ) {$datatoreturn=addslashes($datatoreturn) ; } //$datatoreturn=str_replace('\\','\\\\',$datatoreturn); // Backslash first //$datatoreturn=str_replace("'","\'",$datatoreturn); // Single quote //$datatoreturn=str_replace('"','\"',$datatoreturn); // Double quote return $datatoreturn; } ///////////////////////////////////////////// // Prepare posted Table To INSERT,UPDATE PHP ///////////////////////////////////////////// function postedTable($myinput) { extract($GLOBALS); $Table = array(); if(isset($_POST[$myinput])){ foreach ($_POST[$myinput] as $conges => $valeur) { //array_push ($vacance, $valeur); $Table [] = $valeur; } } //print_r($Table); return $Table; } //////////////////////////////////////////////////// // Prepare posted date To INSERT,UPDATE PHP FRO DATE // ( TO CHANGE ) /////////////////////////////////////////////////// function verifposteddate($myinput) { extract($GLOBALS); $datatoreturn =""; if (isset($_POST[$myinput])) $datatoreturn=$_POST[$myinput]; $datatoreturn=str_replace('\\','\\\\',$datatoreturn); // Backslash first $datatoreturn=str_replace("'","\'",$datatoreturn); // Single quote $datatoreturn=str_replace('"','\"',$datatoreturn); // Double quote $MaxLevel=split("/",$datatoreturn); if ( count($MaxLevel)==3 ) { $datatoreturn=$MaxLevel[2]."-".$MaxLevel[1]."-".$MaxLevel[0]; } else { $datatoreturn = date("Y-m-d G:i:s"); } return $datatoreturn; } //////////////////////////////////////////////////// // Prepare posted date To INSERT,UPDATE PHP FRO DATE // ( TO CHANGE ) /////////////////////////////////////////////////// function verifposteddate1($myinput) { extract($GLOBALS); $datatoreturn =""; if (isset($_POST[$myinput])) $datatoreturn=$_POST[$myinput]; $datatoreturn=str_replace('\\','\\\\',$datatoreturn); // Backslash first $datatoreturn=str_replace("'","\'",$datatoreturn); // Single quote $datatoreturn=str_replace('"','\"',$datatoreturn); // Double quote $MaxLevel=split("/",$datatoreturn); if ( count($MaxLevel)==3 ) { $datatoreturn=$MaxLevel[2]."-".$MaxLevel[1]."-".$MaxLevel[0]; } else { $datatoreturn = date("Y-m-d"); } return $datatoreturn; } /////////////////////////////////////////////////////////// // Prepare posted date To INSERT,UPDATE PHP for Bool value ////////////////////////////////////////////////////////// function verifpostedbool($myinput) // ( TO CHANGE ) { if (isset($_POST[$myinput])) $datatoreturn=$_POST[$myinput]; if ( strtolower($datatoreturn) == 'true' ) $datatoreturn =-1; else $datatoreturn =0; return $datatoreturn; } ////////////////////////////////////////////////////////////////// // Function to make a dropdown values from a seperated comma list ////////////////////////////////////////////////////////////////// function Dropdown($prmvalue,$prmFieldName,$prmdefaulvalues,$prmdefaultexts,$prmWidth,$DefaultText,$prmOnChange,$prmDisable,$prmbgcolor) { extract($GLOBALS); $myarray=explode(";",$prmdefaulvalues); $myarraytext=explode(";",$prmdefaultexts); $selectstr=""; // disable make a new hidden input - ( disable inputs are not posted .!? ) if ($prmDisable) { print ""; } } ///////////////////////////////////////////// // BoolView true = oui false = non ///////////////////////////////////////////// function boolview($bool) { switch ($bool) { case true : return "Oui"; break; case false : return "Non"; break; } } ///////////////////////////////////////////// // view profil ///////////////////////////////////////////// function viewprofil($profil) { switch ($profil) { case "AD": $profil="Administrateur"; break; case "AU": $profil="Auteur"; break; case "VL": $profil="Validateur"; break; case "GU": $profil="Invité"; break; } return $profil; } ///////////////////////////////////////////// // ADMIN ERROR MESSAGE ///////////////////////////////////////////// function AdminMessage($strErrMessage,$prmmode) { extract($GLOBALS); ?>

Calendrier  Calendrier  "; $rstemp=mysql_query($instrSql); print $selectstr; if ( $DefaultText != "") { print "";} else { print "";} while($temprow = mysql_fetch_assoc($rstemp)) { if ($temprow[$PrmKey]==$prmSecondKeyValue) {print "";} else {print "";} } print ""; mysql_free_result($rstemp); // disable make a new hidden input - ( disable inputs are not posted .!? ) if ($prmDisable) {print "";} } ?> Academic Success
RECHERCHE  
 
 
Accueil > Demandez une documentation
Demandez une documentation
 
Vous
* 
* 
* 
* 
* 
*
 
* 
(Merci de saisir le code postal de votre commune d'habitation sans cedex ou code spécifique)
* 
 
L'élève 1
* 
* 
* 
* 
Heures Lun Mar Mer Jeu Ven Sam Dim
08h-09h
09h-10h
10h-11h
11h-12h
12h-131h
13h-14h
14h-16h
16h-17h
17h-18h
18h-19h
19h-20h
Cochez tous




Facebook

Copyright ©2008 ACADEMIC SUCCESS