From 80e93d23ae2094a5372a47dd0feeca5c3cc3cfa9 Mon Sep 17 00:00:00 2001 From: hecht Date: Fri, 25 Apr 2014 21:36:18 +0000 Subject: [PATCH] Removed tailing ?> and removed invisible characters in SSJ.php --- ag/path.inc.php | 2 -- cronjob/3.php | 3 --- cronjob/Turnier2.php | 2 -- cronjob/generic_turnier.php | 3 --- cronjob/kampf/SSJ.php | 3 +-- cronjob/kampf/andere_technik.php | 3 --- cronjob/kampf/atk_wert.php | 1 - cronjob/kampf/ausdauer.php | 1 - cronjob/kampf/clan_exp.php | 1 - cronjob/kampf/clan_kampf.php | 1 - cronjob/kampf/fight_vorbei.php | 1 - cronjob/kampf/frucht.php | 1 - cronjob/kampf/gift.php | 1 - cronjob/kampf/hp.php | 1 - cronjob/kampf/hp2.php | 1 - cronjob/kampf/hpmp.php | 1 - cronjob/kampf/kaioken.php | 1 - cronjob/kampf/kaioken2.php | 1 - cronjob/kampf/kampf_include.php | 1 - cronjob/kampf/kampf_rechnung.php | 1 - cronjob/kampf/konter_heal.php | 3 --- cronjob/kampf/liga_kampf.php | 2 -- cronjob/kampf/lose.php | 1 - cronjob/kampf/lose2.php | 1 - cronjob/kampf/majin.php | 1 - cronjob/kampf/mp.php | 1 - cronjob/kampf/mpv.php | 1 - cronjob/kampf/runde.php | 1 - cronjob/kampf/schatten.php | 2 -- cronjob/kampf/summon.php | 1 - cronjob/kampf/tausch.php | 1 - cronjob/kampf/turnier_kampf.php | 1 - cronjob/kampf/wanted_kampf.php | 1 - cronjob/kampf_include.php | 1 - cronjob/liga.php | 1 - cronjob/liga_kampf.php | 1 - cronjob/tick.php | 2 -- cronjob/training.php | 2 -- cronjob/viertelstunde.php | 3 --- cronjob/wanted.php | 3 --- cronjob/wanted_kampf.php | 1 - 41 files changed, 1 insertion(+), 60 deletions(-) diff --git a/ag/path.inc.php b/ag/path.inc.php index 4efca73..e72da5c 100644 --- a/ag/path.inc.php +++ b/ag/path.inc.php @@ -28,5 +28,3 @@ if(!defined('ROOT_PATH')) { } } } - -?> \ No newline at end of file diff --git a/cronjob/3.php b/cronjob/3.php index fbc4f2f..d62baa9 100644 --- a/cronjob/3.php +++ b/cronjob/3.php @@ -8,6 +8,3 @@ include "db.php"; mysql_query("UPDATE chars SET status='Frei' WHERE status='Turnier'"); - - -?> \ No newline at end of file diff --git a/cronjob/Turnier2.php b/cronjob/Turnier2.php index abd8790..922e49c 100644 --- a/cronjob/Turnier2.php +++ b/cronjob/Turnier2.php @@ -34,5 +34,3 @@ $prices[] = 30; // 3. + 4. $prices[] = 20; // 5. - 8. distributeShopPoints($prices, $results, 'Wochenturnier'); - -?> \ No newline at end of file diff --git a/cronjob/generic_turnier.php b/cronjob/generic_turnier.php index fdd9d76..fadf4aa 100644 --- a/cronjob/generic_turnier.php +++ b/cronjob/generic_turnier.php @@ -222,6 +222,3 @@ while(count($char_array) > 1){ // Solange bis nur ein Char übrig bleibt } $char_array = $n_chars; } - - -?> \ No newline at end of file diff --git a/cronjob/kampf/SSJ.php b/cronjob/kampf/SSJ.php index 531313d..99aaa29 100644 --- a/cronjob/kampf/SSJ.php +++ b/cronjob/kampf/SSJ.php @@ -1,4 +1,4 @@ - \ No newline at end of file diff --git a/cronjob/kampf/andere_technik.php b/cronjob/kampf/andere_technik.php index 0d2f046..f329d26 100644 --- a/cronjob/kampf/andere_technik.php +++ b/cronjob/kampf/andere_technik.php @@ -83,7 +83,4 @@ $technick2 = mysql_fetch_array(mysql_query("SELECT at_id, aktiv FROM lernen WHER $prozent_technik2 = (20*$technick2[aktiv])-20; $technick2 = mysql_fetch_array(mysql_query("SELECT * FROM attacken WHERE id='$technick2[at_id]' LIMIT 10")); } - } - -?> \ No newline at end of file diff --git a/cronjob/kampf/atk_wert.php b/cronjob/kampf/atk_wert.php index a90eda5..f9acec1 100644 --- a/cronjob/kampf/atk_wert.php +++ b/cronjob/kampf/atk_wert.php @@ -41,4 +41,3 @@ $play2_ausweich = 0.6 * $speed_char2 / $speedsum + 0.4 * $luckp2 / $lucksum1; //echo '
DEBUG (NICHT ALS BUG MELDEN!!): Speed Char2 '.$speed_char2.', Glueck Char2 = '.$k_glueck[1].', Att-Luck Char2 '.$lucka2.', Par-Luck Char1 '.$luckp2.'
'; //echo '
DEBUG (NICHT ALS BUG MELDEN!!): ATTACK Char2 '.$zufall_pl2.', PARADE Char2 '.$play2_ausweich.'

'; -?> \ No newline at end of file diff --git a/cronjob/kampf/ausdauer.php b/cronjob/kampf/ausdauer.php index 011d688..8b36ad1 100644 --- a/cronjob/kampf/ausdauer.php +++ b/cronjob/kampf/ausdauer.php @@ -25,4 +25,3 @@ $k_ausdauer[1] = round($k_ausdauer[1] - ($k_ausdauer[1] /20)); } -?> \ No newline at end of file diff --git a/cronjob/kampf/clan_exp.php b/cronjob/kampf/clan_exp.php index 120596d..27a59a4 100644 --- a/cronjob/kampf/clan_exp.php +++ b/cronjob/kampf/clan_exp.php @@ -23,4 +23,3 @@ if($EXP_new2+$exp_rows2[min_exp] >= $exp_rows2[max_exp] AND $exp_rows2[level] != mysql_query("UPDATE clan SET level=level+1, max_exp='$new_max_exp2', member=member+2 WHERE id='$clan2[$iws]'"); } -?> \ No newline at end of file diff --git a/cronjob/kampf/clan_kampf.php b/cronjob/kampf/clan_kampf.php index 73fb602..67b988e 100644 --- a/cronjob/kampf/clan_kampf.php +++ b/cronjob/kampf/clan_kampf.php @@ -221,4 +221,3 @@ mysql_query("UPDATE clan SET geld=geld+'5000', siege=siege+1, min_exp=min_exp+'$ } -?> \ No newline at end of file diff --git a/cronjob/kampf/fight_vorbei.php b/cronjob/kampf/fight_vorbei.php index 398c7de..38add92 100644 --- a/cronjob/kampf/fight_vorbei.php +++ b/cronjob/kampf/fight_vorbei.php @@ -95,4 +95,3 @@ if($daten_satz['id']) { displayErrorMessage(NULL,'Sie können ihren Charakter nun abholen!', displayHistoryBackLink()); exit; } -?> diff --git a/cronjob/kampf/frucht.php b/cronjob/kampf/frucht.php index cf39577..f49ac4d 100644 --- a/cronjob/kampf/frucht.php +++ b/cronjob/kampf/frucht.php @@ -46,4 +46,3 @@ $k_ver[1] = $k_ver[1] + ($frucht_stats2[ver]*$technick2[verteidigung]); $k_glueck[1] = $k_glueck[1] + $frucht_stats2[glueck]; $aktion_AV2[$x] = "nein"; }} -?> \ No newline at end of file diff --git a/cronjob/kampf/gift.php b/cronjob/kampf/gift.php index 0d623f5..8e06a33 100644 --- a/cronjob/kampf/gift.php +++ b/cronjob/kampf/gift.php @@ -97,4 +97,3 @@ $aktion_AV2[$x] = "nein"; -?> \ No newline at end of file diff --git a/cronjob/kampf/hp.php b/cronjob/kampf/hp.php index c216fd5..7a195a4 100644 --- a/cronjob/kampf/hp.php +++ b/cronjob/kampf/hp.php @@ -16,4 +16,3 @@ $k_hp[0] = $k_hp[0] - $technick1[hp]; if($technick2[type] == normal AND $technick2[hp] > 0) { $k_hp[1] = $k_hp[1] - $technick2[hp]; } -?> \ No newline at end of file diff --git a/cronjob/kampf/hp2.php b/cronjob/kampf/hp2.php index 1728a59..6ca87f7 100644 --- a/cronjob/kampf/hp2.php +++ b/cronjob/kampf/hp2.php @@ -36,4 +36,3 @@ if ($technick2['type'] == 'hp') { $aktion_AV2[$x] = 'nein'; } } -?> \ No newline at end of file diff --git a/cronjob/kampf/hpmp.php b/cronjob/kampf/hpmp.php index 94d4c42..e78a8da 100644 --- a/cronjob/kampf/hpmp.php +++ b/cronjob/kampf/hpmp.php @@ -42,4 +42,3 @@ if($technick2['type'] == "hpmp") { $aktion_AV2[$x] = "nein"; } -?> diff --git a/cronjob/kampf/kaioken.php b/cronjob/kampf/kaioken.php index 5f54927..d0d6463 100644 --- a/cronjob/kampf/kaioken.php +++ b/cronjob/kampf/kaioken.php @@ -42,4 +42,3 @@ $aktion_AV2[$x] = "nein"; $schaden_2 = "kaioken"; }} -?> \ No newline at end of file diff --git a/cronjob/kampf/kaioken2.php b/cronjob/kampf/kaioken2.php index 573c46a..d330026 100644 --- a/cronjob/kampf/kaioken2.php +++ b/cronjob/kampf/kaioken2.php @@ -32,4 +32,3 @@ $k_ver[1] = $k_ver[1] + (($k_ver[1] / 100) * $technick2[verteidigung]); $aktion_AV2[$x] = "nein"; } -?> \ No newline at end of file diff --git a/cronjob/kampf/kampf_include.php b/cronjob/kampf/kampf_include.php index 68af9d8..1ead993 100644 --- a/cronjob/kampf/kampf_include.php +++ b/cronjob/kampf/kampf_include.php @@ -21,4 +21,3 @@ include "kampf/ausdauer.php"; include "kampf/mpv.php"; include "kampf/tausch.php"; include "kampf/hpmp.php"; -?> \ No newline at end of file diff --git a/cronjob/kampf/kampf_rechnung.php b/cronjob/kampf/kampf_rechnung.php index 32794e3..aa13e35 100644 --- a/cronjob/kampf/kampf_rechnung.php +++ b/cronjob/kampf/kampf_rechnung.php @@ -71,4 +71,3 @@ if($k_hp[0]<0) { $k_hp7[0] = 0; } else { $k_hp7[0] = $k_hp[0]; } if($k_mp[0]<0) { $k_mp7[0] = 0; } else { $k_mp7[0] = $k_mp[0]; } if($k_hp[1]<0) { $k_hp7[1] = 0; } else { $k_hp7[1] = $k_hp[1]; } if($k_mp[1]<0) { $k_mp7[1] = 0; } else { $k_mp7[1] = $k_mp[1]; } -?> \ No newline at end of file diff --git a/cronjob/kampf/konter_heal.php b/cronjob/kampf/konter_heal.php index 99e03da..bfef4d1 100644 --- a/cronjob/kampf/konter_heal.php +++ b/cronjob/kampf/konter_heal.php @@ -5,8 +5,6 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence * */ -?> - \ No newline at end of file diff --git a/cronjob/kampf/liga_kampf.php b/cronjob/kampf/liga_kampf.php index 5b31233..ea7728d 100644 --- a/cronjob/kampf/liga_kampf.php +++ b/cronjob/kampf/liga_kampf.php @@ -189,5 +189,3 @@ mysql_query("UPDATE chars SET liga_niederlagen=liga_niederlagen+1, liga_punkte=l mysql_query("UPDATE liga_kampf SET exp1='$k_exp[0]', win='$sieger', lose='$verlierer', exp2='$k_exp[1]', geld1='$k_geld[0]', geld2='$k_geld[1]', dauer='$dauer_Z' WHERE id='$db_query[id]'"); - -?> \ No newline at end of file diff --git a/cronjob/kampf/lose.php b/cronjob/kampf/lose.php index b507ab5..746aa94 100644 --- a/cronjob/kampf/lose.php +++ b/cronjob/kampf/lose.php @@ -46,4 +46,3 @@ $aktion_AV2[$x] = "nein"; $schaden_2 = "Schwächen"; }} -?> \ No newline at end of file diff --git a/cronjob/kampf/lose2.php b/cronjob/kampf/lose2.php index e4ea6aa..d315939 100644 --- a/cronjob/kampf/lose2.php +++ b/cronjob/kampf/lose2.php @@ -48,4 +48,3 @@ if($technick2['type'] == 'lose2') { } $aktion_AV2[$x] = 'nein'; } -?> diff --git a/cronjob/kampf/majin.php b/cronjob/kampf/majin.php index 0a01cdf..988cfa7 100644 --- a/cronjob/kampf/majin.php +++ b/cronjob/kampf/majin.php @@ -100,4 +100,3 @@ if($technick1['type'] == "majin") { $aussetzten_runde = 1; }} - ?> diff --git a/cronjob/kampf/mp.php b/cronjob/kampf/mp.php index db118dd..068302b 100644 --- a/cronjob/kampf/mp.php +++ b/cronjob/kampf/mp.php @@ -25,4 +25,3 @@ $k_hp[1] = $k_hp[1] + ($k_mp[1] * 10); $k_mp[1] = 0; } } -?> \ No newline at end of file diff --git a/cronjob/kampf/mpv.php b/cronjob/kampf/mpv.php index 5d576f1..98e3b4c 100644 --- a/cronjob/kampf/mpv.php +++ b/cronjob/kampf/mpv.php @@ -21,4 +21,3 @@ $k_mp[0] = 0; } $aktion_AV2[$x] = "nein"; } -?> \ No newline at end of file diff --git a/cronjob/kampf/runde.php b/cronjob/kampf/runde.php index 32d5090..8089c1e 100644 --- a/cronjob/kampf/runde.php +++ b/cronjob/kampf/runde.php @@ -47,4 +47,3 @@ $k_mp[1] = 0; } } } -?> \ No newline at end of file diff --git a/cronjob/kampf/schatten.php b/cronjob/kampf/schatten.php index eedc7b9..d19bcdd 100644 --- a/cronjob/kampf/schatten.php +++ b/cronjob/kampf/schatten.php @@ -74,5 +74,3 @@ if(!$old_ausweich_wert2) { $play2_ausweich=$old_ausweich_wert2; }} - -?> \ No newline at end of file diff --git a/cronjob/kampf/summon.php b/cronjob/kampf/summon.php index b8bab47..7892115 100644 --- a/cronjob/kampf/summon.php +++ b/cronjob/kampf/summon.php @@ -114,4 +114,3 @@ if($technick2[type] == "summon") { -?> \ No newline at end of file diff --git a/cronjob/kampf/tausch.php b/cronjob/kampf/tausch.php index 8d2e4e6..2214c91 100644 --- a/cronjob/kampf/tausch.php +++ b/cronjob/kampf/tausch.php @@ -121,4 +121,3 @@ if ($technick2['type'] == tausch) { } -?> \ No newline at end of file diff --git a/cronjob/kampf/turnier_kampf.php b/cronjob/kampf/turnier_kampf.php index cf651eb..b575502 100644 --- a/cronjob/kampf/turnier_kampf.php +++ b/cronjob/kampf/turnier_kampf.php @@ -190,4 +190,3 @@ $dauer_Z = time(); mysql_query("UPDATE turnier_kampf SET art='$art_1', round='$round', exp1='$k_exp[0]', win='$sieger', lose='$verlierer', exp2='$k_exp[1]', geld1='$k_geld[0]', geld2='$k_geld[1]', dauer='$dauer_Z' WHERE id='$db_query[id]'"); -?> \ No newline at end of file diff --git a/cronjob/kampf/wanted_kampf.php b/cronjob/kampf/wanted_kampf.php index de87f81..75b67ac 100644 --- a/cronjob/kampf/wanted_kampf.php +++ b/cronjob/kampf/wanted_kampf.php @@ -204,4 +204,3 @@ mysql_query("UPDATE chars SET preis='$new_preis2', dead_list='$new_dead_list2' W mysql_query("UPDATE wanted_kampf SET exp1='$k_exp[0]', win='$sieger', lose='$verlierer', exp2='$k_exp[1]', geld1='$k_geld[0]', geld2='$k_geld[1]', dauer='$dauer_Z' WHERE id='$db_query[id]'"); -?> \ No newline at end of file diff --git a/cronjob/kampf_include.php b/cronjob/kampf_include.php index 79acf25..9947e88 100644 --- a/cronjob/kampf_include.php +++ b/cronjob/kampf_include.php @@ -53,4 +53,3 @@ if (!$aussetzten_runde) { /////DAS FUER MAJIN ATTACKEN -?> diff --git a/cronjob/liga.php b/cronjob/liga.php index 1286432..65e6f59 100644 --- a/cronjob/liga.php +++ b/cronjob/liga.php @@ -35,4 +35,3 @@ $ligas = mysql_fetch_array(mysql_query("SELECT liga FROM online WHERE id='1'")); mysql_query("UPDATE online SET liga='$ligas[liga],$platz_a,$platz_b' WHERE id='1'"); // insertIntoHallOfFame($title, $charid, $userid); insertIntoHallOfFame('Liga', $platz_a_id, $platz_b_id); -?> \ No newline at end of file diff --git a/cronjob/liga_kampf.php b/cronjob/liga_kampf.php index 56e9053..bf500a5 100644 --- a/cronjob/liga_kampf.php +++ b/cronjob/liga_kampf.php @@ -181,4 +181,3 @@ mysql_query("UPDATE chars SET liga_niederlagen=liga_niederlagen+1, liga_punkte=l mysql_query("UPDATE liga_kampf SET exp1='$k_exp[0]', win='$sieger', lose='$verlierer', exp2='$k_exp[1]', geld1='$k_geld[0]', geld2='$k_geld[1]', dauer='$dauer_Z' WHERE id='$db_query[id]'"); -?> \ No newline at end of file diff --git a/cronjob/tick.php b/cronjob/tick.php index 9cb5179..581c0ae 100644 --- a/cronjob/tick.php +++ b/cronjob/tick.php @@ -11,5 +11,3 @@ include_once(ROOT_PATH.'/include/config/db.inc.php'); include_once(ROOT_PATH.'/include/tasking.inc.php'); tick(); - -?> \ No newline at end of file diff --git a/cronjob/training.php b/cronjob/training.php index ff90e7a..793b074 100644 --- a/cronjob/training.php +++ b/cronjob/training.php @@ -231,5 +231,3 @@ if (mysql_num_rows($u_qry) != 0) { } - -?> \ No newline at end of file diff --git a/cronjob/viertelstunde.php b/cronjob/viertelstunde.php index 13d734c..07eb2e6 100644 --- a/cronjob/viertelstunde.php +++ b/cronjob/viertelstunde.php @@ -184,6 +184,3 @@ if(count($arrayCpy)<=1) { detectMultiAccounts(); } - - -?> diff --git a/cronjob/wanted.php b/cronjob/wanted.php index cda662b..585d430 100644 --- a/cronjob/wanted.php +++ b/cronjob/wanted.php @@ -73,6 +73,3 @@ while($a8 < $max_charakter) $b8+=2; } - - -?> \ No newline at end of file diff --git a/cronjob/wanted_kampf.php b/cronjob/wanted_kampf.php index cb64cc7..9f430a4 100644 --- a/cronjob/wanted_kampf.php +++ b/cronjob/wanted_kampf.php @@ -191,4 +191,3 @@ mysql_query("UPDATE chars SET preis='$new_preis2', dead_list='$new_dead_list2' W mysql_query("UPDATE wanted_kampf SET exp1='$k_exp[0]', win='$sieger', lose='$verlierer', exp2='$k_exp[1]', geld1='$k_geld[0]', geld2='$k_geld[1]', dauer='$dauer_Z' WHERE id='$db_query[id]'"); -?> \ No newline at end of file