PHP Code:
<?php
@$connect = odbc_connect("Driver={SQL Server};Server={".$host."}; Database={".$db2."}", "".$user."", "".$pass."") or die("<center><b style=\"border:1px dashed #FF0000;\">".str_replace("[Microsoft][ODBC SQL Server Driver][SQL Server]", "", odbc_errormsg())."</b></center>");
@odbc_result_all(odbc_exec($connect, "SELECT TOP (".$show2.") nUserCount as Online FROM _ShardCurrentUser WHERE nShardID = 64 ORDER BY nID DESC"));
echo "
<b>Server: <span style='color:red'><i>Sro </i></span> - <span style='color:#000'>$row[nUserCount]</span><span style='color:green'> of maximum</span> <span style='color:#000'>1000</span> <span style='color:green'>are currently online!</span></b>
";
?>






