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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
| <!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>
<title>Ecole maternelle Frédéric Mistral - Livron sur drôme - Accueil</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="fr"/>
<meta name="Author" lang="fr" content="Jimmy Burbure">
<meta name="description" content=""/>
<meta name="keywords" lang="fr" content=""/>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" title="Normal"/>
<link rel="icon" type="image/png" href="../images/favicon.png" />
<script type="text/javascript" src="../tinymce/jscripts/tiny_mce/jquery.js"></script>
<script type="text/javascript" src="../tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="../tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>
<script type="text/javascript" src="../tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins : "spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
// Theme options
theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Skin options
skin : "o2k7",
skin_variant : "silver",
// Example content CSS (should be your site CSS)
content_css : "css/example.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "js/template_list.js",
external_link_list_url : "js/link_list.js",
external_image_list_url : "js/image_list.js",
media_external_list_url : "js/media_list.js",
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
</head>
<body>
<div id="all">
<div id="content">
<div id="header">
<div id="logo"><img src="../images/logo.png" alt="Logo" title="Logo"></img></div>
</div>
<div id="slider"></div>
<div id="contenu">
<?php
include('menu.php');
?>
<div id="admin">
<div align="center">
<form method="POST" action="add.php"/>
Choisir votre classe :
<br/>
<select name='choix'>
<?php
require "config.php";
mysql_connect(DB_HOST, DB_LOGIN, DB_PASS);
mysql_select_db(DB_BDD);
$req = mysql_query("SELECT nomClasse FROM classe");
while($ligne = mysql_fetch_array($req))
{
echo "<option value=".$ligne['idClasse'].">".$ligne['nomClasse']."</option>";
}
?>
</select>
<br/>
Choisir votre catégorie :
<br/>
<select name='choix'>
<?php
require "config.php";
mysql_connect(DB_HOST, DB_LOGIN, DB_PASS);
mysql_select_db(DB_BDD);
$req = mysql_query("SELECT nomCategorie FROM categorie");
while($ligne = mysql_fetch_array($req))
{
echo "<option value=".$ligne['idCategorie'].">".$ligne['nomCategorie']."</option>";
}
?>
</select>
<br/>
<br/>
Titre :
<br/>
<input type="text" name="titre"/>
<br/>
<br/>
Contenu :
<br/>
<textarea name="contenu"style="width:400px; height:300px;"></textarea>
<p align="center">
<br/>
<br/>
<input type="submit" value="Envoyer"/>
</form>
</p>
<p align="center"><br/>
<a href="../index.php">Retour</a></p>
</div>
</div>
<div id="footer">
© Ecolefredericmistral.fr - 2011 - Tous droits réservés.
</div>
</div>
</div>
</body>
</html> |
Partager