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

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

السلام عليكم ان شاء الله الصوره توضح طلبي انا عايز اخلي اعلان جوجل يظهر زي ما هو واضح في الصوره ايه التمبل اللي اعدل عليه ؟ الصوره طبعاً فوت


موضوع مغلق


25-11-2011 12:08 صباحاً
معلومات الكاتب ▼
انضم في : 18-10-2011
رقم العضوية : 1,883
المشاركات : 119
الجنس :
الدعوات : 1
قوة السمعة : 152
موقعي : زيارة موقعي
السلام عليكم

ان شاء الله الصوره توضح طلبي
ineed

انا عايز اخلي اعلان جوجل يظهر زي ما هو واضح في الصوره ايه التمبل اللي اعدل عليه ؟
الصوره طبعاً فوتوشوب :)

look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  25-11-2011 08:44 صباحاً   [1]
معلومات الكاتب ▼
انضم في : 18-07-2009
رقم العضوية : 1
المشاركات : 12,562
الدولة : KSA
الجنس :
الدعوات : 52
قوة السمعة : 74,136
موقعي : زيارة موقعي
قالب sections_list.tpl
في اعلى الكود :
CODE
{if {$forum['moderators_list']}}

وإذا اردته يظهر اسفل عنوان قسم محدد
CODE
{if {$forum['id']} == 8}
كود الاعلان
{/if}

مع تغيير رقم 8 لرقم القسم المحدد

look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  06-12-2011 05:09 صباحاً   [2]
معلومات الكاتب ▼
انضم في : 18-10-2011
رقم العضوية : 1,883
المشاركات : 119
الجنس :
الدعوات : 1
قوة السمعة : 152
موقعي : زيارة موقعي
جاري التجربه واعتذر عن التأخير


تم تحرير المشاركة بواسطة :Master_sn بتاريخ:06-12-2011 05:11 صباحاً


look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  06-12-2011 05:22 صباحاً   [3]
معلومات الكاتب ▼
انضم في : 18-10-2011
رقم العضوية : 1,883
المشاركات : 119
الجنس :
الدعوات : 1
قوة السمعة : 152
موقعي : زيارة موقعي
اخي الحبيب فيما يخص هذا الكود




{if {$forum['moderators_list']}}
ظبط معايا الحمد لله وظهر الأعلان مرتان تقريبا نظرناً لسياسه جوجل ادسينس

لكن انا حاولت اضيفه لقسم محدد مثلاً القسم رقم 4
بهذا الكود




{if {$forum['id']} == 8}
كود الاعلان
{/if}
ولكن لم يظهر شيء
فأين اضع الكود بالظبط بعد تعديله ؟
يعني اين اضع هذا الكود في الملف




{if {$forum['id']} == 8}
كود الاعلان
{/if}

وجزاك الله خيراً

look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  11-12-2011 09:52 صباحاً   [4]
معلومات الكاتب ▼
انضم في : 18-10-2011
رقم العضوية : 1,883
المشاركات : 119
الجنس :
الدعوات : 1
قوة السمعة : 152
موقعي : زيارة موقعي
اخي الحبيب مازلت منتظر الرد

look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  18-12-2011 10:26 صباحاً   [5]
معلومات الكاتب ▼
انضم في : 18-10-2011
رقم العضوية : 1,883
المشاركات : 119
الجنس :
الدعوات : 1
قوة السمعة : 152
موقعي : زيارة موقعي
اخي الحبيب مازلت منتظر الرد

look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  18-12-2011 11:01 صباحاً   [6]
معلومات الكاتب ▼
انضم في : 03-11-2009
رقم العضوية : 188
المشاركات : 2,152
الدولة : مصر Egypt
الجنس :
تاريخ الميلاد : 26-10-1994
الدعوات : 4
قوة السمعة : 5,518
موقعي : زيارة موقعي
المشاركة الأصلية كتبت بواسطة: Master_sn اخي الحبيب فيما يخص هذا الكود




{if {$forum['moderators_list']}}
ظبط معايا الحمد لله وظهر الأعلان مرتان تقريبا نظرناً لسياسه جوجل ادسينس

لكن انا حاولت اضيفه لقسم محدد مثلاً القسم رقم 4
بهذا الكود




{if {$forum['id']} == 8}
كود الاعلان
{/if}
ولكن لم يظهر شيء
فأين اضع الكود بالظبط بعد تعديله ؟
يعني اين اضع هذا الكود في الملف




{if {$forum['id']} == 8}
كود الاعلان
{/if}

وجزاك الله خيراً
أعتقد أن سليمان كان يقصد أن تضع مكان 8 رقم القسم مثلاً يكون للقسم الرابع هكذا

{if {$forum['id']} == 4}
كود الاعلان
{/if}

look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  19-12-2011 08:16 صباحاً   [7]
معلومات الكاتب ▼
انضم في : 18-07-2009
رقم العضوية : 1
المشاركات : 12,562
الدولة : KSA
الجنس :
الدعوات : 52
قوة السمعة : 74,136
موقعي : زيارة موقعي
الشرح واضح وهو كما شرح لك ايضاً الأخ سيف وانا ايضاً في ردي السابق قلت
اقتبـاس ،، مع تغيير رقم 8 لرقم القسم المحدد
يعني انت تبغى الاعلان يظهر اسفل عنوان القسم رقم 4 غير ال8 إلى 4

ابحث عن
CODE
<font class="smallfont">    {$forum['reply_num']} </font>

وضع اسفلها
CODE
{if {$forum[&amp;#39;id&amp;#39;]} == 4}
&lt;br /&gt;
كود الاعلان
{/if}


look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  26-12-2011 01:29 مساءً   [8]
معلومات الكاتب ▼
انضم في : 18-10-2011
رقم العضوية : 1,883
المشاركات : 119
الجنس :
الدعوات : 1
قوة السمعة : 152
موقعي : زيارة موقعي
هذا الكود




[class=smallfont] {$forum[&#39;reply_num&#39;]} [/class]

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





هذا هو القالب

CODE
<div align="center" dir="{$_CONF['info_row']['content_dir']}">
{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"> </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['forum_sub']}
		  </td>
	   </tr>
	   <tr align="center">
		  <td class="thead" width="45%" colspan="2">
			 {$lang['forum']}
		  </td>
		  <td class="thead" width="5%">
			 {$lang['subject_num']}
		  </td>
			 <td class="thead" width="5%">
			 {$lang['reply_num']}
		  </td>
		  <td class="thead" width="45%">
			 {$lang['last_subject']}
		  </td>
	   </tr>
{/if}
{Des::foreach}{forums_list}{forum}
    {if {$forum['parent']} == 0}
	   {if {$forum['sort']} != 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"> </td>
	   <td width="177">

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

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

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

				{else}
				{$lang['no_post']}
				{/if}
				{/if}
				{/if}
				{/if}
				</td>
			 </tr>
	   {else}
	   <tr>
		  <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}/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&show=1&
id={$forum['id']}">{$forum['title']}</a>
			 <br />
			 {if {$forum['use_section_picture']} == 1}
				{if {$forum['sectionpicture_type']} == 2}
				    <img src="{$forum['section_picture']}" alt="" />
				    <br />
				{/if}
			 {/if}
			 {if {$_CONF['info_row']['no_describe']}}
{$forum['describe']}
{/if}
		  </td>
		  <td class="row3" align="center" width="5%">
			 {$forum['subject_num']}
		  </td>
			 <td class="row4" align="center" width="5%">
			 {$forum['reply_num']}
		  </td>

		  <td width="30%" align="center" class="row1">
			 {$lang['linkvisitor']} {$forum['linkvisitor']}
		  </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"> </td>
	   <td width="177">

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

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

<br />


look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  28-12-2011 02:17 مساءً   [9]
معلومات الكاتب ▼
انضم في : 03-11-2009
رقم العضوية : 188
المشاركات : 2,152
الدولة : مصر Egypt
الجنس :
تاريخ الميلاد : 26-10-1994
الدعوات : 4
قوة السمعة : 5,518
موقعي : زيارة موقعي
المشاركة الأصلية كتبت بواسطة: Master_sn هذا الكود




[class=smallfont] {$forum[&#39;reply_num&#39;]} [/class]

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





هذا هو القالب

CODE
<div align="center" dir="{$_CONF['info_row']['content_dir']}">
{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"> </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['forum_sub']}
		  </td>
	   </tr>
	   <tr align="center">
		  <td class="thead" width="45%" colspan="2">
			 {$lang['forum']}
		  </td>
		  <td class="thead" width="5%">
			 {$lang['subject_num']}
		  </td>
			 <td class="thead" width="5%">
			 {$lang['reply_num']}
		  </td>
		  <td class="thead" width="45%">
			 {$lang['last_subject']}
		  </td>
	   </tr>
{/if}
{Des::foreach}{forums_list}{forum}
    {if {$forum['parent']} == 0}
	   {if {$forum['sort']} != 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"> </td>
	   <td width="177">

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

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

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

				{else}
				{$lang['no_post']}
				{/if}
				{/if}
				{/if}
				{/if}
				</td>
			 </tr>
	   {else}
	   <tr>
		  <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}/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&show=1&
id={$forum['id']}">{$forum['title']}</a>
			 <br />
			 {if {$forum['use_section_picture']} == 1}
				{if {$forum['sectionpicture_type']} == 2}
				    <img src="{$forum['section_picture']}" alt="" />
				    <br />
				{/if}
			 {/if}
			 {if {$_CONF['info_row']['no_describe']}}
{$forum['describe']}
{/if}
		  </td>
		  <td class="row3" align="center" width="5%">
			 {$forum['subject_num']}
		  </td>
			 <td class="row4" align="center" width="5%">
			 {$forum['reply_num']}
		  </td>

		  <td width="30%" align="center" class="row1">
			 {$lang['linkvisitor']} {$forum['linkvisitor']}
		  </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"> </td>
	   <td width="177">

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

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

<br />

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

look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  28-12-2011 02:30 مساءً   [10]
معلومات الكاتب ▼
انضم في : 03-11-2009
رقم العضوية : 188
المشاركات : 2,152
الدولة : مصر Egypt
الجنس :
تاريخ الميلاد : 26-10-1994
الدعوات : 4
قوة السمعة : 5,518
موقعي : زيارة موقعي
المشاركة الأصلية كتبت بواسطة: Master_sn هذا الكود




[class=smallfont] {$forum[&#39;reply_num&#39;]} [/class]

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





هذا هو القالب

CODE
<div align="center" dir="{$_CONF['info_row']['content_dir']}">
{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"> </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['forum_sub']}
		  </td>
	   </tr>
	   <tr align="center">
		  <td class="thead" width="45%" colspan="2">
			 {$lang['forum']}
		  </td>
		  <td class="thead" width="5%">
			 {$lang['subject_num']}
		  </td>
			 <td class="thead" width="5%">
			 {$lang['reply_num']}
		  </td>
		  <td class="thead" width="45%">
			 {$lang['last_subject']}
		  </td>
	   </tr>
{/if}
{Des::foreach}{forums_list}{forum}
    {if {$forum['parent']} == 0}
	   {if {$forum['sort']} != 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"> </td>
	   <td width="177">

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

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

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

				{else}
				{$lang['no_post']}
				{/if}
				{/if}
				{/if}
				{/if}
				</td>
			 </tr>
	   {else}
	   <tr>
		  <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}/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&show=1&
id={$forum['id']}">{$forum['title']}</a>
			 <br />
			 {if {$forum['use_section_picture']} == 1}
				{if {$forum['sectionpicture_type']} == 2}
				    <img src="{$forum['section_picture']}" alt="" />
				    <br />
				{/if}
			 {/if}
			 {if {$_CONF['info_row']['no_describe']}}
{$forum['describe']}
{/if}
		  </td>
		  <td class="row3" align="center" width="5%">
			 {$forum['subject_num']}
		  </td>
			 <td class="row4" align="center" width="5%">
			 {$forum['reply_num']}
		  </td>

		  <td width="30%" align="center" class="row1">
			 {$lang['linkvisitor']} {$forum['linkvisitor']}
		  </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"> </td>
	   <td width="177">

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

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

<br />

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


تم تحرير المشاركة بواسطة :isma3eliano بتاريخ:28-12-2011 02:31 مساءً


look/images/icons/i1.gif [مجابه] ازاي اقدر اقوم بهذا التعديل ؟
  16-01-2012 11:27 صباحاً   [11]
معلومات الكاتب ▼
انضم في : 03-11-2009
رقم العضوية : 188
المشاركات : 2,152
الدولة : مصر Egypt
الجنس :
تاريخ الميلاد : 26-10-1994
الدعوات : 4
قوة السمعة : 5,518
موقعي : زيارة موقعي
السلام عليكم ورحمة الله وبركاته ،،
تم غلق الموضوع لأحد الأسباب التالية:
  1. تم حل المشكلة والحمدلله.
  2. بقاء الموضوع لمدة 3 أيام بدون الرد عليه أو وجود إشارة تدل على رجوع العضو إليه.
  3. لا يوجد حل لهذه المشكلة (إذا وجد الحل سوف يتم إعادة فتح الموضوع).
عزيزي العضو حرصا على عدم تداخل المواضيع ببعضها وبالتالي صعوبة إستخدام عملية البحث بالنسبة للأعضاء قررت إدارة المنتديات بإغلاق المواضيع التي تتوافق مع الأسباب السابقة.
بإمكانك بدأ موضوع جديد أو مراسلة أحد المشرفين إن كنت متأكد من رغبتك في الإستمرار .

إدارة المنتديات،،




الكلمات الدلالية
لا يوجد كلمات دلالية ..









الساعة الآن 05:01 AM