ER-Sourceviewer 2007 v2.0
Alle Dateien, die hier eingesehen werden können, sind unter der GNU GPL lizenziert. Wenn du etwas darin findest, das du gerne hättest, so schreibe mir doch bitte eine Anfrage damit ich, wenn ich es rausgeben will, alle Änderungen raussuchen könnte. Denn ich übernehme keine Verantwortung, solltest du was rausnehmen und es geht nicht. Und Support deswegen geb ich schon gar nicht.
Solltest du eine Schwachstelle im Code finden, sei es eine kritische Lücke oder eine Möglichkeit zu cheaten, dann bitte ich dich, mir das mitzuteilen. Solltest du beim cheaten erwischt werden, werde ich deinen Account eigenhändig löschen & bannen; Solltest du meinen Server angreifen, so werde ich meine Rechtsschutzversicherung kontaktieren.
Zur Source springen
Verzeichnisse:
-
./
Hoch
- about.php
-
- Grösse:
- 35,12 KiB
- Letzte Änderung
- 22.04.2009 3:14
- academy.php
-
- Grösse:
- 22,85 KiB
- Letzte Änderung
- 22.04.2009 3:14
- admin_forum.php
-
- Grösse:
- 2,78 KiB
- Letzte Änderung
- 22.04.2009 3:14
- anticheat.php
-
- Grösse:
- 690 bytes
- Letzte Änderung
- 22.04.2009 3:14
- armor.php
-
- Grösse:
- 16,47 KiB
- Letzte Änderung
- 22.04.2009 3:14
- armoreditor.php
-
- Grösse:
- 3,16 KiB
- Letzte Änderung
- 22.04.2009 3:14
- avatars.php
-
- Grösse:
- 1,70 KiB
- Letzte Änderung
- 22.04.2009 3:14
- badnav.php
-
- Grösse:
- 853 bytes
- Letzte Änderung
- 22.04.2009 3:14
- badword.php
-
- Grösse:
- 2,61 KiB
- Letzte Änderung
- 22.04.2009 3:14
- bank.php
-
- Grösse:
- 18,46 KiB
- Letzte Änderung
- 22.04.2009 3:14
- battle.php
-
- Grösse:
- 27,81 KiB
- Letzte Änderung
- 22.04.2009 3:14
- battlearena.php
-
- Grösse:
- 25,60 KiB
- Letzte Änderung
- 22.04.2009 3:14
- beggar.php
-
- Grösse:
- 10,44 KiB
- Letzte Änderung
- 22.04.2009 3:50
- bio.php
-
- Grösse:
- 5,31 KiB
- Letzte Änderung
- 01.08.2009 9:13
- bios.php
-
- Grösse:
- 2,26 KiB
- Letzte Änderung
- 22.04.2009 3:14
- chat.php
-
- Grösse:
- 140 bytes
- Letzte Änderung
- 22.04.2009 3:14
- colors.php
-
- Grösse:
- 13,27 KiB
- Letzte Änderung
- 28.04.2009 5:52
- common.php
-
- Grösse:
- 70,75 KiB
- Letzte Änderung
- 02.08.2009 9:00
- configuration.php
-
- Grösse:
- 10,58 KiB
- Letzte Änderung
- 11.05.2009 8:12
- connector.php
-
- Grösse:
- 1,16 KiB
- Letzte Änderung
- 22.04.2009 3:14
- create.php
-
- Grösse:
- 21,91 KiB
- Letzte Änderung
- 14.06.2009 1:43
- creatures.php
-
- Grösse:
- 8,43 KiB
- Letzte Änderung
- 22.04.2009 3:14
- dag.php
-
- Grösse:
- 11,17 KiB
- Letzte Änderung
- 22.04.2009 3:14
- dbwrapper.php
-
- Grösse:
- 3,33 KiB
- Letzte Änderung
- 22.04.2009 3:14
- donators.php
-
- Grösse:
- 2,27 KiB
- Letzte Änderung
- 22.04.2009 3:14
- dragon.php
-
- Grösse:
- 15,08 KiB
- Letzte Änderung
- 22.04.2009 3:14
- editchat.php
-
- Grösse:
- 4,55 KiB
- Letzte Änderung
- 02.05.2009 4:52
- enter.php
-
- Grösse:
- 3,92 KiB
- Letzte Änderung
- 02.08.2009 7:31
- forest.php
-
- Grösse:
- 14,45 KiB
- Letzte Änderung
- 22.04.2009 3:14
- forum.php
-
- Grösse:
- 8,67 KiB
- Letzte Änderung
- 03.05.2009 3:21
- gardens.php
-
- Grösse:
- 22,25 KiB
- Letzte Änderung
- 22.04.2009 3:14
- gilden.php
-
- Grösse:
- 8,93 KiB
- Letzte Änderung
- 11.05.2009 8:30
- gildenstrasse.php
-
- Grösse:
- 8,62 KiB
- Letzte Änderung
- 11.05.2009 8:31
- gildentool.php
-
- Grösse:
- 2,89 KiB
- Letzte Änderung
- 11.05.2009 8:30
- gildenverwalt.php
-
- Grösse:
- 11,45 KiB
- Letzte Änderung
- 12.05.2009 7:03
- graveyard.php
-
- Grösse:
- 18,84 KiB
- Letzte Änderung
- 22.04.2009 3:14
- gypsy.php
-
- Grösse:
- 6,77 KiB
- Letzte Änderung
- 22.04.2009 3:14
- healer.php
-
- Grösse:
- 7,34 KiB
- Letzte Änderung
- 22.04.2009 3:14
- hexe.php
-
- Grösse:
- 19,15 KiB
- Letzte Änderung
- 22.04.2009 3:14
- hof.php
-
- Grösse:
- 11,29 KiB
- Letzte Änderung
- 22.04.2009 3:14
- housefunctions.php
-
- Grösse:
- 3,32 KiB
- Letzte Änderung
- 24.04.2009 5:11
- houses.php
-
- Grösse:
- 44,42 KiB
- Letzte Änderung
- 27.07.2009 9:47
- houseshop.php
-
- Grösse:
- 15,75 KiB
- Letzte Änderung
- 24.04.2009 5:11
- index.php
-
- Grösse:
- 7,49 KiB
- Letzte Änderung
- 28.07.2009 9:01
- inn.php
-
- Grösse:
- 65,39 KiB
- Letzte Änderung
- 22.04.2009 3:14
- innboard.php
-
- Grösse:
- 1,33 KiB
- Letzte Änderung
- 22.04.2009 3:14
- invhandler.php
-
- Grösse:
- 7,37 KiB
- Letzte Änderung
- 22.04.2009 3:14
- itemeditor.php
-
- Grösse:
- 9,80 KiB
- Letzte Änderung
- 22.04.2009 3:14
- list.php
-
- Grösse:
- 6,03 KiB
- Letzte Änderung
- 25.07.2009 12:19
- lodge.php
-
- Grösse:
- 43,34 KiB
- Letzte Änderung
- 28.07.2009 7:47
- logdnet.php
-
- Grösse:
- 2,29 KiB
- Letzte Änderung
- 22.04.2009 3:14
- login.php
-
- Grösse:
- 7,12 KiB
- Letzte Änderung
- 16.05.2009 9:09
- logs.php
-
- Grösse:
- 20,09 KiB
- Letzte Änderung
- 22.04.2009 6:33
- lottery.php
-
- Grösse:
- 10,59 KiB
- Letzte Änderung
- 22.04.2009 3:14
- mail.php
-
- Grösse:
- 26,66 KiB
- Letzte Änderung
- 02.05.2009 6:23
- motd.php
-
- Grösse:
- 7,97 KiB
- Letzte Änderung
- 18.05.2009 10:02
- mounts.php
-
- Grösse:
- 9,60 KiB
- Letzte Änderung
- 22.04.2009 3:14
- newday.php
-
- Grösse:
- 25,41 KiB
- Letzte Änderung
- 03.05.2009 3:21
- newgiftshop.php
-
- Grösse:
- 16,33 KiB
- Letzte Änderung
- 22.04.2009 3:14
- news.php
-
- Grösse:
- 4,16 KiB
- Letzte Änderung
- 03.08.2009 5:31
- olddrawl.php
-
- Grösse:
- 8,40 KiB
- Letzte Änderung
- 22.04.2009 3:14
- outhouse.php
-
- Grösse:
- 8,68 KiB
- Letzte Änderung
- 22.04.2009 3:14
- partner.php
-
- Grösse:
- 3,63 KiB
- Letzte Änderung
- 19.05.2009 5:28
- paths.php
-
- Grösse:
- 310 bytes
- Letzte Änderung
- 22.04.2009 3:14
- penal_record.php
-
- Grösse:
- 5,99 KiB
- Letzte Änderung
- 29.07.2009 12:13
- petition.php
-
- Grösse:
- 20,76 KiB
- Letzte Änderung
- 12.06.2009 10:51
- phpinfo.php
-
- Grösse:
- 25 bytes
- Letzte Änderung
- 22.04.2009 6:37
- prefs.php
-
- Grösse:
- 10,91 KiB
- Letzte Änderung
- 02.08.2009 12:10
- pvp.php
-
- Grösse:
- 14,62 KiB
- Letzte Änderung
- 22.04.2009 3:14
- pvparena.php
-
- Grösse:
- 49,43 KiB
- Letzte Änderung
- 22.04.2009 3:14
- raceeditor.php
-
- Grösse:
- 17,96 KiB
- Letzte Änderung
- 22.04.2009 3:27
- rebirth.php
-
- Grösse:
- 10,98 KiB
- Letzte Änderung
- 22.04.2009 3:14
- referers.php
-
- Grösse:
- 3,16 KiB
- Letzte Änderung
- 22.04.2009 3:14
- referral.php
-
- Grösse:
- 3,00 KiB
- Letzte Änderung
- 22.04.2009 3:14
- registratur.php
-
- Grösse:
- 13,16 KiB
- Letzte Änderung
- 22.04.2009 3:14
- retitle.php
-
- Grösse:
- 1,89 KiB
- Letzte Änderung
- 22.04.2009 3:14
- rock.php
-
- Grösse:
- 6,20 KiB
- Letzte Änderung
- 22.04.2009 3:14
- setnewday.php
-
- Grösse:
- 6,89 KiB
- Letzte Änderung
- 14.05.2009 2:32
- shades.php
-
- Grösse:
- 1,08 KiB
- Letzte Änderung
- 22.04.2009 3:14
- showdetail.php
-
- Grösse:
- 401 bytes
- Letzte Änderung
- 12.05.2009 3:36
- shrine.php
-
- Grösse:
- 6,80 KiB
- Letzte Änderung
- 22.04.2009 3:14
- source.php
-
- Grösse:
- 6,94 KiB
- Letzte Änderung
- 22.04.2009 10:57
- stables.php
-
- Grösse:
- 6,41 KiB
- Letzte Änderung
- 22.04.2009 3:14
- stats.php
-
- Grösse:
- 2,99 KiB
- Letzte Änderung
- 22.04.2009 3:14
- stonesgame.php
-
- Grösse:
- 4,50 KiB
- Letzte Änderung
- 22.04.2009 3:14
- styx.php
-
- Grösse:
- 7,29 KiB
- Letzte Änderung
- 22.04.2009 3:14
- suhouses.php
-
- Grösse:
- 44,88 KiB
- Letzte Änderung
- 24.04.2009 5:11
- superuser.php
-
- Grösse:
- 9,34 KiB
- Letzte Änderung
- 22.07.2009 6:55
- taunt.php
-
- Grösse:
- 2,98 KiB
- Letzte Änderung
- 22.04.2009 3:14
- todolist.php
-
- Grösse:
- 8,42 KiB
- Letzte Änderung
- 22.04.2009 3:14
- topwebvote.php
-
- Grösse:
- 753 bytes
- Letzte Änderung
- 22.04.2009 3:14
- train.php
-
- Grösse:
- 13,60 KiB
- Letzte Änderung
- 22.04.2009 3:14
- translator.php
-
- Grösse:
- 1,84 KiB
- Letzte Änderung
- 22.04.2009 3:14
- translator_de.php
-
- Grösse:
- 402 bytes
- Letzte Änderung
- 22.04.2009 3:14
- translator_en.php
-
- Grösse:
- 1,21 KiB
- Letzte Änderung
- 22.04.2009 3:14
- user.php
-
- Grösse:
- 22,24 KiB
- Letzte Änderung
- 22.07.2009 6:48
- vendor.php
-
- Grösse:
- 8,42 KiB
- Letzte Änderung
- 22.04.2009 3:14
- verfifi.php
-
- Grösse:
- 12,78 KiB
- Letzte Änderung
- 22.07.2009 12:45
- viewpetition.php
-
- Grösse:
- 9,10 KiB
- Letzte Änderung
- 22.04.2009 3:14
- village.php
-
- Grösse:
- 6,62 KiB
- Letzte Änderung
- 28.07.2009 12:41
- weaponeditor.php
-
- Grösse:
- 3,17 KiB
- Letzte Änderung
- 22.04.2009 3:14
- weapons.php
-
- Grösse:
- 16,60 KiB
- Letzte Änderung
- 22.04.2009 3:14
- well.php
-
- Grösse:
- 2,10 KiB
- Letzte Änderung
- 22.04.2009 3:14
-
./lib/
Hoch
- commentary.php
-
- Grösse:
- 47,72 KiB
- Letzte Änderung
- 01.08.2009 3:54
- commentary.setting.php
-
- Grösse:
- 3,44 KiB
- Letzte Änderung
- 01.06.2009 3:03
- formulaclass.php
-
- Grösse:
- 1,24 KiB
- Letzte Änderung
- 16.05.2009 9:09
- gilden.php
-
- Grösse:
- 14,37 KiB
- Letzte Änderung
- 19.05.2009 7:37
- gildenbuilding.php
-
- Grösse:
- 14,08 KiB
- Letzte Änderung
- 16.05.2009 9:09
- gildentoolfunc.php
-
- Grösse:
- 7,56 KiB
- Letzte Änderung
- 16.05.2009 9:09
- gildenverwaltfunc.php
-
- Grösse:
- 15,72 KiB
- Letzte Änderung
- 16.05.2009 9:09
-
./housemodules/
Hoch
- commonroom.php
-
- Grösse:
- 5,50 KiB
- Letzte Änderung
- 24.04.2009 5:19
- default.php
-
- Grösse:
- 8,24 KiB
- Letzte Änderung
- 24.04.2009 5:10
- description.php
-
- Grösse:
- 5,97 KiB
- Letzte Änderung
- 24.04.2009 5:10
- fire_place_area.php
-
- Grösse:
- 6,04 KiB
- Letzte Änderung
- 24.04.2009 5:19
- lagune.php
-
- Grösse:
- 8,55 KiB
- Letzte Änderung
- 24.04.2009 5:19
- Lesezimmer.php
-
- Grösse:
- 14,61 KiB
- Letzte Änderung
- 24.04.2009 5:19
- logout.php
-
- Grösse:
- 5,53 KiB
- Letzte Änderung
- 24.04.2009 5:10
- private_chamber.php
-
- Grösse:
- 6,81 KiB
- Letzte Änderung
- 24.04.2009 5:10
- rename.php
-
- Grösse:
- 6,08 KiB
- Letzte Änderung
- 17.05.2009 2:43
- sleeproom.php
-
- Grösse:
- 8,35 KiB
- Letzte Änderung
- 24.04.2009 5:19
- treasury.php
-
- Grösse:
- 23,25 KiB
- Letzte Änderung
- 24.04.2009 5:11
- veranda.php
-
- Grösse:
- 15,57 KiB
- Letzte Änderung
- 24.04.2009 5:19
- verwaltungsraum.php
-
- Grösse:
- 7,03 KiB
- Letzte Änderung
- 24.04.2009 5:19
- _default_template.php
-
- Grösse:
- 4,87 KiB
- Letzte Änderung
- 24.04.2009 5:11
-
./builds/
Hoch
- armor.php
-
- Grösse:
- 2,46 KiB
- Letzte Änderung
- 11.05.2009 8:12
- weapon.php
-
- Grösse:
- 2,49 KiB
- Letzte Änderung
- 11.05.2009 8:12
Source anzeigen
Nach Oben
<?php
// 22062004
function removeEvilTags($source){
$allowedTags = '<h1><h2><h3><h4><h5><a><img>'.
'<p><br><span><sup><sub><marquee><fieldset><legend><ul><li><ol>'.
'<table><tr><td><th><tbody><div><hr><u><b><i><font><s><strike>';
$source = strip_tags(stripslashes($source), $allowedTags);
return trim($source);
}
require_once "common.php";
checkday();
$result = db_query("SELECT login,name,level,memberid,rankid,sex,title,specialty,hashorse,acctid,age,marriedto,pvpflag,charisma,resurrections,bio,dragonkills,race,avatar,housekey,punch,reputation,birthday FROM accounts WHERE login='$_GET[char]'");
$row = db_fetch_assoc($result);
$row[login] = rawurlencode($row[login]);
page_header("Charakter Biographie: ".preg_replace("'[`].'","",$row[name]));
$specialty=array(0=>"nicht spezifiziert","Dunkle Künste","Mystische Kräfte","Diebeskunst");
//$horses=array(0=>"None","Pony","Gelding","Stallion");
output("`^Biographie für $row[name]");
if ($session[user][loggedin]) output("<a href=\"mail.php?op=write&to=$row[login]\" target=\"_blank\" onClick=\"".popup("mail.php?op=write&to=$row[login]").";return false;\"><img src='images/newscroll.GIF' width='16' height='16' alt='Mail schreiben' border='0'></a>",true);
if (getsetting("avatare",0)==1){
if ($row[avatar]){
$pic_size = @getimagesize($row[avatar]);
$pic_width = $pic_size[0];
$pic_height = $pic_size[1];
output("<table><tr><td valign='top'>`n`n<img src=\"$row[avatar]\" ",true);
if ($pic_width > 400) output("width=\"400\" ",true );
if ($pic_height > 600) output("height=\"600\" ",true );
output("alt=\"".preg_replace("'[`].'","",$row[name])."\"> </td><td valign='top'>",true);
} else {
output("<table><tr><td>(kein Bild) </td><td>",true);
}
}
//let users try to cheat, we protect against this and will know if they try.
addnav("","superuser.php");
addnav("","user.php");
addnav("","taunt.php");
addnav("","creatures.php");
addnav("","configuration.php");
addnav("","badword.php");
addnav("","armoreditor.php");
addnav("","bios.php");
addnav("","badword.php");
addnav("","donators.php");
addnav("","referers.php");
addnav("","retitle.php");
addnav("","stats.php");
addnav("","viewpetition.php");
addnav("","weaponeditor.php");
output("`n`n`^Titel: `@$row[title]`n");
if (getsetting("activategamedate","0")==1 && $row[birthday]!="") output("`^Geburtstag: `@$row[birthday]`n");
//output("`^Level: `@$row[level]`n");
//output("`^Alter seit DK: `@$row[age]`^ Tage`n");
//output("`^Wiedererweckt: `@$row[resurrections]x`n");
output("`^Rasse: `@{$row['race']}`n");
output("`^Geschlecht: `@".($row[sex]?"Weiblich":"Männlich")."`n");
//output("`^Spezialgebiet: `@".$specialty[$row[specialty]]."`n");
/*$sql = "SELECT mountname FROM mounts WHERE mountid='{$row['hashorse']}'";
$result = db_query($sql);
$mount = db_fetch_assoc($result);
if ($mount['mountname']=="")
$mount['mountname'] = "`iKeines`i";
output("`^Tier: `@{$mount['mountname']}`n");*/
//if ($row['dragonkills']>0) output("`^Drachenkills: `@{$row['dragonkills']}`n");
//output("`^Bester Angriff: `@$row[punch]`n");
//output("<table border='0' cellspacing='0' cellpadding='0'><tr><td>`^Ansehen: </td><td>".grafbar(100,($row['reputation']+50),100,12)."</td></tr></table>",true);
if ($row[housekey]) output("`^Hausnummer: `@$row[housekey]`n");
if ($row[marriedto]){
if ($row[marriedto]==4294967295){
output("`^Verheiratet mit: `@".($row[sex]?"Seth":"Violet")."`n");
}elseif ($row[charisma]==4294967295){
$sql = "SELECT name FROM accounts WHERE acctid='{$row['marriedto']}'";
$result = db_query($sql);
$partner = db_fetch_assoc($result);
output("`^Verheiratet mit: `@{$partner['name']}`n");
}
}
/* Gildenaddon by Eliwood für Eliwoods Gilden */
if($row['memberid']>0)
{
$sql = "SELECT gildenid,gildenname,gildenprefix FROM gilden WHERE gildenid = '".$row['memberid']."' LIMIT 1";
$gilde = db_fetch_assoc(db_query($sql));
output("`^Tribemitgliedschaft: `@".$gilde['gildenname']."`@ [`0<a href='showdetail.php?id=".$gilde['gildenid']."' target='window_popup' onClick=\"".popup("showdetail.php?id=".$gilde['gildenid'])."; return false;\">`&".stripslashes($gilde['gildenprefix'])."`&</a>`@]`n",true);
$sql = "SELECT rankname FROM gildenranks WHERE rankid = '".$row['rankid']."' LIMIT 1";
$rank = db_fetch_assoc(db_query($sql));
output("`^Rang: `@".$rank['rankname']."`@`n");
}
//if ($row['pvpflag']=="5013-10-06 00:42:00") output("`4`iSteht unter besonderem Schutz`i");
if (getsetting("avatare",0)==1)output ("</td></tr></table>",true);
if ($row['bio']>'')
output('`n`^Bio: `@`n'.soap(removeEvilTags(nl2br($row['bio']))).'`n',true);
//output("`n`^Letzte Leistungen (und Niederlagen) von $row[name]`^");
$result = db_query("SELECT * FROM news WHERE accountid=$row[acctid] ORDER BY newsdate DESC,newsid ASC LIMIT 100");
$odate="";
for ($i=0;$i<db_num_rows($result);$i++){
$row = db_fetch_assoc($result);
if ($odate!=$row[newsdate]){
output("`n`b`@".date("D, M d",strtotime($row[newsdate]))."`b`n");
$odate=$row[newsdate];
}
output($row[newstext]."`n");
}
if ($_GET[ret]==""){
addnav("Zur Liste der Krieger","list.php");
}else{
$return = preg_replace("'[&?]c=[[:digit:]-]+'","",$_GET[ret]);
$return = substr($return,strrpos($return,"/")+1);
addnav("Zurück",$return);
}
page_footer();
?>