أريد أن أعرف كيف يمكن عمل ذلك!
المشرف: alhitary
قوانين المنتدى
فضلاً قبل وضع أي مشكلة تأكد من استخدام البحث ومن ثم ملء استمارة الدعم إذا لم تجد حلا لمشكلتك.
فضلاً قبل وضع أي مشكلة تأكد من استخدام البحث ومن ثم ملء استمارة الدعم إذا لم تجد حلا لمشكلتك.
- خالد عطية
- عضو متميز
- مشاركات: 282
- اشترك في: الجمعة مارس 24, 2006 2:39 pm
- مكان: أم الدنــEGYPTـــيا
- اتصال:
???? ?? ???? ??? ???? ??? ???!
??? ???? ?????? ??????
????? ???? ??? ??? ???????? ?? ??? ?????? ?????? ???
???? ??? ???? ?? ???? ???? ???? ?? ??????? ???? ???? ??? ????? ????? ??????
??????? ?? ??? ????? ???????
???? ?????? ???? ??? ??? ????? ??? ??? ???? ???? ????? ???????? ?? ???? ?????
???? ???? ?????
????? ???? ??? ??? ???????? ?? ??? ?????? ?????? ???
???? ??? ???? ?? ???? ???? ???? ?? ??????? ???? ???? ??? ????? ????? ??????
??????? ?? ??? ????? ???????
???? ?????? ???? ??? ??? ????? ??? ??? ???? ???? ????? ???????? ?? ???? ?????
???? ???? ?????
-
- مشرف سابق
- مشاركات: 763
- اشترك في: الاثنين يونيو 20, 2005 8:30 pm
- مكان: keyboard
- اتصال:
- خالد عطية
- عضو متميز
- مشاركات: 282
- اشترك في: الجمعة مارس 24, 2006 2:39 pm
- مكان: أم الدنــEGYPTـــيا
- اتصال:
??? ?????? ?? ????
???? ?? ???? ??? ?????? ??? ????? ???????? ?? ??? ???? ???????
?????
<?php
/***************************************************************************
* ehdaa_db_update.php
* -------------------
*
* copyright : ???? ??????
* Website : http://www.mara7net.com
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
if( !$userdata['session_logged_in'] )
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . append_sid("login.$phpEx?redirect=ehdaa_db_update.$phpEx", true));
exit;
}
if( $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_MESSAGE, '??? ???? ?????? ????? ??? ??????');
}
$page_title = '????? ????? ????????';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
echo '<table width="100%" cellspacing="1" cellpadding="2" border="0" class="forumline">';
echo '<tr><th>????? ????? ????????</th></tr><tr><td><span class="genmed"><ul type="circle">';
$sql = array();
$sql[] = "CREATE TABLE " . $table_prefix . "ehdaa (
id int(20) NOT NULL auto_increment,
name varchar(25) NOT NULL default '0',
one varchar(30) NOT NULL default '',
two varchar(15) NOT NULL default '',
three text NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM";
$sql[] = "INSERT INTO `" . $table_prefix . "ehdaa` VALUES (1, 'www.alshellah.net.tc', '', '????? ???', '????? ????? ??? ????????? ')";
for( $i = 0; $i < count($sql); $i++ )
{
if( !$result = $db->sql_query ($sql[$i]) )
{
$error = $db->sql_error();
echo '<li>' . $sql[$i] . '<br /> +++ <font color="#FF0000"><b>???:</b></font> ' . $error['message'] . '</li><br />';
}
else
{
echo '<li>' . $sql[$i] . '<br /> +++ <font color="#00AA00"><b>????? ?????</b></font></li><br />';
}
}
echo '</ul></span></td></tr><tr><td class="catBottom" height="28"> </td></tr>';
echo '<tr><th>End</th></tr><tr><td><span class="genmed">????? ????? ??????? ??? ????? .. ????? ???? ?? ??? ???? ????? ?????? ??? ????????</span></td></tr>';
echo '<tr><td class="catBottom" height="28" align="center"><span class="genmed"><a href="' . append_sid("index.$phpEx") . '">Have a nice day</a></span></td></table>';
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
??? ??? ??????? ????? ???? ????????? ??? ??????? ???? ???? ??? ????? ????????
???? ?? ???? ??? ?????? ??? ????? ???????? ?? ??? ???? ???????
?????
<?php
/***************************************************************************
* ehdaa_db_update.php
* -------------------
*
* copyright : ???? ??????
* Website : http://www.mara7net.com
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
if( !$userdata['session_logged_in'] )
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . append_sid("login.$phpEx?redirect=ehdaa_db_update.$phpEx", true));
exit;
}
if( $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_MESSAGE, '??? ???? ?????? ????? ??? ??????');
}
$page_title = '????? ????? ????????';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
echo '<table width="100%" cellspacing="1" cellpadding="2" border="0" class="forumline">';
echo '<tr><th>????? ????? ????????</th></tr><tr><td><span class="genmed"><ul type="circle">';
$sql = array();
$sql[] = "CREATE TABLE " . $table_prefix . "ehdaa (
id int(20) NOT NULL auto_increment,
name varchar(25) NOT NULL default '0',
one varchar(30) NOT NULL default '',
two varchar(15) NOT NULL default '',
three text NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM";
$sql[] = "INSERT INTO `" . $table_prefix . "ehdaa` VALUES (1, 'www.alshellah.net.tc', '', '????? ???', '????? ????? ??? ????????? ')";
for( $i = 0; $i < count($sql); $i++ )
{
if( !$result = $db->sql_query ($sql[$i]) )
{
$error = $db->sql_error();
echo '<li>' . $sql[$i] . '<br /> +++ <font color="#FF0000"><b>???:</b></font> ' . $error['message'] . '</li><br />';
}
else
{
echo '<li>' . $sql[$i] . '<br /> +++ <font color="#00AA00"><b>????? ?????</b></font></li><br />';
}
}
echo '</ul></span></td></tr><tr><td class="catBottom" height="28"> </td></tr>';
echo '<tr><th>End</th></tr><tr><td><span class="genmed">????? ????? ??????? ??? ????? .. ????? ???? ?? ??? ???? ????? ?????? ??? ????????</span></td></tr>';
echo '<tr><td class="catBottom" height="28" align="center"><span class="genmed"><a href="' . append_sid("index.$phpEx") . '">Have a nice day</a></span></td></table>';
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
??? ??? ??????? ????? ???? ????????? ??? ??????? ???? ???? ??? ????? ????????
-
- مشرف سابق
- مشاركات: 763
- اشترك في: الاثنين يونيو 20, 2005 8:30 pm
- مكان: keyboard
- اتصال:
الموجودون الآن
المتصفحون للمنتدى الآن: لا يوجد أعضاء مسجلين متصلين و 51 زائرًا