[مجابة] سؤال يا Dr.3
المشرف: alhitary
[?????] ???? ?? Dr.3
?????? ????? ??? Dr.3
"??????? ???? ????? ????? ???????? ???? ??? ??????? ????????"
??? ????? ????? ??? ??? ??? ?? ??? ???????
??? ??? ???? ????? ?? ???? ?? ???? ????? ?? ??????? ????? ???? ????
?? ????? ???????? ??? ???? ????? ???
??? ????? ????? ?????? ?? ???? ? ?? ????? ??????
???? ??? ????? ??????? , ??? ??? ???????? ???? ???? ????? ??? ????? ?? ???????
??????? ???? ???? ????? ???? ?????
???? ???? ?? ?????
"??????? ???? ????? ????? ???????? ???? ??? ??????? ????????"
??? ????? ????? ??? ??? ??? ?? ??? ???????
??? ??? ???? ????? ?? ???? ?? ???? ????? ?? ??????? ????? ???? ????
?? ????? ???????? ??? ???? ????? ???
??? ????? ????? ?????? ?? ???? ? ?? ????? ??????
???? ??? ????? ??????? , ??? ??? ???????? ???? ???? ????? ??? ????? ?? ???????
??????? ???? ???? ????? ???? ?????
???? ???? ?? ?????
كود: تحديد الكل
##
## ?????? ultima528 < ultima528@yahoo.com >
## ???? ????? dr.3 < dr3@dr3.biz >
##
## ????? ????? ???? ??? ????? ?????? ???? ??? ??????? ????? ???????? ?? ???? ????
## ??????? ???????? ???? ????? ????? ???????? ???? ??? ??????? ????????
##
## ????? ????? ????? ???
## ????? ????? ??????? 3 ?????
##
## ??????? ??????? ??????? /admin/admin_db_utilities.php
## /languages/lang_arabic/lang_admin.php
## /templates/(??????)/admin/db_utils_backup_body.tpl
##############################################################
## ???? ???? ??? ????? ???? ????? ????? ???????
##############################################################
## ?? ????? ????? ???? ?????? ?? ??? ????? ???? ????? ?? ????:
##
## http://www.phpbb.com/mods/downloads/
## http://www.phpbbarabia.com/
##############################################################
## ??? ????? ??? ????? ?????? ?????? ? ?? ???? ???? ???????? ???????
##############################################################
#-----[ ????? ????? ]-------------------------------------------
#-----[ ???? ??? ]--------------------------------------------
#
/admin/admin_db_utilities.php
#
#-----[ ???? ?? ]------------------------------------------
#
$tables = array('auth_access', 'banlist', 'categories', 'config', 'disallow', 'forums', 'forum_prune', 'groups', 'posts', 'posts_text', 'privmsgs', 'privmsgs_text', 'ranks', 'search_results', 'search_wordlist', 'search_wordmatch', 'sessions', 'smilies', 'themes', 'themes_name', 'topics', 'topics_watch', 'user_group', 'users', 'vote_desc', 'vote_results', 'vote_voters', 'words', 'confirm');
#
#-----[ ??????? ???? ]----------------------------------
#
$phpbb_only = (!empty($HTTP_POST_VARS['phpbb_only'])) ? $HTTP_POST_VARS['phpbb_only'] : ( (!empty($HTTP_GET_VARS['phpbb_only'])) ? $HTTP_GET_VARS['phpbb_only'] : 0 );
switch ( SQL_LAYER )
{
case 'mysql':
case 'mysql4':
$sql = 'SHOW TABLES';
$field = "Tables_in_{$dbname}";
break;
case 'postgresql':
$sql = "SELECT relname
FROM pg_class
WHERE relkind = 'r'
AND relname NOT LIKE 'pg\_%'";
$field = "relname";
break;
}
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
$current_table = $row[$field];
$current_prefix = substr($current_table, 0, strlen($table_prefix));
if ($phpbb_only && $current_prefix != $table_prefix)
{
continue;
}
else
{
$tables[] = $current_table;
}
}
#
#-----[ ???? ?? ]------------------------------------------
#
"L_BACKUP_OPTIONS" => $lang['Backup_options'],
#
#-----[ ????? ??? ]------------------------------------
#
"L_PHPBB_ONLY" => $lang['phpBB_only'],
#
#-----[ ???? ?? ]------------------------------------------
#
"META" => '<meta http-equiv="refresh" content="2;url=' . append_sid("admin_db_utilities.$phpEx?perform=backup&additional_tables=" . quotemeta($additional_tables) . "&backup_type=$backup_type&drop=1&backupstart=1&gzipcompress=$gzipcompress&startdownload=1") . '">',
#
#-----[ ??? ??? ????? ?????? ???? ?? ??? ????? ]----------------------------------
#
backupstart=1
#
#-----[ ??? ??? ????? ??? ????? ??????? ??? ??? ]----------------------------
#
&phpbb_only=$phpbb_only
#
#-----[ ???? ?? ]------------------------------------------
#
if($backup_type != 'data')
{
echo "#\n# TABLE: " . $table_prefix . $table_name . "\n#\n";
echo $table_def_function($table_prefix . $table_name, "\n") . "\n";
}
if($backup_type != 'structure')
{
$table_content_function($table_prefix . $table_name, "output_table_content");
}
#
#-----[ ??????? ???? ]----------------------------------
#
if($backup_type != 'data')
{
echo "#\n# TABLE: " . $table_name . "\n#\n";
echo $table_def_function($table_name, "\n") . "\n";
}
if($backup_type != 'structure')
{
$table_content_function($table_name, "output_table_content");
}
#
#-----[ ???? ??? ]------------------------------------------
#
/language/lang_arabic/lang_admin.php
#
#-----[ ???? ?? ]------------------------------------------
#
$lang['Additional_tables'] = '????? ??????';
#
#-----[ ????? ??? ]------------------------------------
#
$lang['phpBB_only'] = '?? ??????? ???????? ?????? ????????';
#
#-----[ ???? ??? ]------------------------------------------
#
/templates/(??????)/admin/db_utils_backup_body.tpl
#
#-----[ ???? ?? ]------------------------------------------
#
<tr>
<td class="row1">{L_ADDITIONAL_TABLES}</td>
<td class="row1"><input class="post" type="text" name="additional_tables" /></td>
</tr>
#
#-----[ ??????? ???? ]----------------------------------
#
<tr>
<td class="row1">{L_PHPBB_ONLY}</td>
<td class="row1">{L_NO} <input type="radio" name="phpbb_only" value="0" /> {L_YES} <input type="radio" name="phpbb_only" value="1" checked /></td>
</tr>
<tr>
<td class="row2">{L_ADDITIONAL_TABLES}</td>
<td class="row2"><input class="post" type="text" name="additional_tables" /></td>
</tr>
#
#-----[ ???? ?? ????????? ??? ?????? ]----------------------
#-----[ ????? ????? ]------------------------------------------
آخر تعديل بواسطة الطالب12 في الخميس مارس 30, 2006 9:46 pm، تم التعديل مرة واحدة.
???? ??? ?? ???
????? ???? ??????? ??? ????? ????? :
???? ?????
????? ??????? ???
??????? ??????? ???
??????? ???????? ??? (????? ??????) ?? ???
????? ??????
??? gzip ?????
????? ????
???? ?? Dr ... 8)
???? ?? ????? ??? ??? ???? ????? ?????? ??????? " ?? " ?????? ?? ??????? ???????? ???? ??????
?? ??? ??? ????? ???? ??????? ???? ???
?? ?? ??? ???? ?????? ??????? ??? ??? ?? ???? ???? ??? ?? ?? ??? ???? ?
??????
????? ???? ??????? ??? ????? ????? :
???? ?????
????? ??????? ???
??????? ??????? ???
??????? ???????? ??? (????? ??????) ?? ???
????? ??????
??? gzip ?????
????? ????

???? ?? Dr ... 8)
???? ?? ????? ??? ??? ???? ????? ?????? ??????? " ?? " ?????? ?? ??????? ???????? ???? ??????
?? ??? ??? ????? ???? ??????? ???? ???
?? ?? ??? ???? ?????? ??????? ??? ??? ?? ???? ???? ??? ?? ?? ??? ???? ?
??????
???

???????? ???? ???? ?? ????? ?????? ?? ??????? ?? ??? ???? ????

?????? ????? ???? ??? ??????? ???? ?????? ????? ?? ??????? ??????? ?? ?? ????? ..
???? ??? ?????? ??? ???????? ????? ?? ?? "attachment" ?????? ??? ??????? ????? ???? ?? ??? ???? ???? ?? ???? ?????? ?? ?? ??? ???? ????? ?? ?????? ?? phpMyAdmin
??????? ??? ?????? ???? ?????
???? ????? ????? ?????? ??? ????? .....
???? ???? ?? ???
????? ???? ?? ??? ????
???? ?? ???? attachment ?? ???? ??????? ??????????
??? ??????? ????
?? ????? ?? ??????? ???? ???? ??? ?????? ??? ??????
??? ??
# TABLE: phpbb_attachments
#
???? ???? ??? ???? ???????? ???? ???? ?
???? ????? ????? ?????? ??? ????? .....

???? ???? ?? ???
????? ???? ?? ??? ????
???? ?? ???? attachment ?? ???? ??????? ??????????
??? ??????? ????
?? ????? ?? ??????? ???? ???? ??? ?????? ??? ??????
??? ??
# TABLE: phpbb_attachments
#
???? ???? ??? ???? ???????? ???? ???? ?
الموجودون الآن
المتصفحون للمنتدى الآن: لا يوجد أعضاء مسجلين متصلين وزائران