I would like a server status script to put on my website.
Is there any out there?
One that would be somewhat like this:
Server Status Online
Users Online: X
Total Accounts: X
I would like a server status script to put on my website.
Is there any out there?
One that would be somewhat like this:
Server Status Online
Users Online: X
Total Accounts: X
i need that too can any1 look ma website jedi-wow.servegame.org
my server is up now but it says offline
its my server status index.php :
<? $Offset = '../'; ?>
<? $Offsetpic = '../'; ?>
<? include $Offset."../setup/eng.php"; ?>
<? include $Offset."header.php"; ?>
<? include $Offset."center.php"; ?>
<? include $Offset."../admin/encrypt.php"; ?>
<!--HEADER -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div class = "header">
<table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<tr>
<td colspan = "3"><img src = "../../shared/wow-com/images/layout/pixel.gif" width = "1" height = "12"></td>
</tr>
<tr>
<td width = "29"><img src = "../../shared/wow-com/images/headers/dateheader/dateheader-left.gif" width = "31" height = "38"></td>
<td background = "../../shared/wow-com/images/headers/dateheader/dateheader-bg.gif" width = "100%"><h3 class = "titleLight">Realm Status</h3></td>
<td width = "17"><img src = "../../shared/wow-com/images/headers/dateheader/dateheader-right.gif" width = "17" height = "38"></td>
</tr>
</table>
</div>
<!-- END HEADER -->
<table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<tr>
<td width = "388"><img src = "../../shared/wow-com/images/serverstatus/header-left.jpg" width = "389" height = "135"></td>
<td width = "100%" background = "../../shared/wow-com/images/serverstatus/background.jpg"></td>
</tr>
</table>
<div class = "postContainerPlain">
<div class = "postBody">
<!-- MAIN -->
<style type = "text/css">
td.serverStatus1 { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; }
td.serverStatus2 { border-style: solid; border-width: 0px 1px 1px 0px; border-color: #D8BF95; background-color: #C3AD89; }
td.rankingHeader { color: #C7C7C7; font-size: 10pt; font-family: arial,helvetica,sans-serif; font-weight: bold; background-color: #2E2D2B; border-style: solid; border-width: 1px; border-color: #5D5D5D #5D5D5D #1E1D1C #1E1D1C; padding: 3px;}
</style>
<center>
<table cellspacing = "0" cellpadding = "0" border = "0" width = "90%">
<tr>
<td colspan = "2">
<span>
<img src="../../shared/wow-com/images/smallcaps/plain/t.gif" align="left">his page lists all available World of Warcraft Realms as well as the status of each.
A Realm can be listed as either <img src = "../../shared/wow-com/images/icons/serverstatus/uparrow2.gif" width = "18" height = "19" style = "vertical-align: bottom;"><b style = "color: #234303;"> Up</b> or <img src = "../../shared/wow-com/images/icons/serverstatus/downarrow2.gif" width = "18" height = "19" style = "vertical-align: bottom;"><b style = "color: #660D02;"> Down</b>.
</span>
</td>
</tr>
<!-- BEGIN OF REALM STATUS BOX -->
<tr>
<td colspan="2">
<span>
</td>
</tr>
<!-- END OF REALM STATUS BOX -->
<tr>
<td>
<span>
Additionally, as some realms are experiencing queues on a regular basis, they are flagged with a warning icon <img src = "../../shared/wow-com/images/icons/alert.gif" width = "22" height = "15" style = "vertical-align: bottom;">. These Realms are considered "technically full" and they should NOT be used when it comes to creating a new character. <br>
Please choose a realm pointed out by the blue arrow <img src = "../../shared/wow-com/images/icons/serverstatus/bluerealm.gif" width = "22" height = "15" style = "vertical-align: bottom;"> when you want to create a new character.
<p>Let us apologize in advance if your Realm is listed as down. Chances are we're working diligently to bring it back online as quickly as possible. Messages related to Realm status and scheduled maintenance are posted in the <a href = "<? echo $lang['menu6link3']; ?>">Realm Status</a> Forum.
<p>
<br><br>
</span>
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan = "2">
<? if ($lang['emutype'] == 'WoWEmu') { ?>
<table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<tr>
<td width = "24"><img src = "../../shared/wow-com/images/headers/subheader/subheader-left-sword.gif" width = "24" height = "20"></td>
<td width = "100%" bgcolor = "#05374A"><b class = "white"><? echo $lang['servername']; ?> - English-speaking Realms</b></td>
<td width = "10"><img src = "../../shared/wow-com/images/headers/subheader/subheader-right.gif" width = "10" height = "20"></td>
</tr>
</table>
<table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<tr>
<td width = "12"><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-top-left.gif" width = "12" height = "12"></td>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-top.gif"></td>
<td width = "12"><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-top-right.gif" width = "12" height = "12"></td>
</tr>
<tr>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-left.gif"></td>
<td>
<table cellspacing = "0" cellpadding = "3" width = "100%">
<tr>
<td class = "rankingHeader" align = "center" NOWRAP>Status</td>
<td class = "rankingHeader" align = "left" NOWRAP>Realm Name</td>
<td class = "rankingHeader" align = "left" NOWRAP>Type</td>
<td class = "rankingHeader" align = "left" NOWRAP>Population</td>
</tr>
<tr>
<td colspan = "4" background = "../../shared/wow-com/images/borders/metalborder/shadow.gif"><img src = "../../shared/wow-com/images/layout/pixel.gif" width = "1" height = "1"></td>
</tr>
<tr>
<?
$up = @fsockopen($lang['serverip'],$lang['serverport'], $errno, $errstr, 2);
if($up){ ?>
<td width="50" class = "serverStatus1" align = "right"><img src = "../../shared/wow-com/images/icons/serverstatus/bluerealm.gif" width = "22" height = "15" title="Empty"><img src = "../../shared/wow-com/images/icons/serverstatus/uparrow2.gif" width = "18" height = "18"></td>
<? } else { ?>
<td width="50" class = "serverStatus1" align = "right"><img src = "../../shared/wow-com/images/icons/serverstatus/bluerealm.gif" width = "22" height = "15" title="Empty"><img src = "../../shared/wow-com/images/icons/serverstatus/downarrow2.gif" width = "18" height = "18"></td>
<? } ?>
<td class = "serverStatus1" NOWRAP><b class = "smallBold" style = "color: #234303;"><? echo $lang['servername']; ?></b></span></td>
<td width="100" class = "serverStatus1" NOWRAP><small style = "color: #234303;"><? echo $lang['servertype']; ?></small></td>
<td width="150" class = "serverStatus1" align = "left"><small style = "color: #660D02;">Low</small></td>
</tr>
</table>
</td>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-right.gif"></td>
</tr>
<tr>
<td><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-bot-left.gif" width = "12" height = "11"></td>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-bot.gif"></td>
<td><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-bot-right.gif" width = "12" height = "11"></td>
</tr>
</table> <? } else { ?>
<table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<tr>
<td width = "24"><img src = "../../shared/wow-com/images/headers/subheader/subheader-left-sword.gif" width = "24" height = "20"></td>
<td width = "100%" bgcolor = "#05374A"><b class = "white"><? echo $lang['servername']; ?> - English-speaking Realms</b></td>
<td width = "10"><img src = "../../shared/wow-com/images/headers/subheader/subheader-right.gif" width = "10" height = "20"></td>
</tr>
</table>
<table cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<tr>
<td width = "12"><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-top-left.gif" width = "12" height = "12"></td>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-top.gif"></td>
<td width = "12"><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-top-right.gif" width = "12" height = "12"></td>
</tr>
<tr>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-left.gif"></td>
<td>
<table cellspacing = "0" cellpadding = "3" width = "100%">
<tr>
<td class = "rankingHeader" align = "center" NOWRAP>Status</td>
<td class = "rankingHeader" align = "left" NOWRAP>Realm Name</td>
<td class = "rankingHeader" align = "left" NOWRAP>Type</td>
<td class = "rankingHeader" align = "left" NOWRAP>Population</td>
</tr>
<tr>
<td colspan = "4" background = "../../shared/wow-com/images/borders/metalborder/shadow.gif"><img src = "../../shared/wow-com/images/layout/pixel.gif" width = "1" height = "1"></td>
</tr>
<tr>
<? $RealmOnline = True;
if ($lang['emutype'] == 'Ludmilla') {
$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['population'] < 40) { ?>
<td width="50" class = "serverStatus1" align = "right"><img src = "../../shared/wow-com/images/icons/serverstatus/bluerealm.gif" width = "22" height = "15" title="Empty">
<? } else { ?>
<td width="50" class = "serverStatus1" align = "right"><img src = "../../shared/wow-com/images/icons/serverstatus/alert.gif" width = "22" height = "15" title="Empty">
<? }
if ($row['status'] == '1') { ?>
<img src = "../../shared/wow-com/images/icons/serverstatus/uparrow2.gif" width = "18" height = "18"></td>
<? } else { ?>
<img src = "../../shared/wow-com/images/icons/serverstatus/downarrow2.gif" width = "18" height = "18"></td>
<? } ?>
<td class = "serverStatus1" NOWRAP><b class = "smallBold" style = "color: #234303;"><? echo $row['name']; ?></b></span></td>
<? if ($row['type'] == '1') { ?>
<td width="100" class = "serverStatus1" NOWRAP><small style = "color: #234303;">PvP</small></td>
<? } else { ?>
<td width="100" class = "serverStatus1" NOWRAP><small style = "color: #234303;">Normal</small></td>
<? } ?>
<? if ($row['population'] < 40) { ?>
<td width="150" class = "serverStatus1" align = "left"><small style = "color: #660D02;">Low</small></td>
<? } else { ?>
<td width="150" class = "serverStatus1" align = "left"><small style = "color: #660D02;">Full</small></td>
<? } ?>
</tr>
</table>
</td>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-right.gif"></td>
</tr>
<tr>
<td><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-bot-left.gif" width = "12" height = "11"></td>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-bot.gif"></td>
<td><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-bot-right.gif" width = "12" height = "11"></td>
</tr>
</table>
<? }}
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';
if ($r = mysql_query($sql_text,$connection)){
while ($row = mysql_fetch_array($r)){
?>
<td width="50" class = "serverStatus1" align = "right"><img src = "../../shared/wow-com/images/icons/serverstatus/bluerealm.gif" width = "22" height = "15" title="Empty">
<?
$serverip = $row['address'];
$serverport = $row['port'];
$up = @fsockopen($serverip,$serverport, $errno, $errstr, 2);
if($up){ ?>
<img src = "../../shared/wow-com/images/icons/serverstatus/uparrow2.gif" width = "18" height = "18"></td>
<? } else { ?>
<img src = "../../shared/wow-com/images/icons/serverstatus/downarrow2.gif" width = "18" height = "18"></td>
<? } ?>
<td class = "serverStatus1" NOWRAP><b class = "smallBold" style = "color: #234303;"><? echo $row['name']; ?></b></span></td>
<? if ($row['type'] == '1') { ?>
<td width="100" class = "serverStatus1" NOWRAP><small style = "color: #234303;">PvP</small></td>
<? } else { ?>
<td width="100" class = "serverStatus1" NOWRAP><small style = "color: #234303;">Normal</small></td>
<? } ?>
<? if ($row['population'] < 40) { ?>
<td width="150" class = "serverStatus1" align = "left"><small style = "color: #660D02;">Low</small></td>
<? } else { ?>
<td width="150" class = "serverStatus1" align = "left"><small style = "color: #660D02;">Full</small></td>
<? } ?>
</tr>
</table>
</td>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-right.gif"></td>
</tr>
<tr>
<td><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-bot-left.gif" width = "12" height = "11"></td>
<td background = "../../shared/wow-com/images/borders/metalborder/metalborder-bot.gif"></td>
<td><img src = "../../shared/wow-com/images/borders/metalborder/metalborder-bot-right.gif" width = "12" height = "11"></td>
</tr>
</table>
<? }}
mysql_close($connection);
}?>
<!-- STOP LIST SERVERS -->
<p></p>
</td>
</tr>
</table>
</center>
<!-- END MAIN -->
</div>
</div>
</td>
</tr>
</table>
</div>
</center>
</div>
<div id="pageEnd"></div>
<script src="../../../www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-320380-1";
urchinTracker();
</script>
</body>
<!-- Mirrored from World of Warcraft Europe -> Realm Status by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 02 Sep 2006 09:04:13 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack -->
</html>
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;
function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}
function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;
//-->
</script>
<? include $Offset."bottem.php"; ?>
You can do it easier then that..
And for Christ sakes, use [Code]
you mean like on vivowow.servegame.org?
If this is what you want.. just tell me.. I'll grab you one.
wow... yea dude use the [code] next time you put that much into a post..
and now I mean like the one that wow champion has, wowscape has, etc... etc..
/agree with all use the code tags for christ sake ><