??? ??? ??? ?????? ?????? ?????? ??? ????? Seo
مرسل: الاثنين نوفمبر 17, 2008 2:07 pm
?????? ????? ??????? ?????? ?? ??? ???? ?????? ???? ??? ????? ???? ???? ?? ???? ??? ????? ??? ????? Seo ???? ????? ????? ????? ???? ??? ????? ??????? ????
????? ???? ???? the shadow ???? ?? ????
????? ?????????..
RC
1- ????? ????? ??? ??????.
2- ????? ????? ?????? ???????.
3- ??? ?????? subsilver2 ??????.
4- ????? ????? ????? ??????? ??????? ?? ??????? ?????????.
BETA4
????? ??? ??? ??? ??? ?????.
BETA3
1- ?? ?? ????? ????? ????????? ???? ?? ???.
2- ?? ??? ????? RE: ???? ???? ?? ???????? ?? ??????.
3- ?? ????? ??? ??????? ????? ???? ?????????? ???? ??? ??????? ????? ????.
4- ?? ????? ??? ??? ???????? ??? ??? ???????? ?? ??????.
5- ?? ????? ??? ??????? ??? ??? modX
BETA2
????? ????? ?????? ??" ???? ?????" ??? "?? ?????? ??? ?????? "
??? ????? ??? ????? ??? ??????, ??? ???? ??? ???? ???????? ?? ???? ??????? ???????? ??
??? ????? ??? ?????? ??3.0.RC5??? ?? ???? ????? ?? ????????? ?????? ?? phpBB. ????? phpBB3.0 ?? ???? ?? phpBB2.0 ?????? ??????.
????? ??? ???????
includes/functions.php,
styles/prosilver/template/overall_header.html,
styles/subsilver2/template/overall_header.html,
language/ar/common.php,
language/en/common.php
????? ??????? :
(((???? ??? ???? ???????? ?? ???? ??????? ???? ??? ???? ????????
???? ???? ???? ?????? ??????
????: includes/functions.php
????
??????: ?? ???? ??? ????? ??? ?? ??? ???? ????? ???.
??? ????
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
????
??????: ?? ???? ??? ????? ??? ?? ??? ???? ????? ???.
??? ????
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
????
??????: ?? ???? ??? ????? ??? ?? ??? ???? ????? ???.
??? ????
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
????: styles/Seo/template/overall_header.html
???? ?? :
??? ????
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
????: language/ar/common.php
????
??????: ?? ???? ??? ????? ??? ?? ??? ???? ????? ???.
??? ????:
????: language/en/common.php
???? :
??? ????
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
????? ?????
???? ???? ????? ????? ?????? ???? ???? ????? ??????? ??? ????? Prosilver ? subsilver ??????? ?? ??? ?????
?? ????? ??? ?? ??? ?????? ??? ???? ??? ????? ?? styles/Seo/template/overall_header.html
???????? ?????? ???????? (?? ????? ??????? ??? ??????? ???????? ????? ?? ??? ???? )
????? ???? ???? the shadow ???? ?? ????
????? ?????????..
RC
1- ????? ????? ??? ??????.
2- ????? ????? ?????? ???????.
3- ??? ?????? subsilver2 ??????.
4- ????? ????? ????? ??????? ??????? ?? ??????? ?????????.
BETA4
????? ??? ??? ??? ??? ?????.
BETA3
1- ?? ?? ????? ????? ????????? ???? ?? ???.
2- ?? ??? ????? RE: ???? ???? ?? ???????? ?? ??????.
3- ?? ????? ??? ??????? ????? ???? ?????????? ???? ??? ??????? ????? ????.
4- ?? ????? ??? ??? ???????? ??? ??? ???????? ?? ??????.
5- ?? ????? ??? ??????? ??? ??? modX
BETA2
????? ????? ?????? ??" ???? ?????" ??? "?? ?????? ??? ?????? "
??? ????? ??? ????? ??? ??????, ??? ???? ??? ???? ???????? ?? ???? ??????? ???????? ??
??? ????? ??? ?????? ??3.0.RC5??? ?? ???? ????? ?? ????????? ?????? ?? phpBB. ????? phpBB3.0 ?? ???? ?? phpBB2.0 ?????? ??????.
????? ??? ???????
includes/functions.php,
styles/prosilver/template/overall_header.html,
styles/subsilver2/template/overall_header.html,
language/ar/common.php,
language/en/common.php
????? ??????? :
(((???? ??? ???? ???????? ?? ???? ??????? ???? ??? ???? ????????
???? ???? ???? ?????? ??????
????: includes/functions.php
????
??????: ?? ???? ??? ????? ??? ?? ??? ???? ????? ???.
كود: تحديد الكل
$tz = ($user->data['user_id'] != ANONYMOUS) ? strval(doubleval($user->data['user_timezone'])) : strval(doubleval($config['board_timezone']));
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
كود: تحديد الكل
// begin display setting for latest_posts
$not_in = ""; //???? ??? ????? ????????? ???? ?? ???? ???? ????????? ?? ??????. ???? "2, 4, 6" ???? "0" ??? ??? ???? ????? ???? ?????????
$limit = "10"; // ???? ??? ??? ????????? ???? ???? ??????? ?? ??????
// end display setting for latest_posts
??????: ?? ???? ??? ????? ??? ?? ??? ???? ????? ???.
كود: تحديد الكل
'CURRENT_TIME' => sprintf($user->lang['CURRENT_TIME'], $user->format_date(time(), false, true)),
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
كود: تحديد الكل
'LATEST_POSTS' => get_latest_posts($limit, $not_in, 'except'),
??????: ?? ???? ??? ????? ??? ?? ??? ???? ????? ???.
كود: تحديد الكل
?>
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
كود: تحديد الكل
function get_latest_posts($limit, $extra_id = false, $type = false)
{
global $db, $phpbb_root_path, $phpEx, $template;
global $cache, $user, $auth, $config, $user_cache;
$icons = $cache->obtain_icons();
$extra = false;
if ($extra_id)
{
switch($type)
{
case 'in':
$extra = "AND t.forum_id IN ($extra_id)";
break;
case 'except':
$extra = "AND not t.forum_id IN ($extra_id)";
break;
}
}
//????? ?? ????????? ???? ???? ??????? ????????
$auth_ary = $auth->acl_get_list($user->data['user_id'], 'f_read');
$forum_ary = array();
foreach ($auth_ary as $key => $var)
{
$forum_ary[] = $key;
}
$forums = implode(', ', $forum_ary);
//???? ????? ???? ?????????
$sql = 'SELECT t.topic_id, t.topic_last_post_id , t.icon_id, t.topic_title, topic_replies, t.topic_last_poster_id, t.topic_last_poster_name, t.forum_id, u.*
FROM ' . TOPICS_TABLE . ' t
LEFT JOIN ' . USERS_TABLE . " u ON (u.user_id = t.topic_last_poster_id)
WHERE t.forum_id IN ($forums) $extra
ORDER BY topic_last_post_time DESC LIMIT $limit";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
//????? ??????? ???? ?????
$template->assign_block_vars('latest_posts', array(
'POST_AUTHOR' => get_username_string('username', $row['topic_last_poster_id'], $row['username'], $row['topic_last_poster_colour '], $row['topic_last_poster_name']),
'POST_SUBJECT' => $row['topic_title'],
'POST_ID' => $row['topic_last_post_id'],
'NUM_REPLIES' => $row['topic_replies'],
'U_POST_AUTHOR' => get_username_string('profile', $row['topic_last_poster_id'], $row['username'], $row['user_colour'], $row['topic_last_poster_name']),
'POST_AUTHOR_COLOUR'=> get_username_string('colour', $row['poster_id'], $row['username'], $row['user_colour'], $row['post_username']),
'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '',
'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '',
'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['height'] : '',
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f={$row['forum_id']}&t={$row['topic_id']}#p{$row['topic_last_post_id']}"),
));
}
$db->sql_freeresult($result);
return;
}
???? ?? :
كود: تحديد الكل
</td>
<td class="genmed" align="right"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF -->
<br />{CURRENT_TIME}
</td>
</tr>
</table>
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
كود: تحديد الكل
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th width="100%">{L_LATEST_POSTS}</th>
</tr>
<tr>
<td class="row1"> <marquee id="latest_posts1" behavior="scroll" direction="right" scrolldelay="50" height="25" scrollamount="2" >
<!-- BEGIN latest_posts -->
»
<img border="0" src="{T_ICONS_PATH}{latest_posts.TOPIC_ICON_IMG}" width="{latest_posts.TOPIC_ICON_IMG_WIDTH}" height="{latest_posts.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" >
<a href="{latest_posts.U_MINI_POST}" onMouseOver="document.all.latest_posts1.stop()" onMouseOut="document.all.latest_posts1.start()">{latest_posts.POST_SUBJECT}</a>
||
{L_POST_BY_POSTER}:
[ <a href="{latest_posts.U_POST_AUTHOR}" onMouseOver="document.all.latest_posts1.stop()" onMouseOut="document.all.latest_posts1.start()"><b><font color="{latest_posts.POST_AUTHOR_COLOUR}">{latest_posts.POST_AUTHOR}</font></b></a> ]
|| {L_NUM_REPLIES}: [ {latest_posts.NUM_REPLIES} ] ./:\. <!-- END latest_posts -->
</marquee></td>
</tr>
</table>
????
??????: ?? ???? ??? ????? ??? ?? ??? ???? ????? ???.
كود: تحديد الكل
'CURRENT_TIME' => '????? ?? %s',
كود: تحديد الكل
'LATEST_POSTS' => '??? ?????????',
'POST_BY_POSTER' => '??? ?? ??? ?????? ',
'NUM_REPLIES' => '??? ??????',
???? :
كود: تحديد الكل
'CURRENT_TIME' => 'It is currently %s',
??????: ??? ??? ?????? ?? ??? ???? ??? ?????? ??????? ???? ??????.
كود: تحديد الكل
'LATEST_POSTS' => 'latest posts',
'POST_BY_POSTER' => 'last post was by ',
'NUM_REPLIES' => 'number of replies'
???? ???? ????? ????? ?????? ???? ???? ????? ??????? ??? ????? Prosilver ? subsilver ??????? ?? ??? ?????
?? ????? ??? ?? ??? ?????? ??? ???? ??? ????? ?? styles/Seo/template/overall_header.html
???????? ?????? ???????? (?? ????? ??????? ??? ??????? ???????? ????? ?? ??? ???? )