|
|
|
@ -37,6 +37,7 @@ include_once(ROOT_PATH.'/gm/include/monster.inc.php');
|
|
|
|
|
include_once(ROOT_PATH.'/gm/include/npc.inc.php');
|
|
|
|
|
include_once(ROOT_PATH.'/gm/include/shop.inc.php');
|
|
|
|
|
include_once(ROOT_PATH.'/gm/include/user.inc.php');
|
|
|
|
|
include_once(ROOT_PATH.'/gm/include/rassen.inc.php');
|
|
|
|
|
include_once(ROOT_PATH.'/gm/include/tournament.inc.php');
|
|
|
|
|
|
|
|
|
|
function logaction($message){
|
|
|
|
@ -122,6 +123,11 @@ function displayOptions(){
|
|
|
|
|
<a href="<?php $_SERVER['PHP_SELF'] ?>?choose=faq">FAQ bearbeiten</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?choose=rassen">Rassen bearbeiten</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?choose=attacken">Attacken bearbeiten</a>
|
|
|
|
@ -259,6 +265,8 @@ if(checkLoginData($_SESSION['user'],$_SESSION['password'])){
|
|
|
|
|
displayShop($_REQUEST['action'], $_REQUEST['s_id'],$_REQUEST['info'], $_REQUEST['s_name'] , $_REQUEST['s2_name'], $_REQUEST['s3_name'], $_REQUEST['s_typ'], $_REQUEST['preis'], $_REQUEST['frei'], $_REQUEST['anzahl']);
|
|
|
|
|
} else if($_REQUEST['choose'] == 'usergroups'){
|
|
|
|
|
displayUserGroups($_REQUEST['action'] ,$_REQUEST['uname'] ,$_REQUEST['ugname'], $_REQUEST['delete'], $_REQUEST['add']);
|
|
|
|
|
} else if($_REQUEST['choose'] == 'rassen'){
|
|
|
|
|
displayRassen($_REQUEST);
|
|
|
|
|
} else if($_REQUEST['choose'] == 'tournament'){
|
|
|
|
|
//_POST['name'] anstatt _REQUEST weil schon durch username überschrieben wird
|
|
|
|
|
displayTournamentMenu($_REQUEST['action'], $_REQUEST['klein'], $_REQUEST['wochen'], $_REQUEST['minlevel'], $_REQUEST['maxlevel'], $_REQUEST['fusion'], $_REQUEST['special'], $_REQUEST['gain'], $_REQUEST['randomize'], $_POST['name'], $_REQUEST['anzahl']);
|
|
|
|
|