مشكله في كود الإحصائيات في خانة اخر المساهمات
2 مشترك
منتدى الدعم و المساعدة لأحلى المنتديات :: منتدى الدعم والمساعدة :: دعم مشاكل التومبلايت و الأكواد :: أرشيف قسم "مشاكل التومبلايت و الأكواد"
صفحة 1 من اصل 1
مشكله في كود الإحصائيات في خانة اخر المساهمات
لو سمحتم اريد ان اضيف مثل هذه الإحصائيات على جدول الفئات (المشار لها بالسهم) لكن من دون ان غير كامل التصميم
![مشكله في كود الإحصائيات في خانة اخر المساهمات Iozo8x](https://2img.net/h/oi61.tinypic.com/iozo8x.png)
لقد وجدت هذا الكود في قسم التومابيلات في منتدى الدعم لكنه يتسبب بتغير شكل المنتدى بالكامل عند وضعه في (index_box) انا اريد ان اضيف الإحصائات فقط
و هذا كود الإنديكس بوكس الخاص بمنتداي
![مشكله في كود الإحصائيات في خانة اخر المساهمات Iozo8x](https://2img.net/h/oi61.tinypic.com/iozo8x.png)
لقد وجدت هذا الكود في قسم التومابيلات في منتدى الدعم لكنه يتسبب بتغير شكل المنتدى بالكامل عند وضعه في (index_box) انا اريد ان اضيف الإحصائات فقط
- الكود:
{JAVASCRIPT}
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall">{LAST_VISIT_DATE}<br />
{CURRENT_TIME}<br />
</span>
<!-- END switch_user_logged_in -->
<div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
</td>
<td class="gensmall" align="right" valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
</td>
</tr>
</table>
<body>
</table>
<!-- /main -->
<!-- what's going on box -->
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<table
class="forumline" cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<thead>
<tr>
<td
colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="50%"
class="secondarytitle"> {catrow.tablehead.L_FORUM} </td>
<!-- logged-in users -->
<table dir="rtl" border="0" cellpadding="0" cellspacing="0" width="100%">
<td> <table class="width="100%" border="0" cellspacing="1" cellpadding="0">
<table dir="rtl" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="75%" class="thead"> المنتدى </th>
<th
class="thead" nowrap="nowrap" width="350"><div
style="width:200px;"><font color="#FFFFFF">اخر
مساهمة</font></div></th>
<th class="thead" nowrap="nowrap" width="70"><div style="width:70px;">
<font color="#FFFFFF">المشرفون</font></div></th>
</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="tcat" cattitle">
<a class="cattitle"
title="{catrow.cathead.CAT_DESC}"
href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="4" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}"
width="46"><img src="{SPACER}" height="0" width="46" alt="."
/></td>
<!-- END inc -->
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}"
src="{catrow.forumrow.FORUM_FOLDER_IMG}"
alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink"
href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br
/>
</span>
</h{catrow.forumrow.LEVEL}>
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
<span class="gensmall">
<div class="subforum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
</span>
</td>
<!-- BEGIN forum_link_no -->
<td class="><span class="gensmall"><IMG
src="http://i49.tinypic.com/2ppevj7.png">{catrow.forumrow.LAST_POST}</span><div
class="smallfont" style="margin:6px;padding:4px; border-radius: 7px
7px 7px 7px; box-shadow: 5px 5px 5px #BABABA;
background:#DBDBDB">المواضيع
: <b>{catrow.forumrow.TOPICS}</b> | المشاركات :
<b>{catrow.forumrow.POSTS}</b></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="><div class="smallfont">
<!-- END forum_link_no -->
<!-- BEGIN switch_moderators_links -->
<table
dir="ltr" border="0" cellpadding="0"
cellspacing="0"><tbody><tr><span
class="gensmall"><span class="gensmall"><span
class="gensmall"><span
class="gensmall"></span></span></span></span><td
class="row2" colspan="3" align="center" valign="middle"
height="50"><span class="gensmall"><ul
id="topMenu"><li class="alt2" onmouseover="this.className =
'over';" onmouseout="this.className = '';"></li><li class=""
onmouseover="this.className = 'over';" onmouseout="this.className =
'';"><img
src="http://i23.servimg.com/u/f23/16/43/22/50/modera10.gif"
alt=""><ul style="width: 200px; top: 10px; left: 20px;" -3px;=""
25px;="" 50%="" top:="" 26px;="" left:=""
10px;=""><li><table class="forumline" border="0"
cellpadding="0" cellspacing="1"
width="100%"><tbody></span></td></tr><tr><td
class="row1" onmouseover='this.className="row2"'
onmouseout='this.className="row1"' width="100%">
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
</td></tr></tbody></table></li></ul></li></ul><table
dir="ltr" border="0" cellpadding="0"
cellspacing="0"><style>#topMenu{padding: 0;margin:
0;list-style: none;}#topMenu li{float: left;list-style:none;position:
relative;}#topMenu li ul{display: none;position: absolute;left:
0;padding: 0;margin: 0;}#topMenu li:hover ul, #topMenu li.over
ul{display:
block;}</style></table></span></td></tr></tbody></table>
<!-- END switch_moderators_links --> </div></td>
</if>
</tr>
<!-- END forumrow -->
<!-- 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 -->
</table><img src="{SPACER}" alt="" height="5" width="1" />
<div class="f-b1">
<div class="f-b2"></div>
<div class="f-b3"></div>
<div class="f-b4"></div>
</div>
</tr>
</table>
<img src="{SPACER}" alt="" height="5" width="1" />
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
</tr>
<!-- END tablefoot --><!-- END catrow -->
</td>
</tr>
<!-- action_find_addons_3 -->
</table>
</div></div></div></div>
<div class="forum-footer">
<div class="f-right"></div>
<div class="f-left">
</div>
<div class="myonlypsmidf"></div></div>
<br />
<!-- end what's going on box -->
</body>
</html>
و هذا كود الإنديكس بوكس الخاص بمنتداي
- الكود:
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="borderwrap">
<div class="maintitle floated clearfix">
{catrow.tablehead.L_FORUM}
<div class="contract" id="b{catrow.tablehead.ID}" onclick="toggleCategory('{catrow.tablehead.ID}');">
</div>
</div>
<table cellpadding="0" cellspacing="0" id="{catrow.tablehead.ID}" class="ipbtable index-box">
<thead>
<tr>
<th class="forum">{L_FORUM}</th>
<th class="topics">{L_TOPICS}</th>
<th class="replies">{L_POSTS}</th>
<th class="last post-info">{L_LASTPOST}</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4">
</td>
</tr>
</tfoot>
<tbody>
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="row2 icon" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status clearfix" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" class="icon" />
</span>
<div class="par forum-name">
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<p class="forum-desc">{catrow.forumrow.FORUM_DESC}</p>
</div>
<!-- BEGIN switch_moderators_links -->
<div class="mods">
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
</div>
<!-- END switch_moderators_links -->
<p>
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</p>
</td>
<td class="row1 centered">{catrow.forumrow.TOPICS}</td>
<td class="row2 centered">{catrow.forumrow.POSTS}</td>
<td class="row1">
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<br />
<!-- END tablefoot -->
<!-- END catrow -->
<!-- BEGIN switch_on_index -->
<div class="toplinks linklist clearfix">
<ul>
<!-- BEGIN switch_delete_cookies -->
<li><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a></li>
<!-- END switch_delete_cookies -->
<!-- BEGIN switch_user_logged_in -->
<li class="last"><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
<!-- END switch_user_logged_in -->
</ul>
</div>
<!-- END switch_on_index -->
رد: مشكله في كود الإحصائيات في خانة اخر المساهمات
مرحبا
تجدهذه الخاصية الجميله في لوحة الإدارة >> مظهر المنتدى >> الصفحة الرئيسية >> الهيكل و التراتب >> تعديل التراتب >>
إظهار اسماء المشرفين على كل قسم : نعم لا
رد: مشكله في كود الإحصائيات في خانة اخر المساهمات
اختي ملام مشكوره على ردك قبل كل شيئ .. لكن انا ابحث عن صندوق الإحصائيات الذي يحتوي على عدد المشاركات و المواضيع و ليس على المشرفين
منتدى الدعم و المساعدة لأحلى المنتديات :: منتدى الدعم والمساعدة :: دعم مشاكل التومبلايت و الأكواد :: أرشيف قسم "مشاكل التومبلايت و الأكواد"
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى