بسم الله الرحمن الرحيم
الكل شاف وعرف طريقه الحلم في توزيع الاقسام
والبعض طلب انو تبقى صوره الاقسام موجوده ما تروووح
واليوم نقدم لكم الحركه
مثال مصور من الحلم
افتح القالب templateين :
forumhome_forumbit_level1_nopost
forumhome_forumbit_level2_nopost
واستبدلها بالتالي :
رمز PHP:
<code style="white-space:nowrap"> <code> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr>
<td class="thead"> </td>
<td class="thead" width="45%" align="center">$vbphrase[forum] <a rel="nofollow" href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></td>
<td class="thead" width="10%" align="center">إحصائيات</td>
<td class="thead" width="40%" align="center">$vbphrase[last_post]</td>
</tr>
$childforumbits
</tbody>
</if>
</table>
</code> </code>
ثم افتح القالب templateين :
forumhome_forumbit_level1_post
forumhome_forumbit_level2_post
واستبدلهم بالتالي :
رمز PHP:
<code style="white-space:nowrap"> <code> <tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<a rel="nofollow" href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">
(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
<if condition="$show['forumdescription']">
<div class="smallfont">$forum[description]</div>
</if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">$forum[subforums]</div>
</if>
</td>
<td class="forcenter">
$forum[threadcount] || $forum[replycount]
<if condition="$vboptions['showmoderatorcolumn']">
<div id="moderators_$forum[forumid]" class="smallfont" align="center" >
<a href="#moderators">
<img src="$stylevar[imgdir_button]/collapse_alt_collapsed.gif" border="0" alt="$vbphrase[moderator]" /></a> <script type="text/javascript"> vbmenu_register("moderators_$forum[forumid]", true); </script>
</div>
</if>
<div class="vbmenu_popup" id="moderators_$forum[forumid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0" width="250">
<tr><td class="thead" dir="rtl">
<strong style="font-weight: 400"> المشرفين على » $forum[title] </strong></td></tr>
<tr><td class="alt1" dir="rtl" height="35">
<if condition="$forum[moderators]">
$forum[moderators]
<else />
لا يوجد مشرف </if>
</td></tr>
</table>
</div>
</td>
<td class="alt1Active">
$forum[lastpostinfo]
</td>
</tr>
$childforumbits
</code> </code>
في قالب template
FORUMDISPLAY
استرجع القالب template اولا اذا كنت مبطق الطريقه القديمه .. ثم طبق التعديل التالي :
ابحث عن :
رمز PHP:
<code style="white-space:nowrap"> <code> ب <if condition="$show['forumslist']">
<!-- sub-forum list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td>
<if condition="$show['forumsearch']">
<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[foru m]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn] ">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
</table>
<br />
<!-- / sub-forum list -->
</if>
</code> </code>
واستبدله بالتالي :
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['forumslist']">
<!-- sub-forum list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td>
<if condition="$show['forumsearch']">
<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<td class="thead"> </td>
<td class="thead" width="45%" align="$stylevar[left]">$vbphrase[foru m]</td>
<td class="thead" width="10%" align="center">إحصائيات</td>
<td class="thead" width="45%" align="center">$vbphrase[last_post]</td>
</thead>
$forumbits
</table>
<br />
<!-- / sub-forum list -->
</if>
</code> </code>
والي يقووول الان مكرر ينتبه للعنوان زين
رابط موضوعي الاصلي
[ شرح طريقة ] الحلم في توزيع الاقسام مع المحافظه على صوره لكل القسم