Esempio n. 1
0
function call_menu_admin()
{
    global $secteur_module;
    if (verif_access("Admin", true) && $secteur_module === 'Admin') {
        html_menu('jeu', array(array('Character', 'Game', 'Retour')));
        html_menu('Administration', array(array('Configuration', 'Admin', 'Configuration'), array('Bdd', 'Admin', 'base de données'), array('Pages', 'Admin', 'Pages'), array('Plugins', 'Admin', 'Plugins')));
        html_menu('Actualités', array(array('News', 'Admin', 'News'), array('Comments', 'Admin', 'Commentaires')));
        html_menu('Communauté', array(array('Accounts', 'Admin', 'Comptes'), array('Guilds', 'Admin', 'Guildes'), array('Orders', 'Admin', 'Ordres'), array('Classes', 'Admin', 'Classes'), array('Races', 'Admin', 'Races'), array('Works', 'Admin', 'Metiers')));
        html_menu('Géographie', array(array('Towns', 'Admin', 'Villes'), array('Landing', 'Admin', 'Terrains')));
        html_menu('Récit', array(array('Chapters', 'Admin', 'Chapitres'), array('Missions', 'Admin', 'Missions'), array('Quests', 'Admin', 'Quetes')));
        html_menu('Catalogue', array(array('Fragments', 'Admin', 'Fragments'), array('Equipment', 'Admin', 'Equipements'), array('Items', 'Admin', 'Objets'), array('Parchments', 'Admin', 'Parchemins')));
        html_menu('Talents', array(array('Levels', 'Admin', 'Niveaux'), array('Caracteristiques', 'Admin', 'Caractéristiques'), array('Magics', 'Admin', 'Magies')));
        html_menu('Bestiaire', array(array('Invocations', 'Admin', 'Chimères'), array('Monsters', 'Admin', 'Monstres')));
        html_menu('Forum', array(array('Categories', 'Admin', 'categories'), array('Forums', 'Admin', 'forums'), array('Topics', 'Admin', 'topics'), array('Posts', 'Admin', 'posts')));
        html_menu('Design', array(array('Design', 'Admin', 'design'), array('Images', 'Admin', 'images')));
    }
}
Esempio n. 2
0
 /**
  * Sets the message edition mode (stored in session)
  *
  * @param boolean $message_edit
  * @return boolean
  */
 public static function setMessageEditionMode($message_edit = null)
 {
     if (verif_access("Admin", true)) {
         if (!is_null($message_edit)) {
             $_SESSION['Account_Data']['Message_Mode'] = $message_edit;
         } elseif (isset($_SESSION['Account_Data']['Message_Mode'])) {
             if ($_SESSION['Account_Data']['Message_Mode'] === true) {
                 $_SESSION['Account_Data']['Message_Mode'] = false;
             } else {
                 if ($_SESSION['Account_Data']['Message_Mode'] === false) {
                     $_SESSION['Account_Data']['Message_Mode'] = true;
                 }
             }
             $message_edit = $_SESSION['Account_Data']['Message_Mode'];
         } else {
             $_SESSION['Account_Data']['Message_Mode'] = true;
         }
     } else {
         $_SESSION['Account_Data']['Message_Mode'] = false;
     }
     debug_log("mode " . ($message_edit ? "activé" : "desactivé"));
     header('location:' . getenv('HTTP_REFERER'));
 }
Esempio n. 3
0
<?php

if (verif_access("Modo")) {
    if (empty($_POST['Add'])) {
        echo '<form method="POST" action="' . get_link('Sanctions', 'Moderator') . '">';
        echo '<label for="Account_ID">Choix du joueur</label><br />';
        echo '<select name="Account_ID" ID="Account_ID">';
        echo get_list_option_user();
        echo '</select><br /><br />';
        echo 'Raison du banissement <br /> <input type="text" name="Account_Reason"><br /><br />';
        echo '<input type="submit" name="Add" value="Terminer">';
        echo '</form>';
    }
}
Esempio n. 4
0
<?php

$Messages_Q = list_db('public_chatroom');
echo '<meta http-equiv="refresh" content="5;URL=' . get_link('list', 'chat') . '">';
if (!empty($Messages_Q)) {
    echo '<table class="newsboard chatroom" >';
    foreach ($Messages_Q as $Messages) {
        $Pseudo = stripslashes($Messages['Account_Pseudo']);
        $ID_message = stripslashes($Messages['Chat_Message_ID']);
        echo '<tr>';
        echo '<td>';
        echo '<a href="' . get_link('Account', 'Forum', array('m' => $Account['Account_ID'], 'action' => 'consulter')) . '">';
        echo stripslashes($Pseudo);
        echo '</a>';
        echo '</td>';
        echo '<td class="message">';
        echo stripslashes($Messages['Chat_Message']);
        echo '</td>';
        if (verif_access("Admin", true)) {
            //echo '<td>'.time().'</td>';
            echo '<td>';
            echo '<form method="POST" action="' . get_link('list', 'chat') . '">';
            echo "<input type=\"hidden\" name=\"ID_message\" value=\"{$ID_message}\">";
            echo '<input type="submit" name="Delete" value="X">';
            echo '</form>';
            echo '</td>';
        }
        echo '</tr>';
    }
    echo '</table>';
}
Esempio n. 5
0
<?php 
    }
}
?>


<div id="h_menu"><?php 
echo menu_profil();
?>
</div>
   
    <div id="left">
    <?php 
if (verif_access("Admin", true) && $secteur_module === 'Admin') {
    call_menu_admin();
} elseif (verif_access("Modo", true) && $secteur_module === 'Moderator') {
    call_menu_modo();
} elseif (verif_connect(true) && ($secteur_module !== 'Admin' && $secteur_module !== 'Moderator')) {
    call_menu_player();
} elseif (!verif_connect(true)) {
    call_menu_visitor();
}
if (!empty($_menu_)) {
    $ok = array();
    foreach ($_menu_ as $slug => $title) {
        $ok[] = array($slug, 'Contenu', $title);
    }
    html_menu('Informations', $ok, count_connect());
}
?>
    
Esempio n. 6
0
<?php

if (verif_access("Admin")) {
    if (request_confirm('End_Edit')) {
        extract($_POST);
        if (request_confirm('Constants')) {
            $Open_Config = fopen($_path . "Core/Constants.php", "w");
            fwrite($Open_Config, "{$Constants}");
            fclose($Open_Config);
        }
        if (request_confirm('Design')) {
            $Open_Config = fopen($_path . "Design/" . $MMORPG_Template . "/Design.css", "w");
            fwrite($Open_Config, "{$Design}");
            fclose($Open_Config);
        }
        if (request_confirm('Header')) {
            $Open_Config = fopen($_path . "Design/" . $MMORPG_Template . "/Templates/Head.php", "w");
            fwrite($Open_Config, "{$Header}");
            fclose($Open_Config);
        }
        if (request_confirm('Sub')) {
            $Open_Config = fopen($_path . "Design/" . $MMORPG_Template . "/Templates/Sub.php", "w");
            fwrite($Open_Config, "{$Sub}");
            fclose($Open_Config);
        }
        if (request_confirm('Footer')) {
            $Open_Config = fopen($_path . "Design/" . $MMORPG_Template . "/HTML/Footer.php", "w");
            fwrite($Open_Config, "{$Footer}");
            fclose($Open_Config);
        }
        if (request_confirm('Left')) {
Esempio n. 7
0
        ?>

<?php 
        echo '<h1>' . $Topic_Titre . '</h1>';
        if (verif_access($Auth_view)) {
            //On affiche les pages 1-2-3 etc...
            echo '<p>Page : ';
            for ($i = 1; $i <= $nombreDePages; $i++) {
                echo $i == $numpage ? $i : '<a href="' . get_link('Topic', 'Guild', array('t' => $Topic_ID, 'page' => $i)) . '">' . $i . '</a> ';
            }
            echo '</p>';
            if (verif_access($Auth_Post, true)) {
                //On affiche l'image répondre
                echo '<a href="' . get_link('Poster', 'Guild', array('action' => 'repondre', 't' => $Topic_ID)) . '">&diams;&nbsp;&nbsp;Répondre</a>';
            }
            if (verif_access($Auth_Topic, true)) {
                //On affiche l'image nouveau topic
                echo '<a href="' . get_link('Poster', 'Guild', array('action' => 'nouveautopic', 'f' => $Forum_ID)) . '">&plusmn;&nbsp;&nbsp;Nouveau Topic</a>';
            }
            //Enfin on commence la boucle !
            ?>
<br/>
<?php 
            //On vérifie que la requête a bien retourné des messages
            if (count($query) < 1) {
                echo '<p>Il n y a aucun post sur ce topic, vérifiez l url et reessayez</p>';
            } else {
                //Si tout roule on affiche notre tableau puis on remplit avec une boucle
                ?>
<table>
        <tr>
Esempio n. 8
0
 /**
  * verifie si l'utilisateur n'es pas banni
  */
 function verif_auth()
 {
     if (verif_connect(true)) {
         if (verif_access("Admin", true)) {
             return true;
         }
         if (logged_data('Account_Status') === "Authorized") {
             return true;
         }
         if (logged_data('Account_Reason') !== "None") {
             return true;
         }
         if (logged_data('Account_Reason') !== "") {
             return true;
         }
     }
     return true;
 }
Esempio n. 9
0
 
<h1>Nouveau topic</h1>
<form method="post" action="<?php 
        echo get_link('Post', 'Forum', array('action' => 'nouveautopic', 'f' => $forum));
        ?>
" name="formulaire">
	 
	<fieldset><legend>Titre</legend>
	<input type="text" size="80" id="titre" name="titre" /></fieldset>
	<fieldset><legend>Message</legend>
	<?php 
        echo call_bbcode_editor("message");
        ?>
	<!--<textarea cols="70" rows="7" id="message" name="message"></textarea></fieldset>-->
	<?php 
        if (verif_access($Auth_Annonce, true)) {
            ?>
	<label><input type="radio" name="mess" value="Annonce" />Annonce</label>
	<label><input type="radio" name="mess" value="Message" checked="checked" />Topic</label>
	<?php 
        } else {
            ?>
	<input type="hidden" name="mess" value="Message" />
	<?php 
        }
        ?>
	</fieldset>
	<input type="submit" name="submit" value="Envoyer" />
	<input type="reset" name = "Effacer" value = "Effacer" />
	
</form>
Esempio n. 10
0
 function menu_profil()
 {
     global $already_call_menu_profil;
     if (!$already_call_menu_profil) {
         echo "<div class='city-menu'>";
         if (verif_connect(true)) {
             echo '<a href="' . get_Link('Profil', 'User') . '">' . LanguageValidation::nMsg('menu.profil') . '</a>' . LanguageValidation::eMsg('menu.profil') . ' - ';
             if (verif_access("Modo", true)) {
                 echo '<a href="' . get_Link('Main', 'Moderator') . '">' . LanguageValidation::nMsg('menu.moderator') . '</a>' . LanguageValidation::eMsg('menu.moderator') . ' - ';
             }
             if (verif_access("Admin", true)) {
                 echo '<a href="' . get_Link('Main', 'Admin') . '">' . LanguageValidation::nMsg('menu.admin') . '</a>' . LanguageValidation::eMsg('menu.admin') . ' - ';
                 echo '<a href="' . get_Link() . '?setMessageEditionMode=ok">' . LanguageValidation::nMsg('menu.edition') . '</a>' . LanguageValidation::eMsg('menu.edition') . ' - ';
             }
             echo '<a href="' . get_Link('Logout', 'User') . '">' . LanguageValidation::nMsg('menu.logout') . '</a>' . LanguageValidation::eMsg('menu.logout') . ' - ';
         }
         echo "</div>";
         $already_call_menu_profil = true;
     }
 }
Esempio n. 11
0
function connexion($Pseudo, $Password)
{
    global $baseline, $prefixe_salt, $suffixe_salt, $MMORPG_Access;
    $login = get_db('request_account', $_POST);
    $pswd = password_encode($prefixe_salt . $login['Account_Salt'] . $suffixe_salt, $Password);
    $restore = password_decode($prefixe_salt . $login['Account_Salt'] . $suffixe_salt, $login['Account_Password']);
    if ($login['Account_Password'] === $pswd && $restore === $Password) {
        if ($login['Account_Valid'] == '1') {
            if (!isConnected($login)) {
                get_user($Pseudo);
                if (verif_auth()) {
                    init_equipement_session();
                    get_perso($Pseudo);
                    get_equipement($Pseudo);
                    get_Guild($Pseudo);
                    clear_battle();
                    $ID = user_data('Account_ID');
                    $Date = date('Y-m-d H:i:s');
                    $IP = getRealIpAddr();
                    $Last_Connection = user_data('Account_Last_Connection');
                    $Last_IP = user_data('Account_Last_IP');
                    update_db('Caranille_Accounts', array('Account_Last_Connection' => $Date, 'Account_Last_IP' => $IP, 'Account_ID' => $ID));
                    if ($Last_IP !== $IP) {
                        $message = "ATTENTION!!!" . "\n";
                        $message .= "Votre dernière connexion ne provient pas de la même adresse IP." . "\n";
                        $message .= "Cela peut signifier qu'une autre personne se soit précédemment connectée avec votre compte." . "\n";
                        $message .= "Si par contre vous vous êtes connecté depuis un autre poste veuillez ignorer ce message.";
                        $message .= "\n\n";
                        $message .= "Pour information voici un détail de votre dernière connexion:." . "\n";
                        $message .= "- Date de connexion: {$Last_Connection} " . "\n";
                        $message .= "- Adresse IP: {$Last_IP} " . "\n";
                    }
                    if ($MMORPG_Access === "Yes") {
                        $baseline = 'Connection Réussi<br /><br />';
                        $baseline .= '<a href="' . get_link('Main', 'Public') . '">Commencer à jouer</a>';
                    } elseif ($MMORPG_Access === "No" && verif_access("Admin", true)) {
                        $baseline = 'Connection Réussi<br /><br />';
                        $baseline .= '<a href="' . get_link('Main', 'Admin') . '">Administration</a>';
                    } else {
                        $baseline = 'Le jeu est actuellement fermé, merci de revenir plus tard';
                        session_destroy();
                    }
                    return true;
                }
                return 2;
            }
            return 3;
        }
        return 4;
    }
    return 5;
}
Esempio n. 12
0
<?php

if (verif_connect()) {
    echo LanguageValidation::iMsg("intro.public.chat");
    ?>
		
		<!--// chat_content -->
		<iframe class="chatroom-frame" src="<?php 
    echo get_link('list', 'Chat');
    ?>
"></iframe>
<?php 
    echo formulaire_input(array(text_input("label.chat.message", "Message", null, null, null, "placeholder.chat.message"), submit_input("Send", "btn.chat.send"), verif_access("Admin", true) ? submit_input("Clear", "btn.chat.clear") : null), "Chat-Send", get_link('Chat', 'User'), "post", null);
}
Esempio n. 13
0
        $totaldesmessages = 0;
        $categorie = NULL;
        //echo $r;
        $query = list_db('request_guild_forum', array('Guild_ID' => guild_data('Guild_ID')));
        //
        menu_guild();
        $map_cat = array();
        ?>

<table border="1" >
<?php 
        if (!empty($query)) {
            //Début de la boucle
            foreach ($query as $data) {
                extract(stripslashes_r($data));
                if (verif_access($Auth_view, true)) {
                    //On affiche chaque catégorie
                    if ($categorie != $Cat_ID) {
                        //Si c'est une nouvelle catégorie on l'affiche
                        $map_cat[$Cat_ID] = $Cat_nom;
                        $categorie = $Cat_ID;
                        ?>
				<tr>
				<th></th>
				<th class="titre"><strong><?php 
                        echo $Cat_nom;
                        ?>
</strong></th>             
				<th class="nombremessages"><strong>Sujets</strong></th>       
				<th class="nombresujets"><strong>Messages</strong></th>       
				<th class="derniermessage"><strong>Dernier message</strong></th>   
Esempio n. 14
0
            insert_db('Caranille_Chat', array('Chat_Pseudo_ID' => $ID, 'Chat_Guild_ID' => $guild_ID, 'Chat_Message' => $Message));
            // }
        }
        if (verif_access("Admin", true)) {
            if (request_confirm('Chat-Clear')) {
                //if(verifier_token(600, get_link('Chat','Guild') ,  'guild-Chat-Send'))
                //{
                delete_db('Caranille_Chat', array('Chat_Guild_ID' => guild_data('Guild_ID')));
                echo 'Tous les messages ont bien été supprimé';
                //}
            }
        }
        echo "<div id='guild-chat'>";
        echo LanguageValidation::iMsg("intro.guild.chat");
        echo '<br />';
        echo '<iframe class="chatroom-frame" src="' . get_link('guild', 'Chat') . '"></iframe>';
        echo formulaire_input(array(text_input("label.chat.message", "chat_Message", null, null, null, "placeholder.chat.message"), submit_input("Chat-Send", "btn.chat.send"), verif_access("Admin", true) ? submit_input("Chat-Clear", "btn.chat.clear") : null), "guild-Chat-Send", null, "post", null);
        /**			
        			echo '<form method="POST" action="'.get_link("Chat","Guild").'">';
        			echo '<input type="text" name="chat_Message" placeholder="'.LanguageValidation::nMsg("placeholder.chat.message").'"/>'.LanguageValidation::eMsg("placeholder.chat.message");
        			echo '<input type="submit" name="Chat-Send" value="'.LanguageValidation::nMsg("btn.chat.send").'"/>'.LanguageValidation::eMsg("btn.chat.send");
        		
        			if(verif_access("Admin",true))
        				echo '<input type="submit" name="Clear" value="'.LanguageValidation::nMsg("btn.chat.clear").'"/>'.LanguageValidation::eMsg("btn.chat.clear");
        				
        			echo '<input type="hidden" name="token" value="'.generer_token('guild-Chat-Send').'" />';
        			echo '</form>';				
        **/
        echo "</div>";
    }
}
Esempio n. 15
0
			<li><a href="#"><div class="important">Forum</div></a>
        		<ul>
        		    <li><a href="<?php 
        echo get_link('topics', 'Moderator');
        ?>
">Topic</a></li>
        		    <li><a href="<?php 
        echo get_link('posts', 'Moderator');
        ?>
">posts</a></li>
        	    </ul>
			</li>
        </ul>

<?php 
    } elseif (verif_access("Modo", true) && $secteur_module === 'Guild') {
        ?>
        <ul id="menu" class="admin-menu">
        	<li><a href="<?php 
        echo get_link('Main', 'Game');
        ?>
"><div class="important">Retour au jeu</div></a></li>
		</ul>
<?php 
    } else {
        if (verif_connect(true) && $secteur_module !== 'Moderator' && $secteur_module !== 'Admin') {
            ?>
	    <div class="important">MMORPG</div><br />
		<a href="<?php 
            echo get_Link('Main', 'Public');
            ?>
Esempio n. 16
0
function debug_screen()
{
    global $debug_log_array, $debug_warning_array, $debug_notice_array, $debug_unknow_array, $debug_sql_array, $debug_sql_error, $_path, $Account_Data, $Stats_Data, $installing, $active_debug;
    if ($installing || verif_access("Admin", true) && $active_debug) {
        $html = "";
        $corrig_path = str_replace("/", '\\', $_path);
        if (!empty($debug_log_array)) {
            $content = "";
            $content .= "<table border='1'>";
            if (isset($debug_log_array)) {
                foreach ($debug_log_array as $x => $req) {
                    foreach ($req['trace'] as $n => $t) {
                        if ($n != 0 && $t['function'] !== 'debug_log') {
                            $content .= "<tr>";
                            if ($n == 1) {
                                $content .= "<th rowspan='" . (count($req['trace']) - 1) . "'>{$x}</th><td rowspan='" . (count($req['trace']) - 1) . "' >" . $req['message'] . "</td>";
                            }
                            $content .= "<td>" . (isset($t['file']) ? str_replace($corrig_path, "", $t['file']) : "") . "</td>\n\t\t\t\t\t\t\t\t<td>" . (isset($t['line']) ? $t['line'] : '') . "</td>\n\t\t\t\t\t\t\t\t<td>" . $t['function'] . "</td>\n\t\t\t\t\t\t\t\t<td>" . print_r($t['args'], 1) . "</td>";
                            $content .= "</tr>";
                        }
                    }
                }
            }
            $content .= "</table>";
            $html .= show_debug("log", "Log", $content);
        }
        if (!empty($Account_Data) && verif_connect(true)) {
            $content = "";
            $content .= debug_array($Stats_Data);
            $content .= debug_array($Account_Data);
            $html .= show_debug("perso", "Avatar", $content);
        }
        if (!empty($_SESSION)) {
            $html .= show_debug("session", "Session", debug_array($_SESSION));
        }
        if (!empty($debug_sql_array)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($debug_sql_array as $x => $req) {
                $content .= "<tr><th>{$x}</th><td>{$req}</td>";
                if (isset($debug_sql_error[$x])) {
                    $content .= "<td>" . $debug_sql_error[$x][0] . "</td>";
                    $content .= "<td>" . $debug_sql_error[$x][1] . "</td>";
                    $content .= "<td>" . $debug_sql_error[$x][2] . "</td>";
                }
                $content .= "</tr>";
            }
            $content .= "</table>";
            $html .= show_debug("sql", "Requetes", $content);
        }
        if (!empty($_SERVER)) {
            $content = "";
            $content .= "<table border='1'>";
            $content .= debug_array($_SERVER);
            $content .= "</table>";
            $html .= show_debug("server", "Serveur", $content);
        }
        if (!empty($debug_warning_array)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($debug_warning_array as $x => $req) {
                $content .= "<tr>";
                $content .= "<th>{$x}</th><td>" . $req['code'] . "</td><td>" . $req['message'] . "</td>";
                $content .= "<td>" . str_replace($corrig_path, "", $req['file']) . "</td>\n\t\t\t\t\t<td>" . $req['line'] . "</td>";
                if (isset($req['trace'])) {
                    $content .= "<td><table>";
                    foreach ($req['trace'] as $n => $t) {
                        if ($n != 0 && $t['function'] !== 'debug_log') {
                            $content .= "<tr>";
                            $content .= "<td>" . (isset($t['file']) ? str_replace($corrig_path, "", $t['file']) : "") . "</td>\n\t\t\t\t\t\t\t\t<td>" . (isset($t['line']) ? $t['line'] : '') . "</td>\n\t\t\t\t\t\t\t\t<td>" . $t['function'] . "</td>\n\t\t\t\t\t\t\t\t<td>" . print_r($t['args'], 1) . "</td>";
                            $content .= "</tr>";
                        }
                    }
                    $content .= "</table></td>";
                }
                $content .= "</tr>";
            }
            $content .= "</table>";
            $html .= show_debug("warning", "Alertes", $content, 2);
        }
        if (!empty($debug_notice_array)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($debug_notice_array as $x => $req) {
                $content .= "<tr>";
                $content .= "<th>{$x}</th>";
                $content .= "<td>" . $req['code'] . "</td>";
                $content .= "<td>" . $req['message'] . "</td>";
                $content .= "<td>" . str_replace($corrig_path, "", $req['file']) . "</td>";
                $content .= "<td>" . $req['line'] . "</td>";
                $content .= "</tr>";
            }
            $content .= "</table>";
            $html .= show_debug("notice", "Avertissement", $content, 2);
        }
        if (!empty($debug_unknow_array)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($debug_unknow_array as $x => $req) {
                $content .= "<tr>";
                $content .= "<th>{$x}</th><td>" . $req['code'] . "</td><td>" . $req['message'] . "</td>";
                $content .= "<td>" . str_replace($corrig_path, "", $req['file']) . "</td>\n\t\t\t\t\t<td>" . $req['line'] . "</td>";
                $content .= "</tr>";
            }
            $content .= "</table>";
            $html .= show_debug("unknow", "Inconnu", $content, 2);
        }
        if (!empty($_FILES)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($_FILES as $x => $req) {
                $content .= "<tr><th>{$x}</th><td>{$req}</td></tr>";
            }
            $content .= "</table>";
            $html .= show_debug("file", "Fichier", $content, 2);
        }
        if (!empty($_POST) || !empty($_GET)) {
            $content = "";
            if (!empty($_POST)) {
                $content .= "<table border='1'>";
                foreach ($_POST as $x => $req) {
                    $content .= "<tr><th>{$x}</th><td>{$req}</td></tr>";
                }
                $content .= "</table>";
            }
            if (!empty($_GET)) {
                $content .= "<table border='1'>";
                foreach ($_GET as $x => $req) {
                    $content .= "<tr><th>{$x}</th><td>{$req}</td></tr>";
                }
                $content .= "</table>";
            }
            $html .= show_debug("request", "Formulaire", $content, 2);
        }
        /**        	$content = "";
        			$content .= "<table border='1'>";
        			$content .= debug_array(get_defined_functions());
        			$content .= "</table>";
        			
        			$html .= show_debug("function","Fonctions",$content);
        
                    $content = "";
        			$content .= "<table border='1'>";
        			$content .= debug_array(get_defined_constants(true));
        			$content .= "</table>";
        			
        			$html .= show_debug("constants","Constantes",$content,2);
        			
        			$content = "";
        			$content .= "<table border='1'>";
        			$content .= debug_array(get_defined_vars());
        			$content .= "</table>";
        			
        			$html .= show_debug("vars","Variables",$content);
        **/
        return $html;
    }
}