الشرح
هنفك ضغط الملف
وهنخدو نحطو فى www اللى فى برنامج Wamp ونغير الايبى واسم السيرفر
والحجات اللونها مختلف فى الشرح هى ده الهتتغير وهى : serveraddress
وده هتغير الايبى ده وتكتب الايبى الهماشى بتاعك.
تاني حاجه هتعملها هتغيرها: servername
وده هتغيير فية اسم السيرفر القديم باسم السيرفر بتاعك.
ثالثا:هتغير accdb و gamedb لو مكتوب عليها Cq اكتب عليها Zf علشان كولو يبقي تمام.
وكول حاجة انا شارحها ولو مش فهمت الشرح بتاعي بص علا الشرح الى انا عاملوا.
وهو
<?php
//require_once './inc/class.captcha.php';
// Configurations
$myhost='localhost'; // MySQL database address
$mypass='test'; // MySQL server login
$myuser='test'; // MySQL server pass
$accdb='zf'; //your server account database
//$accdb='account'; //your server account database
$gamedb='zf'; //your server game database
http://register.php
$passhash=false; // set to true if u wish to save hash of pass instead of plain **************** pass
http://status.php
$serveraddress='You Ip Hamshy'; //your server ip
$serverport=5816; //your server connection port
$servername='Your Name server here'; //your server name
http://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,$my pass);
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 'Taoist';
if ($val>131 && $val<136) return 'Water';
if ($val>141 && $val<146) return 'Fire';
if ($val>54 && $val<56) return 'Ninja';
if ($val>0) return 'ERROR';
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 '<font color="#FF9900">King<font color="white">/<font color="lightpink">Queen';
if ($val<16) return '<font color="#669966">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="****************/**********">
function toggle(a,b) {
a = ********************************.getElementById(a) ;
b = ********************************.getElementById(b) ;
var display = a.style.display ? '' : 'none';
a.style.display = display;
var displaydva = a.style.display ? 'block' : 'none';
b.style.display = displaydva;
}
***********
<script type="****************/**********"> function Rshow(o) {
var a = ********************************.getElementByID('b '+o+'');
a.style.display='none';
********************************.getElementByID('r ow'+o+'').styl e.display='block';
}
function Rhide(o) {
********************************.getElementByID('b '+o+'').style. display='block';
var a = ********************************.getElementByID('r ow'+o+'');
a.style.display='none';
} ***********
*/
?>
<!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>
************************ ****************************************="******** ********************-********************************" ****************************="en-us" />
************************ ****************************************="******** ********************-Type" ****************************="****************/html; charset=utf-8" />
<title>This Page Made By omar*elgn From ZeroVb.Com</title>
<script type="****************/**********" src="./inc/md5.js">***********
<link href="default.css" rel="stylesheet" type="****************/css" />
</head><body>
<script type="****************/**********">
function todd(a,b) {
a = ********************************.getElementById('r ow' + a + b);
//var display = a.style.display ? '' : 'none';
http://a.style.display = display;
a.style.display='block';
}
***********