ط£ط¶ط§ظپط© ظ…ظˆط¶ظˆط¹ ط¬ط¯ظٹط¯ ظˆ ط£ط¶ط§ظپط© ط±ط¯ ط¯ط§ط®ظ„ ط§ظ„ظ…ظˆط§ط¶ظٹط¹



آلسلام عليكم

اليو جبت لكم طريقة رائعهـ جدا وهيا تستخدم في المعهد
هي عرض اضافة موضوع جديد مع اضافة رد داخل المواضيع
المثال عندنا في المعهد

وهذا مثال مصور





طريقة العمل

في قالب template (SHOWTHREAD)

أبحث عن


رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show&#91;'largereplybutton'&#93;">
<
td class="smallfont"><a href="newreply.php?$session&#91;sessionurl&#93;do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID" rel="nofollow"><if condition="$show&#91;'closethread'&#93;"><img src="$stylevar&#91;imgdir_button&#93;/reply.gif" alt="$vbphrase&#91;reply&#93;" border="0" /><else /><img src="$stylevar&#91;imgdir_button&#93;/threadclosed.gif" alt="$vbphrase&#91;closed_thread&#93;" border="0" /></if></a></td>
<else />
</code> </code>




أستبدله بـ





رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show&#91;'largereplybutton'&#93;">
<
td class="smallfont">
<
a href="newthread.php?$session&#91;sessionurl&#93;do=newthread&f=$foruminfo&#91;forumid&#93;" rel="nofollow"><img src="$stylevar&#91;imgdir_button&#93;/newthread.gif" alt="$vbphrase&#91;post_new_thread&#93;" border="0" /></a>

<
a href="newreply.php?$session&#91;sessionurl&#93;do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show&#91;'closethread'&#93;"><img src="$stylevar&#91;imgdir_button&#93;/reply.gif" alt="$vbphrase&#91;reply&#93;" border="0" /><else /><img src="$stylevar&#91;imgdir_button&#93;/threadclosed.gif" alt="$vbphrase&#91;closed_thread&#93;" border="0" /></if></a></td>
<else />
</code> </code>


في نفس القالب template أبحث عن


رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show&#91;'largereplybutton'&#93;">
<
td class="smallfont"><a href="newreply.php?$session&#91;sessionurl&#93;do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show&#91;'closethread'&#93;"><img src="$stylevar&#91;imgdir_button&#93;/reply.gif" alt="$vbphrase&#91;reply&#93;" border="0" /><else /><img src="$stylevar&#91;imgdir_button&#93;/threadclosed.gif" alt="$vbphrase&#91;closed_thread&#93;" border="0" /></if></a></td>
<else />
</code> </code>


أستبدله بـ



رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show&#91;'largereplybutton'&#93;">
<
td class="smallfont">
<
a href="newthread.php?$session&#91;sessionurl&#93;do=newthread&f=$foruminfo&#91;forumid&#93;" rel="nofollow"><img src="$stylevar&#91;imgdir_button&#93;/newthread.gif" alt="$vbphrase&#91;post_new_thread&#93;" border="0" /></a>

<
a href="newreply.php?$session&#91;sessionurl&#93;do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show&#91;'closethread'&#93;"><img src="$stylevar&#91;imgdir_button&#93;/reply.gif" alt="$vbphrase&#91;reply&#93;" border="0" /><else /><img src="$stylevar&#91;imgdir_button&#93;/threadclosed.gif" alt="$vbphrase&#91;closed_thread&#93;" border="0" /></if></a></td>
<else />
</code> </code>



------- حفظ -------









©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©