function bodyCockpit($info) { if ($_REQUEST['recherche'] != "") { engine_recherche($_REQUEST['recherche']); } else { afficher_vue2d($info); } }
function init_administration($isAdmin, $baronnie, $guilde, $troll, $troll_type_action, $troll_action, $gowap, $taniere, $recherche, $change_password, $bdd, $avatar, $distinction, $composant, $stats_vue_publique, $stats_refresh_auto, $stats_connection, $info_ftp_files, $list_pass_error, $list_manual_refresh) { afficher_entete($isAdmin); if ($baronnie != "") { engine_baronnie($isAdmin, $baronnie); } elseif ($guilde != "") { engine_guilde($isAdmin, $guilde); } elseif ($troll != "") { engine_troll($isAdmin, $troll, $troll_type_action, $troll_action); } elseif ($gowap != "") { engine_gowap($isAdmin, $gowap); } elseif ($taniere != "") { engine_taniere($isAdmin, $taniere); } elseif ($change_password != "") { engine_change_password($isAdmin, $change_password); } elseif ($bdd != "") { engine_bdd($isAdmin, $bdd); } elseif ($recherche != "") { engine_recherche($recherche, true); } elseif ($avatar != "") { engine_avatar($isAdmin, $avatar); } elseif ($distinction != "") { engine_distinction($isAdmin, $distinction); } elseif ($composant != "") { engine_composant($isAdmin, $composant); } elseif ($stats_vue_publique != "") { engine_stats_vue_publique($isAdmin); } elseif ($stats_refresh_auto != "") { engine_stats_refresh_auto($isAdmin); } elseif ($stats_connection != "") { engine_stats_connection($isAdmin); } elseif ($list_pass_error != "") { engine_list_passe_error($isAdmin); } elseif ($list_manual_refresh != "") { engine_list_manual_refresh($isAdmin); } elseif ($info_ftp_files != "") { engine_info_ftp_files($isAdmin); } include_once 'foot.php'; }