meu site só dá isoo quem puder dar uma forssa add no msn orion-co@hotmail.com
- Código:
<?php
//require_once './inc/class.captcha.php';
// Configurations
$myhost='localhost'; // MySQL database address
$mypass='test'; // MySQL server login
$myuser='test'; // MySQL server pass
$accdb='account'; //your server account database
//$accdb='account'; //your server account database
$gamedb='zf'; //your server game database
//register.php
$passhash=false; // set to true if u wish to save hash of pass instead of plain text pass
http://status.php
$serveraddress='187.40.32.175'; //your server ip
$serverport=5816; //your server connection port
$servername='OrionCo'; //your server name
//ranks.php
$tableSet=' width="440" border="1" align="center"'; // rank tables settings html code
$limit=33; //records[lines/rows] limit for ranks table
$limit2=13; //records[lines/rows] limit for half of an rank table guilds
// DON'T CHANGE ANYTHING BELOW THIS LINE
// // // // // // // // // // // // // // // // // // // //
// even more if u dont know what u r doing !!!
$MySQL=mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($gamedb);
// mainly ranks.php ...
function prof ($val) { //params> int_proffesion returns>string_proffesion //made for prof and old_prof
if ($val>9 && $val<16) return 'Trojan';
if ($val>19 && $val<26) return 'Warrior';
if ($val>39 && $val<46) return 'Archer';
if ($val>99 && $val<102) return 'Taolist';
if ($val>131 && $val<136) return 'Water';
if ($val>141 && $val<146) return 'Fire';
if ($val>0) return 'E> Taolist??';
return (Empty($val) ? '' : 'Error'); // when old prof is not set print nothing in table
}
function pk ($val) { //params> int_pk returns>string_PKpoints
if ($val>=1000) return '<font color="black"><b><u>'.$val.'</u></b></font>';
if ($val>=100) return '<font color="black"><b>'.$val.'</b></font>'; // <font color="darkgreen">
if ($val>=30 && $val<100) return '<font color="red">'.$val.'</font>';
return $val; //I know ... lets say ... STANDART dot
}
function noble ($val,$cash) { //params> int_nobleNr. int_donated returns>string_nobleRank
if ($val<4) return 'King/Queen';
if ($val<16) return 'Prince';
if ($val<51) return 'Duke';
if ($cash>200000000) return 'Earl';
if ($cash>100000000) return 'Baron';
if ($cash>30000000) return 'Knight';
return 'Error'; //I know ... lets say ... STANDART dot
}
/*
<script type="text/javascript">
function toggle(a,b) {
a = document.getElementById(a);
b = document.getElementById(b);
var display = a.style.display ? '' : 'none';
a.style.display = display;
var displaydva = a.style.display ? 'block' : 'none';
b.style.display = displaydva;
}
</script>
<script type="text/javascript"> function Rshow(o) {
var a = document.getElementByID('b'+o+'');
a.style.display='none';
document.getElementByID('row'+o+'').style.display='block';
}
function Rhide(o) {
document.getElementByID('b'+o+'').style.display='block';
var a = document.getElementByID('row'+o+'');
a.style.display='none';
} </script>
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Private Server</title>
<script type="text/javascript" src="./inc/md5.js"></script>
<link href="default.css" rel="stylesheet" type="text/css" />
</head><body>
<script type="text/javascript">
function todd(a,b) {
a = document.getElementById('row' + a + b);
//var display = a.style.display ? '' : 'none';
http://a.style.display = display;
a.style.display='block';
}
</script>