< طھط¹ط¯ظٹظ„ ط¹ظ„ظ‰ ظ‚ط§ظ„ط¨ ط§ط*طµط§ط¦ظٹط§طھ >



~ السلام عليكم
مرحبا بلجميع .. معى اليوم تعديل على قالب template (احصائيات)
اتمنى ان يعجبكم

:: صورة من التعديل ::
----------------------






لمشاهدة مثال حى اضغط هنا : ~معرض اعمال نونتان ديزاين

------------------
ملفات التعديل بلمرفقات
فقط بتسبدل الاكواد بلمجوجودة بلمرفق مع اخذ نسخة احتياطية من القالب template
حتى لا قدر الله حدث شىء يكون معاك نسخة سليمة من القالب template
----------------------
طريقة التركيب install
-------------
تبحث عن الكود code التالى فى قالب template (FORUMHOME)

رمز PHP:
<code style="white-space:nowrap"> <code> <table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center" id="table4">
<
thead>
<
tr>
<
td class="tcat" colspan="2">
<
p align="center">$vbphrase&#91;whats_going_on&#93;</td>
</
tr>
</
thead>
<if
condition="$show&#91;'loggedinusers'&#93;">
<!--
logged-in users -->
<
tbody>
<
tr>
<
td class="thead" colspan="2">
<
a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('forumhome_activeusers')">
<
img id="collapseimg_forumhome_activeusers0" src="$stylevar&#91;imgdir_button&#93;/collapse_thead$vbcollapse&#91;collapseimg_forumhome_activeusers&#93;.gif" alt="" border="0" /></a>
<
a href="online.php$session&#91;sessionurl_q&#93;" rel="nofollow">$vbphrase&#91;currently_active_users&#93;</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase&#91;x_members_and_y_guests&#93;</phrase>)
</
td>
</
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_activeusers0" style="$vbcollapse&#91;collapseobj_forumhome_activeusers&#93;">
<
tr>
<
td class="alt2"><a href="online.php$session&#91;sessionurl_q&#93;" rel="nofollow"><img src="$stylevar&#91;imgdir_misc&#93;/whos_online.gif" alt="$vbphrase&#91;view_whos_online&#93;" border="0" /></a></td>
<
td class="alt1" width="100%">
<
div class="smallfont">
<
div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase&#91;most_users_ever_online_was_x_y_at_z&#93;</phrase></div>
<
div>$activeusers</div>
</
div>
</
td>
</
tr>
</
tbody>
<!--
end logged-in users -->
</if>
<
tbody>
<
tr>
<
td class="thead" colspan="2">
<
a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('forumhome_stats')">
<
img id="collapseimg_forumhome_stats0" src="$stylevar&#91;imgdir_button&#93;/collapse_thead$vbcollapse&#91;collapseimg_forumhome_stats&#93;.gif" alt="" border="0" /></a>
<
phrase 1="$vboptions&#91;bbtitle&#93;">$vbphrase&#91;x_statistics&#93;</phrase>
</
td>
</
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_stats0" style="$vbcollapse&#91;collapseobj_forumhome_stats&#93;">
<
tr>
<
td class="alt2"><img src="$stylevar&#91;imgdir_misc&#93;/stats.gif" alt="<phrase 1="$vboptions&#91;bbtitle&#93;">$vbphrase&#91;x_statistics&#93;</phrase>" border="0" /></td>
<
td class="alt1" width="100%">
<
div class="smallfont">
<
div>
$vbphrase&#91;threads&#93;: $totalthreads,
$vbphrase&#91;posts&#93;: $totalposts,
$vbphrase&#91;members&#93;: $numbermembers<if condition="$show&#91;'activemembers'&#93;">,
<
span title="<phrase 1="$vboptions&#91;activememberdays&#93;">$vbphrase&#91;within_the_last_x_days&#93;</phrase>">$vbphrase&#91;active_members&#93;: $activemembers</span>
</if>
</
div>
<
div><phrase 1="member.php?$session&#91;sessionurl&#93;u=$newuserid" 2="$newusername">$vbphrase&#91;welcome_to_our_newest_member_x&#93;</phrase></div>
</
div>
</
td>
</
tr>
</
tbody>
<if
condition="$show&#91;'birthdays'&#93;">
<!--
today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('
forumhome_birthdays')">
<img id="collapseimg_forumhome_birthdays0" src="$stylevar&#91;imgdir_button&#93;/collapse_thead$vbcollapse&#91;collapseimg_forumhom e_birthdays&#93;.gif" alt="" border="0" /></a>
$vbphrase&#91;todays_birthdays&#93;
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays0" style="$vbcollapse&#91;collapseobj_forumhome_birth days&#93;">
<tr>
<td class="alt2"><a href="calendar.php?$session&#91;sessionurl&#93;do= getday&amp;day=$today&amp;sb=1"><img src="$stylevar&#91;imgdir_misc&#93;/birthday.gif" alt="$vbphrase&#91;view_birthdays&#93;" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today'
s birthdays -->
</if>
<if
condition="$show&#91;'upcomingevents'&#93;">
<
tbody>
<
tr>
<
td class="thead" colspan="2">
<
a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('forumhome_events')">
<
img id="collapseimg_forumhome_events0" src="$stylevar&#91;imgdir_button&#93;/collapse_thead$vbcollapse&#91;collapseimg_forumhome_events&#93;.gif" alt="" border="0" /></a>
<if
condition="$show&#91;'todaysevents'&#93;">$vbphrase&#91;todays_events&#93;<else /><phrase 1="$vboptions&#91;showevents&#93;">$vbphrase&#91;upcoming_events_for_the_next_x_days&#93;</phrase></if>
</
td>
</
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_events0" style="$vbcollapse&#91;collapseobj_forumhome_events&#93;">
<
tr>
<
td class="alt2"><a href="calendar.php$session&#91;sessionurl_q&#93;"><img src="$stylevar&#91;imgdir_misc&#93;/calendar.gif" alt="$vbphrase&#91;calendar&#93;" border="0" /></a></td>
<
td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</
tr>
</
tbody>
</if><
tbody>
</
tbody>
</
table>
</code> </code>

وتستبدلة بلكود code التالى

رمز PHP:
<code style="white-space:nowrap"> <code> <table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<
thead>
<
tr>



<
td class="tcat" colspan="2">$vbphrase&#91;whats_going_on&#93;</td>
</
tr>
</
thead>
$template_hook&#91;forumhome_wgo_pos1&#93;
<if
condition="$show&#91;'loggedinusers'&#93;">
<!--
logged-in users -->
<
tbody>
<
tr>
<
td class="thead" colspan="2">
<
a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar&#91;imgdir_button&#93;/collapse_thead$vbcollapse&#91;collapseimg_forumhome_activeusers&#93;.gif" alt="" border="0" /></a>
<
a href="online.php$session&#91;sessionurl_q&#93;">$vbphrase&#91;currently_active_users&#93;</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase&#91;x_members_and_y_guests&#93;</phrase>)
</
td>
</
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse&#91;collapseobj_forumhome_activeusers&#93;">
<
tr>
<
td class="alt2"><a href="online.php$session&#91;sessionurl_q&#93;"><img src="$stylevar&#91;imgdir_misc&#93;/whos_online.gif" alt="$vbphrase&#91;view_whos_online&#93;" border="0" /></a></td>
<
td class="alt1" width="100%">
<
div class="smallfont">
<
form method="post">
<
fieldset name="Group1">
<
legend><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">
$vbphrase&#91;most_users_ever_online_was_x_y_at_z&#93;</phrase></legend>
<
div>$activeusers</div>
</
fieldset></form>
</
div>
</
td>
</
tr>
</
tbody>
<!--
end logged-in users -->
</if>
$template_hook&#91;forumhome_wgo_pos2&#93;
<
tbody>
<
tr>
<
td class="thead" colspan="2">
<
a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar&#91;imgdir_button&#93;/collapse_thead$vbcollapse&#91;collapseimg_forumhome_stats&#93;.gif" alt="" border="0" /></a>
<
phrase 1="$vboptions&#91;bbtitle&#93;">$vbphrase&#91;x_statistics&#93;</phrase>
</
td>
</
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_stats" style="$vbcollapse&#91;collapseobj_forumhome_stats&#93;">
<
tr>
<
td class="alt2"><img src="$stylevar&#91;imgdir_misc&#93;/stats.gif" alt="<phrase 1="$vboptions&#91;bbtitle&#93;">$vbphrase&#91;x_statistics&#93;</phrase>" border="0" /></td>
<
td class="alt1" width="100%">
<
div class="smallfont">
<
div>
<
form method="post">
<
fieldset name="Group1">
<
legend>
<
phrase 1="$vboptions&#91;bbtitle&#93;">$vbphrase&#91;x_statistics&#93;</phrase></legend>
<
table style="width: 100%">
<
tr>
<
td class="style1" style="width: 170px">
<
table style="width: 100%">
<
tr>
<
td style="width: 13px">
<
img alt="" src="$stylevar&#91;imgdir_misc&#93;/chart_up.png" width="24" height="24"></td>
<
td class="thead">$vbphrase&#91;threads&#93;</td>
</
tr>
</
table>
</
td>
<
td style="width: 158px">
<
table style="width: 100%">
<
tr>
<
td style="width: 14px">
<
img alt="" src="$stylevar&#91;imgdir_misc&#93;/edit_page.png" width="24" height="24"></td>
<
td class="thead">$vbphrase&#91;posts&#93;</td>
</
tr>
</
table>
</
td>
<
td style="width: 167px">
<
table style="width: 100%">
<
tr>
<
td style="width: 3px">
<
img alt="" src="$stylevar&#91;imgdir_misc&#93;/add_user.png" width="24" height="24"></td>
<
td class="thead" style="width: 128px">$vbphrase&#91;members&#93;</td>
</
tr>
</
table>
</
td>
<
td>
<
fieldset name="Group1">
<
legend>
<
table style="width: 100%">
<
tr>
<
td>
<
img alt="" src="$stylevar&#91;imgdir_misc&#93;/add_to_favorites.png" width="24" height="24"></td>
<
td><span lang="ar-eg">ترحيب قوى للعضو الجديد </span>
</
td>
</
tr>
</
table>
</
legend>
<
div><phrase 1="member.php?$session&#91;sessionurl&#93;u=$newuserid" 2="$newusername">
$vbphrase&#91;welcome_to_our_newest_member_x&#93;</phrase></div>
$template_hook&#91;forumhome_wgo_stats&#93;</fieldset></td>
</
tr>
<
tr>
<
td style="width: 170px" class="style1">
<
span lang="en-us">($totalthreads)</span></td>
<
td style="width: 158px" class="style1">
<
span lang="ar-eg">(</span>$totalposts<span lang="ar-eg">)</span></td>
<
td style="width: 167px" class="style1">
<
span lang="ar-eg">(</span>$numbermembers<span lang="ar-eg">)</span></td>
<
td>&nbsp;</td>
</
tr>
</
table>
</
fieldset></form>
</
div>
&
nbsp;</div>
</
td>
</
tr>
</
tbody>
$template_hook&#91;forumhome_wgo_pos3&#93;
<if
condition="$show&#91;'birthdays'&#93;">
<!--
today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('
forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar&#91;imgdir_button&#93;/collapse_thead$vbcollapse&#91;collapseimg_forumhom e_birthdays&#93;.gif" alt="" border="0" /></a>
$vbphrase&#91;todays_birthdays&#93;
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse&#91;collapseobj_forumhome_birth days&#93;">
<tr>
<td class="alt2"><a href="calendar.php?$session&#91;sessionurl&#93;do= getday&amp;day=$today&amp;sb=1"><img src="$stylevar&#91;imgdir_misc&#93;/birthday.gif" alt="$vbphrase&#91;view_birthdays&#93;" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today'
s birthdays -->
</if>
$template_hook&#91;forumhome_wgo_pos4&#93;
<if
condition="$show&#91;'upcomingevents'&#93;">
<
tbody>
<
tr>
<
td class="thead" colspan="2">
<
a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar&#91;imgdir_button&#93;/collapse_thead$vbcollapse&#91;collapseimg_forumhome_events&#93;.gif" alt="" border="0" /></a>
<if
condition="$show&#91;'todaysevents'&#93;">$vbphrase&#91;todays_events&#93;<else /><phrase 1="$vboptions&#91;showevents&#93;">$vbphrase&#91;upcoming_events_for_the_next_x_days&#93;</phrase></if>
</
td>
</
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_events" style="$vbcollapse&#91;collapseobj_forumhome_events&#93;">
<
tr>
<
td class="alt2"><a href="calendar.php$session&#91;sessionurl_q&#93;"><img src="$stylevar&#91;imgdir_misc&#93;/calendar.gif" alt="$vbphrase&#91;calendar&#93;" border="0" /></a></td>
<
td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</
tr>
</
tbody>
</if>
$template_hook&#91;forumhome_wgo_pos5&#93;
</
table>
</code> </code>

ولا تنسى رفع الصور المرفق فى مجلد (misc) التابع للاستايل style المعدل علية


والسلام عليكم





التعديل الأخير كان بواسطة nontandesign; 31 - 05 - 2014 الساعة 08:13

الملفات المرفقة [TR]
تعديل قالب احصائيات.zip (40.6 كيلوبايت, عدد مرات المشاهدة 676 مرة) [/TR]



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