>> Sites generating 10k/hits a day or more most contact me before using this script <<
This HTML/Javascript can be dropped into any web page for specific server status with a 1-2 min delay.
The following code produces the server statuses below
<table><tr><td width=200>
<script src="http://daoc.catacombs.com/js_daoc_server.cfm?server=lancelot"></script>
</td></tr></table>
or
<table><tr><td width=200>
<script src="http://daoc.catacombs.com/js_daoc_server.cfm?server=merlin"></script>
</td></tr></table>
The following parameters are available for serverstatus :
server - Displays the server depending upon variable passed in here. Ie. server=merlin
activity - (ON or OFF) Controls whether current activity is displayed.
keep - (LONG or SHORT) Controls whether long or short keep list is displayed.
relic - (LONG or SHORT) Controls whether long or short relic list is displayed.
For example :
Colors are controlled by the various styles below :
<style type="text/css">
.keepwarning {
font-family: verdana, helvetica;
font-size: 8pt;
color: red;
}
.keep {
font-family: verdana, helvetica;
font-size: 8pt;
color: black;
}
.history {
font-family: verdana, helvetica;
font-size: 8pt;
color: black;
}
.historydate {
font-family: verdana, helvetica;
font-size: 8pt;
color: black;
font-weight: bold;
}
.relicwarning {
font-family: verdana, helvetica;
font-size: 8pt;
color: red;
}
.relic {
font-family: verdana, helvetica;
font-size: 8pt;
color: black;
}
.server {
font-family: verdana, helvetica;
font-size: 8pt;
color: black;
background: #CCCCCC;
text-align:center;
border-bottom: 1px black outset;
border-top: 1px black outset;
}
</style>
If you have any further questions or plan on using this code email me at scarab@catacombs.com.
|