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

ازاي اقدر اقوم بهذا التعديل ؟


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  28-12-2011 02:17 مساءً  
isma3eliano
معلومات الكاتب
المشاركة الأصلية كتبت بواسطة: Master_sn هذا الكود




[class=smallfont] {$forum['reply_num']} [/class]

غير موجود بالقالب sections_list.tp





هذا هو القالب

CODE
<div align="center" dir="{$_CONF[&#39;info_row&#39;][&#39;content_dir&#39;]}">
{if {$SHOW_SUB_SECTIONS}}
<!-- START_TABLE_SUB_SECTIONS -->

<table border="0" width="98%" cellspacing="0" cellpadding="0" align="center">
    <tr>

	   <td width="59">
	   <img border="0" src="{$image_path}/style/cr.gif" width="59" height="35"></td>
	   <td background="{$image_path}/style/cmbg.gif">&nbsp;</td>
	   <td width="59">
	   <img border="0" src="{$image_path}/style/cl.gif" width="59" height="35"></td>

    </tr>
</table>
<!-- www.daidnt.com -->
<table border="0" cellspacing="0" width="98%" align="center" class="border_forums">
<tr align="right">
		  <td class="tcat" colspan="5" align="center">
			 {$lang[&#39;forum_sub&#39;]}
		  </td>
	   </tr>
	   <tr align="center">
		  <td class="thead" width="45%" colspan="2">
			 {$lang[&#39;forum&#39;]}
		  </td>
		  <td class="thead" width="5%">
			 {$lang[&#39;subject_num&#39;]}
		  </td>
			 <td class="thead" width="5%">
			 {$lang[&#39;reply_num&#39;]}
		  </td>
		  <td class="thead" width="45%">
			 {$lang[&#39;last_subject&#39;]}
		  </td>
	   </tr>
{/if}
{Des::foreach}{forums_list}{forum}
    {if {$forum[&#39;parent&#39;]} == 0}
	   {if {$forum[&#39;sort&#39;]} != 1}
	   </table>
<!-- www.daidnt.com -->
<table border="0" width="98%" cellspacing="0" cellpadding="0" align="center">
    <tr>
	   <td width="177">
	   <img border="0" src="{$image_path}/style/br.gif" width="177" height="27"></td>
	   <td background="{$image_path}/style/bbg.gif">&nbsp;</td>
	   <td width="177">

	   <img border="0" src="{$image_path}/style/bl.gif" width="177" height="27"></td>
    </tr>

</table>
<!-- END_TABLE_SUB_SECTIONS -->
	   
	   {/if}
<!-- START_TABLE_SECTIONS -->
<table border="0" width="98%" cellspacing="0" cellpadding="0" align="center">
    <tr>

	   <td width="59">
	   <img border="0" src="{$image_path}/style/cr.gif" width="59" height="35"></td>
	   <td background="{$image_path}/style/cmbg.gif">&nbsp;</td>
	   <td width="59">
	   <img border="0" src="{$image_path}/style/cl.gif" width="59" height="35"></td>

    </tr>
</table>

<table border="0" cellspacing="0" width="98%" align="center">
<tr align="right">
		  <td class="tcat" colspan="5" align="center">
	    <span class=&#39;l-left&#39;><a href="javascript:switchMenuNone(&#39;id_{$forum[&#39;id&#39;]}&#39;)"><img border="0" alt=""  src="{$image_path}/collapse_b.gif" /></a> </span>
		  {$forum[&#39;title&#39;]}
		  </td>
	   </tr>
	   </table>
	   <table border="0" width="98%" cellspacing="1" cellpadding="0" align="center" id="id_{$forum[&#39;id&#39;]}" class="border_forums">
	   <tr align="center">
		  <td class="thead" width="50%" colspan="2">
			 {$lang[&#39;forum&#39;]}
		  </td>
		  <td class="thead" align="center" width="5%">
			 {$lang[&#39;subject_num&#39;]}
		  </td>
			 <td class="thead" align="center" width="5%">
			 {$lang[&#39;reply_num&#39;]}
		  </td>
		  <td class="thead" width="30%">
			 {$lang[&#39;last_subject&#39;]}
		  </td>
	   </tr>
    {/if}
    {if {$forum[&#39;parent&#39;]} != 0}
	   {if {$forum[&#39;linksection&#39;]} != &#39;1&#39;}
<tr align="right">
			 <td class="row5" width="5%" align="center">
			 {if {$forum[&#39;use_section_picture&#39;]} == &#39;1&#39; and{$forum[&#39;sectionpicture_type&#39;]} == &#39;1&#39;}
				    <img src="{$forum[&#39;section_picture&#39;]}"
					alt="{$lang[&#39;section_picture&#39;]}" />
				   {elseif {$_CONF[&#39;group_info&#39;][&#39;write_subject&#39;]} == 0}
				    <img src="{$image_path}/icon-67_lock.gif"
					alt="{$lang[&#39;no_write_subject&#39;]}" />
				    {elseif {$forum[&#39;last_post_date&#39;]} > {$_CONF[&#39;member_row&#39;][&#39;lastvisit&#39;]}}
				    <img src="{$image_path}/icon-67_new.gif"
					alt="{$lang[&#39;new_posts&#39;]}" />
				    {else}
				    <img src="{$image_path}/icon-67_old.gif"
					alt="{$lang[&#39;no_new_posts&#39;]}" />
			 {/if}
		  </td>
		  <td class="row2" width="50%">
		  {if {$_CONF[&#39;info_row&#39;][&#39;rewriterule&#39;]} == &#39;1&#39;}
		  <font class="title_font">
				<a href="f{$forum[&#39;id&#39;]}.html">{$forum[&#39;title&#39;]}</a>
				{else}
				    <a href="index.php?page=forum&amp;show=1&amp;
id={$forum[&#39;id&#39;]}">{$forum[&#39;title&#39;]}</a>
			  </font>
				{/if}
				{if {$forum[&#39;forum_online&#39;]}}
				<font class="describe">
				 ({$lang[&#39;Watched&#39;]}
				  {$forum[&#39;forum_online&#39;]}
				 {$lang[&#39;Guest&#39;]})
				 </font>
				{/if}
				{if {$forum[&#39;section_password&#39;]} != &#39;&#39;}
				{else}

<span class="l-left">
			 <a href="index.php?page=new_topic&amp;index=1&amp;id={$forum[&#39;id&#39;]}"><img border="0" src="{$image_path}/newthread.gif" width="16" height="16"
				 alt="{$lang[&#39;add_new_thread&#39;]}" /></a>
				 {if {$_CONF[&#39;info_row&#39;][&#39;active_rss&#39;]} == &#39;1&#39;}
				<a href="index.php?page=rss&amp;section=1&amp;id={$forum[&#39;id&#39;]}"><img border="0" src="{$image_path}/section_rss.gif" width="16" height="16"
				 alt="{$lang[&#39;rss_section_m&#39;]}
{$forum[&#39;title&#39;]}" /></a> {/if}
				</span>
				{/if}
				
				{if {$forum[&#39;use_section_picture&#39;]} == 1}
				    {if {$forum[&#39;sectionpicture_type&#39;]} == 2}
					   <img src="{$forum[&#39;section_picture&#39;]}" alt="" />
					   
				    {/if}
				{/if}
			   {if {$_CONF[&#39;info_row&#39;][&#39;no_describe&#39;]}}
				{if {$forum[&#39;section_describe&#39;]} != &#39;&#39;}
				<font class="smallfont">{$forum[&#39;section_describe&#39;]}</font>
				
				{/if}
			  {/if}
		   {if {$forum[&#39;is_sub&#39;]}}
			 {if {$_CONF[&#39;info_row&#39;][&#39;no_sub&#39;]}}
					<font class="smallfont">
					   {$forum[&#39;sub&#39;]}
					   </font>
				    {/if}
				    {/if}
			 {if {$forum[&#39;moderators_list&#39;]}}
			 {if {$_CONF[&#39;info_row&#39;][&#39;no_moderators&#39;]}}
			 <font class="smallfont">
				    {$lang[&#39;moderators_list&#39;]}
					   {$forum[&#39;moderators_list&#39;]}
					   </font>
				    {/if}
			 {/if}
				</td>
			 <td class="row3" align="center" width="5%">
			 {$forum[&#39;subject_num&#39;]}
		  </td>
			 <td class="row4" align="center" width="5%">
			 {$forum[&#39;reply_num&#39;]}
		  </td>
				<td class="row1 rows_space" width="30%">
				{if {$forum[&#39;hide_subject&#39;]} AND !{$_CONF[&#39;rows&#39;][&#39;group_info&#39;][&#39;admincp_allow&#39;]}}
			  <div align="center">{$lang[&#39;speciality&#39;]}</div>
				{else}
				{if {$forum[&#39;section_password&#39;]} != &#39;&#39; AND !{$_CONF[&#39;rows&#39;][&#39;group_info&#39;][&#39;admincp_allow&#39;]}}
				<div align="center">{$lang[&#39;speciality&#39;]}</div>
				{else}
			    {if {$_CONF[&#39;group_info&#39;][&#39;view_section&#39;]} == 0}
			    <div align="center">{$lang[&#39;speciality&#39;]}</div>
			    {else}
				{if {$forum[&#39;last_subject&#39;]} != &#39;&#39;}
				{if {$forum[&#39;icon&#39;]} != &#39;&#39;}
			    <img src="{$forum[&#39;icon&#39;]}" alt="" />
			    {/if}
			    {if {$_CONF[&#39;info_row&#39;][&#39;rewriterule&#39;]} == &#39;1&#39;}
				<a href="t{$forum[&#39;last_subjectid&#39;]}.html">
				{$forum[&#39;last_subject&#39;]}</a>
				{else}
				<a href="index.php?page=topic&amp;show=1&amp;id={$forum[&#39;last_subjectid&#39;]}">
				{$forum[&#39;last_subject&#39;]}</a>
				{/if}
					   {$lang[&#39;last_writer&#39;]}
					    {$forum[&#39;last_writer&#39;]}
								    <span class="smallfont">{$lang[&#39;last_date&#39;]}&nbsp;{$forum[&#39;last_date&#39;]} </span>
								    {if {$forum[&#39;last_berpage_nm&#39;]} != &#39;&#39;}
									   <a title="{$lang[&#39;Go_to_last_post&#39;]}"
									    href="index.php?page=topic&amp;show=1&amp;id={$forum[&#39;last_subjectid&#39;]}&amp;count={$forum[&#39;last_berpage_nm&#39;]}#{$forum[&#39;last_reply&#39;]}">
									    <img border="0" alt="{$lang[&#39;Go_to_last_post&#39;]}"
									    src="{$image_path}/lastpost.gif" /></a>
								    {/if}
				    

				{else}
				{$lang[&#39;no_post&#39;]}
				{/if}
				{/if}
				{/if}
				{/if}
				</td>
			 </tr>
	   {else}
	   <tr>
		  <td width="5%" align="center" class="row5">
			 {if {$forum[&#39;use_section_picture&#39;]} == 1}
				{if {$forum[&#39;sectionpicture_type&#39;]} == 1}
				    <img src="{$forum[&#39;section_picture&#39;]}" alt="" />
				{else}
				    <img src="{$image_path}/forum_link.gif" alt="" />
				{/if}
			 {else}
				<img src="{$image_path}/icon-67_link.gif" alt="" />
			 {/if}
		  </td>
<td width="50%" align="right" class="row2">

			 <a href="index.php?page=forum&amp;show=1&amp;
id={$forum[&#39;id&#39;]}">{$forum[&#39;title&#39;]}</a>
			 
			 {if {$forum[&#39;use_section_picture&#39;]} == 1}
				{if {$forum[&#39;sectionpicture_type&#39;]} == 2}
				    <img src="{$forum[&#39;section_picture&#39;]}" alt="" />
				    
				{/if}
			 {/if}
			 {if {$_CONF[&#39;info_row&#39;][&#39;no_describe&#39;]}}
{$forum[&#39;describe&#39;]}
{/if}
		  </td>
		  <td class="row3" align="center" width="5%">
			 {$forum[&#39;subject_num&#39;]}
		  </td>
			 <td class="row4" align="center" width="5%">
			 {$forum[&#39;reply_num&#39;]}
		  </td>

		  <td width="30%" align="center" class="row1">
			 {$lang[&#39;linkvisitor&#39;]} {$forum[&#39;linkvisitor&#39;]}
		  </td>
	   </tr>
	   {/if}
	   {/if}
    {/Des::foreach}
    </table>
<!-- www.daidnt.com -->
<table border="0" width="98%" cellspacing="0" cellpadding="0" align="center">
    <tr>
	   <td width="177">
	   <img border="0" src="{$image_path}/style/br.gif" width="177" height="27"></td>
	   <td background="{$image_path}/style/bbg.gif">&nbsp;</td>
	   <td width="177">

	   <img border="0" src="{$image_path}/style/bl.gif" width="177" height="27"></td>
    </tr>

</table>
<!-- END_TABLE_SECTIONS -->
</div>



جرب {$forum[&#39;reply_num&#39;]}


الساعة الآن 12:44 AM