السلام عليكم
الصراحة ركبته ولكن ماضبط
شوف
<?php
//Led-Ads - PHP/MYSQL V1.0
//السيرفر "localhost".
$hostname = "localhost";
//الإمتداد الى هذا الملف
$redirect = "/www/ad_click.php";
//اسم قاعدة البيانات
$dbName = "fuga";
//اسم المستخدم في القاعدة
$username = "fuga"; #SQL User Name (Don't worry, this wont showup on the page)
//كلمة المرور في قاعدة البيانات
$password = "fuga"; #SQL User Passworld (Don't worry, this wont showup on the page)
//اسم الجدول الذي سيقوم بعمله البرنامج
$table = "ledbanners_adstats"; #Table Name data is to be entered into.
//اسم المستخدم للبرنامج
$admin_pass = "admin";
//No need to edit below this line!
##################################
//Header and footer
function head() {
print "
<html>
<head>
<meta http-equiv=\"Content-Language\" content=\"en-us\">
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1256\">
<title>غرفة التحكم</title>
<style>
<!--
textarea { font-family: Tahoma; font-size: 8pt; padding: 3 }
input { font-family: Tahoma; font-size: 8pt; }
select { font-family: Tahoma; font-size: 8pt; }
a {text-decoration: none}
A:hover {color: #00FFFF; text-decoration: underline}
-->
</style>
</head>
<body bgcolor=\"#000000\" text=\"#FFFFFF\" link=\"#00CCFF\" vlink=\"#00CCFF\" alink=\"#00FFFF\" style=\"font-family: Verdana;\">
<font face=\"Arial\" size=\"2\">
<center><b>Led-Ads Admin v1.0 (PHP/MYSQL version)</b></center>";
}
function foot() {
print "\n<center><br>Copyright <a href=\"mailto:ledjon@ledscripts.com\">Jon Coulter</a><br>\n";
print "<a href=\"http://www.ledscripts.com\" target=\"_top\">Ledscripts.com</a></font></center>\n</body>\n</html>";
}
//Bad Password
function bad_pass() {
head();
print "Bad Password";
foot();
exit();
}
?>
كيف يتم التعديل هنا
//الإمتداد الى هذا الملف
$redirect = "/www/ad_click.php";
وهنا
//اسم الجدول الذي سيقوم بعمله البرنامج
$table = "ledbanners_adstats"; #Table Name data is to be entered into.
وكيف بالنسبة لفتح البنر فينافذه جديده
معليش تحملوني قليلا ولكن انتم تعرفون انه
اثنان لا يتعلمان المستحي والمتكبر
وشكرا على تعاونكم
|