[ ! ] تغيير الاوامر ؟
المشرف: alhitary
[ ! ] ????? ??????? ?
?????? ?????? :
???? ????? ?? ???? ??? ?? ???? ???? ??????? , ????? ???? ??? ?? ???? ??? ???? ??? .
?????? ??? ?? ???? ??? ???? ??? ??????? ??? ?? ??? ????? ???? ????????.
???? ??????? ????? ?????? ???? ??? ???? ?? ???? phpmyadmin ?????? ?? ????? ?? ????? .
???? ???? ?? ??? ?????? ???? ????? ??? ????? ??????, ??? ???? ??????? ??????? ?
???? ????? ?? ???? ??? ?? ???? ???? ??????? , ????? ???? ??? ?? ???? ??? ???? ??? .
?????? ??? ?? ???? ??? ???? ??? ??????? ??? ?? ??? ????? ???? ????????.
???? ??????? ????? ?????? ???? ??? ???? ?? ???? phpmyadmin ?????? ?? ????? ?? ????? .
???? ???? ?? ??? ?????? ???? ????? ??? ????? ??????, ??? ???? ??????? ??????? ?
آخر تعديل بواسطة ma_d في الاثنين مايو 08, 2006 7:21 am، تم التعديل مرة واحدة.
(( ????? ))
????? ma_d
?? ?? ????? ..!!
???? ?????? ???? ??????? ?? ???? ???? ???? ???? ???? ??? ??? php ??????? ???? upgrad ?? ?? ????? ..!!
????????
Garebooo
?? ?? ????? ..!!
???? ?????? ???? ??????? ?? ???? ???? ???? ???? ???? ??? ??? php ??????? ???? upgrad ?? ?? ????? ..!!
????????
Garebooo
من فضلك استخدم نموذج طلب الدعم عند اضافة مشكلتك
بعد حل مشكلتك فضلاً ضع [ مجابة ] في عنوان الموضوع حتى يتنظم الموقع بشكل اكبر
بعد حل مشكلتك فضلاً ضع [ مجابة ] في عنوان الموضوع حتى يتنظم الموقع بشكل اكبر
??? ?????? ????? ?? ?????? ??????? ?? ???? ??????? complete_banne ??? ???? ????? ????? .
??????? ???? ??? ??????? ??? ?????? ?? ????? ???????? .
??????? ???? ??? ??????? ??? ???? ?????? ????? ???? ?????? . ?? ???? ???? ?? ??? ??????? ??????? ?????? ?????? . ??? ??? ??? ??? ???? ????? ???? ???????
??????? ???? ??? ??????? ??? ?????? ?? ????? ???????? .
كود: تحديد الكل
<?php
#########################################################
## SQL commands to phpBB2
## Author: Niels Chr. R?d
## Nickname: Niels Chr. Denmark
## Email: ncr@db9.dk
##
## Ver 1.0.9
##
## phpBB2 database update script for mods
## this file is intended to use with phpBB2, when installing mods
## after so you may delete this file, but only admin can use so it really doesen't matter
## The script will look what prefix you are using, and use the existing DB defined by congig.php
## The execution of this script's included SQL is harmless, so you can run it as meny times you like
## note, though that the users last visit, will be set back to his/her last login,
## but that is a minor cosmetic isue, that will correct it self next time the use logs in
##
## the following example are from my mods, and you can add some self, for other mods if you like
## you will after execution get a list over those commands that are run with succes and those with warnings !
## delete the sample lines if you are using it only for other mods
##
#########################################################
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
global $table_prefix;
define('BANNERS_TABLE', $table_prefix.'banner');
define('BANNER_STATS_TABLE', $table_prefix.'banner_stats');
###################################################################################################
##
## put the SQL commands below here, the SQL commands listed below are only exampels, substitude them with the one you need ##
##
###################################################################################################
$sql=array(
'CREATE TABLE '.BANNERS_TABLE.' (
banner_id MEDIUMINT(8) UNSIGNED NOT NULL,
banner_name TEXT NOT NULL,
banner_spot SMALLINT(1) UNSIGNED NOT NULL,
banner_forum MEDIUMINT(8) UNSIGNED NOT NULL,
banner_description VARCHAR(30) NOT NULL,
banner_url VARCHAR(90) NOT NULL,
banner_owner MEDIUMINT(8) NOT NULL,
banner_click MEDIUMINT(8) UNSIGNED NOT NULL,
banner_view MEDIUMINT(8) UNSIGNED NOT NULL,
banner_weigth TINYINT(1) UNSIGNED DEFAULT "50" NOT NULL,
banner_active TINYINT(1) NOT NULL,
banner_timetype TINYINT(1) NOT NULL,
time_begin INT(11) NOT NULL,
time_end INT(11) NOT NULL,
date_begin INT(11) NOT NULL,
date_end INT(11) NOT NULL,
banner_level TINYINT(1) NOT NULL,
banner_level_type TINYINT(1) NOT NULL,
banner_comment VARCHAR(50) NOT NULL,
banner_type MEDIUMINT(5) NOT NULL,
banner_width MEDIUMINT(5) UNSIGNED NOT NULL,
banner_height MEDIUMINT(5) NOT NULL,
banner_filter TINYINT(1) NOT NULL,
banner_filter_time MEDIUMINT(5) DEFAULT "600" NOT NULL,
INDEX (banner_id))',
'CREATE TABLE '.BANNER_STATS_TABLE.' (
banner_id MEDIUMINT(8) UNSIGNED NOT NULL,
click_date int (11) NOT NULL,
click_ip char(8) NOT NULL,
click_user MEDIUMINT(8) NOT NULL,
user_duration int (11) NOT NULL)');
$mods = array (
'Banner mod', 'Banner mod'
);
############################################### Do not change anything below this line #######################################
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
if ($userdata['user_level']!=ADMIN)
message_die(GENERAL_ERROR, "You are not Authorised to do this");
$n=0;
$message="<b>This list is a result of the SQL queries needed for mod</b><br/><br/>";
while($sql[$n])
{
$message .= ($mods[$n-1] != $mods[$n]) ? '<p><b><font size=3>'.$mods[$n].'</font></b><br/>' : '';
if(!$result = $db->sql_query($sql[$n]))
$message .= '<b><font color=#FF0000>[Already added]</font></b> line: '.($n+1).' , '.$sql[$n].'<br />';
else $message .='<b><font color=#0000fF>[Added/Updated]</font></b> line: '.($n+1).' , '.$sql[$n].'<br />';
$n++;
}
message_die(GENERAL_MESSAGE, $message);
?>
??????? ???? ??? ??????? ??? ???? ?????? ????? ???? ?????? . ?? ???? ???? ?? ??? ??????? ??????? ?????? ?????? . ??? ??? ??? ??? ???? ????? ???? ???????
كود: تحديد الكل
<?php
#########################################################
## SQL commands to phpBB2
## Author: Niels Chr. R?d
## Nickname: Niels Chr. Denmark
## Email: ncr@db9.dk
##
## Ver 1.0.9
##
## phpBB2 database update script for mods
## this file is intended to use with phpBB2, when installing mods
## after so you may delete this file, but only admin can use so it really doesen't matter
## The script will look what prefix you are using, and use the existing DB defined by congig.php
## The execution of this script's included SQL is harmless, so you can run it as meny times you like
## note, though that the users last visit, will be set back to his/her last login,
## but that is a minor cosmetic isue, that will correct it self next time the use logs in
##
## the following example are from my mods, and you can add some self, for other mods if you like
## you will after execution get a list over those commands that are run with succes and those with warnings !
## delete the sample lines if you are using it only for other mods
##
#########################################################
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
global $table_prefix;
define('BANNERS_TABLE', $table_prefix.'banner');
define('BANNER_STATS_TABLE', $table_prefix.'banner_stats');
###################################################################################################
##
## put the SQL commands below here, the SQL commands listed below are only exampels, substitude them with the one you need ##
##
###################################################################################################
$sql=array(
'CREATE TABLE '.BANNERS_TABLE.' (
banner_id MEDIUMINT(8) UNSIGNED NOT NULL,
banner_name TEXT NOT NULL,
banner_spot SMALLINT(1) UNSIGNED NOT NULL,
banner_forum MEDIUMINT(8) UNSIGNED NOT NULL,
banner_description VARCHAR(30) NOT NULL,
banner_url VARCHAR(128) NOT NULL,
banner_owner MEDIUMINT(8) NOT NULL,
banner_click MEDIUMINT(8) UNSIGNED NOT NULL,
banner_view MEDIUMINT(8) UNSIGNED NOT NULL,
banner_weigth TINYINT(1) UNSIGNED DEFAULT "50" NOT NULL,
banner_active TINYINT(1) NOT NULL,
banner_timetype TINYINT(1) NOT NULL,
time_begin INT(11) NOT NULL,
time_end INT(11) NOT NULL,
date_begin INT(11) NOT NULL,
date_end INT(11) NOT NULL,
banner_level TINYINT(1) NOT NULL,
banner_level_type TINYINT(1) NOT NULL,
banner_comment VARCHAR(50) NOT NULL,
banner_type MEDIUMINT(5) NOT NULL,
banner_width MEDIUMINT(5) UNSIGNED NOT NULL,
banner_height MEDIUMINT(5) UNSIGNED NOT NULL,
banner_filter TINYINT(1) NOT NULL,
banner_filter_time MEDIUMINT(5) DEFAULT "600" NOT NULL,
INDEX (banner_id))',
'CREATE TABLE '.BANNER_STATS_TABLE.' (
banner_id MEDIUMINT(8) UNSIGNED NOT NULL,
click_date int (11) NOT NULL,
click_ip char(8) NOT NULL,
click_user MEDIUMINT(8) NOT NULL,
user_duration int (11) NOT NULL)');
$mods = array (
'Banner mod', 'Banner mod'
);
############################################### Do not change anything below this line #######################################
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
if ($userdata['user_level']!=ADMIN)
message_die(GENERAL_ERROR, "You are not Authorised to do this");
$n=0;
$message="<b>This list is a result of the SQL queries needed for mod</b><br/><br/>";
while($sql[$n])
{
$message .= ($mods[$n-1] != $mods[$n]) ? '<p><b><font size=3>'.$mods[$n].'</font></b><br/>' : '';
if(!$result = $db->sql_query($sql[$n]))
$message .= '<b><font color=#FF0000>[Already added]</font></b> line: '.($n+1).' , '.$sql[$n].'<br />';
else $message .='<b><font color=#0000fF>[Added/Updated]</font></b> line: '.($n+1).' , '.$sql[$n].'<br />';
$n++;
}
message_die(GENERAL_MESSAGE, $message);
?>
(( ????? ))
????? ma_d
?????? ??? ????? /
http://www.phpbbarabia.com/board/viewtopic.php?t=19167
?? ???? ??????? ???? ????? ?? ????? ? ????? ?? ???? ..!!
????????
Garebooo
?????? ??? ????? /
http://www.phpbbarabia.com/board/viewtopic.php?t=19167
?? ???? ??????? ???? ????? ?? ????? ? ????? ?? ???? ..!!
????????
Garebooo
من فضلك استخدم نموذج طلب الدعم عند اضافة مشكلتك
بعد حل مشكلتك فضلاً ضع [ مجابة ] في عنوان الموضوع حتى يتنظم الموقع بشكل اكبر
بعد حل مشكلتك فضلاً ضع [ مجابة ] في عنوان الموضوع حتى يتنظم الموقع بشكل اكبر
?????? ????? ????? ???? ???????
????? ???? ?????? ??? ?????? ??????? ??????? ????? ????????

???? ???? ???? ???????
??? ????? ??????? ??????? ???? ?????? ???? ??? ??????? ????? ???????? ?????? ????? ???? ??? ???????
Skay
البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني


الموجودون الآن
المتصفحون للمنتدى الآن: Amazon [Bot] و 29 زائرًا