$br = strtolower($_SERVER['HTTP_USER_AGENT']); // what browser they use.
if(ereg("msie", $br))
{
?>
} ?>
| |
|
 |
 |
|
|
|
height="18" width="20" } else { ?> height="20" width="40" } ?> SRC="new-hp/images/icons/ echo $lang['tpb1icon']; ?>"> |
echo($lang['tpb1writtenby']); ?> |
echo($lang['tpb1date']); ?> |
|
echo($lang['tpb1story']); ?> |
|
height="18" width="20" } else { ?> height="20" width="40" } ?> SRC="new-hp/images/icons/ echo $lang['tpb2icon']; ?>"> |
echo($lang['tpb2writtenby']); ?> |
echo($lang['tpb2date']); ?> |
|
echo($lang['tpb2story']); ?>!
|
|
height="18" width="20" } else { ?> height="20" width="40" } ?> SRC="new-hp/images/icons/ echo $lang['tpb3icon']; ?>"> |
echo($lang['tpb3writtenby']); ?> |
echo($lang['tpb3date']); ?> |
|
echo($lang['tpb3story']); ?> |
|
height="18" width="20" } else { ?> height="20" width="40" } ?> SRC="new-hp/images/icons/ echo $lang['tpb4icon']; ?>"> |
echo($lang['tpb4writtenby']); ?> |
echo($lang['tpb4date']); ?> |
|
echo($lang['tpb4story']); ?> |
|
height="18" width="20" } else { ?> height="20" width="40" } ?> SRC="new-hp/images/icons/ echo $lang['tpb5icon']; ?>"> |
echo($lang['tpb5writtenby']); ?> |
echo($lang['tpb5date']); ?> |
|
echo($lang['tpb5story']); ?> |
|
height="18" width="20" } else { ?> height="20" width="40" } ?> SRC="new-hp/images/icons/ echo $lang['tpb6icon']; ?>"> |
echo($lang['tpb6writtenby']); ?> |
echo($lang['tpb6date']); ?> |
|
echo($lang['tpb6story']); ?> |
|
height="18" width="20" } else { ?> height="20" width="40" } ?> SRC="new-hp/images/icons/ echo $lang['tpb7icon']; ?>"> |
echo($lang['tpb7writtenby']); ?> |
echo($lang['tpb7date']); ?> |
|
echo($lang['tpb7story']); ?> |
|
|
|
New Page 1
Community Teasers
if (empty($lang['Theme'])) { $lang['Theme'] = 'Default'; }
if ($lang['Theme'] == 'Cristmas') { ?>
 } ?>
if (empty($lang['Theme'])) { $lang['Theme'] = 'Default'; }
if ($lang['Theme'] == 'Cristmas') { ?>
 } ?>
if (empty($lang['Theme'])) { $lang['Theme'] = 'Default'; }
if ($lang['Theme'] == 'Cristmas') { ?>
 } ?>
echo $lang['Epic1header']; ?>
echo $lang['Epic2header']; ?>
$br = strtolower($_SERVER['HTTP_USER_AGENT']); // what browser they use.
if(ereg("msie", $br))
{
?>
}
?>
echo $lang['Epic3header']; ?>
echo $lang['Epic3story']; ?>
echo $lang['Epic4header']; ?>
echo $lang['Epic4story']; ?>
|
if ($lang['Theme'] == 'Cristmas') { ?>
 } ?>
if ($lang['emutype'] == 'WoWEmu') { ?>
}
if ($lang['emutype'] == 'Ludmilla') {
$RealmOnline = False;
$connection = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$connection) { die(mysql_error()); }
mysql_select_db($lang['dbasename']);
if(!@mysql_select_db($lang['dbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT * FROM realm_list';
if ($r = mysql_query($sql_text,$connection)){
while ($row = mysql_fetch_array($r)){
if ($row['status'] == '1') { $RealmOnline = True; }}}
if ($RealmOnline) {
$serverres='../shared/wow-com/images/icons/serverstatus/uparrow2.gif';
} else {
$serverres='../shared/wow-com/images/icons/serverstatus/downarrow2.gif'; }
mysql_close($connection);
}
if ($lang['emutype'] == 'Mangos') {
$connection = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$connection) { die(mysql_error()); }
mysql_select_db($lang['dbasename']);
if(!@mysql_select_db($lang['dbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT * FROM realmlist';
$r2 = mysql_query($sql_text);
$row2 = mysql_fetch_array($r2);
$serverip = $row2['address'];
$serverport = $row2['port'];
if(!@mysql_select_db($lang['dbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT * FROM account';
$r2 = mysql_query($sql_text);
$totalacc = mysql_num_rows($r2);
$up = @fsockopen($serverip,$serverport, $errno, $errstr, 2);
if($up) {
$serverres='../shared/wow-com/images/icons/serverstatus/uparrow2.gif';
} else {
$serverres='../shared/wow-com/images/icons/serverstatus/downarrow2.gif';
}
mysql_close($connection);
$filename = $lang['mlogfile'];
if (file_exists($filename)) {
$endtime = date ("Y-m-d H:i:s");
$starttime = date ("Y-m-d H:i:s", filemtime($filename));
$detailed=true;
$short = true;
if(! is_int($starttime)) $starttime = strtotime($starttime);
if(! is_int($endtime)) $endtime = strtotime($endtime);
$diff = ($starttime >= $endtime ? $starttime - $endtime : $endtime - $starttime);
# Set the periods of time
$periods = array("second", "minute", "hour", "day", "week", "month", "year", "decade");
$lengths = array(1, 60, 3600, 86400, 604800, 2630880, 31570560, 315705600);
if($short){
$periods = array("s", "m", "h", "d", "m", "y");
$lengths = array(1, 60, 3600, 86400, 2630880, 31570560);
}
# Go from decades backwards to seconds
$i = sizeof($lengths) - 1; # Size of the lengths / periods in case you change them
$time = ""; # The string we will hold our times in
while($i >= 0) {
if($diff > $lengths[$i-1]) { # if the difference is greater than the length we are checking... continue
$val = floor($diff / $lengths[$i-1]); # 65 / 60 = 1. That means one minute. 130 / 60 = 2. Two minutes.. etc
$time .= $val . ($short ? '' : ' ') . $periods[$i-1] . ((!$short && $val > 1) ? 's ' : ' '); # The value, then the name associated, then add 's' if plural
$diff -= ($val * $lengths[$i-1]); # subtract the values we just used from the overall diff so we can find the rest of the information
if(!$detailed) { $i = 0; } # if detailed is turn off (default) only show the first set found, else show all information
}
$i--;
}
}
$conn = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$conn) { die(mysql_error()); }
mysql_select_db($lang['rdbasename']);
if(!@mysql_select_db($lang['rdbasename'],$conn)) { die(mysql_error()); }
$sql_text = 'SELECT name FROM `character`';
$r3 = mysql_query($sql_text);
$totalchar = mysql_num_rows($r3);
mysql_close($conn);
}
if ($lang['emutype'] == 'Antrix') { ?>
$filename = $lang['mlogfile'];
if (file_exists($filename)) {
$endtime = date ("Y-m-d H:i:s");
$starttime = date ("Y-m-d H:i:s", filemtime($filename));
$detailed=true;
$short = true;
if(! is_int($starttime)) $starttime = strtotime($starttime);
if(! is_int($endtime)) $endtime = strtotime($endtime);
$diff = ($starttime >= $endtime ? $starttime - $endtime : $endtime - $starttime);
# Set the periods of time
$periods = array("second", "minute", "hour", "day", "week", "month", "year", "decade");
$lengths = array(1, 60, 3600, 86400, 604800, 2630880, 31570560, 315705600);
if($short){
$periods = array("s", "m", "h", "d", "m", "y");
$lengths = array(1, 60, 3600, 86400, 2630880, 31570560);
}
# Go from decades backwards to seconds
$i = sizeof($lengths) - 1; # Size of the lengths / periods in case you change them
$time = ""; # The string we will hold our times in
while($i >= 0) {
if($diff > $lengths[$i-1]) { # if the difference is greater than the length we are checking... continue
$val = floor($diff / $lengths[$i-1]); # 65 / 60 = 1. That means one minute. 130 / 60 = 2. Two minutes.. etc
$time .= $val . ($short ? '' : ' ') . $periods[$i-1] . ((!$short && $val > 1) ? 's ' : ' '); # The value, then the name associated, then add 's' if plural
$diff -= ($val * $lengths[$i-1]); # subtract the values we just used from the overall diff so we can find the rest of the information
if(!$detailed) { $i = 0; } # if detailed is turn off (default) only show the first set found, else show all information
}
$i--;
}
}
$connection = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$connection) { die(mysql_error()); }
if(!@mysql_select_db($lang['dbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT * FROM accounts';
$r2 = mysql_query($sql_text);
$totalacc = mysql_num_rows($r2);
$sql_text = 'SELECT * FROM characters';
$r2 = mysql_query($sql_text);
$totalchar = mysql_num_rows($r2);
mysql_close($connection); }
if ($lang['emutype'] <> 'Mangos') { if ($lang['emutype'] <> 'Antrix') { ?>
Above
you
can see if the realm
is Online or offline. }}
if ($lang['emutype'] == 'Mangos') { ?>
|
Serverstatus
|
:
|
|
|
Realm Name
|
:
|
if ($lang['emutype'] == 'Mangos') { echo $row2['name']; } ?>
|
|
IP Address
|
:
|
echo $serverip; ?>
|
|
No Accounts
|
:
|
echo $totalacc; ?>
|
|
No Characters
|
:
|
echo $totalchar; ?>
|
|
Uptime
|
:
|
echo $time; ?>
|
}
if ($lang['emutype'] == 'Antrix') { ?>
|
Serverstatus
|
:
|
|
|
Realm Name
|
:
|
echo $lang['Antrixname']; ?>
|
|
IP Address
|
:
|
echo $lang['serverip']; ?>
|
|
No Accounts
|
:
|
echo $totalacc; ?>
|
|
No Characters
|
:
|
echo $totalchar; ?>
|
|
Uptime
|
:
|
echo $time; ?>
|
}
if ($lang['emutype'] == 'WoWEmu') {
if (empty($lang['statstype'])) { $lang['statstype'] = 'FILE'; }
$statxml = $lang['xmlpath'];
if (empty($lang['totalmplayers'])) { $lang['totalmplayers'] = 10; }
if (empty($lang['inline'])) { $lang['inline'] = 'OFF'; }
if ($lang['statstype'] == 'DATABASE') {
if ($lang['inline'] == 'OFF') {
if($statxml <> '') {
?>
Now Online: }
class Parser
{var $_error = null;
var $XMLFile;
var $XMLSection;
var $XMLData;
var $unique;
function _setError($error_str)
{ $this->_error = $error_str; }
function getError()
{ return $this->_error; }
function Parser()
{ }
function _Parser()
{ }
function setXMLFile($XMLFile)
{ $this->XMLFile = $XMLFile;
$this->XMLData = array(); }
function setXMLSection($XMLSection, $unique = NULL)
{ $this->XMLSection = $XMLSection;
$this->XMLData = array();
$this->unique = $unique;}
function readDatabase()
{ // read the xml database of users
$data = implode("", file($this->XMLFile));
$parser = xml_parser_create();
xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);
xml_parse_into_struct($parser, $data, $values, $tags);
xml_parser_free($parser);
$tdb = array();
// loop through the structures
foreach ($tags as $key => $val)
{if ($key == $this->XMLSection)
{$ranges = $val;
if ($this->unique){
$offset = $ranges[0] + 1;
$len = $ranges[1] - $offset;
$this->XMLData[] = $this->_parse(array_slice($values, $offset, $len));}
else for ($i=0; $i < count($ranges); $i+=2){
$offset = $ranges[$i] + 1;
$len = $ranges[$i + 1] - $offset;
$this->XMLData[] = $this->_parse(array_slice($values, $offset, $len)); }} else { continue; } } }
function _parse($values) {
for ($i=0; $i < count($values); $i++)
$result[$values[$i]["tag"]] = $values[$i]["value"];
return $result; }}
require_once "includes/zone.inc";
$honor_file = $statxml;
if (!@file($honor_file))
{ echo "Error: '$honor_file' file not exists "; exit(); }
$XML = new Parser();
$XML->setXMLfile($honor_file);
$XML->setXMLsection("player");
$XML->readDatabase();
$chars_db = $XML->XMLData;
?>
| Name: | Class: | Level: |
$total = sizeof($chars_db);
$i = 0;
while ($i < $total) {
if ($i <= $lang['totalmplayers']) {
?>| echo $chars_db[$i]["name"]; ?> |
$clas = $chars_db[$i]["class"];
if($clas == 1) { ?>  | }
if($clas == 2) { ?>  | }
if($clas == 3) { ?>  | }
if($clas == 4) { ?>  | }
if($clas == 5) { ?>  | }
if($clas == 7) { ?>  | }
if($clas == 8) { ?>  | }
if($clas == 9) { ?>  | }
if($clas == 11) { ?>  | }
?> echo $chars_db[$i]["level"]; ?> |
$i++; }} ?>
There are echo $total; ?> players online }}
if ($lang['statstype']='FILE') {
if ($lang['inline'] == 'OFF') {
$statxml = $lang['xmlpath'];
if($statxml <> '') {
?>
Now Online:
global $statxml;
if(!$handle = fopen ($statxml, "r"))
{
print "Could not open $statxml for reading...";
exit;
}
?>
| Name: | Class: | Level: |
$i = 0;
while (!feof($handle)) {
$filedata = fgets($handle, 4096);
$dataline = trim($filedata);
if (preg_match('/^(.+)<\/name>/', $dataline, $matches)){
$player[] = $matches[1];
$name = $matches[1];
$total ++; ?>|
if ($i < $lang['totalmplayers']) {
echo $name; ?> |
}}
if (preg_match('/^(.+)<\/race>/', $dataline, $matches)){
$user[$name]['race'] = $matches[1];
}
if (preg_match('/^(.+)<\/class>/', $dataline, $matches)){
$user[$name]['class'] = $matches[1];
$clas = $matches[1];
if ($i < $lang['totalmplayers']) {
if($clas == 1) { ?>  | }
if($clas == 2) { ?>  | }
if($clas == 3) { ?>  | }
if($clas == 4) { ?>  | }
if($clas == 5) { ?>  | }
if($clas == 7) { ?>  | }
if($clas == 8) { ?>  | }
if($clas == 9) { ?>  | }
if($clas == 11) { ?>  | }
}}
if (preg_match('/^(.+)<\/level>/', $dataline, $matches)){
$user[$name]['level'] = $matches[1];
$level = $matches[1];
?>
if ($i < $lang['totalmplayers']) {
echo $level ?> | }
$i++;
}
$player['stats'] = $user;
}
fclose($handle);
?>
if($total == 0) {
$total = 0;
} ?>
There are echo $total; ?> players online
}}}
if ($lang['inline'] == 'OFF') {
if ($total > $lang['totalmplayers']) {
?>Show Player list
} } else { ?>Show player list }}
if ($lang['emutype'] == 'Ludmilla') { ?>
Now Online:
| Name: | Class: | Level: |
$i = 0;
$connection = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$connection) { die(mysql_error()); }
mysql_select_db($lang['dbasename']);
if(!@mysql_select_db($lang['dbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT * FROM char_state WHERE online_state = 1';
if ($r = mysql_query($sql_text,$connection)){
while ($row = mysql_fetch_array($r)){
$tt = $row['player_guid'];
$sql_text2 = "SELECT * FROM characters WHERE guid='$tt'";
$r2 = mysql_query($sql_text2);
$row2 = mysql_fetch_array($r2);
$total ++; ?>|
if ($i < $lang['totalmplayers']) {
echo $row2['name']; ?> | }
$clas = $row2['class'];
if ($i < $lang['totalmplayers']) {
if($clas == 1) { ?>  | }
if($clas == 2) { ?>  | }
if($clas == 3) { ?>  | }
if($clas == 4) { ?>  | }
if($clas == 5) { ?>  | }
if($clas == 7) { ?>  | }
if($clas == 8) { ?>  | }
if($clas == 9) { ?>  | }
if($clas == 11) { ?>  | }
}
?>
if ($i < $lang['totalmplayers']) {
echo $row2['level']; ?> | }
$i++;
}}
if($total == 0) {
$total = 0;
} ?>
There are echo $total; ?> players online
mysql_close($connection);
if ($total > $lang['totalmplayers']) {
?>Show Player list }}
if ($lang['emutype'] == 'Mangos') { ?>
Now Online:
| Name: | Class: | Level: |
$i = 0;
$connection = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$connection) { die(mysql_error()); }
mysql_select_db($lang['rdbasename']);
if(!@mysql_select_db($lang['rdbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT *
FROM `character` WHERE online = 1';
if ($r = mysql_query($sql_text,$connection)){
while ($row = mysql_fetch_array($r)){
$total ++;
if ($i < $lang['totalmplayers']) {
?>|
echo $row['name']; ?> | }
$clas = $row['class'];
if ($i < $lang['totalmplayers']) {
if($clas == 1) { ?>  | }
if($clas == 2) { ?>  | }
if($clas == 3) { ?>  | }
if($clas == 4) { ?>  | }
if($clas == 5) { ?>  | }
if($clas == 7) { ?>  | }
if($clas == 8) { ?>  | }
if($clas == 9) { ?>  | }
if($clas == 11) { ?>  | }
}
?>
if ($i < $lang['totalmplayers']) {
$char_data = explode(' ',$row['data']);
$char_gender = dechex($char_data[36]);
$char_gender = str_pad($char_gender,8, 0, STR_PAD_LEFT);
$char_gender = $char_gender{3};
?> echo $char_data[34];
?> | }
$i++;
}}
if($total == 0) {
$total = 0;
} ?>
There are echo $total; ?> players online
mysql_close($connection);
if ($total > $lang['totalmplayers']) {
?>Show Player list }}
if ($lang['emutype'] == 'Antrix') { ?>
Now Online:
| Name: | Class: | Level: |
$i = 0;
$connection = mysql_connect ($lang['hostname'],$lang['dbaselogin'],decrypt($lang['dbasepw'], 1200));
if(!$connection) { die(mysql_error()); }
mysql_select_db($lang['dbasename']);
if(!@mysql_select_db($lang['dbasename'],$connection)) { die(mysql_error()); }
$sql_text = 'SELECT *
FROM `characters` WHERE online = 1';
if ($r = mysql_query($sql_text,$connection)){
while ($row = mysql_fetch_array($r)){
$total ++;
if ($i < $lang['totalmplayers']) {
?>|
echo $row['name']; ?> | }
$clas = $row['class'];
if ($i < $lang['totalmplayers']) {
if($clas == 1) { ?>  | }
if($clas == 2) { ?>  | }
if($clas == 3) { ?>  | }
if($clas == 4) { ?>  | }
if($clas == 5) { ?>  | }
if($clas == 7) { ?>  | }
if($clas == 8) { ?>  | }
if($clas == 9) { ?>  | }
if($clas == 11) { ?>  | }
}
?>
if ($i < $lang['totalmplayers']) {
?> echo $row['level'];
?> | }
$i++;
}}
if($total == 0) {
$total = 0;
} ?>
There are echo $total; ?> players online
mysql_close($connection);
if ($total > $lang['totalmplayers']) {
?>Show Player list }} ?>
if ($lang['Theme'] == 'Cristmas') { ?>
 } ?>
Want to chat about quests, bugs or want to talk to a GM, even talk about the weather then join the club
Now chatting :
echo ''.$row['login'].''; } }
mysql_close($connection);?>
Enter the live chat
|
} ?>
if($lang['shoutbox'] == 'ON') { ?>
if ($lang['Theme'] == 'Cristmas') { ?>
 } ?>
| include "../setup/shout/index.php"; ?> |
} ?>
if ($lang['Theme'] == 'Cristmas') { ?>
 } ?>
include "../setup/paypal.php"; ?>
if (!$paypal['boxstory']) {
$paypal['boxstory']='
Buy Gold, Epics, Blues or make a Donation. This way we can upgrade our server to host a bigger player base and help you getting your goal
Current Balance:
14 - 350 Euro
HALL OF FAME
| Donation |
Amount |
| Detao |
10 Euro |
| Aeon |
4 Euro |
Buy your items or make a donation
|
'; } ?>
echo $paypal['boxstory']; ?>
} ?>
$br = strtolower($_SERVER['HTTP_USER_AGENT']); // what browser they use.
if(ereg("msie", $br)) {
?> 
}else{ ?>  } ?>
Lost in Azeroth?
Find your way
in this Guide!
Read everything you ever wanted to know about Azeroth.
|