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
// 15082004
require_once "common.php";
if ($session[user][loggedin]) {
checkday();
if ($session[user][alive]) {
addnav("Zurück zum Dorf","village.php");
} else {
addnav("Zurück zu den Schatten", "shades.php");
}
addnav("Gerade Online","list.php");
if ($session['user']['rpbulb']==0) addnav("RP-Bereitschaft ein","list.php?op=rpon");
if ($session['user']['rpbulb']==1) addnav("RP-Bereitschaft aus","list.php?op=rpoff");
}else{
addnav("Login Seite","index.php");
addnav("Gerade Online","list.php");
}
page_header("Kämpferliste");
if($_GET[op]=="rpon")
{
$session['user']['rpbulb']++;
redirect("list.php");
}
if($_GET[op]=="rpoff")
{
$session['user']['rpbulb']--;
redirect("list.php");
}
output("`n`^RP-Bereitschaft: `\$Rot: `^Hat grad keine Lust auf RP oder ist grad schon in einem. `@Grün: `^Bereit für RP, einfach anschreiben.`n`n");
$playersperpage=50;
$sql = "SELECT count(acctid) AS c FROM accounts WHERE locked=0";
$result = db_query($sql);
$row = db_fetch_assoc($result);
$totalplayers = $row['c'];
//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");
if ($_GET['op']=="search"){
$search="%";
for ($x=0;$x<strlen($_POST['name']);$x++){
$search .= substr($_POST['name'],$x,1)."%";
}
$search=" AND name LIKE '".addslashes($search)."' ";
//addnav("List Warriors","list.php");
}else{
$pageoffset = (int)$_GET['page'];
if ($pageoffset>0) $pageoffset--;
$pageoffset*=$playersperpage;
$from = $pageoffset+1;
$to = min($pageoffset+$playersperpage,$totalplayers);
$limit=" LIMIT $pageoffset,$playersperpage ";
}
addnav("Seiten");
for ($i=0;$i<$totalplayers;$i+=$playersperpage){
addnav("Seite ".($i/$playersperpage+1)." (".($i+1)."-".min($i+$playersperpage,$totalplayers).")","list.php?page=".($i/$playersperpage+1));
}
// Order the list by level, dragonkills, name so that the ordering is total!
// Without this, some users would show up on multiple pages and some users
// wouldn't show up
if ($_GET['page']=="" && $_GET['op']==""){
output("`c`bDiese Krieger sind gerade online`b`c");
$sql = "SELECT acctid,rpbulb,name,login,alive,location,sex,level,laston,loggedin,lastip,uniqueid,race,standort FROM accounts WHERE locked=0 AND invisible=0 AND loggedin=1 AND laston>'".date("Y-m-d H:i:s",strtotime(date("r")."-".getsetting("LOGINTIMEOUT",900)." seconds"))."' ORDER BY level DESC, dragonkills DESC, login ASC";
}else{
output("`c`bKrieger in dieser Welt (Seite ".($pageoffset/$playersperpage+1).": $from-$to von $totalplayers)`b`c");
$sql = "SELECT acctid,rpbulb,name,login,alive,location,sex,level,laston,loggedin,lastip,uniqueid,race FROM accounts WHERE invisible=0 AND locked=0 $search ORDER BY level DESC, dragonkills DESC, login ASC $limit";
}
if ($session[user][loggedin]){
output("<form action='list.php?op=search' method='POST'>Nach Name suchen: <input name='name'><input type='submit' class='button' value='Suchen'></form>",true);
addnav("","list.php?op=search");
}
$result = db_query($sql) or die(sql_error($sql));
$max = db_num_rows($result);
if ($max>100) {
output("`\$Es treffen zu viele Namen auf diese Suche zu. Nur die ersten 100 werden angezeigt.`0`n");
}
output("<table border=0 cellpadding=2 cellspacing=1 bgcolor='#999999'>",true);
output("<tr class='trhead'><td><b>Level</b></td><td><b>Name</b></td><td><b>Rasse</b></td><td><b><img src=\"images/female.gif\">/<img src=\"images/male.gif\"></b></td><td><b>RP-Bereit?</b></td><td><b>Ort</b></td><td><b>Status</b></td><td><b>Zuletzt da</b></tr>",true);
for($i=0;$i<$max;$i++){
$row = db_fetch_assoc($result);
output("<tr class='".($i%2?"trdark":"trlight")."'><td>",true);
output("`^$row[level]`0");
output("</td><td>",true);
if ($session[user][loggedin]) output("<a href=\"mail.php?op=write&to=".rawurlencode($row['login'])."\" target=\"_blank\" onClick=\"".popup("mail.php?op=write&to=".rawurlencode($row['login'])."").";return false;\"><img src='images/newscroll.GIF' width='16' height='16' alt='Mail schreiben' border='0'></a>",true);
if ($session[user][loggedin]) output("<a href='bio.php?char=".rawurlencode($row['login'])."'>",true);
if ($session[user][loggedin]) addnav("","bio.php?char=".rawurlencode($row['login'])."");
output("`".($row[acctid]==getsetting("hasegg",0)?"^":"&")."$row[name]`0");
if ($session[user][loggedin]) output("</a>",true);
output("</td><td>",true);
output($row['race']);
output("</td><td align=\"center\">",true);
output($row[sex]?"<img src=\"images/female.gif\">":"<img src=\"images/male.gif\">",true);
output("</td><td align=\"center\">",true);
output($row[rpbulb]?"<img src=\"images/green.gif\">":"<img src=\"images/red.gif\">",true);
output("</td><td>",true);
output($row['standort']);
output("</td><td>",true);
$loggedin=(date("U") - strtotime($row[laston]) < getsetting("LOGINTIMEOUT",900) && $row[loggedin]);
if ($row[location]==0) output($loggedin?"`#Online`0":"`3Die Felder`0");
if ($row[location]==1) output("`3Zimmer in Kneipe`0");
if ($row[location]==2) output("`3Im Haus`0");
output("</td><td>",true);
//output($row[alive]?"`1Lebt`0":"`4Tot`0");
// output("</td><td>",true);
//$laston=round((strtotime("0 days")-strtotime($row[laston])) / 86400,0)." Tage";
$laston=round((strtotime(date("r"))-strtotime($row[laston])) / 86400,0)." Tage";
if (substr($laston,0,2)=="1 ") $laston="1 Tag";
if (date("Y-m-d",strtotime($row[laston])) == date("Y-m-d")) $laston="Heute";
if (date("Y-m-d",strtotime($row[laston])) == date("Y-m-d",strtotime(date("r")."-1 day"))) $laston="Gestern";
if ($loggedin) $laston="Jetzt";
output($laston);
output("</td></tr>",true);
}
output("</table>",true);
page_footer();
?>