السلام عليكم ورحمة الله وبركاته ،،
من العنوان ...
كيف أجعل الهيدر والفوتر لا يعاد تحميلهم عند الأنتقال من صفحة إلى أخرى؟؟ ( استايل المودة الثامن)
يكون ثابت الهيدر مع شعار الموقع والفوتر أيضا .. احس المنتدى ثقيل شوي..
الله يعطيكم العافية.
السلام عليكم ورحمة الله وبركاته ،،
من العنوان ...
كيف أجعل الهيدر والفوتر لا يعاد تحميلهم عند الأنتقال من صفحة إلى أخرى؟؟ ( استايل المودة الثامن)
يكون ثابت الهيدر مع شعار الموقع والفوتر أيضا .. احس المنتدى ثقيل شوي..
الله يعطيكم العافية.
ابحث عن هالكود في اول قالب الفروم هوم واحذفه
forumhome
كود:<!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <!-- end no cache headers -->
يعطيك العافية اخوي ساري ،،
بس ما لقيت الكود اللي تقول عنه ...
هذا هو القالب.
كود PHP:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle]</title>
<!-- بداية هاك تشغيل صوت عشوائي -->
<if condition="$bbuserinfo['field7'] != 'لا'">
<SCRIPT LANGUAGE="JavaScript">
song = new Array(16);
song[0] ='sound/1.wav'
song[1] ='sound/2.wav'
song[2] ='sound/3.wav'
song[3] ='sound/4.wav'
song[4] ='sound/5.wav'
song[5] ='sound/6.wav'
song[6] ='sound/7.wav'
song[7] ='sound/8.wav'
song[8] ='sound/9.wav'
song[9] ='sound/10.wav'
song[10] ='sound/11.wav'
song[11] ='sound/12.wav'
song[12] ='sound/13.wav'
song[13] ='sound/14.wav'
song[14] ='sound/15.wav'
song[15] ='sound/16.wav'
index = Math.floor(Math.random() * song.length);
document.write("<bgsound src="+song[index]+" loop=0");
</SCRIPT>
</if>
<!-- نهاية هاك تشغيل صوت عشوائي -->
</head>
<body>
$header
$navbar
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont" align="center">
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->
<br />
<!-- what's going on box -->
<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
<td><img src="$stylevar[imgdir_misc]/mwa/btl.gif"></td></tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td background="$stylevar[imgdir_misc]/mwa/bsr.gif" width="4">
</td><td>
<!-- نهاية إطار علوي -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div>
الوان الرتب :
<font color="#FF0000">[ المدير العام ]</font> ــ
<font color="#008000">[ المشرفين ]</font> ــ
<font color="#0000FF">[ نائب المدير ] </font>ـ<font color="#0000FF"> </font>
<font color="#FFCC66">[ المراقب العام ]</font><font color="#0000FF"> </font>ــ
<font color="#33CCFF">[ </font>
<font color="#3399FF">أعضاء متميزون ]</font> ــ
<font color="#7C003E">[ عضو ]</font>
</div><br>
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<br><div>$activeusers</div><br>
</div>
</td>
</tr>
<!-- بداية هاك الأعضاء المتواجدون آخر 24 ساعة -->
<!-- نهاية هاك الأعضاء المتواجدون آخر 24 ساعة -->
<!-- بداية هاك أعضاء لهم مشاركات آخر 24 ساعة -->
<tr><td class="thead" colspan="2">
عدد الأعضاء الذين لهم مشاركات آخر 24 ساعة : $posterstoday
</td></tr>
<tr><td class="alt2"><img src="$stylevar[imgdir_misc]/whos_post.gif" alt="أعضاء لهم مشاركات آخر 24 ساعة" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$posttoday</div></td>
</tr>
<!-- نهاية هاك أعضاء لهم مشاركات آخر 24 ساعة -->
<!-- بداية هاك أعضاء مسجلين آخر 24 ساعة -->
<tr><td class="thead" colspan="2">
عدد الأعضاء المسجلين آخر 24 ساعة : $numregtoday</td></tr>
<tr><td class="alt2"><img src="$stylevar[imgdir_misc]/whos_new.gif" alt="أعضاء مسجلين آخر 24 ساعة" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$regtoday</div>
</td></tr>
<!-- نهاية هاك أعضاء مسجلين آخر 24 ساعة -->
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div><br>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" 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['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<!-- بداية هاك الأعضاء الأكثر مشاركة-->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td class="thead" align="center" colspan="4">
الأعضاء الأكثر مشاركة
</td></tr>
<tr>
<td class="thead" width="25%" align="center">آخر 24 ساعة</td>
<td class="thead" width="25%" align="center">آخر 7 أيام</td>
<td class="thead" width="25%" align="center">آخر 28 يوم</td>
<td class="thead" width="25%" align="center">منذ بدء المنتدى</td>
</tr>
$topposters
</table>
<!-- نهاية هاك الأعضاء الأكثر مشاركة-->
<!-- بداية إطار سفلي-->
</td><td background="$stylevar[imgdir_misc]/mwa/bsl.gif" width="2">
</td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr>
</table>
<!-- نهاية إطار سفلي-->
<br />
<!-- end what's going on box -->
<if condition="$show['topXstats']">
$topXstats
</if>
<!-- 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>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_contains_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_contains_no_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->
$footer
</body>
</html>
uuuuuuuuuuuuuuuuuuuuuuup
الذين يشاهدون الموضوع الآن: 1 (0 من الأعضاء و 1 زائر)
مواقع النشر (المفضلة)