changed the way of defining the path ... now it should also be able to place the installation of ag in a different directory!

main
hecht 13 years ago
parent a5fea4f736
commit 1b7be6d31b

@ -5,11 +5,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -8,8 +8,9 @@
session_start();
$nodisturb = 'YES';
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/messagefunctions.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/messagefunctions.inc.php');
// Die Nachricht muss nicht geparst werden!

@ -5,12 +5,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/exp.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/messagefunctions.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/exp.inc.php');
include_once(ROOT_PATH.'/include/messagefunctions.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -5,11 +5,12 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config/db.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/speed_config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config/db.inc.php');
include_once (ROOT_PATH . '/include/config/speed_config.inc.php');
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
@ -95,7 +96,7 @@ if ($charm) {
$zeit = time();
$serial_1 = number_format($serial, 0, '', '-');
$aktivierungslink = $GLOBALS['server_url_long'] . '/ag/index.php?as=aktiv&charm=1&nick_name=' . $nick_name . '&serial=' . $serial_1;
$aktivierungslink = $GLOBALS['server_url_long'] .ROOT_URL.'/index.php?as=aktiv&charm=1&nick_name=' . $nick_name . '&serial=' . $serial_1;
$inhalt = 'Zugangsdaten,\n\nSie lauten:\n\nUsername: ' . $nick_name . ' \n\nPasswort: ' . $pw_1 . '\n Aktivierungsnummer: ' . $serial_1 . ' \n\n Bitte geben sie die Aktivierungsnummer auf der Seite ein oder klicken sie folgenden Link\n\n' . $aktivierungslink . '\n\nViel Spass beim Spielen!';
mail($mail, 'Animegame', 'Zugangsdaten,' . "\n\n" . ' Sie lauten: ' . "\n\n" . 'Username: ' . $nick_name . ' ' . "\n" . ' Passwort: ' . $pw_1 . ' ' . "\n\n" . ' Aktivierungsnummer: ' . $serial_1 . ' ' . "\n\n" . ' Bitte geben sie die Aktivierungsnummer innerhalb von 14 Tagen auf der Seite ein oder klicken sie auf folgenden Link' . "\n" . ' ' . $aktivierungslink . ' ' . "\n\n" . 'Viel Spass beim Spielen!', "From: " . "Vegeta" . "\nReply-To: " . $GLOBALS['email_webmaster'] . "\nX-Mailer: PHP/" . phpversion());

@ -5,12 +5,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/arena.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/exp.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/arena.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/exp.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -15,10 +15,11 @@
* Zuletzt verändert: 15.08.2007
*******************************************************************************/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/auktion_functions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/auktion_functions.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -8,10 +8,11 @@
?><link rel="stylesheet" href="design/style.css" type="text/css">
<?php
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/auktion_functions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/auktion_functions.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
$pagenum = validateUnsignedInteger($_GET['pagenum'], null);
$firstLetter = validateString($_GET['firstLetter']);

@ -1,60 +0,0 @@
<?php
/*
*
* @copyright (c) 2010 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
/*
* Legacy!
*
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
$clan = mysql_fetch_array(mysql_query("SELECT leader, id FROM clan WHERE id='$user_ida[clan]' LIMIT 1"));
$kampfs1 = mysql_query("SELECT * FROM clan_kampf WHERE clan1_id='$clan[id]' OR clan2_id='$clan[id]' ORDER BY id DESC LIMIT 3");
$kampf_row = mysql_num_rows(mysql_query("SELECT id FROM clan_kampf WHERE clan1_id='$clan[id]' OR clan2_id='$clan[id]' ORDER BY id DESC LIMIT 1"));
if(!$kampf_row) {
echo "Sie haben keine K&auml;mpfe offen.";
exit;
}
echo "<body bgcolor=#202020>";
while($kampf1 = mysql_fetch_array($kampfs1)) {
$char_1 = mysql_Fetch_array(mysql_query("SELECT name, hp, mp, bild, besitzer, id FROM chars WHERE id='$kampf1[char1]' LIMIT 1"));
$char_2 = mysql_Fetch_array(mysql_query("SELECT name, hp, mp, bild, besitzer, id FROM chars WHERE id='$kampf1[char2]' LIMIT 1"));
$spleoic = "clan";
$starke1 = explode(",", $kampf1[starke1]);
$starke2 = explode(",", $kampf1[starke2]);
$ver1 = explode(",", $kampf1[ver1]);
$ver2 = explode(",", $kampf1[ver2]);
$speed1 = explode(",", $kampf1[speed1]);
$speed2 = explode(",", $kampf1[speed2]);
$ausdauer1 = explode(",", $kampf1[ausdauer1]);
$ausdauer2 = explode(",", $kampf1[ausdauer2]);
$schaden1 = explode(",", $kampf1[schaden1]);
$schaden2 = explode(",", $kampf1[schaden2]);
$attacke1 = explode(",", $kampf1[attacke1]);
$attacke2 = explode(",", $kampf1[attacke2]);
$hp1 = explode(",", $kampf1[hp1]);
$hp2 = explode(",", $kampf1[hp2]);
$mp1 = explode(",", $kampf1[mp1]);
$mp2 = explode(",", $kampf1[mp2]);
$a_hp1 = explode(",", $char_1[hp]);
$a_hp2 = explode(",", $char_2[hp]);
$a_mp1 = explode(",", $char_1[mp]);
$a_mp2 = explode(",", $char_2[mp]);
$runde = 1;
include($_SERVER['DOCUMENT_ROOT'].'ag/include/kampf_anzeige.php');
}
*/
?>

@ -11,13 +11,14 @@
* TODO: Alle "" Strings in '' Strings umwandeln
* TODO: Funktioneller Aufruf, damit exit-Tags verschwinden koennen und somit der Chat angezeigt werden kann!!
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/erstellfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/usergroup.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/exp.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/erstellfunctions.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/usergroup.inc.php');
include_once(ROOT_PATH.'/include/exp.inc.php');
// GET-Section

@ -13,10 +13,11 @@
* TODO: Funktioneller Aufruf, damit exit-Tags verschwinden koennen und somit der Chat angezeigt werden kann!!
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -14,10 +14,11 @@
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
$chars = getCharsOfUser($user_ida['id']);

@ -6,13 +6,14 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/char_profil.inc.php'); //Allgemeine Funktionen für die Char darstellung
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/defines.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/attackenset.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'//include/config.inc.php');
include_once(ROOT_PATH.'//include/designfunctions.inc.php');
include_once(ROOT_PATH.'//include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'//include/parse.inc.php');
include_once(ROOT_PATH.'//include/char_profil.inc.php'); //Allgemeine Funktionen für die Char darstellung
include_once(ROOT_PATH.'//include/defines.inc.php');
include_once(ROOT_PATH.'//include/attackenset.inc.php');
defineIfNotDefined('MAX_ROUNDS', 10);

@ -5,11 +5,12 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/char.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'//include/config.inc.php');
include_once(ROOT_PATH.'//include/designfunctions.inc.php');
include_once(ROOT_PATH.'//include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'//include/parse.inc.php');
include_once(ROOT_PATH.'//include/char.inc.php');
$char_id = validateUnsignedInteger($_REQUEST['char_id'], null);
$char = getChar($char_id);

@ -5,11 +5,11 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/clan.inc.php');
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
include_once (ROOT_PATH . '/include/clan.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -13,8 +13,8 @@
}
</SCRIPT>
<?php
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/clanfights.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/char.inc.php');
include_once(ROOT_PATH.'//include/clanfights.inc.php');
include_once(ROOT_PATH.'//include/char.inc.php');
if (!empty($_POST['id'])) {
$id= $_POST['id'];

@ -8,8 +8,8 @@
/*
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
?>
<body bgcolor="#202020">
@ -51,7 +51,7 @@ $a_mp2 = explode(",", $char_2[mp]);
$runde = 1;
// TODO: include_one und danach Funktionsaufruf!!
include($_SERVER['DOCUMENT_ROOT'].'ag/include/kampf_anzeige.php');
include(ROOT_PATH.'/include/kampf_anzeige.php');
displayErrorMessage(NULL,$fehler_m,$weiter_an);

@ -6,11 +6,11 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
include_once(ROOT_PATH.'/include/clan.inc.php');
// GET-Section

@ -6,9 +6,9 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/parse.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/designfunctions.inc.php');
include_once(ROOT_PATH.'//include/config.inc.php');
include_once (ROOT_PATH . '//include/parse.inc.php');
include_once (ROOT_PATH . '//include/designfunctions.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -7,9 +7,9 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
$char_id = validateUnsignedInteger($_GET['char_id'], null);
@ -19,7 +19,7 @@ $c_ware = validateUnsignedInteger($_GET['c_ware'], null);
$charm = $_GET['charm'];
if(!$char_id) {
include($_SERVER['DOCUMENT_ROOT'].'ag/char_index.php');
include(ROOT_PATH.'/char_index.php');
exit;
}

@ -6,9 +6,9 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan_fights.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/clan.inc.php');
include_once(ROOT_PATH.'/include/clan_fights.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
// GET-Section

@ -6,9 +6,9 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once(ROOT_PATH.'/include/clan.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
//Get-Section
if(isset($_GET['action'])) {
@ -83,7 +83,11 @@ function getFightType($id) {
function displayClanFightMenu($user) {
$user_clan = getClan($user['clan']);
$clans = getAllClans();
// $clans = getAllClans();
$clans_tmp = getClanFightCapableClanIds();
foreach ($clans_tmp as $clan_tmp_id) {
$clans[] = getClan($clan_tmp_id);
}
$challenges = getOpenChallengeRequests($user_clan['id']);
$test = getOpenChallengeIDs($user_clan['id']);
?>

@ -5,11 +5,11 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/clan.inc.php');
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
include_once (ROOT_PATH . '/include/clan.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -6,11 +6,11 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/messagefunctions.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
include_once (ROOT_PATH . '/include/messagefunctions.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
$text = validateString($_GET['text']);

@ -6,10 +6,10 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
$clan_geld=validateUnsignedInteger($_GET['clan_geld'], null);

@ -1,191 +0,0 @@
<?php
/*
*
* @copyright (c) 2010 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
/*
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
?>
<body bgcolor="#202020">
<?php
$pl = 0;
$clan1 = 0;
$clan2 = 0;
$pluto = -1;
$kampf9 = mysql_Fetch_array(mysql_query("SELECT char_set, dauer, char1, char2, x_satz FROM clan_kampf WHERE db_satz='$char_id' LIMIT 1"));
$c_a1 = explode(",", $kampf9[char_set]);
if ($kampf9['dauer'] > time()) {
displayErrorMessage(NULL, 'Der Kampf ist noch nicht vorbei!', displayHistoryBackLink());
exit;
}
while ($pl < 3) {
$pl2 = $pl +1;
$kampf1 = mysql_Fetch_array(mysql_query("SELECT * FROM clan_kampf WHERE char1='$c_a1[$pl]' OR char2='$c_a1[$pl]' AND x_satz='$kampf9[x_satz]' LIMIT 1"));
$user = mysql_fetch_array(mysql_query("SELECT id, geld FROM user WHERE nickname='$name' LIMIT 1"));
$char_1 = getChar($kampf1['char1']);mysql_Fetch_array(mysql_query("SELECT c.name, c.hp, c.mp, c.bild, c.id, u.clan FROM chars c LEFT JOIN user u ON(c.besitzer=u.id) WHERE c.id='$kampf1[char1]' LIMIT 1"));
$char_2 = getChar($kampf1['char1']);mysql_Fetch_array(mysql_query("SELECT c.name, c.hp, c.mp, c.bild, c.id, u.clan FROM chars c LEFT JOIN user u ON(c.besitzer=u.id) WHERE c.id='$kampf1[char2]' LIMIT 1"));
$arena = mysql_Fetch_array(mysql_query("SELECT name, besitzer, history_besucher, history_geld FROM arena WHERE id='$kampf1[arena_name]' LIMIT 1"));
$my_charakter = mysql_fetch_array(mysql_Query("SELECT name, siege, niederlagen, liga_siege, liga_niederlagen, preis, dead_list, besitzer FROM chars WHERE id='$char_id' LIMIT 1"));
$starke1 = explode(",", $kampf1[starke1]);
$starke2 = explode(",", $kampf1[starke2]);
$ver1 = explode(",", $kampf1[ver1]);
$ver2 = explode(",", $kampf1[ver2]);
$speed1 = explode(",", $kampf1[speed1]);
$speed2 = explode(",", $kampf1[speed2]);
$ausdauer1 = explode(",", $kampf1[ausdauer1]);
$ausdauer2 = explode(",", $kampf1[ausdauer2]);
$schaden1 = explode(",", $kampf1[schaden1]);
$schaden2 = explode(",", $kampf1[schaden2]);
$attacke1 = explode(",", $kampf1[attacke1]);
$attacke2 = explode(",", $kampf1[attacke2]);
$hp1 = explode(",", $kampf1[hp1]);
$hp2 = explode(",", $kampf1[hp2]);
$mp1 = explode(",", $kampf1[mp1]);
$mp2 = explode(",", $kampf1[mp2]);
$a_hp1 = explode(",", $char_1[hp]);
$a_hp2 = explode(",", $char_2[hp]);
$a_mp1 = explode(",", $char_1[mp]);
$a_mp2 = explode(",", $char_2[mp]);
$runde = 1;
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf_anzeige.php');
if ($kampf1[win] == "$char_1[name]") {
$clan1++;
}
if ($kampf1[win] == "$char_2[name]") {
$clan2++;
}
if (!$kampf1[db_satz]) {
$pluto++;
}
$runde = $runde -1;
if ($kampf1[db_satz] == $char_id) {
$char_infos = mysql_fetch_Array(mysql_query("SELECT name, id, hp, mp, exp FROM chars WHERE id='$char_id' LIMIT 1"));
$alt_exp = explode(",", $char_infos[exp]);
if ($kampf1[char1] == $char_id) {
$new_exp = $alt_exp[0] + $kampf1[exp1];
$new_geld = $user[geld] + $kampf1[geld1] + $ex_geld;
$new_hp = $hp1[$runde];
$new_mp = $mp1[$runde];
if ($new_hp < 1) {
$new_hp = 1;
}
if ($new_mp < 1) {
$new_mp = 1;
}
if ($new_hp > $hp1[1]) {
$new_hp = $hp1[1];
}
if ($new_mp > $mp1[1]) {
$new_mp = $mp1[1];
}
mysql_query("UPDATE chars SET status='Frei', mp='$new_mp,$a_mp1[1]', hp='$new_hp,$a_hp1[1]', exp='$new_exp,$alt_exp[1]' WHERE id='$char_id' LIMIT 1");
} else {
$new_exp = $alt_exp[0] + $kampf1[exp2];
$new_geld = $user[geld] + $kampf1[geld2] + $ex_geld;
$new_hp = $hp2[$runde];
$new_mp = $mp2[$runde];
if ($new_hp < 1) {
$new_hp = 1;
}
if ($new_mp < 1) {
$new_mp = 1;
}
if ($new_hp > $hp2[1]) {
$new_hp = $hp2[1];
}
if ($new_mp > $mp2[1]) {
$new_mp = $mp2[1];
}
mysql_query("UPDATE chars SET status='Frei', mp='$new_mp,$a_mp2[1]', hp='$new_hp,$a_hp2[1]', exp='$new_exp,$alt_exp[1]' WHERE id='$char_id' LIMIT 1");
}
###################################################CHARAKTER WIN
if ($kampf1[win] == "$my_charakter[name]") {
$new_siege = $my_charakter[siege] + 1;
mysql_query("UPDATE chars SET siege='$new_siege' WHERE id='$char_id'");
} else {
###################################################CHARAKTER LOSE
$new_niederlage = $my_charakter[niederlage] + 1;
mysql_query("UPDATE chars SET niederlage='$new_niederlage' WHERE id='$char_id'");
}
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/exp.php');
mysql_query("UPDATE user SET geld='$new_geld' WHERE id='$user[id]' LIMIT 1");
mysql_query("UPDATE clan_kampf SET db_satz='' WHERE db_satz='$char_id'");
}
$pl++;
}
$clan_name1 = mysql_fetch_Array(mysql_query("SELECT clanname, siege, niederlagen, id FROM clan WHERE id='$char_1[clan]' LIMIT 1"));
$clan_name2 = mysql_fetch_Array(mysql_query("SELECT clanname, siege, niederlagen, id FROM clan WHERE id='$char_2[clan]' LIMIT 1"));
if ($c_a1[0] == $kampf9[char1] OR $c_a1[1] == $kampf9[char1] OR $c_a1[2] == $kampf9[char1]) {
if ($clan1 > $clan2) {
$new_siegea1 = $clan_name1[siege] + 1;
$clan_sieger = $clan_name1[clanname];
if ($pluto == -1) {
mysql_Query("UPDATE clan SET siege='$new_siegea1' WHERE id='$clan_name1[id]' LIMIT 1");
}
} else {
$clan_sieger = $clan_name2[clanname];
$new_niederlage1 = $clan_name1[niederlagen] + 1;
if ($pluto == -1) {
mysql_Query("UPDATE clan SET niederlagen='$new_niederlage1' WHERE id='$clan_name1[id]' LIMIT 1");
}
}
} else {
if ($clan1 < $clan2) {
$new_siegea1 = $clan_name2[siege] + 1;
$clan_sieger = $clan_name2[clanname];
if ($pluto == -1) {
mysql_Query("UPDATE clan SET siege='$new_siegea1' WHERE id='$clan_name2[id]' LIMIT 1");
}
} else {
$clan_sieger = $clan_name1[clanname];
$new_niederlage1 = $clan_name2[niederlagen] + 1;
if ($pluto == -1) {
mysql_Query("UPDATE clan SET niederlagen='$new_niederlage1' WHERE id='$clan_name2[id]' LIMIT 1");
}
}
}
if ($pluto == 1) {
mysql_query("DELETE FROM clan_kampf WHERE x_satz='$user_ida[clan]'");
}
echo "<p align=center>Clan Sieger: $clan_sieger";
*/
?>

@ -5,12 +5,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/erstellfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/semaphore.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/erstellfunctions.inc.php');
include_once(ROOT_PATH.'/include/semaphore.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -1,29 +0,0 @@
<?php
/*
* Created on 24.03.2009
*
* @copyright (c) 2010 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
$id = 3;
$user = $user_ida;
$chars = getCharsOfUser($user_ida['id']);
?>
<form>
<select id = "input" name="menu">
<option value ="-1">Charakter ausw&auml;hlen...</option>
<?php
foreach($chars as $row)
{
echo "<option value='$row[id]'>$row[name]>";
}
?>
</select>
</form>

@ -6,9 +6,10 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/db.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/kampf_anzeige.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config/db.inc.php');
include_once(ROOT_PATH.'/include/kampf_anzeige.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
$event_id = validateUnsignedInteger($_GET['event_id'], null);
$event_fight_id = validateUnsignedInteger($_GET['event_fight_id'], null);

@ -14,7 +14,8 @@
* Zuletzt verändert: 03.10.2007
*******************************************************************************/
include_once "include/faq.inc.php";
include_once('path.inc.php'); // get the path ;)
include_once ROOT_PATH.'include/faq.inc.php';
$themes = getTableOfContents('<tr><###ROW###><a href="#thema_###ID###" id="content">','</a></###ROW###></tr>');
$content = getContext('<tr><th><a name="thema_###ID###" id="content">','<tr><td id="content">','</a></th></tr>','</td></tr>');
?>

@ -6,8 +6,8 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
function checkref() {

@ -17,25 +17,25 @@ session_start();
* Zuletzt verändert: 03.10.2007
*******************************************************************************/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/db.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/bann.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/faq.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/user.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/usergroup.inc.php');
include_once(ROOT_PATH.'/include/config/db.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/bann.inc.php');
include_once(ROOT_PATH.'/include/faq.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/user.inc.php');
include_once(ROOT_PATH.'/include/usergroup.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/attacken.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/bilderschau.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/clan.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/info.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/item.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/monster.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/npc.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/shop.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/user.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gm/include/tournament.inc.php');
include_once(ROOT_PATH.'/gm/include/attacken.inc.php');
include_once(ROOT_PATH.'/gm/include/bilderschau.inc.php');
include_once(ROOT_PATH.'/gm/include/clan.inc.php');
include_once(ROOT_PATH.'/gm/include/info.inc.php');
include_once(ROOT_PATH.'/gm/include/item.inc.php');
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/tournament.inc.php');
function logaction($message){
$sql = 'Insert into gm_actions(userid, time, message, ip) values('.$_SESSION['user'].', now(), \''.$message.'\', \''.$_SERVER['REMOTE_ADDR'].'\')';

@ -9,7 +9,7 @@
?>
<?php
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/attackenset.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/include/attackenset.inc.php');
function getNPCAttacks() {
$qry = mysql_query('SELECT name,id FROM attacken a WHERE info like "%NPC%";');

@ -15,7 +15,7 @@
* Zuletzt veraendert: 03.10.2007
*******************************************************************************/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/db.inc.php');
include_once(ROOT_PATH.'/include/config/db.inc.php');
function getChatMessages(){
$result = mysql_query('SELECT *, Minute(zeit) as m, Hour(zeit) as h, DAY(zeit) as d , MONTH(zeit) as mon FROM ag_chat ORDER BY ID desc');

@ -5,8 +5,9 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
// Einziger Übergabewert (und der ist auch noch kritisch!!)
$page = validateUnsignedInteger($_GET['page'], null);

@ -5,9 +5,10 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
$page = validateUnsignedInteger($_GET['page'], null);

@ -5,9 +5,10 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/img.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/img.inc.php');
// Die möglichen Zeichen
// Einziger Übergabewert (und der ist auch noch kritisch!!)

@ -6,6 +6,6 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/awards.inc.php');
include_once(ROOT_PATH.'/include/config/awards.inc.php');
echo join('<br>'."\n", $awards);
?>

@ -6,8 +6,8 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/ads.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/ads.inc.php');
$char_zahl = 0;
$chars = getCharsOfUser($user_ida['id']);

@ -6,6 +6,6 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/partner.inc.php');
include_once(ROOT_PATH.'/include/config/partner.inc.php');
echo join('<br>'."\n", $partner);
?>

@ -6,7 +6,7 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/toplists.inc.php');
include_once(ROOT_PATH.'/include/config/toplists.inc.php');
?>
<div id="toplists"></div>
<script type="text/javascript">

@ -6,8 +6,8 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/online.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/designfunctions.inc.php');
include_once (ROOT_PATH . '//include/online.inc.php');
include_once(ROOT_PATH.'//include/designfunctions.inc.php');
$itemsx1 = mysql_num_rows(mysql_query("SELECT id FROM sp_ware WHERE item='1' AND user='$user_ida[id]'"));
$itemsz1 = mysql_fetch_array(mysql_query("SELECT id FROM sp_ware WHERE item='1' AND user='$user_ida[id]' LIMIT 1"));

@ -6,7 +6,7 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
function calculateArenaData($owner_id, $char_1, $char_2, $factor){
// echo 'Berechne die Arena-Daten mit Faktor '.$factor;

@ -6,7 +6,7 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/defines.inc.php');
include_once (ROOT_PATH . '/include/defines.inc.php');
//Set-Arten
defineIfNotDefined('NORMALKAMPF', 1);

@ -18,9 +18,9 @@
* 15.10. Fehler in der Bietefunktion. if($userid == $anbieter) war immer ungueltig!!
*******************************************************************************/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/messagefunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/semaphore.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/messagefunctions.inc.php');
include_once(ROOT_PATH.'/include/semaphore.inc.php');
// Funktion um das aktuelle Mindestgebot einer Auktion zu ermitteln!
@ -113,7 +113,7 @@ function biete($userid, $auktionsid, $gebot){
mysql_query('UPDATE auktion SET bieter='.$userid.', aktuellesgebot='.$gebot.' WHERE auktionsid='.$auktionsid);
}
// Nun noch den aktuellen bieter eine Nachricht senden
sendMessage('Auktionsmarkt', $bieter, '&Uuml;berboten worden', 'Sie sind von '.$user_a['nickname'].' &uuml;berboten worden, er bietet '.$gebot.' f&uuml;r das Item '.debbcode($itemname).'. Deadline: '.$deadline.' Link: [url='.$GLOBALS['server_url_long'].'/ag/index.php?as=auktion&action=1&auktionsid='.$auktionsid.']Auktion[/url]');
sendMessage('Auktionsmarkt', $bieter, '&Uuml;berboten worden', 'Sie sind von '.$user_a['nickname'].' &uuml;berboten worden, er bietet '.$gebot.' f&uuml;r das Item '.debbcode($itemname).'. Deadline: '.$deadline.' Link: [url='.$GLOBALS['server_url_long'].ROOT_URL.'/index.php?as=auktion&action=1&auktionsid='.$auktionsid.']Auktion[/url]');
// mysql_query($new_query);
// echo '<br><br>'.$new_query.'<br><br>';

@ -16,8 +16,8 @@
*/
// required for status calculation!
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/event.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan_fights.inc.php');
include_once(ROOT_PATH.'/include/event.inc.php');
include_once(ROOT_PATH.'/include/clan_fights.inc.php');
/*
* Char Status

@ -5,7 +5,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
defineIfNotDefined('STATUS_FREI', 'Frei');

@ -6,8 +6,8 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/defines.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/clan_fights.inc.php');
include_once (ROOT_PATH . '/include/defines.inc.php');
include_once (ROOT_PATH . '/include/clan_fights.inc.php');
defineIfNotDefined('MAX_CHARS_CLANSIGN', 8);
$GLOBALS['clan_buffered_instances'] = array ();

@ -6,14 +6,14 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/defines.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/clan.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/messagefunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/attackenset.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/arena.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf_wrapper.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/semaphore.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/event.inc.php');
include_once (ROOT_PATH . '/include/defines.inc.php');
include_once (ROOT_PATH . '/include/clan.inc.php');
include_once (ROOT_PATH . '/include/messagefunctions.inc.php');
include_once (ROOT_PATH . '/include/attackenset.inc.php');
include_once (ROOT_PATH . '/include/arena.inc.php');
include_once (ROOT_PATH . '/include/kampf_wrapper.inc.php');
include_once (ROOT_PATH . '/include/semaphore.inc.php');
include_once (ROOT_PATH . '/include/event.inc.php');
defineIfNotDefined('MIN_MEMBERS', 5);
@ -21,8 +21,8 @@ defineIfNotDefined('MAX_OPEN_REQUESTS', 3);
defineIfNotDefined('CLANFIGHTS_MAX_FIGHTS_PER_24H', 6);
defineIfNotDefined('DAVY_BACK_FIGHT', 1);
defineIfNotDefined('SURVIVAL', 2);
defineIfNotDefined('DURATION_DAVY_BACK_FIGHT', 10);
defineIfNotDefined('DURATION_SURVIVAL_FIGHT', 10);
defineIfNotDefined('DURATION_DAVY_BACK_FIGHT', 15);
defineIfNotDefined('DURATION_SURVIVAL_FIGHT', 15);
defineIfNotDefined('ATTACK_SET_DAVY_BACK_FIGHT', 2);

@ -12,14 +12,15 @@
*/
// Immer den ganzen Pfad angeben, dann hat man es einfacher ^^
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config/db.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config/server.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config/settings.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/speed_config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/online.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/user.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/usergroup.inc.php');
include_once('../path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config/db.inc.php');
include_once (ROOT_PATH . '/include/config/server.inc.php');
include_once (ROOT_PATH . '/include/config/settings.inc.php');
include_once (ROOT_PATH . '/include/speed_config.inc.php');
include_once (ROOT_PATH . '/include/online.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
include_once (ROOT_PATH . '/include/user.inc.php');
include_once (ROOT_PATH . '/include/usergroup.inc.php');
// Referer statistics (no use for this in the moment)
//$rs = strpos($_SERVER['HTTP_REFERER'],'//');

@ -11,7 +11,7 @@
* Auskommentieren, wenn eigene Rassen genutzt werden sollen!
* Der Pfad muss auf eine Date zeigen, in der die Rassen (aehnlich wie bei der rassen.inc.php aufgelistet sind!)
*/
# $GLOBALS['races_location_file'] = $_SERVER['DOCUMENT_ROOT'].'ag/include/config/myraces.inc.php';
# $GLOBALS['races_location_file'] = ROOT_PATH.'/include/myraces.inc.php';
// Farben

@ -6,7 +6,7 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'].'ag/include/config/db.inc.php');
include_once (ROOT_PATH.'/include/config/db.inc.php');
$GLOBALS['definesInitialized'] = FALSE;

@ -6,8 +6,8 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/usergroup.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/settings.inc.php');
include_once(ROOT_PATH.'/include/usergroup.inc.php');
include_once(ROOT_PATH.'/include/config/settings.inc.php');
// Diese Funktion muss in ein Darstellungspackage hinein und muss noch verlegt werden, Gestaltung in css-Datei

@ -8,11 +8,11 @@
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/exp.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/exp.inc.php');

@ -6,8 +6,8 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/user.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/defines.inc.php');
include_once(ROOT_PATH.'/include/user.inc.php');
include_once (ROOT_PATH . '/include/defines.inc.php');
defineIfNotDefined('EVENT_TEST', 0);
defineIfNotDefined('EVENT_SCHATZ_SUCHE', 1);

@ -6,7 +6,7 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
function beautifyNumericValue($value, $step){

@ -14,8 +14,8 @@
* Zuletzt verändert: 03.10.2007
*******************************************************************************/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/db.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once(ROOT_PATH.'/include/config/db.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
function insertFaqEntry($parent, $header, $body){
mysql_query('INSERT INTO `faq_entries` ( `id` , `parent` , `header` , `body` ) VALUES (NULL , \''.$parent.'\', \''.encodeNoHTMLWithBB($header).'\', \''.encodeNoHTMLWithBB($body).'\')');

@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
/**
*

@ -7,9 +7,9 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/cheater.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/cheater.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
function hasToAuthenticate($user){
return $user['code'] <= 0;

@ -222,7 +222,7 @@ echo '</table>' .
}
function displaySchatzSuche($char){
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/schatz.inc.php');
include_once(ROOT_PATH.'/include/schatz.inc.php');
// Erstmal die Schatzsuche-stammdaten laden!
$sql = 'Select * from quests where charid ='.$char['id'].' and dauer < now()';
$quest = mysql_fetch_assoc(mysql_query($sql));
@ -346,7 +346,7 @@ function displaySchatzSucheFightRound($char, $monster, $fight, $round){
function displayEventFight($event_id, $event_fight_id) {
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/event.inc.php'); // for the defines :)
include_once(ROOT_PATH.'/include/event.inc.php'); // for the defines :)
// Erstmal die Seite starten
echo '<html><head><link rel="stylesheet" type="text/css" href="design/FightStyle.css"></head><body><table width="100%">';

@ -6,7 +6,7 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/kampf_anzeige.inc.php');
include_once(ROOT_PATH.'//include/kampf_anzeige.inc.php');
?>
<html>

@ -6,7 +6,7 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/arena.inc.php');
include_once (ROOT_PATH . '/include/arena.inc.php');
/**
@ -141,7 +141,7 @@ function calculateFight(array $char1, array $char2) {
$technick2 = $attack_data[$k_attacke2[$x]];
///////////////////Hier laedt er den RELOAD der technik wenn die zusammen setzung nicht stimmen sollte
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/andere_technik.php'); /////////////////// Wenn man ne andere technik sich aussuchen will...
include (ROOT_PATH . '/include/kampf/andere_technik.php'); /////////////////// Wenn man ne andere technik sich aussuchen will...
$speeds_char1 = ($k_speed[0] + $technick1[speed]);
$speeds_char2 = ($k_speed[1] + $technick2[speed]);
@ -151,38 +151,38 @@ function calculateFight(array $char1, array $char2) {
$tmp_hp[0] = 0;
$tmp_hp[1] = 0;
##################################MP, SSJ Verwandlungen, HP, Koerper Tausch Technicken
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/majin.php');
include (ROOT_PATH . '/include/kampf/majin.php');
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/atk_wert.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/tausch2.php'); //////////////////Muss ganz oben sein wegen technik Tauschen
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/gift.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/frucht.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/mp.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hp.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hp2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/SSJ.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kaioken.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kaioken2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/copy.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/lose.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/lose2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/ausdauer.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/mpv.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/tausch.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hpmp.php');
include (ROOT_PATH . '/include/kampf/atk_wert.php');
include (ROOT_PATH . '/include/kampf/tausch2.php'); //////////////////Muss ganz oben sein wegen technik Tauschen
include (ROOT_PATH . '/include/kampf/gift.php');
include (ROOT_PATH . '/include/kampf/frucht.php');
include (ROOT_PATH . '/include/kampf/mp.php');
include (ROOT_PATH . '/include/kampf/hp.php');
include (ROOT_PATH . '/include/kampf/hp2.php');
include (ROOT_PATH . '/include/kampf/SSJ.php');
include (ROOT_PATH . '/include/kampf/kaioken.php');
include (ROOT_PATH . '/include/kampf/kaioken2.php');
include (ROOT_PATH . '/include/kampf/copy.php');
include (ROOT_PATH . '/include/kampf/lose.php');
include (ROOT_PATH . '/include/kampf/lose2.php');
include (ROOT_PATH . '/include/kampf/ausdauer.php');
include (ROOT_PATH . '/include/kampf/mpv.php');
include (ROOT_PATH . '/include/kampf/tausch.php');
include (ROOT_PATH . '/include/kampf/hpmp.php');
//Als letztes um alle HP-Attacken zu kontern (in $tmp_hp gespeichert)
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/konter_heal.php');
include (ROOT_PATH . '/include/kampf/konter_heal.php');
//include "kampf/summon.php";
}
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/atk_wert.php');
include (ROOT_PATH . '/include/kampf/atk_wert.php');
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/schatten.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/runde.php');
include (ROOT_PATH . '/include/kampf/schatten.php');
include (ROOT_PATH . '/include/kampf/runde.php');
}
#####################################KAMPF SYSTEM
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kampf_rechnung.php');
include (ROOT_PATH . '/include/kampf/kampf_rechnung.php');
// $db_query = mysql_fetch_array(mysql_query("SELECT * FROM kampf WHERE (char1='$chara_1[id]' OR char1='$chara_2[id]') AND dauer='0' order by id DESC LIMIT 1"));
// mysql_query("UPDATE kampf SET hp1='$db_query[hp1],$k_hp7[0]', hp2='$db_query[hp2],$k_hp7[1]', mp1='$db_query[mp1],$k_mp7[0]', mp2='$db_query[mp2],$k_mp7[1]', schaden1='$db_query[schaden1],$schaden_1', schaden2='$db_query[schaden2],$schaden_2', attacke1='$db_query[attacke1],$technick1[name]', attacke2='$db_query[attacke2],$technick2[name]', starke1='$db_query[starke1],$k_starke[0]', starke2='$db_query[starke2],$k_starke[1]', ver1='$db_query[ver1],$k_ver[0]', ver2='$db_query[ver2],$k_ver[1]', speed1='$db_query[speed1],$k_speed[0]', speed2='$db_query[speed2],$k_speed[1]', ausdauer1='$db_query[ausdauer1],$k_ausdauer[0]', ausdauer2='$db_query[ausdauer2],$k_ausdauer[1]', glueck1='$db_query[glueck1],$k_glueck[0]', glueck2='$db_query[glueck2],$k_glueck[1]' WHERE id='$db_query[id]'");

@ -16,10 +16,10 @@
* Zuletzt verändert: 03.10.2007
*******************************************************************************/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/db.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/bann.inc.php');
include_once(ROOT_PATH.'/include/config/db.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/bann.inc.php');
function sendMessage($von, $besitzer, $betreff, $text){
// $betreff = $betreff;

@ -9,8 +9,8 @@
// Schauen ob eigene Rassen genutzt werden sollen?
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config/settings.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once (ROOT_PATH . '/include/config/settings.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
function init_races() {
if (isset ($GLOBALS['races_location_file'])) {

@ -5,11 +5,11 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/db.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/exp.inc.php');
include_once(ROOT_PATH.'/include/config/db.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/exp.inc.php');
function interruptSchatzSuche($charid){
@ -183,7 +183,7 @@ function monsterfight_neu($chara_1, $fight_monster, $std, $ort){
$prozent_technik1 = (20 * $technick1['aktiv']) - 20;
$technick1 = mysql_fetch_assoc(mysql_query("SELECT * FROM attacken WHERE id='$technick1[at_id]' LIMIT 10"));
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/andere_technik.php');
include (ROOT_PATH . '/include/kampf/andere_technik.php');
$technick1['speed'] = $technick1['speed'] + (($technick1['speed'] / 100) * $prozent_technik1);
$technick1['verteidigung'] = $technick1['verteidigung'] + (($technick1['verteidigung'] / 100) * $prozent_technik1);
@ -194,35 +194,35 @@ function monsterfight_neu($chara_1, $fight_monster, $std, $ort){
$aussetzten_runde = ""; ////// MUSS SO BLEIBEN WICHTIG
##################################MP, SSJ Verwandlungen, HP, Koerper Tausch Technicken
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/majin.php');
include (ROOT_PATH . '/include/kampf/majin.php');
if (!$aussetzten_runde) { /////DAS FueR MAJIN ATTACKEN
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/atk_wert.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/tausch2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/gift.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/frucht.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/runde.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/mp.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hp.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hp2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/SSJ.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kaioken.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kaioken2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/copy.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/lose.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/lose2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/ausdauer.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/mpv.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/tausch.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hpmp.php');
include (ROOT_PATH . '/include/kampf/atk_wert.php');
include (ROOT_PATH . '/include/kampf/tausch2.php');
include (ROOT_PATH . '/include/kampf/gift.php');
include (ROOT_PATH . '/include/kampf/frucht.php');
include (ROOT_PATH . '/include/kampf/runde.php');
include (ROOT_PATH . '/include/kampf/mp.php');
include (ROOT_PATH . '/include/kampf/hp.php');
include (ROOT_PATH . '/include/kampf/hp2.php');
include (ROOT_PATH . '/include/kampf/SSJ.php');
include (ROOT_PATH . '/include/kampf/kaioken.php');
include (ROOT_PATH . '/include/kampf/kaioken2.php');
include (ROOT_PATH . '/include/kampf/copy.php');
include (ROOT_PATH . '/include/kampf/lose.php');
include (ROOT_PATH . '/include/kampf/lose2.php');
include (ROOT_PATH . '/include/kampf/ausdauer.php');
include (ROOT_PATH . '/include/kampf/mpv.php');
include (ROOT_PATH . '/include/kampf/tausch.php');
include (ROOT_PATH . '/include/kampf/hpmp.php');
}
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/atk_wert.php');
include (ROOT_PATH . '/include/kampf/atk_wert.php');
if (!$aussetzten_runde) { /////DAS FueR MAJIN ATTACKEN
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/schatten.php');
include (ROOT_PATH . '/include/kampf/schatten.php');
}
#####################################KAMPF SYSTEM
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kampf_rechnung.php');
include (ROOT_PATH . '/include/kampf/kampf_rechnung.php');
// schaden1='$db_query[schaden1],$schaden_1', schaden2='$db_query[schaden2],$schaden_2', attacke1='$db_query[attacke1],$technick1[name]', attacke2='$db_query[attacke2],$technick2[name]'
$x++;
$sql = 'Insert into quest_rounds(charid, fightnr, roundnr, c_attack, c_dmg, m_attack, m_dmg, c_st, c_sp, c_ver, c_hp, c_mp, c_aus, c_gl, m_st, m_sp, m_ver, m_hp, m_mp, m_aus, m_gl) values(' .

@ -6,8 +6,8 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config/server.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/cheater.inc.php');
include_once(ROOT_PATH . '/include/config/server.inc.php');
include_once(ROOT_PATH.'/include/cheater.inc.php');
$GLOBALS['user_buffered_instances'] = array ();

@ -6,8 +6,8 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/defines.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once (ROOT_PATH . '/include/defines.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
//Konstanten
defineIfNotDefined('ADMIN', 1);

@ -8,12 +8,13 @@
ob_start();
ignore_user_abort(true);
// einmaliges Hinzufuegen der wichtigen Datei config.php
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan_fights.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/ads.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/schnell_start.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/messagefunctions.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/clan_fights.inc.php');
include_once(ROOT_PATH.'/include/config/ads.inc.php');
include_once(ROOT_PATH.'/include/schnell_start.inc.php');
include_once(ROOT_PATH.'/include/messagefunctions.inc.php');
// Fuer den Transit von register_globals auf normal
$name = $user_ida['nickname'];
@ -194,7 +195,7 @@ $agb = $_REQUEST['agb'];
<td width="6">&nbsp;</td>
<td>
<table cellspacing="0px" cellpadding="0px" style="position:relative; top:0px; left:6px;">
<?php include($_SERVER['DOCUMENT_ROOT'].'ag/inclu/toplists.inc.php'); ?>
<?php include(ROOT_PATH.'/inclu/toplists.inc.php'); ?>
<tr>
<td height="1"></td>
</tr>
@ -313,7 +314,7 @@ if($as != "login" AND $as != "anmeldung" AND $as != "info/logs" AND $as != "info
echo '<form action=index.php method="get"><input type="hidden" name="as" value="'.$as.'"><input name="agb" value="ok" type="hidden">Die Regeln haben sich ver&auml;ndert. Bist du mit den neuen Regeln einverstanden? <a href="index.php?as=info/agb" target="_blank">Hier Klicken um die neuen Regeln zu lesen</a><br><input type="submit" value="Einverstanden"></form>';
exit;
}
include($_SERVER['DOCUMENT_ROOT'].'ag/'.$as.'.php');
include(ROOT_PATH.'/'.$as.'.php');
}
}
else
@ -323,7 +324,7 @@ if($as != "login" AND $as != "anmeldung" AND $as != "info/logs" AND $as != "info
}
else
{
include($_SERVER['DOCUMENT_ROOT'].'ag/news.php');
include(ROOT_PATH.'/news.php');
}
?>
@ -402,8 +403,8 @@ if($user_ida){
// Adblockdetection
// <img src="/ag/design/banner_ad.gif">
?>
<script language="Javascript" src="/ag/java/adblock.js"></script>
<script language="Javascript" src="/ag/java/banner_ad.js"></script>
<script language="Javascript" src="<?php echo ROOT_URL; ?>/java/adblock.js"></script>
<script language="Javascript" src="<?php echo ROOT_URL; ?>/java/banner_ad.js"></script>
<script language="Javascript"><!--
var AdBlockTest = 0;
//-->

@ -5,12 +5,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/clan.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
include_once (ROOT_PATH . '/include/clan.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');

@ -9,7 +9,7 @@
<br><br>
<?php
if (isUserInGroup($usergroups, AKTIV_CHAT)) {
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/messagefunctions.inc.php');
include_once (ROOT_PATH . '/include/messagefunctions.inc.php');
if($user_ida['id'] === NULL){
$user_ida['id'] = -1;
}

@ -5,8 +5,8 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/designfunctions.inc.php');
include_once (ROOT_PATH . '//include/config.inc.php');
include_once (ROOT_PATH . '//include/designfunctions.inc.php');
// TODO: Muss noch angepasst werden!
@ -78,7 +78,7 @@ function showAttDetails($at_id) {
$rassen_1 = explode(",", $at_info[rassen]);
$runde = 0;
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/array.php');
include (ROOT_PATH . '//include/array.php');
while ($runde +1 < count($rassen_1)) {

@ -6,7 +6,7 @@
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
if($item_id) {
$item_info = mysql_Fetch_array(mysql_query("SELECT * FROM item WHERE id='$item_id' LIMIT 1"));
?>
@ -72,7 +72,7 @@ $item_info = mysql_Fetch_array(mysql_query("SELECT * FROM item WHERE id='$item_i
<?php
$rassen_1 = explode(",", $item_info[rassen]);
$runde = 0;
include($_SERVER['DOCUMENT_ROOT'].'ag/include/array.php');
include(ROOT_PATH.'/include/array.php');
while($runde < count($rassen_1)){
$runden = $runde+1;

@ -6,16 +6,16 @@
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
$char_id = validateUnsignedInteger($_GET['char_id'], null);
$attack_id = validateUnsignedInteger($_REQUEST['attack_id'], null);
if ($char_id == null) {
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/char_index.php');
include (ROOT_PATH . '/char_index.php');
exit;
} else {
if (!isUserOwnerOf($user_ida['id'],$char_id)) {

@ -5,13 +5,14 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/messagefunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/auktion_functions.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/messagefunctions.inc.php');
include_once(ROOT_PATH.'/include/auktion_functions.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -5,10 +5,11 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/arena.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/arena.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
$k_exp[0] = "";
$X23 = "";
@ -121,7 +122,7 @@ while ($k_hp[0] > $k_aufgabe[0] AND $k_hp[1] > $k_aufgabe[1] AND $x < 10) {
$technick2 = mysql_fetch_array(mysql_query("SELECT * FROM attacken WHERE id='$technick2[at_id]' LIMIT 10"));
///////////////////Hier laedt er den RELOAD der technik wenn die zusammen setzung nicht stimmen sollte
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/andere_technik.php'); /////////////////// Wenn man ne andere technik sich aussuchen will...
include (ROOT_PATH . '/include/kampf/andere_technik.php'); /////////////////// Wenn man ne andere technik sich aussuchen will...
$technick1[speed] = $technick1[speed] + (($technick1[speed] / 100) * $prozent_technik1);
$technick2[speed] = $technick2[speed] + (($technick2[speed] / 100) * $prozent_technik2);
@ -154,38 +155,38 @@ while ($k_hp[0] > $k_aufgabe[0] AND $k_hp[1] > $k_aufgabe[1] AND $x < 10) {
$tmp_hp[0] = 0;
$tmp_hp[1] = 0;
##################################MP, SSJ Verwandlungen, HP, Koerper Tausch Technicken
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/majin.php');
include (ROOT_PATH . '/include/kampf/majin.php');
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/atk_wert.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/tausch2.php'); //////////////////Muss ganz oben sein wegen technik Tauschen
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/gift.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/frucht.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/mp.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hp.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hp2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/SSJ.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kaioken.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kaioken2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/copy.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/lose.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/lose2.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/ausdauer.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/mpv.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/tausch.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/hpmp.php');
include (ROOT_PATH . '/include/kampf/atk_wert.php');
include (ROOT_PATH . '/include/kampf/tausch2.php'); //////////////////Muss ganz oben sein wegen technik Tauschen
include (ROOT_PATH . '/include/kampf/gift.php');
include (ROOT_PATH . '/include/kampf/frucht.php');
include (ROOT_PATH . '/include/kampf/mp.php');
include (ROOT_PATH . '/include/kampf/hp.php');
include (ROOT_PATH . '/include/kampf/hp2.php');
include (ROOT_PATH . '/include/kampf/SSJ.php');
include (ROOT_PATH . '/include/kampf/kaioken.php');
include (ROOT_PATH . '/include/kampf/kaioken2.php');
include (ROOT_PATH . '/include/kampf/copy.php');
include (ROOT_PATH . '/include/kampf/lose.php');
include (ROOT_PATH . '/include/kampf/lose2.php');
include (ROOT_PATH . '/include/kampf/ausdauer.php');
include (ROOT_PATH . '/include/kampf/mpv.php');
include (ROOT_PATH . '/include/kampf/tausch.php');
include (ROOT_PATH . '/include/kampf/hpmp.php');
//Als letztes um alle HP-Attacken zu kontern (in $tmp_hp gespeichert)
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/konter_heal.php');
include (ROOT_PATH . '/include/kampf/konter_heal.php');
//include "kampf/summon.php";
}
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/atk_wert.php');
include (ROOT_PATH . '/include/kampf/atk_wert.php');
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/schatten.php');
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/runde.php');
include (ROOT_PATH . '/include/kampf/schatten.php');
include (ROOT_PATH . '/include/kampf/runde.php');
}
#####################################KAMPF SYSTEM
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf/kampf_rechnung.php');
include (ROOT_PATH . '/include/kampf/kampf_rechnung.php');
$db_query = mysql_fetch_array(mysql_query("SELECT * FROM kampf WHERE (char1='$chara_1[id]' OR char1='$chara_2[id]') AND dauer='0' order by id DESC LIMIT 1"));

@ -5,14 +5,15 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/abholcodes.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/semaphore.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/exp.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/abholcodes.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/semaphore.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
include_once (ROOT_PATH . '/include/exp.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
@ -104,7 +105,7 @@ $a_mp2[0] = round($a_mp2[0]);
$a_hp1[0] = round($a_hp1[0]);
$a_hp2[0] = round($a_hp2[0]);
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf_anzeige.php');
include_once (ROOT_PATH . '/include/kampf_anzeige.php');
$runde = $runde -1;
if ($kampf1['id']) {
@ -249,7 +250,7 @@ if ($kampf1['id']) {
addExpToArena($char_2['besitzer'], $kampf1['arena_exp']-round($kampf1['arena_exp']*0.25));
// Umsatz wird schon vorher ermittelt :)
// mysql_query('UPDATE arena SET einnahmen = einnahmen + '.$kampf1['arena_geld'].' WHERE besitzer='.$char_2['besitzer']);
// include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/arena_exp.php');
// include_once (ROOT_PATH . '/include/arena_exp.php');
} else{
addExpToArena($char_1['besitzer'], round($kampf1['arena_exp']*0.25));
}
@ -269,7 +270,7 @@ if ($kampf1['id']) {
}
// mysql_query("DELETE FROM kampf_nachricht WHERE charakter='$char_id'");
// include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/exp.php');
// include_once (ROOT_PATH . '/include/exp.php');
// Hinzufuegen der Exp und der Attacken :)
addExpToChar($char_id, $new_exp); // That was easy :)

@ -5,9 +5,10 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/arena.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/arena.inc.php');
$k_exp[0] = "";
$X23 = "";
@ -119,7 +120,7 @@ while ($k_hp[0] > $k_aufgabe[0] AND $k_hp[1] > $k_aufgabe[1] AND $x < 10) {
$technick2 = mysql_fetch_array(mysql_query("SELECT * FROM attacken WHERE id='$technick2[at_id]' LIMIT 10"));
///////////////////Hier laedt er den RELOAD der technik wenn die zusammen setzung nicht stimmen sollte
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/andere_technik.php'); /////////////////// Wenn man ne andere technik sich aussuchen will...
include (ROOT_PATH . '//include/kampf/andere_technik.php'); /////////////////// Wenn man ne andere technik sich aussuchen will...
$technick1[speed] = $technick1[speed] + (($technick1[speed] / 100) * $prozent_technik1);
$technick2[speed] = $technick2[speed] + (($technick2[speed] / 100) * $prozent_technik2);
@ -149,36 +150,36 @@ while ($k_hp[0] > $k_aufgabe[0] AND $k_hp[1] > $k_aufgabe[1] AND $x < 10) {
$aussetzten_runde = ""; ////// MUSS SO BLEIBEN WICHTIG
##################################MP, SSJ Verwandlungen, HP, Koerper Tausch Technicken
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/majin.php');
include (ROOT_PATH . '//include/kampf/majin.php');
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/atk_wert.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/tausch2.php'); //////////////////Muss ganz oben sein wegen technik Tauschen
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/gift.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/frucht.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/mp.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/hp.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/hp2.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/SSJ.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/kaioken.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/kaioken2.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/copy.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/lose.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/lose2.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/ausdauer.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/mpv.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/tausch.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/hpmp.php');
include (ROOT_PATH . '//include/kampf/atk_wert.php');
include (ROOT_PATH . '//include/kampf/tausch2.php'); //////////////////Muss ganz oben sein wegen technik Tauschen
include (ROOT_PATH . '//include/kampf/gift.php');
include (ROOT_PATH . '//include/kampf/frucht.php');
include (ROOT_PATH . '//include/kampf/mp.php');
include (ROOT_PATH . '//include/kampf/hp.php');
include (ROOT_PATH . '//include/kampf/hp2.php');
include (ROOT_PATH . '//include/kampf/SSJ.php');
include (ROOT_PATH . '//include/kampf/kaioken.php');
include (ROOT_PATH . '//include/kampf/kaioken2.php');
include (ROOT_PATH . '//include/kampf/copy.php');
include (ROOT_PATH . '//include/kampf/lose.php');
include (ROOT_PATH . '//include/kampf/lose2.php');
include (ROOT_PATH . '//include/kampf/ausdauer.php');
include (ROOT_PATH . '//include/kampf/mpv.php');
include (ROOT_PATH . '//include/kampf/tausch.php');
include (ROOT_PATH . '//include/kampf/hpmp.php');
//include "kampf/summon.php";
}
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/atk_wert.php');
include (ROOT_PATH . '//include/kampf/atk_wert.php');
if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/schatten.php');
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/runde.php');
include (ROOT_PATH . '//include/kampf/schatten.php');
include (ROOT_PATH . '//include/kampf/runde.php');
}
#####################################KAMPF SYSTEM
include ($_SERVER['DOCUMENT_ROOT'] . '/ag/include/kampf/kampf_rechnung.php');
include (ROOT_PATH . '//include/kampf/kampf_rechnung.php');
#$db_query = mysql_fetch_array(mysql_query("SELECT * FROM clan_fights WHERE (char1='$chara_1[id]' OR char1='$chara_2[id]') AND dauer='0' order by id DESC LIMIT 1"));
$db_query = mysql_fetch_array(mysql_query("SELECT * FROM clan_fights WHERE (char1='$chara_1[id]' OR char1='$chara_2[id]') order by id DESC LIMIT 1"));

@ -5,15 +5,15 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/abholcodes.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/semaphore.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/img.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/exp.inc.php');
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/abholcodes.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/semaphore.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/img.inc.php');
include_once(ROOT_PATH.'/include/exp.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -5,8 +5,9 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
?>
<SCRIPT language="JavaScript">

@ -5,11 +5,12 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
@ -68,4 +69,4 @@ $a_mp1 = explode(",", $char_1[mp]);
$a_mp2 = explode(",", $char_2[mp]);
$runde = 1;
include($_SERVER['DOCUMENT_ROOT'].'ag/include/kampf_anzeige.php');
include(ROOT_PATH.'/include/kampf_anzeige.php');

@ -7,9 +7,10 @@
*/
$nodisturb = 'YES';
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
@ -72,5 +73,5 @@ $a_mp1 = explode(",", $char_1[mp]);
$a_mp2 = explode(",", $char_2[mp]);
$runde = 1;
include($_SERVER['DOCUMENT_ROOT'].'ag/include/kampf_anzeige.php');
include(ROOT_PATH.'/include/kampf_anzeige.php');
?>

@ -5,11 +5,12 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
//nur zum test
// GET-Section
@ -67,4 +68,4 @@ $a_mp1 = explode(",", $char_1[mp]);
$a_mp2 = explode(",", $char_2[mp]);
$runde = 1;
include($_SERVER['DOCUMENT_ROOT'].'/ag/include/kampf_anzeige.php');
include(ROOT_PATH.'//include/kampf_anzeige.php');

@ -5,12 +5,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/messagefunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/messagefunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
@ -28,7 +29,7 @@ $charm = $_GET['charm'];
if (!$char_id) {
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/char_index.php');
include (ROOT_PATH . '/char_index.php');
exit;
}

@ -5,9 +5,10 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gfx/gfx_config.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/gfx/gfx_config.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
// GET-Section
// Leer

@ -5,9 +5,10 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/char.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)
@ -83,7 +84,7 @@ if ($kampf_id) {
$a_mp2 = explode(",", $char_2[mp]);
$runde = 1;
include ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/kampf_anzeige.php');
include (ROOT_PATH . '/include/kampf_anzeige.php');
exit;
} else {

@ -6,9 +6,9 @@
*
*/
if (isset($_POST['nick_name']) and isset($_POST['pw_1'])) {
include_once($_SERVER['DOCUMENT_ROOT'] . '/ag/include/config/db.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'] . '/ag/include/user.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'] . '/ag/include/parse.inc.php');
include_once(ROOT_PATH . '//include/config/db.inc.php');
include_once(ROOT_PATH . '//include/user.inc.php');
include_once(ROOT_PATH . '//include/parse.inc.php');
$nick_name = validateName($_POST['nick_name']);
$pw_1 = validateString($_POST['pw_1']);
@ -18,7 +18,7 @@ if (isset($_POST['nick_name']) and isset($_POST['pw_1'])) {
if (checkLoginPassword($nick_name, $pw_1)) {
// MumbleAddon!!
if(isset($GLOBALS['mumble_db_name'])){
include_once($_SERVER['DOCUMENT_ROOT'] . 'ag/include/mumble.inc.php');
include_once(ROOT_PATH . '/include/mumble.inc.php');
insertUser($_POST['nick_name'], $_POST['pw_1']);
}

@ -5,12 +5,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/speed_config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config/db.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'] . 'ag/include/user.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config/speed_config.inc.php');
include_once (ROOT_PATH . '/include/config/db.inc.php');
include_once(ROOT_PATH . '/include/designfunctions.inc.php');
include_once(ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH . '/include/parse.inc.php');
include_once(ROOT_PATH . '/include/user.inc.php');
$nick_name = validateName($_POST['nick_name']);
$pw_1 = validateString($_POST['pw_1']);
@ -24,7 +25,7 @@ if (!checkLoginPassword($nick_name, $pw_1)) {
// MumbleAddon!!
if(isset($GLOBALS['mumble_db_name'])){
include_once($_SERVER['DOCUMENT_ROOT'] . 'ag/include/mumble.inc.php');
include_once(ROOT_PATH . '/include/mumble.inc.php');
insertUser($_POST['nick_name'], $_POST['pw_1']);
}

@ -5,13 +5,14 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/gfx/gfx_config.php');
include_once(ROOT_PATH.'/gfx/gfx_config.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -5,12 +5,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/messagefunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/messagefunctions.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -5,9 +5,10 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -5,8 +5,9 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
?>
<table cellpadding="0" cellspacing="0" height="45">
<tr>

@ -0,0 +1,23 @@
<?php
//define('ROOT_PATH', ROOT_PATH.'ag
// okay and now define the url ;)
if(!defined('ROOT_PATH')) {
$actual_path = $_SERVER['SCRIPT_FILENAME'];
$url_path = $_SERVER['SCRIPT_NAME' ];
//s echo $actual_path .'<br>';
// okay this is the script that has included us :) -> lets search for the include/config/ directory
while(strlen($actual_path) > 0) {
$actual_path = substr($actual_path,0,strrpos($actual_path,'/'));
$url_path = substr($url_path,0,strrpos($url_path,'/'));
if(is_dir($actual_path . '/include/config')) {
define('ROOT_PATH', $actual_path);
define('ROOT_URL', $url_path);
}
}
}
?>

@ -5,11 +5,12 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/user.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/user.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -5,7 +5,8 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/parse.inc.php');
// GET-Section

@ -5,11 +5,12 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -5,17 +5,18 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/config.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/abholcodes.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/schatz.inc.php'); // Hilfsfunktionen
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/char.inc.php'); // Hilfsfunktionen
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/semaphore.inc.php');
include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/img.inc.php');
include 'gfx/gfx_config.php';
include_once('path.inc.php'); // get the path ;)
include_once (ROOT_PATH . '/include/config.inc.php');
include_once (ROOT_PATH . '/include/parse.inc.php');
include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php');
include_once (ROOT_PATH . '/include/abholcodes.inc.php');
include_once (ROOT_PATH . '/include/designfunctions.inc.php');
include_once (ROOT_PATH . '/include/schatz.inc.php'); // Hilfsfunktionen
include_once (ROOT_PATH . '/include/char.inc.php'); // Hilfsfunktionen
include_once (ROOT_PATH . '/include/semaphore.inc.php');
include_once (ROOT_PATH . '/include/img.inc.php');
include_once ROOT_PATH . 'gfx/gfx_config.php';
// GET-Section
// Kritisch (SQL-Injections)

@ -4,15 +4,17 @@
* @copyright (c) 2010 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/abholcodes.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/semaphore.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/kampf_anzeige.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/schatz.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
*/
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/abholcodes.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/semaphore.inc.php');
include_once(ROOT_PATH.'/include/kampf_anzeige.inc.php');
include_once(ROOT_PATH.'/include/schatz.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -6,7 +6,8 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
if(!$char_id) {
include "char_index.php";
exit;

@ -5,11 +5,12 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/fehlerausgabe.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/designfunctions.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/config.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/fehlerausgabe.inc.php');
include_once(ROOT_PATH.'/include/designfunctions.inc.php');
include_once(ROOT_PATH.'/include/char.inc.php');
// GET-Section
// Kritisch (SQL-Injections)

@ -6,7 +6,8 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/donate.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/donate.inc.php');

@ -5,11 +5,11 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/user.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan_fights.inc.php');
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/user.inc.php');
include_once(ROOT_PATH.'/include/parse.inc.php');
include_once(ROOT_PATH.'/include/clan.inc.php');
include_once(ROOT_PATH.'/include/clan_fights.inc.php');
$acceptTestCase = true;
@ -54,7 +54,7 @@ if($acceptTestCase) {
if($result !== NULL) {
echo $result.'<br>';
}
/*
if(getOpenChallengeRequestCount($clan1['id']) > 0) {
echo 'Fehler in getOpenChallengeRequestCount: Es sollte kein Fight-Request offen sein!!<br>';
}
@ -103,7 +103,7 @@ if($acceptTestCase) {
$result = joinChallenge($clan_challenge_id, $leaderClan2, $chars2[0]['id'], 1);
if($result !== NULL) {
echo $result .'<br>';
}
}*/

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save