السلام عليكم ورحمة الله
ياليت احد يعلمني او يعطيني اكواد فصل اقسام المنتدى الأساسية عن بعض اللي يسمونه " غير متمدد "
الاستايل المودة الثاني عشر 2008
وشكرا لكم
عرض للطباعة
السلام عليكم ورحمة الله
ياليت احد يعلمني او يعطيني اكواد فصل اقسام المنتدى الأساسية عن بعض اللي يسمونه " غير متمدد "
الاستايل المودة الثاني عشر 2008
وشكرا لكم
او شيء يالغالي غير متمدد يعني استايل بقوائم جانبية ثابتة
وهو ضيق نوعا ما
اما استايلات المودة فهي ستايلات متمددة
وطريقة فصل الاقسام
تفضل من هنا
http://traidnt.net/Portal/Forums/Hac...-Vb-3.7.0.html
تحياتي
بارك الله فيك والله انك ما قصرت
ومع اذان المغرب بدعي لك دعوات صادقة
لأن العضو او المشرف اللي يكلف نفسه ويساعد يستحق الدعاء بظهر الغيب
بروح اجرب ان شاء الله تنجح
والله طبقت الطريقة وما نفعت معاي
انا بحط لكم القوالب اللي عندي واتمنى واحد يعدلها لي واكون له شاكرا
أولاً : قالب FORUMHOME
كود PHP:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar <if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if> <!-- main --> <!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/btr.gif" border="0"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/btl.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif" border="0"></td><td width="100%">
<!-- نهاية إطار علوي --> $forumbits $forumhome_markread_script <!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/bsl.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif" border="0"></td>
<td width="100%" background="$stylevar[imgdir_misc]/mwa/bbc.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/bbl.gif"></td></tr></table>
<!-- نهاية إطار سفلي --> <!-- /main --> <br />
$ad_location[ad_forumhome_afterforums] <!-- 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" border="0"></td>
<td align="center" width="100%" background="$stylevar[imgdir_misc]/mwa/btc.gif"></td>
<td><img src="$stylevar[imgdir_misc]/mwa/btl.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsr.gif) repeat-y right;"><img src="$stylevar[imgdir_misc]/mwa/bsr.gif" border="0"></td><td width="100%">
<!-- نهاية إطار علوي --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<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]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" 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[most_users_ever_online_was_x_y_at_z]</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[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>
<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> <tr><td class="tfoot" width="100%" align="center" colspan="9">
<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> <if condition="!$show['guest']">
<!-- member logout -->
<a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
<!-- end member logout -->
</if> </table> <!-- بداية إطار سفلي -->
</td><td style="background: transparent url($stylevar[imgdir_misc]/mwa/bsl.gif) repeat-y left;">
<img src="$stylevar[imgdir_misc]/mwa/bsl.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="$stylevar[imgdir_misc]/mwa/bbr.gif" border="0"></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 --> <!-- icons and login code -->
<table cellpadding="2" cellspacing="0" border="0" align="center"><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>
<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>
<if condition="$vboptions['showlocks']">
<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>
</if>
</tr></table>
<!-- / icons and login code --> $footer
</body>
</html>
ثانيا قالب : forumhome_forumbit_level1 _nopost
جزاكم الله خيراكود PHP:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr><td class="thead" align="center" colspan="9"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> <a style="" href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <!--
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
--> <if condition="$show['subforums']"><div class="smallfont">$vbphrase[subforums]: $forum[subforums]</div></if>
</td></tr> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <tr align="center">
<td class="thead"> </td>
<td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="50%">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead> <if condition="$childforumbits">
$childforumbits
</if> </table>