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
<?
require_once "common.php";
isnewday(2);
page_header("Stats");
$session['user']['standort'] = 'Irgendwo im Nirgendwo';
addnav("G?Zurück zur Grotte","superuser.php");
addnav("W?Zurück zum Weltlichen","village.php");
addnav("Aktualisieren","stats.php");
$sql = "SELECT sum(gentimecount) AS c, sum(gentime) AS t, sum(gensize) AS s, count(*) AS a FROM accounts";
$result = db_query($sql);
$row = db_fetch_assoc($result);
output("`b`%Für existierende Accounts:`b`n");
output("`@Accounts insgesamt: `^".number_format($row['a'])."`n");
output("`@Treffer insgesamt: `^".number_format($row['c'])."`n");
output("`@Seitengenerierungszeit insgesamt: `^".dhms($row['t'])."`n");
output("`@Seitengenerierungsgröße insgesamt: `^".number_format($row['s'])."b`n");
output("`@Durchschnittliche Seitengenerierungszeit: `^".dhms($row['t']/$row['c'],true)."`n");
output("`@Durchschnittliche Seitengröße: `^".number_format($row['s']/$row['c'])."`n");
output("`n`%`bTop Referers:`b`0`n");
output("<table border='0' cellpadding='2' cellspacing='1' bgcolor='#999999'>",true);
output("<tr class='trhead'><td><b>Name</b></td><td><b>Referrals</b></td></tr>",true);
$sql = "SELECT count(*) AS c, acct.acctid,acct.name AS referer FROM accounts INNER JOIN accounts AS acct ON acct.acctid = accounts.referer WHERE accounts.referer>0 GROUP BY accounts.referer DESC ORDER BY c DESC";
$result = db_query($sql);
for ($i=0;$i<db_num_rows($result);$i++){
$row = db_fetch_assoc($result);
output("<tr class='".($i%2?"trdark":"trlight")."'><td>",true);
output("`@{$row['referer']}`0</td><td>`^{$row['c']}:`0 ", true);
$sql = "SELECT name,refererawarded from accounts WHERE referer = ${row['acctid']} ORDER BY acctid ASC";
$res2 = db_query($sql);
for ($j = 0; $j < db_num_rows($res2); $j++) {
$r = db_fetch_assoc($res2);
output(($r['refererawarded']?"`&":"`$") . $r['name'] . "`0");
if ($j != db_num_rows($res2)-1) output(",");
}
output("</td></tr>",true);
}
output("</table>",true);
$sql = "SELECT count(*) AS c, substring(laston,1,10) AS d FROM accounts GROUP BY d DESC ORDER BY d DESC";
$result = db_query($sql);
output("`n`%`bDatum des letzten Logins:`b");
$output.="<table border='0' cellpadding='0' cellspacing='5'>";
$class="trlight";
$odate=date("Y-m-d");
$j=0;
for ($i=0;$i<db_num_rows($result);$i++){
$row = db_fetch_assoc($result);
$diff = (strtotime($odate)-strtotime($row['d']))/86400;
for ($x=1;$x<$diff;$x++){
//if ($j%7==0) $class=($class=="trlight"?"trdark":"trlight");
//$j++;
$class=(date("W",strtotime("$odate -$x days"))%2?"trlight":"trdark");
$output.="<tr class='$class'><td>".date("Y-m-d",strtotime("$odate -$x days"))."</td><td>0</td><td>$cumul</td></tr>";
}
// if ($j%7==0) $class=($class=="trlight"?"trdark":"trlight");
// $j++;
$class=(date("W",strtotime($row['d']))%2?"trlight":"trdark");
$cumul+=$row['c'];
$output.="<tr class='$class'><td>{$row['d']}</td><td><img src='images/trans.gif' width='{$row['c']}' border='1' height='5'>{$row['c']}</td><td>$cumul</td></tr>";
$odate = $row['d'];
}
$output.="</table>";
page_footer();
?>