صفحة 1 من 2
???? ??? "????? ?????? ??????"
مرسل: الثلاثاء فبراير 02, 2010 4:23 pm
بواسطة Dawn birth
?????? ????? ????? ???? ???????
------------------------------------
??? ?????? ?????? ??????? ???? ?? ??? ???? ??????? ????? ?????? ??? ?????? ???????? ??? ??? ??? ???? ??? ??? ???? ???? ?????????
?????? ?????? ??? ??? ???? ??????? ?????? ???????? ??????? ????? ????? ????? ???????? ???? ???? ??????? ????? ????? ????????? ???? ????? ???? ????? ??????? ?????? ?????? ???? ???? ??? ?????? ????? ?? ?????????? ???? ???? ?? ??? ??? ???????? ????? ????? ?????????? ?????? ??? ???? ?????
????? ???

???? ??? "????? ?????? ??????"
مرسل: الثلاثاء فبراير 02, 2010 7:50 pm
بواسطة developer.mahmoud
?????? ?????
???? ???? ??? ???? ?? ????? ???? ...
???? ?????? ???? ?? ?????? ??? ?????? 
???? ??? "????? ?????? ??????"
مرسل: الثلاثاء فبراير 02, 2010 9:40 pm
بواسطة Dawn birth
???? ?? ??? ???????? ??? ??????
??? ??????:
??? ???? ???? ???????? ?? ??? ????????? ??????? ???????? ?? ????? ??? ???? ??? ???? ??? ??? ???? ????? ?? ????? ???????? ??? ??? ???? ??????? ??? ???? ??? ????? ????? ?? ?????? ??????? ???? ???? ???? ???? ??????? ?? ??? ???? ??????? ??? ??? ??? ???? ????? ?? ???? ???? ??? ??? ???? ????? ????? ???? ?? ??????? ?????
???? ?? ???? ???? ???? ????? ??? ???? ??? ??? ????? ??? ???? ?????? "???? ????? ??????? ??????" ????? ???? ??????? ??????? ?????? ?? ??????? ????? ???? ????
???? ??? "????? ?????? ??????"
مرسل: الأربعاء فبراير 03, 2010 4:19 am
بواسطة developer.mahmoud
???? ?? ??? ???? ???? ?? ??? ??????? ???? ?????? ???
???? ??? functions.php
???? ??
??? ?????
كود: تحديد الكل
// start top download by mahmoud
function run_top_file_download_mahmoud($start,$str_of_id_forums)
{
global $config, $db, $template;
$array_of_id_forums=explode(",",$str_of_id_forums);
$sql = 'SELECT a.*, t.*
FROM ' . ATTACHMENTS_TABLE . ' a
LEFT JOIN '. TOPICS_TABLE .' t ON (t.topic_id = a.topic_id)
WHERE ' . $db->sql_in_set('t.forum_id', $array_of_id_forums) .'
ORDER BY a.download_count DESC';
$result = $db->sql_query_limit($sql, $start);
while ($row = $db->sql_fetchrow($result))
{
$template->assign_block_vars('run_top_file_download_m', array(
'FILE_NAME' => $row['real_filename'],
'TOPIC_LINK' => 'http://'.$config['server_name'].$config['script_path'].'/viewtopic.php?t='.$row['topic_id'].'&p='.$row['post_msg_id'].'#p'.$row['post_msg_id'],
'TOPIC_NAME' => $row['topic_title'],
'NUMBER_OF_DOWNLOAD' => $row['download_count']
));
}
}
// end top download by mahmoud
???? ??? index.php
???? ??
??? ?????
كود: تحديد الكل
// start top download by mahmoud
@run_top_file_download_mahmoud(3,'1,2,5');
//Parameters
//1 - Total number of top downloads
//2 - Id of forums
// end top download by mahmoud
???? ??? ???????? index_body.html
????? ??
كود: تحديد الكل
<!-- INCLUDE overall_header.html -->
??? ?????
كود: تحديد الكل
<div style=" width:606px; margin:0px auto">
<!-- BEGIN run_top_file_download_m -->
<div style="width:200px;height:200px;float:left;overflow:auto;border:1px red solid">
<div>{run_top_file_download_m.FILE_NAME}</div>
<div>{run_top_file_download_m.TOPIC_LINK}</div>
<div>{run_top_file_download_m.TOPIC_NAME}</div>
<div>{run_top_file_download_m.NUMBER_OF_DOWNLOAD}</div>
</div>
<!-- END run_top_file_download_m -->
</div>
?????:
??????? ??? ??? index.php
??????
كود: تحديد الكل
run_top_file_download_mahmoud(3,'1,2,5');
??? ???? ?? ??? ????? ??????? 3 2 1 ??? ???? ...
??????? ??????? ?? ???? ?? ??????? ??? ???? ?? ???? ??????? ???
??????? ??? ??? ????????
???? 4 ????
1- ???? ??????
2- ????? ???????
3- ???? ???????
4- ??? ????????? ???? ?????
??? ??? ???? ??? ???? , ????? ???? ?????? ...
??? ????? ??? ??? ??? ???????
????????? 
???? ??? "????? ?????? ??????"
مرسل: الأربعاء فبراير 03, 2010 6:55 am
بواسطة Dawn birth
????? ???? ??? ?????? ???? ???????
???? ??? "????? ?????? ??????"
مرسل: الأربعاء فبراير 03, 2010 2:57 pm
بواسطة Dawn birth
????? ????? ???? ?? ???? ????????? :
1-?? ???? ????? ??????? ???? ????? ????? ??? ??????? ???? ?? ???? ?? ????? ???? ??? ???????? ?? ??? ?????????? ??? ???? ???? ?? ???? ?????? ??????? ?? ???? id .
2-?? ???? ????? ?????? ??????? ???? ?????? ????? ??? ?? ???? ????? ??????? ???? ????? ????? ?? ???? ??????? ??????? zip ???.
?????? ???? ??? ?????? ?????? ??????? ?????? ?? ???????? ????? ????? ?? ???????? ???? .
???? ??? "????? ?????? ??????"
مرسل: الأربعاء فبراير 03, 2010 3:46 pm
بواسطة developer.mahmoud
Dawn birth كتب:????? ????? ???? ?? ???? ????????? :
1-?? ???? ????? ??????? ???? ????? ????? ??? ??????? ???? ?? ???? ?? ????? ???? ??? ???????? ?? ??? ?????????? ??? ???? ???? ?? ???? ?????? ??????? ?? ???? id .
2-?? ???? ????? ?????? ??????? ???? ?????? ????? ??? ?? ???? ????? ??????? ???? ????? ????? ?? ???? ??????? ??????? zip ???.
?????? ???? ??? ?????? ?????? ??????? ?????? ?? ???????? ????? ????? ?? ???????? ???? .
??? ??? ????? ?? ????? ???? ???? ????? ?? ??? ???????
?????? ????? ??? .. ???? ???? ??? ??? ???? ???
????????? 
???? ??? "????? ?????? ??????"
مرسل: الأربعاء فبراير 03, 2010 4:02 pm
بواسطة Dawn birth
????? ??? ???? ???? ?? ???? ???? ??????
??? ????? ???? ????? ??? ??????
??? ??? ??????? ?????? ???
???? ??? "????? ?????? ??????"
مرسل: الأربعاء فبراير 03, 2010 4:05 pm
بواسطة Dawn birth
???? ???? ??? ???? ????? ????? ????

????? ???????:
http://www.bbcolors.com/community/index.php
???? ??? "????? ?????? ??????"
مرسل: الجمعة فبراير 05, 2010 11:50 am
بواسطة developer.mahmoud
??????? ???? ??????
?????? ??? ???????? ?????
?????? ???????? ??????? ??
كود: تحديد الكل
// start top download by mahmoud
function run_top_file_download_mahmoud($start,$str_of_id_forums,$str_of_ex_files)
{
global $config, $db, $template;
$array_of_id_forums = explode(",",$str_of_id_forums);
$array_of_ex_files = explode(",",$str_of_ex_files);
$sql = 'SELECT a.*, t.*
FROM ' . ATTACHMENTS_TABLE . ' a
LEFT JOIN '. TOPICS_TABLE .' t ON (t.topic_id = a.topic_id)
WHERE ' . $db->sql_in_set('t.forum_id', $array_of_id_forums) .' AND ' . $db->sql_in_set('a.extension', $array_of_ex_files) .'
ORDER BY a.download_count DESC';
$result = $db->sql_query_limit($sql, $start);
while ($row = $db->sql_fetchrow($result))
{
$template->assign_block_vars('run_top_file_download_m', array(
'FILE_NAME' => $row['real_filename'],
'TOPIC_LINK' => 'http://'.$config['server_name'].$config['script_path'].'/viewtopic.php?t='.$row['topic_id'].'&p='.$row['post_msg_id'].'#p'.$row['post_msg_id'],
'TOPIC_NAME' => $row['topic_title'],
'NUMBER_OF_DOWNLOAD' => $row['download_count']
));
}
}
// end top download by mahmoud
??????? ????? ??? ????? index.php ??
كود: تحديد الكل
// start top download by mahmoud
@run_top_file_download_mahmoud(3,'1,2,5','zip,jpg');
//Parameters
//1 - Total number of top downloads
//2 - Id of forums
//3 - name of allow extension
// end top download by mahmoud
?????
??????
كود: تحديد الكل
run_top_file_download_mahmoud(3,'1,2,5','zip,jpg');
???? ???? ????? ??? ???? ?????????? ??? ????? ???? ????? ????? ?? " , "
????????? 
???? ??? "????? ?????? ??????"
مرسل: الجمعة فبراير 05, 2010 12:31 pm
بواسطة Dawn birth
????? ???? ??? ?????? ?????? ???????? ????? ???? ???? ??????? ????????
???? ??? "????? ?????? ??????"
مرسل: الجمعة فبراير 05, 2010 3:51 pm
بواسطة Dawn birth
?? ??????? ???????? ??????? ?????? ??? ???? ????
???? ???? ?? ??? ?????? ????? ????? ??? ???
???? ??? "????? ?????? ??????"
مرسل: السبت فبراير 06, 2010 2:35 pm
بواسطة developer.mahmoud
Dawn birth كتب:?? ??????? ???????? ??????? ?????? ??? ???? ????
???? ???? ?? ??? ?????? ????? ????? ??? ???
???? ??
?? ?? ?????? ??? ????? ??????? ???? ? ????? ??? ???? ???? ??? ????? ?? ??? ??????? ??????? ?? ?????? 
???? ??? "????? ?????? ??????"
مرسل: السبت فبراير 06, 2010 2:46 pm
بواسطة Dawn birth
???? ???? ??? ?????? ???? ?? ??????? ????? ??? ????? ????? ??? ??? ??? ????? ????

???? ??? "????? ?????? ??????"
مرسل: السبت فبراير 06, 2010 4:03 pm
بواسطة Dawn birth
?? ???????? ???? ??? ??????:
???? ????? ??????????:
?? ??? ????? :
كود: تحديد الكل
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>??????? ?????? ??????</dt>
<dd class="posts">??? ?????</dd>
<dd class="posts">??? ???? ???????</dd>
<dd class="lastpost"><span>???? ???????</span></dd>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<!-- BEGIN run_top_file_download_m -->
<li class="row">
<dl class="icon">
<dt>?? ?????: {run_top_file_download_m.TOPIC_NAME}</dt>
<dd class="topics">{run_top_file_download_m.FILE_NAME}<dfn>??? ?????</dfn></dd>
<dd class="posts">{run_top_file_download_m.NUMBER_OF_DOWNLOAD} <dfn>??? ???? ???????</dfn></dd>
<dd class="lastpost"><span><a href="{run_top_file_download_m.TOPIC_LINK}">???? ??? ???????</a>
<dfn>???? ???????</dfn> </span>
</dd>
</dl>
</li>
<!-- END run_top_file_download_m -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
???:
كود: تحديد الكل
<!-- INCLUDE overall_header.html -->
?? ???: index_body.html
????? ????? ??subsilver2:
?? ??? ?????:
كود: تحديد الكل
<table class="tablebg" cellpadding="0" border="0" width="100%" align="center" style="border-spacing:1px; background:transparent;">
<tr><td colspan="4" class="cat" style="font:bold 12px Tahoma; text-align:center">??????? ?????? ??????</td></tr>
<tr>
<th>??? ???????</th>
<th>????? ???????</th>
<th>??? ???? ???????</th>
<th>???? ???????</th>
</tr>
<!-- BEGIN run_top_file_download_m -->
<tr>
<td class="row1" style="text-align:center">{run_top_file_download_m.FILE_NAME}</td>
<td class="row2" style="text-align:center">{run_top_file_download_m.TOPIC_NAME}</td>
<td class="row1" style="text-align:center">{run_top_file_download_m.NUMBER_OF_DOWNLOAD}</td>
<td class="row2" style="text-align:center"><a href="{run_top_file_download_m.TOPIC_LINK}">???? ??? ???????</a></td>
</tr>
<!-- END run_top_file_download_m -->
</table>
???:
كود: تحديد الكل
<!-- INCLUDE overall_header.html -->
?? ???: index_body.html