[BETA] هاك اخر 5 مواضيع العضو في صفحة الموضوع..V1.2.0
المشرفون: alhitary،طاقم الإضافات
- (M)
- عضو متميز
- مشاركات: 200
- اشترك في: السبت مايو 17, 2008 4:05 am
- مكان: www.MWRD.net
- اتصال:
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
?? ???? ??? ??????? ????? ?? ????? ?????? ?:Faresnb كتب:?????? ?????
????? ???? ???? ???
??? ???? ? ???? ???? ????? ?????? ?? ???????? , ????? ?? ??? ???? ??????? ??? ??????? ????? ????? ??? ??????? ??? ???? 35 ? 40 , ?????? ??? ????? ?? ?????
???? ?? ??? ?????? ??? ??????? .... ? ???? ??? ???? ??? ????? ????? ??? ??? ????? ????????? ??? ???????? ??????? ??? ????? ?? ??????? vb
??? ?? ??????? ??? ?? ?????? ?????? ??? ???????
كود: تحديد الكل
// last topic by user - Fixed by MSSTI - Start
$lt_forum_ary = array();
$lt_forum_read_ary = array();
// Do not include those forums the user is not having read access to...
$lt_forum_read_ary = $auth->acl_getf('!f_read');
foreach ($lt_forum_read_ary as $lt_forumid => $lt_not_allowed)
{
if ($lt_not_allowed['f_read'])
{
$lt_forum_ary[] = (int) $lt_forumid;
}
}
$lt_forum_ary = array_unique($lt_forum_ary);
$lt_forum_sql = (sizeof($lt_forum_ary)) ? ' AND ' . $db->sql_in_set('t.forum_id', $lt_forum_ary, true) : '';
$lt_limit = 5;
$sql = 'SELECT t.*, p.topic_id, p.poster_id, p.post_time, p.post_subject, p.post_id
FROM ' . TOPICS_TABLE . ' t
LEFT JOIN ' . POSTS_TABLE . " p ON (p.post_time = t.topic_time)
WHERE t.topic_poster = $poster_id " . " $lt_forum_sql
ORDER BY t.topic_id DESC";
$lt_result = $db->sql_query_limit($sql, $lt_limit);
while ($lt_row = $db->sql_fetchrow($lt_result))
{
$template->assign_block_vars('postrow.postrowy', array(
'POST_SUB' => $lt_row['topic_title'],
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f={$lt_row['forum_id']}&t={$lt_row['topic_id']}"),
));
}
$db->sql_freeresult($lt_result);
unset($lt_result, $lt_forum_ary, $lt_forum_read_ary, $lt_forum_sql);
// last topic by user - Fixed by MSSTI - End

[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
?? ?? ????? ... ???? ??? ??? ??????(M كتب: ?? ???? ??? ??????? ????? ?? ????? ?????? ?:????? ??? ???? ????? ??? ??????? ????? ????????كود: تحديد الكل
// last topic by user - Fixed by MSSTI - Start $lt_forum_ary = array(); $lt_forum_read_ary = array(); // Do not include those forums the user is not having read access to... $lt_forum_read_ary = $auth->acl_getf('!f_read'); foreach ($lt_forum_read_ary as $lt_forumid => $lt_not_allowed) { if ($lt_not_allowed['f_read']) { $lt_forum_ary[] = (int) $lt_forumid; } } $lt_forum_ary = array_unique($lt_forum_ary); $lt_forum_sql = (sizeof($lt_forum_ary)) ? ' AND ' . $db->sql_in_set('t.forum_id', $lt_forum_ary, true) : ''; $lt_limit = 5; $sql = 'SELECT t.*, p.topic_id, p.poster_id, p.post_time, p.post_subject, p.post_id FROM ' . TOPICS_TABLE . ' t LEFT JOIN ' . POSTS_TABLE . " p ON (p.post_time = t.topic_time) WHERE t.topic_poster = $poster_id " . " $lt_forum_sql ORDER BY t.topic_id DESC"; $lt_result = $db->sql_query_limit($sql, $lt_limit); while ($lt_row = $db->sql_fetchrow($lt_result)) { $template->assign_block_vars('postrow.postrowy', array( 'POST_SUB' => $lt_row['topic_title'], 'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f={$lt_row['forum_id']}&t={$lt_row['topic_id']}"), )); } $db->sql_freeresult($lt_result); unset($lt_result, $lt_forum_ary, $lt_forum_read_ary, $lt_forum_sql); // last topic by user - Fixed by MSSTI - End
.[/quote]?????? كتب:?????? ???? ????? ???? ???? ??????? ?????? ???????
?? ???? ???? ??????? ??? ??????? ?? ???
??? ????? ????? ?? ????? ???? ???? ??????? ??? ????????? ??? ??????? ?? ??? ????????? ???? ????? ??? ??? ???? ???? ????????.
قبل أن تطرح موضوع , قم بالبحث !
إذا أردت طرح موضوع لطلب الدعم , إملأ استمارة الدعم هنا أولاً, لا يقدم الدعم بدون استمارة
آرتين - موقع طلاب الآداب لتعليم اللغات
إذا أردت طرح موضوع لطلب الدعم , إملأ استمارة الدعم هنا أولاً, لا يقدم الدعم بدون استمارة
آرتين - موقع طلاب الآداب لتعليم اللغات
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
??????
???? ??? ???? ??? ???????
??????? ?? ??? ???? ????? ????? ???? ?? ??? ???????
???? ??? ???? ??? ???????
??????? ?? ??? ???? ????? ????? ???? ?? ??? ???????
- There's no place like 127.0.0.1
- ميدو الحزين
- عضو جديد
- مشاركات: 45
- اشترك في: الخميس مارس 26, 2009 5:58 pm
- اتصال:
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
????? ?????? ??? ???? ??? ???? ?? ????? ?????? ???? ???? ???
مـوقع ولاد بلدنـا لكـُل بلدنا شرفنـا بالدخـول
http://www.wladbldna.com
http://www.wladbldna.com
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
?? ?? ?????? ???? ?? ????? ?????
??? ???? ??? ????? ?????
??? ???? ??? ????? ?????
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
a???? ???? ??? ????? ??? ???? ?? ??????? 

[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
?? ?? ?????? ?? ????? ???? ?? ???? ?? ????? ???? ???? ???? ??
??? ?? ?????? ?? ???? ????
if total topic>0 then
--------
else
end if
??? ?? ?????? ?? ???? ????
if total topic>0 then
--------
else
end if
- ahmed dawod
- عضو جديد
- مشاركات: 57
- اشترك في: الخميس مايو 14, 2009 12:45 am
- اتصال:
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
?? ??? ?????? ??? ???? ???? ???? ???? ????????? ???? ?? ?????? ???? ?
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
?????? ?????
???????? ?? ???? ??????
???????? ?? ???? ??????
آخر تعديل بواسطة vixus في الخميس يونيو 10, 2010 3:18 am، تم التعديل مرة واحدة.
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
????? ?? ?????? ????? ?????? ????? ????? ??? ?????? ????? ??? ??????? ?????? ? ??????
??? ?? ???? ??? ??????? ? ?????? ????? ????? ??? ?????? ? ???? ???? ????? ?? ??? ??? ???? mysql ? ??? ????????? ??? ????? ??? ??? ????? ???????
???? ??? ???? ????? ???? ????? ???????? ?????
?? ??? viewtopic.php
???? ??
??????? ??
??? ???? / ????? ???? ??? ?????? ?? ?????? ???? ?? ??? ???????
????? ???????
?????? ?????
??? ?? ???? ??? ??????? ? ?????? ????? ????? ??? ?????? ? ???? ???? ????? ?? ??? ??? ???? mysql ? ??? ????????? ??? ????? ??? ??? ????? ???????
???? ??? ???? ????? ???? ????? ???????? ?????
?? ??? viewtopic.php
???? ??
كود: تحديد الكل
$sql = 'SELECT t.topic_title, t.forum_id, p.topic_id, p.post_time
FROM ' . TOPICS_TABLE . ' t
LEFT JOIN ' . POSTS_TABLE . ' as p ON (p.post_time = t.topic_time)
WHERE NOT ' . $db->sql_in_set('t.forum_id', $noflt) . '
AND t.topic_poster = ' . $poster_id . '
ORDER BY t.topic_id DESC';
كود: تحديد الكل
$sql = array(
'SELECT' => 't.topic_poster, t.topic_id, t.topic_title, t.forum_id, p.post_time',
'FROM' => array(TOPICS_TABLE => 't', POSTS_TABLE => 'p'),
'WHERE' => 'p.topic_id = t.topic_id
AND p.post_time = t.topic_time
AND t.topic_poster = ' . $poster_id,
'ORDER_BY' => 't.topic_id DESC',
);
??? ???? / ????? ???? ??? ?????? ?? ?????? ???? ?? ??? ???????
????? ???????
?????? ?????
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
vixus كتب:????? ?? ?????? ????? ?????? ????? ????? ??? ?????? ????? ??? ??????? ?????? ? ??????
??? ?? ???? ??? ??????? ? ?????? ????? ????? ??? ?????? ? ???? ???? ????? ?? ??? ??? ???? mysql ? ??? ????????? ??? ????? ??? ??? ????? ???????
???? ??? ???? ????? ???? ????? ???????? ?????
?? ??? viewtopic.php
???? ??
??????? ??كود: تحديد الكل
$sql = 'SELECT t.topic_title, t.forum_id, p.topic_id, p.post_time FROM ' . TOPICS_TABLE . ' t LEFT JOIN ' . POSTS_TABLE . ' as p ON (p.post_time = t.topic_time) WHERE NOT ' . $db->sql_in_set('t.forum_id', $noflt) . ' AND t.topic_poster = ' . $poster_id . ' ORDER BY t.topic_id DESC';
كود: تحديد الكل
$sql = array( 'SELECT' => 't.topic_poster, t.topic_id, t.topic_title, t.forum_id, p.post_time', 'FROM' => array(TOPICS_TABLE => 't', POSTS_TABLE => 'p'), 'WHERE' => 'p.topic_id = t.topic_id AND p.post_time = t.topic_time AND t.topic_poster = ' . $poster_id, 'ORDER_BY' => 't.topic_id DESC', );
??? ???? / ????? ???? ??? ?????? ?? ?????? ???? ?? ??? ???????
????? ???????
?????? ?????
??? ???? ?????? ????? ????? ????????
????? ? ???? ???????
موقع طلاب الدراسات القانونية في جامعة حلب
http://www.lawstudies-aleppo.com
http://www.lawstudies-aleppo.com
[BETA] ??? ??? 5 ?????? ????? ?? ???? ???????..V1.2.0
?? ???? ??? ???? ???? ????? ???????? Mysql
??? ?????? ?????? localhost
? ??? ??? ???? ?????? ????????? .. ????? ??? ?? ???? ???? ???
? ?? ??? ???? ?? ? ??? ????? ????? ????? ???? mysql ??? ?????? ?????? localhost
??? ???? ????? ????? ?????????
??? ?????? ?????? localhost
? ??? ??? ???? ?????? ????????? .. ????? ??? ?? ???? ???? ???
? ?? ??? ???? ?? ? ??? ????? ????? ????? ???? mysql ??? ?????? ?????? localhost
??? ???? ????? ????? ?????????

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