walid dz
عدد المساهمات : 306 معدل النشاط : 4312 السُمعة : 8
| موضوع: تعديل هنا السبت 9 يوليو 2016 - 12:30 | |
| - الكود:
-
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<!-- BEGIN message_admin_txt -->
{message_admin_index.message_admin_txt.MES_TXT}
<!-- END message_admin_txt -->
<!-- END message_admin_index --> <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 --> <br />
<br /> <div class="forumhomestat"> <span class="fa fa-bar-chart fa-lg"></span> إحصائيات المنتدى
<!-- logged-in users --> <div class="forumhomestatboxuno"> <div> <a href="/viewonline">المتواجدون الآن</a>? </div> <div> <strong>{RECORD_USERS}</strong> </div> <div> {LOGGED_IN_USER_LIST} </div> </div> <div class="forumhomestatboxdos"> {GROUP_LEGEND} </div> <!-- end logged-in users -->
<div class="forumhomestatboxtres"> <span class="fa fa-bars forumhomestatIcon"></span> المواضيع: {TOTAL_POSTS} | <span class="fa fa-comments forumhomestatIcon"></span> المشاركات: {TOTAL_POSTS} | <span class="fa fa-users forumhomestatIcon"></span> الأعضاء: {TOTAL_USERS} <div class="newestmember"> <span class="fa fa-user forumhomestatIcon"></span> نرحب بالعضو الجديد: <a>{NEWEST_USER}</a> </div> </div> </div>
<!-- BEGIN switch_chatbox_activate --> <!-- END switch_chatbox_activate --> <!-- END disable_viewonline --> <br/> <!-- BEGIN switch_legend -->
<br />
<table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <td align="center"> <table class="tborder alt1" border="0" align="center" cellpadding="2" cellspacing="0" style="height: 50px"> <tr> <td><img src="{FORUM_NEW_IMG}" alt="يحتوي على مشاركات جديدة" border="0" /></td> <td class="smallfont"> منتدى يحتوي على مشاركات جديدة</td> <td><img src="{FORUM_IMG}" alt="لا يحتوي على مشاركات جديدة" border="0" /></td> <td class="smallfont"> منتدى لا يحتوي على مشاركات جديدة</td> <td><img src="{FORUM_LOCKED_IMG}" alt="منتدى مغلق" border="0" /></td> <td class="smallfont"> منتدى مغلق عن المشاركات</td> </tr> </table>
</td> </tr>
</table>
<!-- END switch_legend -->
<br />
<br />
<!-- BEGIN switch_user_logged_in --> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <div class="forumhomestat"> <span class="fa fa-bar-chart fa-lg"></span> دردشة {L_INDEX} <td> <div class="forumhomestatboxuno"> {CHATBOX_BOTTOM} </div> </td> </div> </tr> </table> <!-- END switch_user_logged_in -->
<br /> <!-- 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 body تعديل عليه وإضافة الزوار بجانب الاعضاء لقد اضفت كود الجافا واما كود التومبيلات لم اعرف جيدا | |
|
وهبة الساحر
عدد المساهمات : 9060 معدل النشاط : 14825 السُمعة : 135
| موضوع: رد: تعديل هنا السبت 9 يوليو 2016 - 13:02 | |
| مرحبا, بصراحة لم افهم مشكلتك جيدا ولا اريد ان اعطيك جواب غير في محاله لذلك ؟ المرجوا توضيح المشكل مع ارفاق صورة له ورابط المنتدى ونسخته | |
|
walid dz
عدد المساهمات : 306 معدل النشاط : 4312 السُمعة : 8
| موضوع: رد: تعديل هنا السبت 9 يوليو 2016 - 13:13 | |
| | |
|
وهبة الساحر
عدد المساهمات : 9060 معدل النشاط : 14825 السُمعة : 135
| موضوع: رد: تعديل هنا السبت 9 يوليو 2016 - 14:13 | |
| القالب - الكود:
-
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<!-- BEGIN message_admin_txt -->
{message_admin_index.message_admin_txt.MES_TXT}
<!-- END message_admin_txt -->
<!-- END message_admin_index --> <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 --> <br />
<br /> <div class="forumhomestat"> <span class="fa fa-bar-chart fa-lg"></span> إحصائيات المنتدى
<!-- logged-in users --> <span id="KH_total-online">{TOTAL_USERS_ONLINE}</span><BR> <span id="KH_users-online">{LOGGED_IN_USER_LIST}</span> <script type="text/javascript">('function'==typeof KH_show_visitors) && KH_show_visitors();</script> <div class="forumhomestatboxdos"> {GROUP_LEGEND} </div> <!-- end logged-in users -->
<div class="forumhomestatboxtres"> <span class="fa fa-bars forumhomestatIcon"></span> المواضيع: {TOTAL_POSTS} | <span class="fa fa-comments forumhomestatIcon"></span> المشاركات: {TOTAL_POSTS} | <span class="fa fa-users forumhomestatIcon"></span> الأعضاء: {TOTAL_USERS} <div class="newestmember"> <span class="fa fa-user forumhomestatIcon"></span> نرحب بالعضو الجديد: <a>{NEWEST_USER}</a> </div> </div> </div>
<!-- BEGIN switch_chatbox_activate --> <!-- END switch_chatbox_activate --> <!-- END disable_viewonline --> <br/> <!-- BEGIN switch_legend -->
<br />
<table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <td align="center"> <table class="tborder alt1" border="0" align="center" cellpadding="2" cellspacing="0" style="height: 50px"> <tr> <td><img src="{FORUM_NEW_IMG}" alt="يحتوي على مشاركات جديدة" border="0" /></td> <td class="smallfont"> منتدى يحتوي على مشاركات جديدة</td> <td><img src="{FORUM_IMG}" alt="لا يحتوي على مشاركات جديدة" border="0" /></td> <td class="smallfont"> منتدى لا يحتوي على مشاركات جديدة</td> <td><img src="{FORUM_LOCKED_IMG}" alt="منتدى مغلق" border="0" /></td> <td class="smallfont"> منتدى مغلق عن المشاركات</td> </tr> </table>
</td> </tr>
</table>
<!-- END switch_legend -->
<br />
<br />
<!-- BEGIN switch_user_logged_in --> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <div class="forumhomestat"> <span class="fa fa-bar-chart fa-lg"></span> دردشة {L_INDEX} <td> <div class="forumhomestatboxuno"> {CHATBOX_BOTTOM} </div> </td> </div> </tr> </table> <!-- END switch_user_logged_in -->
<br /> <!-- 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 -->
ثم تتوجه الى لوحة الإدارة>>عناصر إضافية>>إدارة أكواد Javascript>>إضافة كود جديد اسم الكود كما تريد جميع الصفحات الكود : - الكود:
-
function KH_show_visitors(){ if(!document.getElementById('KH_total-online')) return false; var v= document.getElementById('KH_total-online').innerHTML.match(/\b\d+\b/g)[3] && parseInt(document.getElementById('KH_total-online').innerHTML.match(/\b\d+\b/g)[3]), visitors= ''+ (function(v){var a='';for(var i=1; i< v+1;i++){a+=', <span class="KH_visitors">'+ ' <strong>زائر</strong> ' +i+ '</span>';}return a+'<br>';})(v); document.getElementById('KH_users-online') && (document.getElementById('KH_users-online').innerHTML=document.getElementById('KH_users-online').innerHTML.replace(/<br>/, visitors+'')); return 'visitors_add'; } آخر كود وضعة فى ورقة الـ CSS بالمنتدى و دة ل وضع خلفية للزوار و و المتواجدون الان - الكود:
-
.KH_visitors{ background-image:url();margin:3px;border-radius: 5px;} وبالتوفيق | |
|
walid dz
عدد المساهمات : 306 معدل النشاط : 4312 السُمعة : 8
| موضوع: رد: تعديل هنا السبت 9 يوليو 2016 - 15:45 | |
| شكرا لك اخي وهبة الساحر الان الكود يشتغل بامتيازالموضوع للغلق | |
|