<?php if (verif_access("Admin")) { $table = $page; if (empty($_POST['Edit']) && empty($_POST['Add']) && empty($_POST['Second_Add']) && empty($_POST['Second_Edit']) && empty($_POST['End_Edit']) && empty($_POST['Delete'])) { echo 'Que souhaitez-vous faire ?<br />'; echo '<form method="POST" action="' . get_link($table . "s", "Admin") . '">'; echo '<input type="submit" name="Edit" value="Modifier une ' . $table . '">'; echo '</form>'; echo "\n<p style='text-align:left;'>La fonction essentielle d'Une {$table} institutionnel n’est pas une fonction de jeux, mais une fonction de communication informative.</p>\n<p style='text-align:left;'>ses contenus sont donc destinés essentiellement :\n<br/>- aux partenaires divers de votre site \n<br/>- aux individus à la recherche d’informations diverses sur le site ou le jeu \n<br/>- aux investisseurs, actionnaires et analystes financiers \n<br/>- à la presse \n<br/>- aux personnes à la recherche d’emploi ou de stages \n<br/>- .....</p>\n<p style='text-align:left;'>Les principales rubriques et contenus dans ces " . $table . "s institutionnel sont généralement :\n<br/>- la présentation et l’organisation de l’activité \n<br/>- les hommes et chiffres clés de l’activité \n<br/>- l’information financière (cours de bourse, information financière obligatoire,..) \n<br/>- la rubrique emploi / stages \n<br/>- la rubrique presse \n<br/>- l’historique de la société \n<br/>- les engagements et fondations d’entreprises \n<br/>- ...</p>\n\t\t\t"; } if (request_confirm('Edit')) { echo 'Voici la liste des ' . $table . 's du MMORPG<br /><br />'; list_html_db('Caranille_' . $table . 's', $table . 's', array($table . '_Title', $table . '_Description', $table . '_Order')); } if (request_confirm('Second_Edit')) { $table_ID = request_data($table . '_ID'); $table_r = get_db("edit_admin", array('table' => 'Caranille_' . $table . 's', 'ID' => $table . '_ID', 'value' => $table_ID)); formulaire($table_r); } if (request_confirm('Second_Delete')) { $table_ID = request_data($table . '_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link($table . "s", "Admin"); ?> "> <input type="hidden" name="<?php echo $table . '_ID'; ?>
<?php if (verif_access("Modo")) { if (request_confirm('Edit')) { echo 'Voici la liste des pages du MMORPG<br /><br />'; list_html_db('Caranille_Topics', 'Topics', array('Topic_Forum_ID', 'Topic_Titre')); } else { if (request_confirm('Second_Edit')) { $Topic_ID = request_data('Topic_ID'); $Topic_List = get_db("edit_admin", array('table' => 'Caranille_Topics', 'ID' => 'Topic_ID', 'value' => $Topic_ID)); formulaire($Topic_List); } else { if (request_confirm('Second_Delete')) { $Topic_ID = request_data('Topic_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Topics", "Admin"); ?> "> <input type="hidden" name="Topic_ID" value="<?php echo $Topic_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des Magies du MMORPG<br /><br />'; list_html_db('Caranille_Magics', 'Magics', array('Magic_Name', 'Magic_Description', 'Magic_Type')); } else { if (request_confirm('Second_Edit')) { $Magic_ID = request_data('Magic_ID'); $Magics = get_db("edit_admin", array('table' => 'Caranille_Magics', 'ID' => 'Magic_ID', 'value' => $Magic_ID)); get_formulaire($Magics); } else { if (request_confirm('Second_Delete')) { $Magic_ID = request_data('Magic_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Magics", "Admin"); ?> "> <input type="hidden" name="Magic_ID" value="<?php echo $Magic_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { get_formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des Batiments du MMORPG<br /><br />'; list_html_db('Caranille_Building', 'Buildings', array('Building_Number', 'Building_Name')); } elseif (request_confirm('Second_Edit')) { $Building_ID = request_data('Building_ID'); $Building_List = get_db("edit_admin", array('table' => 'Caranille_Building', 'ID' => 'Building_ID', 'value' => $Building_ID)); get_formulaire_Building($Building_List); } elseif (request_confirm('Second_Delete')) { $Building_ID = request_data('Building_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link('Buildings', 'Admin'); ?> "> <input type="hidden" name="Building_ID" value="<?php echo $Building_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } elseif (request_confirm('Add')) { get_formulaire_Building($_POST); } else { echo 'Que souhaitez-vous faire ?<br />'; echo '<form method="POST" action="' . get_link('Buildings', 'Admin') . '">';
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des pages du MMORPG<br /><br />'; list_html_db('Caranille_Works', 'Works', array('Work_Description', 'Work_Name', 'Work_Fabrique')); } else { if (request_confirm('Second_Edit')) { $Work_ID = request_data('Work_ID'); $Work_List = get_db("edit_admin", array('table' => 'Caranille_Works', 'ID' => 'Work_ID', 'value' => $Work_ID)); formulaire($Work_List); } else { if (request_confirm('Second_Delete')) { $Work_ID = request_data('Work_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Works", "Admin"); ?> "> <input type="hidden" name="Work_ID" value="<?php echo $Work_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des chapitres du MMORPG<br /><br />'; list_html_db('Caranille_Chapters', 'Chapters', array('Chapter_Number', 'Chapter_Name')); } else { if (request_confirm('Second_Edit')) { $Chapter_ID = request_data('Chapter_ID'); $Chapter_List = get_db("edit_admin", array('table' => 'Caranille_Chapters', 'ID' => 'Chapter_ID', 'value' => $Chapter_ID)); get_formulaire_chapter($Chapter_List); } else { if (request_confirm('Second_Delete')) { $Chapter_ID = request_data('Chapter_ID'); confirm_remove_db('Caranille_Chapters', "Chapters", $Chapter_ID); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Chapters", "Admin"); ?> "> <input type="hidden" name="Chapter_ID" value="<?php echo $Chapter_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) {
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des Invocations du mmorpg<br /><br />'; list_html_db('Caranille_Invocations', 'Invocations', array('Invocation_Name', 'Invocation_Description')); } else { if (request_confirm('Second_Edit')) { $Invocation_ID = request_data('Invocation_ID'); $Invocations = get_db("edit_admin", array('table' => 'Caranille_Invocations', 'ID' => 'Invocation_ID', 'value' => $Invocation_ID)); get_formulaire_invocation($Invocations); } else { if (request_confirm('Second_Delete')) { $Invocation_ID = request_data('Invocation_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Invocations", "Admin"); ?> "> <input type="hidden" name="Invocation_ID" value="<?php echo $Invocation_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { get_formulaire_invocation($Invocations_List);
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des quêtes du MMORPG<br /><br />'; list_html_db('Caranille_Quests', 'Quests', array('Quest_Town_ID', 'Quest_Number', 'Quest_Name', 'Quest_Goal')); } else { if (request_confirm('Second_Edit')) { $Quest_ID = request_data('Quest_ID'); $Quest = get_db("edit_admin", array('table' => 'Caranille_Quests', 'ID' => 'Quest_ID', 'value' => $Quest_ID)); get_formulaire($Quest); } else { if (request_confirm('Second_Delete')) { $Quest_ID = request_data('Quest_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Quests", "Admin"); ?> "> <input type="hidden" name="Quest_ID" value="<?php echo $Quest_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { echo 'Que souhaitez-vous faire ?<br />'; echo '<form method="POST" action="' . get_link("Quests", "Admin") . '">';
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des Gifts du MMORPG<br /><br />'; list_html_db('Caranille_Gifts', 'Gifts', array('Gift_Code', 'Gift_Used', 'Gift_Item')); } else { if (request_confirm('Second_Edit')) { $Gift_ID = request_data('Gift_ID'); $Gift_List = get_db("edit_admin", array('table' => 'Caranille_Gifts', 'ID' => 'Gift_ID', 'value' => $Gift_ID)); formulaire($Gift_List); } else { if (request_confirm('Second_Delete')) { $Gift_ID = request_data('Gift_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Gifts", "Admin"); ?> "> <input type="hidden" name="Gift_ID" value="<?php echo $Gift_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des pages du MMORPG<br /><br />'; list_html_db('Caranille_Categories', 'Categories', array('Cat_Ordre', 'Cat_Nom')); } else { if (request_confirm('Second_Edit')) { $Cat_ID = request_data('Cat_ID'); $Category_List = get_db("edit_admin", array('table' => 'Caranille_Categories', 'ID' => 'Cat_ID', 'value' => $Cat_ID)); formulaire($Category_List); } else { if (request_confirm('Second_Delete')) { $Cat_ID = request_data('Cat_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Categories", "Admin"); ?> "> <input type="hidden" name="Cat_ID" value="<?php echo $Cat_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des Caracteristiques du MMORPG<br /><br />'; list_html_db('Caranille_Caracteristiques', 'Caracteristiques', array('Caracteristique_Type', 'Caracteristique_Name', 'Caracteristique_Opposant', 'Caracteristique_Order')); } elseif (request_confirm('Second_Edit')) { $Caracteristique_ID = request_data('Caracteristique_ID'); $Caracteristique_List = get_db("edit_admin", array('table' => 'Caranille_Caracteristiques', 'ID' => 'Caracteristique_ID', 'value' => $Caracteristique_ID)); get_formulaire_Caracteristique($Caracteristique_List); } elseif (request_confirm('Second_Delete')) { $Caracteristique_ID = request_data('Caracteristique_ID'); confirm_remove_db('Caranille_Caracteristiques', "Caracteristiques", $Caracteristique_ID); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Caracteristiques", "Admin"); ?> "> <input type="hidden" name="Caracteristique_ID" value="<?php echo $Caracteristique_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } elseif (request_confirm('Add')) { get_formulaire_Caracteristique(); } else { echo 'Que souhaitez-vous faire ?<br />';
<?php if (verif_access("Modo")) { if (request_confirm('Edit')) { echo 'Voici la liste des pages du MMORPG<br /><br />'; list_html_db('Caranille_Posts', 'Posts', array('Post_Forum_ID', 'Post_Topic_ID', 'Post_Texte', 'Post_Time')); } else { if (request_confirm('Second_Edit')) { $Post_ID = request_data('Post_ID'); $Post_List = get_db("edit_admin", array('table' => 'Caranille_Posts', 'ID' => 'Post_ID', 'value' => $Post_ID)); formulaire($Post_List); } else { if (request_confirm('Second_Delete')) { $Post_ID = request_data('Post_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Posts", "Admin"); ?> "> <input type="hidden" name="Post_ID" value="<?php echo $Post_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { echo 'Que souhaitez-vous faire ?<br />'; echo '<form method="POST" action="' . get_link("Posts", "Admin") . '">';
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des pages du MMORPG<br /><br />'; list_html_db('Caranille_Ressources', 'Ressources', array('Ressource_Description', 'Ressource_Name')); } else { if (request_confirm('Second_Edit')) { $Ressource_ID = request_data('Ressource_ID'); $Ressource_r = get_db("edit_admin", array('table' => 'Caranille_Ressources', 'ID' => 'Ressource_ID', 'value' => $Ressource_ID)); formulaire($Ressource_r); } else { if (request_confirm('Second_Delete')) { $Ressource_ID = request_data('Ressource_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Ressources", "Admin"); ?> "> <input type="hidden" name="Ressource_ID" value="<?php echo $Ressource_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des news du MMORPG<br /><br />'; list_html_db('Caranille_Comments', 'Comments', array('Comment_Date', 'Comment_Account_Pseudo', 'Comment_Message', 'Comment_News_ID')); } else { if (request_confirm('Second_Edit')) { $Comment_ID = request_data('Comment_ID'); $Comment_List = get_db("edit_admin", array('table' => 'Caranille_Comments', 'ID' => 'Comment_ID', 'value' => $Comment_ID)); get_formulaire($Comment_List); } else { echo 'Que souhaitez-vous faire ?<br />'; echo '<form method="POST" action="' . get_link("Comments", "Admin") . '">'; echo '<input type="submit" name="Edit" value="Modifier un Comment">'; echo '</form>'; } } }
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des pages du MMORPG<br /><br />'; list_html_db('Caranille_Classes', 'Classes', array('Classe_Description', 'Classe_Name')); } else { if (request_confirm('Second_Edit')) { $Classe_ID = request_data('Classe_ID'); $Classe_r = get_db("edit_admin", array('table' => 'Caranille_Classes', 'ID' => 'Classe_ID', 'value' => $Classe_ID)); formulaire($Classe_r); } else { if (request_confirm('Second_Delete')) { $Classe_ID = request_data('Classe_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Classes", "Admin"); ?> "> <input type="hidden" name="Classe_ID" value="<?php echo $Classe_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des Guilds du mmorpg<br /><br />'; list_html_db('Caranille_Guilds', 'Guilds', array('Guild_Name', 'Guild_Description')); } else { if (request_confirm('Second_Edit')) { $Guild_ID = request_data('Guild_ID'); $Guilds = get_db("edit_admin", array('table' => 'Caranille_Guilds', 'ID' => 'Guild_ID', 'value' => $Guild_ID)); formulaire($Guilds); } else { echo 'Que souhaitez-vous faire ?<br />'; echo '<form method="POST" action="' . get_link("Guilds", "Admin") . '">'; echo '<input type="submit" name="Edit" value="Modifier une guilde">'; echo '</form>'; } } }
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des Monsters du MMORPG<br /><br />'; list_html_db('Caranille_Monsters', 'Monsters', array('Monster_Name', 'Monster_Level', 'Monster_Access')); } else { if (request_confirm('Second_Edit')) { $Monster_ID = request_data('Monster_ID'); $Monsters = get_db("edit_admin", array('table' => 'Caranille_Monsters', 'ID' => 'Monster_ID', 'value' => $Monster_ID)); get_formulaire($Monsters); } else { if (request_confirm('Second_Delete')) { $Monster_ID = request_data('Monster_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Monsters", "Admin"); ?> "> <input type="hidden" name="Monster_ID" value="<?php echo $Monster_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { get_formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des pages du MMORPG<br /><br />'; list_html_db('Caranille_Forums', 'Forums', array('Forum_Cat_ID', 'Forum_Name', 'Forum_Guild_ID', 'Forum_Ordre')); } if (request_confirm('Second_Edit')) { $Forum_ID = request_data('Forum_ID'); $Forum_List = get_db("edit_admin", array('table' => 'Caranille_Forums', 'ID' => 'Forum_ID', 'value' => $Forum_ID)); formulaire($Forum_List); } else { if (request_confirm('Second_Delete')) { $Forum_ID = request_data('Forum_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Forums", "Admin"); ?> "> <input type="hidden" name="Forum_ID" value="<?php echo $Forum_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } } if (request_confirm('Add')) {
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des News du MMORPG<br /><br />'; list_html_db('Caranille_News', 'News', array('News_Title', 'News_Date', 'News_Account_Pseudo')); } else { if (request_confirm('Second_Edit')) { $News_ID = request_data('News_ID'); $News_List = get_db("edit_admin", array('table' => 'Caranille_News', 'ID' => 'News_ID', 'value' => $News_ID)); get_formulaire($News_List); } else { if (request_confirm('Second_Show')) { $News_List = get_db("edit_admin", array('table' => 'Caranille_News', 'ID' => 'News_ID', 'value' => request_data('News_ID'))); echo show_db('Caranille_News', $News_List); } else { if (request_confirm('Add')) { get_formulaire(); } else { echo 'Que souhaitez-vous faire ?<br />'; echo '<form method="POST" action="' . get_link("News", "Admin") . '">'; echo '<input type="submit" name="Add" value="Ajouter une News">'; echo '<input type="submit" name="Edit" value="Modifier une News">'; echo '</form>'; } } } } }
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { echo 'Voici la liste des Missions du MMORPG<br /><br />'; list_html_db('Caranille_Missions', 'Missions', array('Mission_Number', 'Mission_Name', 'Mission_Description')); } else { if (request_confirm('Second_Edit')) { $Mission_ID = request_data('Mission_ID'); $Missions_List = get_db("edit_admin", array('table' => 'Caranille_Missions', 'ID' => 'Mission_ID', 'value' => $Mission_ID)); get_formulaire($Missions_List); } else { if (request_confirm('Second_Delete')) { $Mission_ID = request_data('Mission_ID'); ?> <p>Supprimer definitivement ?</p> <form method="POST" action="<?php echo get_link("Missions", "Admin"); ?> "> <input type="hidden" name="Mission_ID" value="<?php echo $Mission_ID; ?> "/> <input type="submit" name="Back" value="Annuler" /> <input type="submit" name="Delete" value="supprimer" /> </form> <?php } else { if (request_confirm('Add')) { get_formulaire();
<?php if (verif_access("Admin")) { if (request_confirm('Edit')) { $Account_List = list_db("list_t", array('table' => "Caranille_Accounts")); list_html_db('Caranille_Accounts', 'Accounts', array('Account_Pseudo', 'Account_Email', 'Account_Access')); /** echo '<table class="Admin list">' ; echo '<tr>' ; echo '<th>Name</th>'; echo '<th>Email</th>'; echo '<th>Access</th>'; echo '<th></th>'; echo '</tr>' ; echo '<tr><td class="none" colspan="2" ></td></tr>'; foreach($Account_List as $Account) { $Account_ID = htmlspecialchars(addslashes($Account['Account_ID'])); ?> <tr> <td><?php echo htmlspecialchars(addslashes($Account['Account_Pseudo']))?></td> <td><?php echo htmlspecialchars(addslashes($Account['Account_Email']))?></td> <td><?php echo htmlspecialchars(addslashes($Account['Account_Access']))?></td> <td><form method="POST" action="<?php echo get_link("Accounts","Admin") ?>"> <input type="hidden" name="Account_ID" value="<?php echo $Account_ID ?>"/> <input type="submit" name="Second_Edit" value="modifier"/> <input type="submit" name="Second_Delete" value="supprimer" /> </form></td> </tr> <tr><td class="none" colspan="2" ></td></tr>
?> _Level"><br /><br /> <?php } ?> Experience demandé en plus par niveau: <br /> <input value="<?php echo $curve['curve-Experience']; ?> " type="text" name="Experience_Level"><br /><br /> <input type="submit" name="Set_Curve" value="Modifier la courbe"> </form> <?php } else { if (request_confirm('Edit')) { echo 'Voici la liste des niveaux du mmorpg<br /><br />'; list_html_db('Caranille_Levels', 'Levels', array('Level_Number', 'Level_Experience_Required', 'Level_HP', 'Level_MP', 'Level_Strength', 'Level_Magic', 'Level_Agility', 'Level_Defense')); } else { if (request_confirm('Second_Edit')) { $Level_ID = request_data('Level_ID'); $Level = get_db("edit_admin", array('table' => 'Caranille_Levels', 'ID' => 'Level_ID', 'value' => $Level_ID)); get_formulaire_Level($Level); } else { if (request_confirm('End_Edit')) { if (valid_post_db('Caranille_Levels')) { update_db('Caranille_Levels', addslashes_r($_POST)); $message = 'niveau mis à jour'; } else { $message = 'Tous les champs n\'ont pas été remplis'; } } else { if (request_confirm('Second_Delete')) {