Main Menu
Quick Links
Other Options
Information
NukeForums
Currently there is a problem with headlines from this site
Top10 Links
Site Visitors
Membership:
Latest: born
Today: 0
Yesterday: 0
Overall: 16031
Visitation:
Guests: 218
Members: 0
Total: 218
You are Anonymous user. You can register for free by clicking here
Sponsor Links
NukeResources :: View topic - Server Spy - The Graphs
Server Spy - The Graphs
Posted: Wed Jul 28, 2004 3:43 am
tribaljohn
Resource Newbie
Joined: Jul 19, 2004
Posts: 31
I well try this one last time, I know this well work this time.
This is the for the graphs, in a separate table from the main console window.
Code: <?php
if (eregi("block-serverspy.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<table width=\"64%\" border=\"1\" align = \"center\"> ";
$content .= "<tr> ";
$content .= "<td height=\"40\" colspan=\"2\"> ";
$content .= "";
$content .= "<div align=\"center\"><img src=\"http://www.serverspy.net/bin/srank.mpl?a=*.*.*.*:12203\" border=\"0\"> ";
$content .= "";
$content .= "</div></td> ";
$content .= "</tr> ";
$content .= "<tr> ";
$content .= "<td height=\"110\"><!-- Last 60 Minutes --> ";
$content .= "<img src=\"http://img.serverspy.net/bin/sStat60.mpl?mid=#####&c1=%23171813&c2=%23aaaaaa&c3=%231e90ff&c4=%23990000&c5=%23303218&c6=%237F7F7F\" width=\"300\" height=\"100\" hspace=\"3\" vspace=\"3\" id=\"stats\"> </td> ";
$content .= "<td height=\"110\"><!-- Last 24 Hours --> ";
$content .= "<img src=\"http://img.serverspy.net/bin/sStat24.mpl?mid=#####&c1=%23171813&c2=%23aaaaaa&c3=%231e90ff&c4=%23990000&c5=%23303218&c6=%237F7F7F\" width=\"300\" height=\"100\" hspace=\"3\" vspace=\"3\" id=\"stats\"></td> ";
$content .= "</tr> ";
$content .= "<tr> ";
$content .= "<td width=\"37%\"> ";
$content .= "";
$content .= "<!-- Last 30 Days --> ";
$content .= "<img src=\"http://img.serverspy.net/bin/sStat30.mpl?mid=#####&c1=%23171813&c2=%23aaaaaa&c3=%231e90ff&c4=%23990000&c5=%23303218&c6=%237F7F7F\" width=\"300\" height=\"100\" hspace=\"3\" vspace=\"3\" id=\"stats\"> ";
$content .= "";
$content .= "</td> ";
$content .= "<td width=\"63%\"><!-- Past 12 Months --> ";
$content .= "<img src=\"http://img.serverspy.net/bin/sStat12.mpl?mid=#####&c1=%23171813&c2=%23aaaaaa&c3=%231e90ff&c4=%23990000&c5=%23303218&c6=%237F7F7F\" width=\"300\" height=\"100\" hspace=\"3\" vspace=\"3\" id=\"stats\"> ";
$content .= "</td> ";
$content .= "</tr> ";
$content .= "</table>";
?>
copy and paste in to agood text editor, then look for the follow in your code.
Edit Key :
find the *.*.*:12203 and replace the * with your game server number.
Find the ##### and replace with your serverspy ID number.
The pound signs are in four ( 4 ) places, they need to all be listed to get the past, 60 minutes, last 24 hours, last 30 days, last 12 months.
Upload to your server via ftp, it goes into your blocks folder.
I hope this helps someone.
NukeResources Forum Index -> Random Thoughts
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
All times are GMT - 4 Hours
Page 1 of 1
Powered by phpBB © 2001-2005 phpBB Group. Theme created by Vjacheslav Trushkin . There have been 66 unique hit(s) in the past 24 hours.
:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::