الموقع العربي الاول للعبة Silkroad Online

الموقع العربي الاول للعبة Silkroad Online (https://silkroad4arab.com/vb/index.php)
-   قسم الاسئلة و الاستفسارات لعمل السيرفرات الخاصة (https://silkroad4arab.com/vb/forumdisplay.php?f=226)
-   -   عايز أستفسر عن حاجة (https://silkroad4arab.com/vb/showthread.php?t=505955)

abdelrhman22 31-05-2013 01:07 AM

عايز أستفسر عن حاجة
 
http://img24.imageshack.us/img24/2172/15185704.png
أنا عيز أغير أسم paradise و download links
و عايز أشيل ال Facebook Group و الevents tap

GM]7oDa] 31-05-2013 01:13 AM

ممكن صوره من ملفات الموقع عشان اقلك .. عشان انا لاب

abdelrhman22 31-05-2013 01:16 AM

http://img585.imageshack.us/img585/1973/19277164.png
و حاجة كمان أنا عايز أشيل tap ال و ال vote silk charge

GM]7oDa] 31-05-2013 01:22 AM

اول واحده من modules هتلاقي جواها حاجة اسمها serverstatus او حاجه كدا غير منها اسم paeadise لي الانتا عايزو اوعي تمسح حاجه فيه زياده

و التاني هتلاقيه بردوا جوي modules بردو تحت اسم downloadlinks حاجه كدا

abdelrhman22 31-05-2013 01:27 AM

طب أنا عايز أغير أسم الموقع أساساً و أشيل ال event/donate/vote/silkcharge و فى link عايز أشيلوه
و أيضا عايز أعرف أزاى أخلى الموقع الفى ال launcher هوا الموقع ده

GM]7oDa] 31-05-2013 01:30 AM

مش فاهم .. وضح بالصور

abdelrhman22 31-05-2013 01:35 AM

بالنسبة للأسم خلاص أنا عملتو ممكن تساعدنى فى أنى أشيل ال taps بتاعت event و الحجات التانية
فى الموقع فى Register/download/login ...etc
أنا عايز أشيل منهوم الbutton بتاع event and vote and silkcharge and Facebook group

GM]7oDa] 31-05-2013 01:40 AM

بتكون من ال iindex.php

كوبي ال index.php و هاتو هنا و انا اشلهملك

abdelrhman22 31-05-2013 01:41 AM

<?php
error_reporting(0);
session_start();
include("modules/include/Config.php");
include("modules/include/SqlConn.php");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="styles/img/favicon.png" type="image/x-icon" />
<meta name="description" content="Paradise Silkroad is PVP mid-rate based fun Server with great community and fun events held by Server administration." />
<meta name="keywords" content="Silkroad,Silkroad fun server,silkroad server,silkroad pserver, silkroad emulator, silkroad fun, silkroad hack, silkroad gold, free gold, free silkroad gold, silkroad online, paradise silkroad, silkroad funserver, sro, ISRO, pSRO" />
<title>Devil Sro Silkroad - The best of the best!</title>
<link rel="stylesheet" type="text/css" href="styles/css/paradise.css" />
<script type="text/javascript">
<!--
function imgReplace(imgName, imgSrc) {
document[imgName].src = imgSrc;
}
function clearText(formfield){
if (formfield.defaultValue==formfield.value) {
formfield.value = ""
}
}
-->
</script>
</head>
<body>
<center>
<div id="empty-space"></div>
<div id="content-container">

<div id="left-container">
<div id="login-panel">
<?php
if(!isset($_SESSION['loggedin'])) {
print "
<div class='content'>
<form action='user/login.php' method='POST'>
<table border='0'>
<tr>
<td><input onfocus='clearText(this);' type='text' name='username' value='username'></td>
</tr>
<tr>
<td><input onfocus='clearText(this);' type='password' name='password' value='password'></td>
</tr>
<tr>
<td><input style='width: 46px;height:20px;font-size:10px;color: #fff;font-weight: bold; font-family: Tahoma;text-transform: uppercase;' type='submit' name='submit' value='Login'> Not a user yet? <a href='?register' style='color:#D38132;'>REGISTER NOW!</a></td>
</tr>
</table>
</form>
</div>
";
} else {
print "<div class='userpanel'>";
$userID = $_SESSION['name'];
print "Welcome <span style='color:#FF2700;font-size:14px;'>$userID</span>!<br />";
mssql_select_db($dbName1, $dbConn) or die ("Couln't select database $dbName1");
$getUserJID = mssql_query("select * from TB_User where StrUserID = '$userID'");
while ($row = mssql_fetch_array($getUserJID)) {
$userJID = $row['JID'];
$userGM = $row['sec_content'];
}
$getSilkQuery = mssql_query("select * from SK_Silk where JID = '$userJID'");
while ($row = mssql_fetch_array($getSilkQuery)) {
print "Silk balance: <span style='color:#4D9C00;'>";
print $row['silk_gift'];
print "</span> <img style='vertical-align:middle;' src='styles/img/silk-icon.png' alt='Silk Balance' /> <br />";
}

if ($userGM == '1') {
if ($userID == "IDHERE" || $userID == "ANOTHERIDHERE") {
print "<span style='color:#FF2700;'>Administration:</span><br />";
print "<a href='?GMAddSilk'>Add Silk</a> . ";
print "<a href='?GMAddNews'>Add News</a>";

print " . <a href='?payments'>Latest Donations</a>";
}
}
print "<br />";
print "<span style='color:#FF2700;'>Controls:</span><br />";
print "<a href='?silkCharge'>Silk charge</a> . ";
print "<a href='?pwChange'>Change password</a> . ";
print "<a href='?logout'>Logout</a>";
print "</div>";
}
?>
</div>
<div id="nav-panel">
<div class="content">
<a href="./">Main page</a><br />
<a href="?download">Downloads</a><br />
<a href="?register">Register</a><br />
<a href="?silkCharge">Silk Charge</a><br />
<a href="?vote">Vote 4 Silk</a><br />
<a href="?eventInfo">Events</a><br />
<a href="http://www.facebook.com/pages/SRO-Paradise/235920179790959">Facebook Group</a><br />
<!--a href="./">Forum (coming soon)</a><br /-->
</div>
</div>
<div id="vote-button-panel">
<a href="./?vote" onmouseover="imgReplace('Vote', 'styles/img/vote-button-hover.jpg')" onmouseout="imgReplace('Vote', 'styles/img/vote-button.jpg')"><img src="styles/img/vote-button.jpg" name="Vote" alt="Vote and receive free Silk Rewards!" ></a>
</div>
</div>

<div id="middle-container">
<div id="join-banner-panel">
<a href="./?register" onmouseover="imgReplace('Join', 'styles/img/join-banner-top-hover.jpg')" onmouseout="imgReplace('Join', 'styles/img/join-banner-top.jpg')"><img src="styles/img/join-banner-top.jpg" name="Join" alt="Begin your adventure right now!" ></a>
</div>
<div id="main-content-box">
<?php
include("pager.php");
?>
</div>
</div>

<div id="right-container">
<div id="download-panel">
<a href="./?download" onmouseover="imgReplace('Download', 'styles/img/download-button-hover.jpg')" onmouseout="imgReplace('Download', 'styles/img/download-button.jpg')"><img src="styles/img/download-button.jpg" name="Download" alt="Download our latest client!" ></a>
</div>
<div id="server-status-panel">
<div class="content">
<?php
include("modules/ServerState.php");
?>
</div>
</div>
<div id="server-rates-panel">
<div class="content">
<?php
echo "EXP & SP Rate: <span style='color:#FF2700;'>".$expRate."x </span><br />";
echo "PARTY EXP Rate: <span style='color:#FF2700;'>".$ptRate."x </span><br />";
echo "DROP Rate: <span style='color:#FF2700;'>".$dropRate."x </span><br />";
echo "GOLD DROP Rate: <span style='color:#FF2700;'>".$goldRate."x </span><br />";
echo "SOX DROP Rate: <span style='color:#FF2700;'>".$soxPoc."% </span>";
?>
</div>
</div>
<div id="players-online-panel">
<div class="content">
<?php
include("modules/OnlineUsers.php");
?>
</div>
</div>
<div id="fortress-winners-panel">
<div class="content">
<?php
include("modules/TopGuilds.php");
?>
</div>
</div>
<div id="paradise-tv-panel">
<div class="content">
<iframe width="226" height="182" src="http://www.youtube.com/embed/ARTCYpcsZos" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
<br />
<div style="font-style: tahoma; color: #916F4E; font-size: 12px; font-weight: bold;">Copyrights &copy; 2011. <a href="http://sroparadise.org" style="text-decoration:none;font-style: tahoma; color: #916F4E; font-size: 12px; font-weight: bold;">sroparadise.org</a></div>
</center>
</body>
</html>

GM]7oDa] 31-05-2013 01:48 AM

كود PHP:

<?php
error_reporting
(0);
session_start();
include(
"modules/include/Config.php");
include(
"modules/include/SqlConn.php");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="styles/img/favicon.png" type="image/x-icon" />
<meta name="description" content="Paradise Silkroad is PVP mid-rate based fun Server with great community and fun events held by Server administration." />
<meta name="keywords" content="Silkroad,Silkroad fun server,silkroad server,silkroad pserver, silkroad emulator, silkroad fun, silkroad hack, silkroad gold, free gold, free silkroad gold, silkroad online, paradise silkroad, silkroad funserver, sro, ISRO, pSRO" />
<title>Devil Sro Silkroad - The best of the best!</title>
<link rel="stylesheet" type="text/css" href="styles/css/paradise.css" />
<script type="text/javascript">
<!--
function imgReplace(imgName, imgSrc) {
document[imgName].src = imgSrc;
}
function clearText(formfield){
if (formfield.defaultValue==formfield.value) {
formfield.value = ""
}
}
-->
</script>
</head>
<body>
<center>
<div id="empty-space"></div>
<div id="content-container">

<div id="left-container">
<div id="login-panel">
<?php
if(!isset($_SESSION['loggedin'])) {
print 
"
<div class='content'>
<form action='user/login.php' method='POST'>
<table border='0'>
<tr>
<td><input onfocus='clearText(this);' type='text' name='username' value='username'></td>
</tr>
<tr>
<td><input onfocus='clearText(this);' type='password' name='password' value='password'></td>
</tr>
<tr>
<td><input style='width: 46px;height:20px;font-size:10px;color: #fff;font-weight: bold; font-family: Tahoma;text-transform: uppercase;' type='submit' name='submit' value='Login'> Not a user yet? <a href='?register' style='color:#D38132;'>REGISTER NOW!</a></td>
</tr>
</table>
</form>
</div>    
"
;
} else {
print 
"<div class='userpanel'>";
$userID $_SESSION['name'];
print 
"Welcome <span style='color:#FF2700;font-size:14px;'>$userID</span>!<br />";
mssql_select_db($dbName1$dbConn) or die ("Couln't select database $dbName1");
$getUserJID mssql_query("select * from TB_User where StrUserID = '$userID'");
while (
$row mssql_fetch_array($getUserJID)) {
$userJID $row['JID'];
$userGM $row['sec_content'];
}
$getSilkQuery mssql_query("select * from SK_Silk where JID = '$userJID'");
while (
$row mssql_fetch_array($getSilkQuery)) {
print 
"Silk balance: <span style='color:#4D9C00;'>";
print 
$row['silk_gift'];
print 
"</span> <img style='vertical-align:middle;' src='styles/img/silk-icon.png' alt='Silk Balance' /> <br />";
}

if (
$userGM == '1') {
if (
$userID == "IDHERE" || $userID == "ANOTHERIDHERE") {
print 
"<span style='color:#FF2700;'>Administration:</span><br />";
print 
"<a href='?GMAddSilk'>Add Silk</a> . ";
print 
"<a href='?GMAddNews'>Add News</a>";

print 
" . <a href='?payments'>Latest Donations</a>";
}
}
print 
"<br />";
print 
"<span style='color:#FF2700;'>Controls:</span><br />";
print 
"<a href='?silkCharge'>Silk charge</a> . ";
print 
"<a href='?pwChange'>Change password</a> . ";
print 
"<a href='?logout'>Logout</a>";
print 
"</div>";
}
?>
</div>
<div id="nav-panel">
<div class="content">
<a href="./">Main page</a><br />
<a href="?download">Downloads</a><br />
<a href="?register">Register</a><br />
<!--a href="./">Forum (coming soon)</a><br /-->
</div>
</div>
<div id="vote-button-panel">
<a href="./?vote" onmouseover="imgReplace('Vote', 'styles/img/vote-button-hover.jpg')" onmouseout="imgReplace('Vote', 'styles/img/vote-button.jpg')"><img src="styles/img/vote-button.jpg" name="Vote" alt="Vote and receive free Silk Rewards!" ></a>
</div>
</div>

<div id="middle-container">
<div id="join-banner-panel">
<a href="./?register" onmouseover="imgReplace('Join', 'styles/img/join-banner-top-hover.jpg')" onmouseout="imgReplace('Join', 'styles/img/join-banner-top.jpg')"><img src="styles/img/join-banner-top.jpg" name="Join" alt="Begin your adventure right now!" ></a>
</div>
<div id="main-content-box">
<?php 
include("pager.php");
?>
</div>
</div>

<div id="right-container">
<div id="download-panel">
<a href="./?download" onmouseover="imgReplace('Download', 'styles/img/download-button-hover.jpg')" onmouseout="imgReplace('Download', 'styles/img/download-button.jpg')"><img src="styles/img/download-button.jpg" name="Download" alt="Download our latest client!" ></a>
</div>
<div id="server-status-panel">
<div class="content">
<?php 
include("modules/ServerState.php");
?>
</div>
</div>
<div id="server-rates-panel">
<div class="content">
<?php
echo "EXP & SP Rate: <span style='color:#FF2700;'>".$expRate."x </span><br />";
echo 
"PARTY EXP Rate: <span style='color:#FF2700;'>".$ptRate."x </span><br />";
echo 
"DROP Rate: <span style='color:#FF2700;'>".$dropRate."x </span><br />";
echo 
"GOLD DROP Rate: <span style='color:#FF2700;'>".$goldRate."x </span><br />";
echo 
"SOX DROP Rate: <span style='color:#FF2700;'>".$soxPoc."% </span>";
?>
</div>
</div>
<div id="players-online-panel">
<div class="content">
<?php 
include("modules/OnlineUsers.php");
?>
</div>
</div>
<div id="fortress-winners-panel">
<div class="content">
<?php
include("modules/TopGuilds.php");
?>
</div>
</div>
<div id="paradise-tv-panel">
<div class="content">
<iframe width="226" height="182" src="http://www.youtube.com/embed/ARTCYpcsZos" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
<br />
<div style="font-style: tahoma; color: #916F4E; font-size: 12px; font-weight: bold;">Copyrights &copy; 2011. <a href="http://sroparadise.org" style="text-decoration:none;font-style: tahoma; color: #916F4E; font-size: 12px; font-weight: bold;">sroparadise.org</a></div>
</center>
</body>
</html>

حط ده

abdelrhman22 31-05-2013 01:49 AM

و أنا عايز أعرف الموقع تقيل اوى كدا ليه؟؟؟؟

abdelrhman22 31-05-2013 01:53 AM

و معلش ممكن تشلى ال vote 4 silk
<?php
error_reporting(0);
session_start();
include("modules/include/Config.php");
include("modules/include/SqlConn.php");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="styles/img/favicon.png" type="image/x-icon" />
<meta name="description" content="Paradise Silkroad is PVP mid-rate based fun Server with great community and fun events held by Server administration." />
<meta name="keywords" content="Silkroad,Silkroad fun server,silkroad server,silkroad pserver, silkroad emulator, silkroad fun, silkroad hack, silkroad gold, free gold, free silkroad gold, silkroad online, paradise silkroad, silkroad funserver, sro, ISRO, pSRO" />
<title>Devil Sro Silkroad - The best of the best!</title>
<link rel="stylesheet" type="text/css" href="styles/css/paradise.css" />
<script type="text/javascript">
<!--
function imgReplace(imgName, imgSrc) {
document[imgName].src = imgSrc;
}
function clearText(formfield){
if (formfield.defaultValue==formfield.value) {
formfield.value = ""
}
}
-->
</script>
</head>
<body>
<center>
<div id="empty-space"></div>
<div id="content-container">

<div id="left-container">
<div id="login-panel">
<?php
if(!isset($_SESSION['loggedin'])) {
print "
<div class='content'>
<form action='user/login.php' method='POST'>
<table border='0'>
<tr>
<td><input onfocus='clearText(this);' type='text' name='username' value='username'></td>
</tr>
<tr>
<td><input onfocus='clearText(this);' type='password' name='password' value='password'></td>
</tr>
<tr>
<td><input style='width: 46px;height:20px;font-size:10px;color: #fff;font-weight: bold; font-family: Tahoma;text-transform: uppercase;' type='submit' name='submit' value='Login'> Not a user yet? <a href='?register' style='color:#D38132;'>REGISTER NOW!</a></td>
</tr>
</table>
</form>
</div>
";
} else {
print "<div class='userpanel'>";
$userID = $_SESSION['name'];
print "Welcome <span style='color:#FF2700;font-size:14px;'>$userID</span>!<br />";
mssql_select_db($dbName1, $dbConn) or die ("Couln't select database $dbName1");
$getUserJID = mssql_query("select * from TB_User where StrUserID = '$userID'");
while ($row = mssql_fetch_array($getUserJID)) {
$userJID = $row['JID'];
$userGM = $row['sec_content'];
}
$getSilkQuery = mssql_query("select * from SK_Silk where JID = '$userJID'");
while ($row = mssql_fetch_array($getSilkQuery)) {
print "Silk balance: <span style='color:#4D9C00;'>";
print $row['silk_gift'];
print "</span> <img style='vertical-align:middle;' src='styles/img/silk-icon.png' alt='Silk Balance' /> <br />";
}

if ($userGM == '1') {
if ($userID == "IDHERE" || $userID == "ANOTHERIDHERE") {
print "<span style='color:#FF2700;'>Administration:</span><br />";
print "<a href='?GMAddSilk'>Add Silk</a> . ";
print "<a href='?GMAddNews'>Add News</a>";

print " . <a href='?payments'>Latest Donations</a>";
}
}
print "<br />";
print "<span style='color:#FF2700;'>Controls:</span><br />";
print "<a href='?silkCharge'>Silk charge</a> . ";
print "<a href='?pwChange'>Change password</a> . ";
print "<a href='?logout'>Logout</a>";
print "</div>";
}
?>
</div>
<div id="nav-panel">
<div class="content">
<a href="./">Main page</a><br />
<a href="?download">Downloads</a><br />
<a href="?register">Register</a><br />
<a href="?vote">Vote 4 Silk</a><br />
<!--a href="./">Forum (coming soon)</a><br /-->
</div>
</div>
<div id="vote-button-panel">
<a href="./?vote" onmouseover="imgReplace('Vote', 'styles/img/vote-button-hover.jpg')" onmouseout="imgReplace('Vote', 'styles/img/vote-button.jpg')"><img src="styles/img/vote-button.jpg" name="Vote" alt="Vote and receive free Silk Rewards!" ></a>
</div>
</div>

<div id="middle-container">
<div id="join-banner-panel">
<a href="./?register" onmouseover="imgReplace('Join', 'styles/img/join-banner-top-hover.jpg')" onmouseout="imgReplace('Join', 'styles/img/join-banner-top.jpg')"><img src="styles/img/join-banner-top.jpg" name="Join" alt="Begin your adventure right now!" ></a>
</div>
<div id="main-content-box">
<?php
include("pager.php");
?>
</div>
</div>

<div id="right-container">
<div id="download-panel">
<a href="./?download" onmouseover="imgReplace('Download', 'styles/img/download-button-hover.jpg')" onmouseout="imgReplace('Download', 'styles/img/download-button.jpg')"><img src="styles/img/download-button.jpg" name="Download" alt="Download our latest client!" ></a>
</div>
<div id="server-status-panel">
<div class="content">
<?php
include("modules/ServerState.php");
?>
</div>
</div>
<div id="server-rates-panel">
<div class="content">
<?php
echo "EXP & SP Rate: <span style='color:#FF2700;'>".$expRate."x </span><br />";
echo "PARTY EXP Rate: <span style='color:#FF2700;'>".$ptRate."x </span><br />";
echo "DROP Rate: <span style='color:#FF2700;'>".$dropRate."x </span><br />";
echo "GOLD DROP Rate: <span style='color:#FF2700;'>".$goldRate."x </span><br />";
echo "SOX DROP Rate: <span style='color:#FF2700;'>".$soxPoc."% </span>";
?>
</div>
</div>
<div id="players-online-panel">
<div class="content">
<?php
include("modules/OnlineUsers.php");
?>
</div>
</div>
<div id="fortress-winners-panel">
<div class="content">
<?php
include("modules/TopGuilds.php");
?>
</div>
</div>
<div id="paradise-tv-panel">
<div class="content">
<iframe width="226" height="182" src="http://www.youtube.com/embed/ARTCYpcsZos" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
<br />
<div style="font-style: tahoma; color: #916F4E; font-size: 12px; font-weight: bold;">Copyrights &copy; 2011. <a href="http://sroparadise.org" style="text-decoration:none;font-style: tahoma; color: #916F4E; font-size: 12px; font-weight: bold;">sroparadise.org</a></div>
</center>
</body>
</html>

GM]7oDa] 31-05-2013 01:55 AM

ظبت الكود الفوق .. حطوا تاني :)

abdelrhman22 31-05-2013 01:58 AM

بجد شكرن و أسف على التعب ده

GM]7oDa] 31-05-2013 02:02 AM

تمام يغلق #

قدام لم مشاكلكَ كلها في وضوع


الساعة الآن 03:49 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.