12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
-
-
- <?php
- $AdminDir = str_replace("administration", "",dirname(__FILE__));
- session_start();
- require_once(''.$AdminDir.'user/config.php');
- include("".$MainDir."files/navheader.php");
- include(''.$MainDir.'files/check_status.php');
-
- $page_name='Rédaction d\'article';
- include_once(''.$MainDir.'user/top.php');
-
- if($connected=="1"){
-
- require_once(''.$MainDir.'user/verifications.php');
-
-
-
-
-
- if($admin_mode=="1"){
-
-
- echo'
- <form action="'.$root_path.'files/submit_article.php" method="post">
- <b>Titre</b> :<br />
- <input type="text" name="titre" /><br />
- <b>Article</b> :
- <br />
- <textarea name="article" cols="60" rows="10"></textarea><br />
- <input type="submit" value="Envoyer !!" />';
-
- }else{
-
- echo"<br><br>Tu n'es pas admin !";
-
- }
-
-
- }else{
-
- echo"<br><br>Tu n'es pas connecté !";
- }
-
- ?>
|