1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head profile="http://www.w3.org/2005/11/profile">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<title>IBGC - Institut de Biochimie et Genetique Cellulaires </title>
<style type="text/css" media="all">@import "ibgc.css";</style>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="X-UA-Compatible" content="IE=5" />
<meta name="robots" content="index, follow" />
<script src="ibgc.js" type="text/javascript"></script>
<style type="text/css">
table { display: table; }
tr.annu { display: table-row; }
</style>
<script type="text/javascript">
function showtable(id)
{
document.getElementById(id).style.display = "table";
}
function showrow(id)
{
document.getElementById(id).style.display = "table-row";
}
</script>
<script type="text/javascript" src="http://script.aculo.us/prototype.js"></script>
<script type="text/javascript" src="http://script.aculo.us/scriptaculous.js"></script>
<script type="text/javascript">
function montrerCacher(id_element)
{
if($(id_element).style.display == 'none')
{
Effect.BlindDown(id_element);
return false;
}
else
{
Effect.BlindUp(id_element);
return false;
}
}
</script>
</head>
<body>
<form method="post" action="formAuthen.php"><!--Ce formulaire permet à l'user de se connecter pour pouvoir ajouter une nouvelle entrée -->
<p>Pour modifier la liste des intervenants, veuillez entrer votre identifiant et votre mot de passe<br>
<label for="ident">Identifiant </label><input type="text" name="ident" id="ident" autofocus/><br>
<label for="password">Mot de passe </label><input type="password" name="password" id="password"/><br>
<input type="submit" value="Hop !">
</form>
<form method="post" action="formAjout.php"><!--Ce formulaire permet à l'user d'ajouter une nouvelle entrée -->
<p>Saisissez le nom et prenom d'un(e) nouvel(le) intervenant(e) <br>
<label for="nom">ici : </label><input type="text" name="nom" id="nom" placeholder="ex : Prénom Nom"/>
</form>
<p>Les <b>Candidats Orateurs </b>potentiels au prochain séminaire interne sont : <br /></p>
<p>
<!--Ce script permet d'afficher la listes des intervenant et de savoir celui ou celle qui est tiré au sort -->
<?php
$noms = array("<b>Annick Breton", "Anne Devin", "Sonia Dheur", "Jean-Paul Di Rago", "Jean-Paul Javerzat", "Sabine Vaur", "Nicole Averet", "Christophe Cullin", "Jose Eduardo Gomes", "Ioan Lascu", "Guy Lauquin", "Christelle Marchal", "Michel Moenner", "Frederique Ness", "Stephane Ransac", "Michel Rigoulet", "Marina Lamacchia", "Emilie Montembault", "Khalid Salamat", "Nadir Seddiki", "Sylvain Tollis"<b>);
foreach($noms as $valeur){
echo "$valeur <br/>";
}
echo "</p>";
$MonNombre = rand(0, count($noms)-1);
?>
<p>Le prochain intervenant est ... <b>
<span onclick="montrerCacher('article_1');">cliquez ici pour voir</span>
<div style="display: none; font-size: 30px;" id="article_1">
<?php echo "$noms[$MonNombre]"; ?>
</div>
</b>
</p>
</body>
</html> |
Partager