[???] ????? ??? ?????? ?? ?????? ???????
مرسل: السبت يونيو 16, 2007 10:49 pm
?????? ????? ????? ???? ???????
???? ?? ????? ????
??? ????? ???? ??? ?????? ?? ???? ??? ?? ?????? ??????? ????? ??? ????????
???? ???? ??????

??????? ????? ??? ??????
http://www.samaoui.com/phpbb3
---------------------
-----[ ???? ]------------------------------------------
includes/functions_display.php
----[ ???? ]------------------------------------------
-----[ ??? ??? ]------------------------------------------
-----[ ???? ]------------------------------------------
-----[ ??? ??? ]------------------------------------------
-----[ ???? ]------------------------------------------
styles/prosilver/templates/forumlist_body.html
-----[ ???? ]------------------------------------------
-----[ ?? ??? ?????? ???? ?? ]------------------------------------------
-----[?? ??? ?????? ??? ??? ]------------------------------------------
-----[ ???? ]------------------------------------------
styles/subsilver2/templates/forumlist_body.html
-----[ ???? ]------------------------------------------
-----[ ??? ??? ]------------------------------------------
?? ?? ???? ?????? ?? ?????? ??????? ???????
?????
???? ?? ????? ????
??? ????? ???? ??? ?????? ?? ???? ??? ?? ?????? ??????? ????? ??? ????????
???? ???? ??????

??????? ????? ??? ??????
http://www.samaoui.com/phpbb3
---------------------
-----[ ???? ]------------------------------------------
includes/functions_display.php
----[ ???? ]------------------------------------------
كود: تحديد الكل
// Create last post link information, if appropriate
if ($row['forum_last_post_id'])
{
$last_post_subject = $row['forum_last_post_subject'];
-----[ ??? ??? ]------------------------------------------
كود: تحديد الكل
$last_post_title = '0'; // values: 0 and 1 //if 0 it'll take last TOPIC title
if ($last_post_title == '0')
{
$sql = 'SELECT t.topic_id, p.topic_id, t.topic_title, p.post_id, p.post_time
FROM ' . TOPICS_TABLE . ' t, ' . POSTS_TABLE . ' p
WHERE t.topic_id = p.topic_id
AND p.post_id = '.$row['forum_last_post_id'].'
ORDER BY p.post_time DESC';
$result = $db->sql_query($sql);
while ($row['2'] = $db->sql_fetchrow($result))
{
$last_topic_title = $row['2']['topic_title'];
$last_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $row['2']['topic_id']);
}
$last_topic_title_substr = ( utf8_strlen($last_topic_title) > 30 )? (utf8_substr($last_topic_title,0,25) . '...') : ($last_topic_title);
}
else
{
$last_post_subject_substr = ( utf8_strlen($row['forum_last_post_subject']) > 30 )? (utf8_substr($row['forum_last_post_subject'],0,25) . '...') : ($row['forum_last_post_subject']);
}
كود: تحديد الكل
'LAST_POST_SUBJECT' => censor_text($last_post_subject),
كود: تحديد الكل
'LAST_TOPIC_TITLE' => censor_text($last_topic_title),
'LAST_TOPIC_TITLE_SUBSTR' => censor_text($last_topic_title_substr),
'LAST_POST_SUBJECT_SUBSTR' => censor_text($last_post_subject_substr),
'U_LAST_TOPIC' => $last_topic_url,
styles/prosilver/templates/forumlist_body.html
-----[ ???? ]------------------------------------------
كود: تحديد الكل
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>
-----[ ?? ??? ?????? ???? ?? ]------------------------------------------
كود: تحديد الكل
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>
-----[?? ??? ?????? ??? ??? ]------------------------------------------
كود: تحديد الكل
<a href="{forumrow.U_LAST_TOPIC}" title="{forumrow.LAST_TOPIC_TITLE}">{forumrow.LAST_TOPIC_TITLE_SUBSTR}</a><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT_SUBSTR}</a><br />
-----[ ???? ]------------------------------------------
styles/subsilver2/templates/forumlist_body.html
-----[ ???? ]------------------------------------------
كود: تحديد الكل
<!-- IF forumrow.LAST_POST_TIME -->
-----[ ??? ??? ]------------------------------------------
كود: تحديد الكل
<p class="topicdetails"><a href="{forumrow.U_LAST_TOPIC}" title="{forumrow.LAST_TOPIC_TITLE}">{forumrow.LAST_TOPIC_TITLE_SUBSTR}</a><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT_SUBSTR}</a></p>
?? ?? ???? ?????? ?? ?????? ??????? ???????
?????