أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

طلب تعديل بسيط على قالب sections_list


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif طلب تعديل بسيط على قالب sections_list
  11-02-2014 01:14 صباحاً  
Soliman
معلومات الكاتب
تفضل التعديل :



CODE
<div align="center" dir="{$_CONF['info_row']['content_dir']}">
{if {$SHOW_SUB_SECTIONS}}
<!-- START_TABLE_SUB_SECTIONS -->
<div class="forums_box" dir="rtl">
<!--forums Head-->
<div class="forums_head">
<div class="left_head_forums">
<a href="javascript:switchMenuNone('id_{$forum['id']}')" title="اخفاء/اظهار المنتدى">
<img src="{$image_path}/collapse_b.gif" style="margin-left:100px;" alt="" id="collapseimg_forumbit_{$forum['id']}" /></a>
</div>
<div class="right_head_forums">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<span class="icon_head_forums">&#60555;</span><a href="f{$forum['id']}.html">{$forum['title']}</a>
{else}
<span class="icon_head_forums">&#60555;</span><a href="index.php?page=forum&amp;show=1&amp;id={$forum['id']}">{$forum['title']}</a>
{/if}
</div>
</div>
<!--/forums Head-->
<!--forums table start-->
<table width="98%" border="0" class="border" cellpadding="0" cellspacing="1">
{/if}
{Des::foreach}{forums_list}{forum}
{if {$forum['parent']} == 0}
{if {$forum['sort']} != 1}
</tbody>
</table>
<div class="forums_foter"></div>
</div>
<div class="forums_shadow" dir="rtl">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="forums_shadow_right"></td>
<td class="forums_shadow_center">.</td>
<td class="forums_shadow_left"></td>
</tr>
</table>
</div>
<!-- END_TABLE_SUB_SECTIONS -->

{/if}
<!-- START_TABLE_SECTIONS -->
<!--forums box-->
<div class="forums_box" dir="rtl">
<!--forums Head-->
<div class="forums_head">
<div class="left_head_forums">   
<a href="javascript:switchMenuNone('id_{$forum['id']}')" title="اخفاء/اظهار المنتدى">
<img src="{$image_path}/collapse_b.gif" style="margin-left:100px;" alt="" id="collapseimg_forumbit_{$forum['id']}" /></a>
</div>
<div class="right_head_forums">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<span class="icon_head_forums">&#60555;</span><a href="f{$forum['id']}.html">{$forum['title']}</a>
{else}
<span class="icon_head_forums">&#60555;</span><a href="index.php?page=forum&amp;show=1&amp;id={$forum['id']}">{$forum['title']}</a>
{/if}
</div>
</div>
<!--/forums Head-->
<!--forums table start-->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody id="id_{$forum['id']}" class="border_forums" style="">
{/if}
{if {$forum['parent']} != 0}
{if {$forum['linksection']} != '1'}
<!--forums tr Start-->
<tr>
<td class="forums_alt1">
{if {$forum['use_section_picture']} == '1' and{$forum['sectionpicture_type']} == '1'}
<img src="{$forum['section_picture']}"
alt="{$lang['section_picture']}" />
{elseif {$_CONF['group_info']['write_subject']} == 0}
<img src="{$image_path}/f_pass_unread.png"
alt="{$lang['no_write_subject']}"  id="forum_statusicon_{$forum['id']}" />
{elseif {$forum['last_post_date']} > {$_CONF['member_row']['lastvisit']}}
<img src="{$image_path}/f_unread.png"
alt="{$lang['new_posts']}" id="forum_statusicon_{$forum['id']}" />
{else}
<img src="{$image_path}/f_read.png"
alt="{$lang['no_new_posts']}"  id="forum_statusicon_{$forum['id']}" />
{/if}
</td>
<td class="forums_alt2">
<!--title_dec-->
<span class="forums_title"><a href="f{$forum['id']}" title="{$forum['title']}" style="font-family:'droid Arabic Kufi';font-size:14px;font-weight:bold;">
<span class="title_n"><font class="title_font">{$forum['title']}</font></span>
</a><span class="title_icon"></span></span>
{if {$forum['section_describe']} != ''}

<span class="forums_dec"><span class="dec_icon"></span>{$forum['section_describe']}</span>
{/if}
{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 2}
<img src="{$forum['section_picture']}" alt="{$forum['section_picture']}" />

{/if}
{/if}   
<!--/title_dec-->
<!--subs-->
{if {$forum['is_sub']}}
{if {$_CONF['info_row']['no_sub']}} 
<span class="sub_botton">الاقسام الفرعيه<span style="font-family:'fnon-full-option-style',fnon-full-option-style,tahoma;font-size:12px;
top:-0px;float:left;left:7px;position:relative">&#59392;</span>
<span class="sub_list">
{$forum['sub']}
<br>
</span>
</span>
{/if}
{/if}   

<!--/subs-->
<!--last post info div-->
<div class="forums_last_info" dir="rtl">
<?php if ($forum['hide_subject']  AND !$PowerBB->functions->ModeratorCheck($forum['id'])){
?>
<div align="center">{$lang['speciality']}</div>
{else}
<?php if ($forum['section_password'] !=""  AND !$PowerBB->functions->ModeratorCheck($forum['id'])){
?>
<div align="center">{$lang['speciality']}</div>
{else}
{if {$forum['last_subject']} != ''}
<span style="float:right;margin-right:8px;width:420px;line-height:32px;text-align:right;font-family:'droid Arabic Kufi',tahoma;"><span class="last_post_icon"></span>
<a href="index.php?page=topic&amp;show=1&amp;id={$forum['last_subjectid']}" title="{$forum['last_subject']}">
{$forum['last_subject']}</a></span>
<span style="float:right;margin-right:7px;min-width:112px;line-height:32px;text-align:right;font-family:'droid Arabic Kufi',tahoma;"><span class="last_post_by_icon"></span>
<span class="post_by_member">
{$lang['last_writer']}  {$forum['last_writer']}
</span></span>
<span class="float:right;margin-right:7px;min-width:100px;line-height:32px;text-align:right;font-family:'droid Arabic Kufi',tahoma;"><span class="last_post_time_icon"></span> <span class="last_post_time2">{$forum['last_date']}</span></span>
{if {$forum['last_berpage_nm']} != ''}
<a title="{$lang['Go_to_last_post']}" href="index.php?page=topic&amp;show=1&amp;id={$forum['last_subjectid']}&amp;count={$forum['last_berpage_nm']}#{$forum['last_reply']}">
<span class="go_to_last_post"></span></a>
<!--last post info-->
{/if}
<!--last post info div-->
</div>
{else}
{$lang['no_post']}
{/if}
{/if}
{/if}
</td>
<td class="forums_alt3">
<span class="count_topics"><span class="count_topics_icon"> </span>{$lang['subject_num']} : {$forum['subject_num']}</span>
<span class="count_posts"><span class="count_posts_icon"> </span>{$lang['reply_num']} : {$forum['reply_num']}</span>
<span class="count_her_now"><span class="count_her_now_icon"> </span>
المتواجدون : {$forum['forum_online']}</span>
</td>
</tr>
<!--forums tr End-->
<!--forums tr Start-->
{else}
<tr class="radiusContent">
<td width="5%" align="center" class="row5">
{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 1}
<img src="{$forum['section_picture']}" alt="" />
{else}
<img src="{$image_path}/f_redirect.png" alt="" />
{/if}
{else}
<img src="{$image_path}/f_redirect.png" alt="" />
{/if}
</td>
<td width="50%" align="right" class="row2" onclick="switchBlock('moderators_{$forum['id']}');">
<a href="index.php?page=forum&amp;show=1&amp;
id={$forum['id']}"><img src="{$image_path}/all-cat.gif" border="0"> {$forum['title']}</a>

{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 2}
<img src="{$forum['section_picture']}" alt="" />

{/if}
{/if}
{if {$_CONF['info_row']['no_describe']}}
{$forum['describe']}

{/if}
</td>
<td width="43%" align="center" class="row2">
{$lang['linkvisitor']} {$forum['linkvisitor']}
</td>
{if {$_CONF['info_row']['no_moderators']}}
<td class="row1" align="center" width="10%">
<a href="javascript:switchMenuNone('moderators_{$forum['id']}')" title="{$lang['moderators']}">
<img border="0" alt="{$lang['moderators']}" src="{$image_path}/moderators.gif" /></a>
<div style="display:none; left:20px;" class="drop_menu" id="moderators_{$forum['id']}">
<div class="thead1" style="width:150px;">
{$lang['moderators_list']}
</div>
<div class="row1" style="width:150px;">
<font class="smallfont">
{if {$forum['moderators_list']}}
{$forum['moderators_list']}
{else}
{$lang['NO_MODERATOR']}
{/if}
</font>
</div>
</div>
</td>
{/if}
</tr>
{/if}
{/if}
{/Des::foreach}
</tbody>
</table>
<!-- END_TABLE_SECTIONS -->
<div class="forums_foter"></div>
</div>
<div class="forums_shadow" dir="rtl">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="forums_shadow_right"></td>
<td class="forums_shadow_center">.</td>
<td class="forums_shadow_left"></td>
</tr>
</table>
</div>


الساعة الآن 08:08 PM