mouath
عدد المساهمات : 122 معدل النشاط : 5126 السُمعة : 0
| موضوع: تعديل على كود الأحد 18 نوفمبر 2012 - 1:41 | |
| لدي مشكلة بالكود هذا انه يظهر تحت كل قسم لكن اريده يظهر هنا فقط قالب index_body - الكود:
-
{JAVASCRIPT}
<!-- BEGIN message_admin_index --> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="96%" align="right"> <!-- BEGIN message_admin_titre --> <tr> <td class="tcat">{message_admin_index.message_admin_titre.MES_TITRE}</td>
</tr> <!-- END message_admin_titre --> <!-- BEGIN message_admin_txt --> <tr> <td class="alt1"> {message_admin_index.message_admin_txt.MES_TXT} </td> </tr> <!-- END message_admin_txt --> </table>
<!-- END message_admin_index --> <br /><br /> <!-- BEGIN switch_user_login_form_header --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <!-- BEGIN switch_fb_connect_no --> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td class="row1" align="center"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="genmed">{L_USERNAME}:</span> </td> <td><input class="post" type="text" size="10" name="username"/> </td> <td> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> <span class="gensmall">{L_AUTO_LOGIN}</span> </td> </tr>
<tr> <td><span class="genmed">{L_PASSWORD}:</span> </td> <td><input class="post" type="password" size="10" name="password"/> </td> <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td> </tr> </table> </td> </tr> </table> <!-- END switch_fb_connect_no -->
<!-- BEGIN switch_fb_connect --> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td valign="top" width="100%" class="row1" align="center"> <table width="100%"> <tr> <td width="55%" valign="middle" align="right"> <table class="right"> <tr> <td><span class="genmed">{L_USERNAME}:</span> </td> <td><input class="post" type="text" size="10" name="username"/> </td> <td> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> <span class="gensmall">{L_AUTO_LOGIN}</span> </td> </tr>
<tr> <td><span class="genmed">{L_PASSWORD}:</span> </td> <td><input class="post" type="password" size="10" name="password"/> </td> <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td> </tr> </table> </td> <td width="10%" align="center" valign="middle"> <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span> </td> <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td> </tr> </table> </td> </tr> </table> <!-- END switch_fb_connect --> </form> <!-- END switch_user_login_form_header -->
{CHATBOX_TOP} {BOARD_INDEX} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" valign="top"> <!-- BEGIN switch_delete_cookies --> <br /><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> <!-- END switch_on_index --> </span> </td> </tr> </table>
<!-- BEGIN switch_user_login_form_footer --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <!-- BEGIN switch_fb_connect_no --> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td class="row1" align="center"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="genmed">{L_USERNAME}:</span> </td> <td><input class="post" type="text" size="10" name="username"/> </td> <td> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> <span class="gensmall">{L_AUTO_LOGIN}</span> </td> </tr>
<tr> <td><span class="genmed">{L_PASSWORD}:</span> </td> <td><input class="post" type="password" size="10" name="password"/> </td> <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td> </tr> </table> </td> </tr> </table> <!-- END switch_fb_connect_no -->
<!-- BEGIN switch_fb_connect --> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td valign="top" width="100%" class="row1" align="center"> <table width="100%"> <tr> <td width="55%" valign="middle"> <table class="right"> <tr> <td><span class="genmed">{L_USERNAME}:</span> </td> <td><input class="post" type="text" size="10" name="username"/> </td> <td> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> <span class="gensmall">{L_AUTO_LOGIN}</span> </td> </tr>
<tr> <td><span class="genmed">{L_PASSWORD}:</span> </td> <td><input class="post" type="password" size="10" name="password"/> </td> <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td> </tr> </table> </td> <td width="10%" align="center" valign="middle"> <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span> </td> <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td> </tr> </table> </td> </tr> </table> <!-- END switch_fb_connect --> </form> <!-- END switch_user_login_form_footer -->
<!-- BEGIN disable_viewonline -->
<html dir="rtl">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="2">إحصائيات المنتدى</td> </tr>
</thead>
<!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:left" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="http://www.a6-5.com/vb/a6sun/buttons/collapse_thead.gif" alt="" border="0" /></a> <a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a> <span class="gensmall"><strong>{TOTAL_USERS_ONLINE}</strong></span> <span class="gensmall"><strong></strong></span></td> </tr>
</tbody> <tbody id="collapseobj_forumhome_activeusers" style=""> <tr> <td class="alt2"><a href="viewonline"><img src="http://www.azareer.com/vb/Ramdan/misc/whos_online.gif" alt="المتواجدون الآن " border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap">{RECORD_USERS}</div> <div>{LOGGED_IN_USER_LIST}</div>
</div> </td> </tr> </tbody> <!-- end logged-in users -->
<tbody> <tr> <td class="thead" colspan="2"> <a style="float:left" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="http://www.a6-5.com/vb/a6sun/buttons/collapse_thead.gif" alt="" border="0" /></a> الأعضاء الذين تواجدوا خلال 99 ساعه </td>
<tr> <tbody> <tbody id="collapseobj_forumhome_stats" style=""> <tr> <td class="alt2"><img src="http://www.azareer.com/vb/Ramdan/misc/stats.gif" alt="الأعضاء الذين تواجدوا خلال 99 ساعه" border="0" /></td> <td class="alt2" colspan="2" align="center"> <div style="text-align: center;"><font size="1">{GROUP_LEGEND}</font><br></div>
</td> </tr> </tbody>
<tbody> <tr> <td class="thead" colspan="2"> <a style="float:left" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="http://www.a6-5.com/vb/a6sun/buttons/collapse_thead.gif" alt="" border="0" /></a> إحصائيات {L_INDEX} </td>
</tr> </tbody> <tbody id="collapseobj_forumhome_stats" style=""> <tr> <td class="alt2"><img src="http://www.azareer.com/vb/Ramdan/misc/stats.gif" alt="إحصائيات {L_INDEX}" border="0" /></td> <td class="alt1" width="100%"> <div class="smallfont"> <div>{SITE_DESCRIPTION}</div> </div> </td> </tr> </tbody>
<br>
<!-- END disable_viewonline --> <br />
<br /> <br />
<br />
<!-- icons and login code --> <table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <td> <table cellpadding="2" cellspacing="0" border="0"> <tr> <!-- BEGIN switch_legend --> <td><img src="{FORUM_NEW_IMG}" alt="يحتوي مشاركات جديدة" border="0" /></td> <td class="smallfont"> يحتوي مشاركات جديدة</td>
</tr> <tr> <td><img src="{FORUM_IMG}" alt="لا يحتوي مشاركات جديدة" border="0" /></td> <td class="smallfont"> لا يحتوي مشاركات جديدة</td> <!-- END switch_legend --> </tr> </table> </td>
</tr> </table> <!-- / icons and login code --> <!-- Nlp -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody id="collapseobj_nlp_lxt"> <tr>
{CHATBOX_BOTTOM}
</td> </tr>
</table> </td> </tr> </tbody> </table>
<!-- Nlp -->
<br />
{AUTO_DST} <!-- BEGIN switch_fb_index_login --> <div id="fb-root"></div> <script type="text/javascript"> //<![CDATA[ FB.init({ appId: '{switch_fb_index_login.FACEBOOK_APP_ID}', status: true, cookie: true, xfbml: true, oauth: true }); //]]> </script> <!-- END switch_fb_index_login --> قالب index_box - الكود:
-
<br><br> <!-- BEGIN catrow --><!-- BEGIN tablehead -->
<table class="tborder" cellpadding="2" cellspacing="1" border="0" width="100%" align="center">
<tbody id="collapseobj_forumbit_1" style=""> <tr align="center"> <td class="thead" width="1%"> </td> <td class="thead" align="right" width="45%">المنتدى</td> <td class="thead" width="20%">آخر مشاركة</td>
<td class="thead" width="7%">المواضيع</td> <td class="thead" width="7%">المشاركات</td>
</tr> <!-- END tablehead --> <!-- BEGIN cathead --> <tr> <!-- BEGIN inc --> <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td> <!-- END inc --> <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%"> <h{catrow.cathead.LEVEL} class="hierarchy"> <span class="cattitle"> <div style="text-align: center;"><a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a></div>
</span> </h{catrow.cathead.LEVEL}> </td> <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="center"> </td> </tr> <!-- END cathead --> <!-- BEGIN forumrow --> <tr align="center"> <td class="alt2"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="alt1Active" align="right" id="f2"> <div> <h1> <a href="{catrow.forumrow.U_VIEWFORUM}"><strong>{catrow.forumrow.FORUM_NAME}</strong></a> <h{catrow.forumrow.LEVEL}/> </h1> </div>
<div class="smallfont">{catrow.forumrow.FORUM_DESC}</div> </td> <!-- BEGIN forum_link_no --> <td class="alt2"> <div class="smallfont" align="right"> <div> <span style="white-space:nowrap"> <img class="inlineimg" src="http://forum.shbkat.com/images/icons/icon1.gif" alt="" border="0" />
<strong>{catrow.forumrow.LAST_POST}</strong></span>
</div> </div> </td> <td class="alt1">{catrow.forumrow.TOPICS}</td> <td class="alt2">{catrow.forumrow.POSTS}</td> <!-- END forum_link_no --> </tr>
<!-- END forumrow --> </tbody>
<!-- BEGIN catfoot --> <tr> <!-- BEGIN inc --> <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td> <!-- END inc --> <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td> </tr> <!-- END catfoot --> <!-- BEGIN tablefoot --> <tbody> <tr> <td class="tfoot" align="center" colspan="5"><div class="smallfont"><strong> <a href="?mark=forums" rel="nofollow">اجعل كافة الأقسام مقروءة</a>
<a href="?mode=delete_cookies">حذف الكوكيز</a> </strong></div></td> </tr> </table>
<img src="{SPACER}" alt="" height="5" width="1" /> <!-- END tablefoot --><!-- END catrow --> <br> وشكرا | |
|
mouath
عدد المساهمات : 122 معدل النشاط : 5126 السُمعة : 0
| موضوع: رد: تعديل على كود الأحد 18 نوفمبر 2012 - 13:12 | |
| | |
|
mouath
عدد المساهمات : 122 معدل النشاط : 5126 السُمعة : 0
| موضوع: رد: تعديل على كود الخميس 22 نوفمبر 2012 - 11:01 | |
| UP | |
|