ممكن شريط اخر المواضيع
المشرف: alhitary
???? ???? ??? ????????
???? ???? ??? ????????
??? ??? ???
????? ????? ??????? ??? ????? ??vb
?? ???? ????
??? ??? ???
????? ????? ??????? ??? ????? ??vb
?? ???? ????
صباح الخير
- قلب العالم
- عضو مطرود
- مشاركات: 1397
- اشترك في: الأحد سبتمبر 19, 2004 3:52 pm
- مكان: في قلب امرأة اعشقها بجنون
- اتصال:
vb ???? ??? ????? ???? ???????
bb ???? ????? ??? ???? ???????
bb ???? ????? ??? ???? ???????
احصائيات
مواقعي حتى الآن هي :
http://www.sk.lebzz.com منوع
http://www.host.lebzz.com إسلامي
لقد عربت او برمجت او طورت ستايات وعددهم : 4
لقد عربت او برمجت او طورت هاكات وعددهم : 16
لا تحاول الحصول على بريدي فأنا لا ادعم بالرسائل الخاصة ولا البريد من يريد مساعدة يضعها لكي يشاركه الجميع
مواقعي حتى الآن هي :
http://www.sk.lebzz.com منوع
http://www.host.lebzz.com إسلامي
لقد عربت او برمجت او طورت ستايات وعددهم : 4
لقد عربت او برمجت او طورت هاكات وعددهم : 16
لا تحاول الحصول على بريدي فأنا لا ادعم بالرسائل الخاصة ولا البريد من يريد مساعدة يضعها لكي يشاركه الجميع
-
- صُناع أريبيا
- مشاركات: 755
- اشترك في: السبت يوليو 26, 2003 10:29 pm
- اتصال:
??? ???? ??????
???? ???? ??????? ??? ???? ??? ????????
http://www.7araktat.net/phpbb2/viewtopic.php?t=921
??? ??? ??? ????? ????? ???? ??? ??????? ??? ???
???? ???? ??????? ??? ???? ??? ????????
http://www.7araktat.net/phpbb2/viewtopic.php?t=921
??? ??? ??? ????? ????? ???? ??? ??????? ??? ???
كود: تحديد الكل
#################################################################
## ????? ?????: ??? ???? ????????
## ?????? ?????: 1.1.0
## ???? ?????: ??????? http://members.lycos.co.uk/mohamdes
##
## ??? ?????: ??? ????? ???? ???? ??? ???????? ?? ?? ????? ??????? ?? ?? ?????? ????????
## ?? ???? ???? ?????. ???? ??? ????? ???? ????? ??????? ? ??? ?????? ? ??? ???? ???
## ?? ? ??? ??? ??. ??? ?? ????? ???? ??? ????? ?? ???? ???? ??? ??? ?????? ???????.
##
## ????? ???????: ???
## ??? ??????? ??????: ?? 5 ??? 10 ?????
## ??????? ??????? ???????: includes/page_header.php
## templates/subSilver/overall_header.tpl
## ?? ??? templates/subSilver/index_body.tpl
## language/lang_arabic/lang_main.php
##
##
## ??????? ???????: ?? ????
##
## ??????: ???? ??????? ?? ??? ????? ?????? ?? ???? ??? ???????? ???? ezPortal
##
#################################################################
## ??? ????? ??? ????? ?? ???? ?? ???? ???? ???? ???????? ?? ???? ??????? ???? ???? ???????
#################################################################
#
# ???????:
#
# 1 - ??? ??? ???? ??? ??? 10 ?????? ?????? ??? ???? ???? ??? ????? ??? ?????? ???? ???
# ??? ??? ??? 10 ??????.txt ?? ???? ????? ??? ????? ??? ?? ???? ?? ?????? ?? ????? ???????.
#
# 2 - ??? ??? ???? ??????? 1.0.0 ?? ??? ????? ? ???? ???????? ??? ??? ?????? ???? ???
# ??????? 100 ??? 110.txt
#
# ????? ???????:
#
#-----[ ???? ]------------------------------------------
#
includes/page_header.php
#
#-----[ ???? ?? ]------------------------------------------
#
define('HEADER_INC', TRUE);
#
#-----[ ??? ????? ]------------------------------------------
#
// ??? ??? ???????? ???? ???? ?????
$CFG['number_recent_topics'] = '10';
// ????????? ???? ?? ???? ?? ???? ?? ??? ????????? ???? ??? ??????? ??????
$CFG['exceptional_forums'] = '';
#
#-----[ ???? ?? ]------------------------------------------
#
$s_last_visit = ( $userdata['session_logged_in'] ) ? create_date($board_config['default_dateformat'], $userdata['user_lastvisit'], $board_config['board_timezone']) : '';
#
#-----[ ??? ????? ]------------------------------------------
#
//
// Recent Topics
//
$is_auth_ary = array();
$is_auth_ary = auth(AUTH_ALL, AUTH_LIST_ALL, $userdata, $forum_data);
if( $CFG['exceptional_forums'] == '' )
{
$except_forum_id = '\'start\'';
}
else
{
$except_forum_id = $CFG['exceptional_forums'];
}
for ($i = 0; $i < count($forum_data); $i++)
{
if ((!$is_auth_ary[$forum_data[$i]['forum_id']]['auth_read']) or (!$is_auth_ary[$forum_data[$i]['forum_id']]['auth_view']))
{
if ($except_forum_id == '\'start\'')
{
$except_forum_id = $forum_data[$i]['forum_id'];
}
else
{
$except_forum_id .= ',' . $forum_data[$i]['forum_id'];
}
}
}
$sql = "SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.forum_id, t.topic_replies, p.post_id, p.poster_id, p.post_time, u.user_id, u.username
FROM " . TOPICS_TABLE . " AS t, " . POSTS_TABLE . " AS p, " . USERS_TABLE . " AS u
WHERE t.forum_id NOT IN (" . $except_forum_id . ")
AND t.topic_status <> 2
AND p.post_id = t.topic_last_post_id
AND p.poster_id = u.user_id
ORDER BY p.post_id DESC
LIMIT " . $CFG['number_recent_topics'];
if (!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not query recent topics information', '', __LINE__, __FILE__, $sql);
}
$number_recent_topics = $db->sql_numrows($result);
$recent_topic_row = array();
while ($row = $db->sql_fetchrow($result))
{
$recent_topic_row[] = $row;
}
for ($i = 0; $i < $number_recent_topics; $i++)
{
$template->assign_block_vars('recent_topic_row', array(
'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $recent_topic_row[$i]['post_id']) . '#' .$recent_topic_row[$i]['post_id'],
'L_TITLE' => $recent_topic_row[$i]['topic_title'],
'L_REPLIES' => intval($recent_topic_row[$i]['topic_replies']),
'U_POSTER' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $recent_topic_row[$i]['user_id']),
'S_POSTER' => $recent_topic_row[$i]['username'],
'S_POSTTIME' => $lang['Reply_time'] .': ' . create_date($board_config['default_dateformat'], $recent_topic_row[$i]['post_time'], $board_config['board_timezone'])
)
);
}
//
// END - Recent Topics
//
#
#-----[ ???? ?? ]------------------------------------------
#
'L_SEARCH_SELF' => $lang['Search_your_posts'],
#
#-----[ ??? ????? ]------------------------------------------
#
// Recent Topics
'L_RECENT_TOPICS' => $lang['Recent_topics'],
'L_AUTHOR' => $lang['Replier'],
'L_VIEW_AUTHOR' => $lang['View_replier'],
'L_TOTAL_REPLIES' => $lang['Total_replies'],
#
#-----[ ???? ]-------------------------------------------------------
#
language/lang_arabic/lang_main.php
#
#-----[ ???? ?? ]---------------------------------------------
#
// That's all Folks!
#
#-----[ ??? ????? ]----------------------------------------
#
// Last 10 posts
$lang['Recent_topics'] = '??? ???????? ????????';
$lang['Reply_time'] = '??? ??';
$lang['Replier'] = '??? ????';
$lang['View_replier'] = '??? ????? ?????? ?????';
$lang['Total_replies'] = '??? ??????';
#
# ??? ???? ?? ???? ?????? ?? ?? ????? ??????? ?? ???????
#
#-----[ ???? ]-------------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ ???? ?? ]---------------------------------------------
# ??? ??? ????? ?? ????? ?????
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a> <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a> <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a> </span></td>
</tr>
</table></td>
</tr>
</table>
<br />
#
#-----[ ??? ????? ]----------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25" align="center"><span class="cattitle">{L_RECENT_TOPICS}</span></td>
</tr>
<tr>
<td class="row1" align="left" height="30"><span class="gensmall">
<marquee id="recent_topics" behavior="scroll" direction="right" scrolldelay="50" scrollamount="2">
<!-- BEGIN recent_topic_row -->
» <a href="{recent_topic_row.U_TITLE}" title="{recent_topic_row.S_POSTTIME}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.L_TITLE}</a> ||
{L_AUTHOR}: <a href="{recent_topic_row.U_POSTER}" title="{L_VIEW_AUTHOR}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.S_POSTER}</a> || {L_TOTAL_REPLIES} [ {recent_topic_row.L_REPLIES} ] .::.
<!-- END recent_topic_row -->
</marquee>
</span>
</td>
</tr>
</table><br />
#
# ??? ??? ???? ?? ???? ?????? ?? ?????? ???????? ??? ?? ???????
#
#-----[ ???? ]-------------------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ ???? ?? ]---------------------------------------------
#
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
#
#-----[ ??? ????? ]----------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25" align="center"><span class="cattitle">{L_RECENT_TOPICS}</span></td>
</tr>
<tr>
<td class="row1" align="left" height="30"><span class="gensmall">
<marquee id="recent_topics" behavior="scroll" direction="right" scrolldelay="50" scrollamount="2">
<!-- BEGIN recent_topic_row -->
» <a href="{recent_topic_row.U_TITLE}" title="{recent_topic_row.S_POSTTIME}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.L_TITLE}</a> ||
{L_AUTHOR}: <a href="{recent_topic_row.U_POSTER}" title="{L_VIEW_AUTHOR}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.S_POSTER}</a> || {L_TOTAL_REPLIES} [ {recent_topic_row.L_REPLIES} ] .::.
<!-- END recent_topic_row -->
</marquee>
</span>
</td>
</tr>
</table><br />
#
#-----[ ???? ? ???? ???? ???????]----------------------------------------
#
# ?????
الموجودون الآن
المتصفحون للمنتدى الآن: لا يوجد أعضاء مسجلين متصلين و 6 زوار