بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته،،
أقد لكم اليوم طريقة إضافة القطع الجانبية للمنتدى
أولا متال
المعهد العربي للشرينغ
طريقة التركيب
أولا نتجه الى لوحة التحكم
تم لوحة التحكم القوالب
و نختار الستايل تم نحرر القالب main.tpl
داخل القالب نبحت عن
CODE
{template}sections_list{/template}
تم نضيف قبلها الكود التالي
CODE
<!-- بداية الكود-->
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center" dir="ltr" height="560">
<tr>
<td valign="top" width="160px">
<div align="center">
<table class="tborder" border="0" width="100%">
<td class="tcat">
<center>.::القائمة الرئيسية::.</td>
</tr>
<tr>
<td class="alt1">
<center><a href="http://sat-tutorial.cz.cc/index.php?page=pages&show=1&id=2">
قياس سرعة النت</a></td>
</tr>
<tr>
<td class="alt2">
<center><a href="http://sat-tutorial.cz.cc/index.php?page=forum&show=1&id=17">
البت المباشر للمباريات</a></td>
</td>
</tr>
<tr>
<td class="alt1">
</td>
</tr>
</table>
</div>
<div align="center">
<table border="0" width="100%" class="tborder">
<td class="tcat">
<center><font face="Arial">بـراَمـج <font color="red">هـاَمـة</font> نـنصـح
بـتـحـمـيـلـهـا</font></td>
</tr>
<tr>
<td class="alt1">
<p align="center"><font face="Arial">
<a title="http://www.rarlab.com/" style="color: rgb(54, 39, 3); text-decoration: none; cursor: pointer;" rel="nofollow" target="_blank" href="http://www.rarlab.com">
<img alt="" src="http://img203.imageshack.us/img203/6827/4winrar.png" onload="NcodeImageResizer.createOn(this);" border="0"></a>
<a title="http://www.mozilla.com/firefox/" style="color: rgb(54, 39, 3); text-decoration: none; cursor: pointer;" rel="nofollow" target="_blank" href="http://www.mozilla.com/firefox/">
<img alt="" src="http://img203.imageshack.us/img203/6014/1287firefox35.png" onload="NcodeImageResizer.createOn(this);" border="0"></a><a title="http://get.adobe.com/reader/" style="color: rgb(54, 39, 3); text-decoration: none; cursor: pointer;" rel="nofollow" target="_blank" href="get.adobe.com/reader/"><img alt="" src="http://img203.imageshack.us/img203/2990/1045adobereader2.gif" onload="NcodeImageResizer.createOn(this);" border="0"></a>
<a title="http://get.adobe.com/flashplayer/" style="color: rgb(212, 255, 127); text-decoration: none; cursor: pointer;" rel="nofollow" target="_blank" href="get.adobe.com/flashplayer/">
<img alt="" src="http://img203.imageshack.us/img203/5864/1021flashplayer2.gif" onload="NcodeImageResizer.createOn(this);" border="0"></a></font></p>
<p align="center"><font face="Arial">
<a title="http://notepad-plus.sourceforge.net/uk/site.htm" style="color: rgb(54, 39, 3); text-decoration: none; cursor: pointer;" rel="nofollow" target="_blank" href="http://notepad-plus.sourceforge.net/uk/site.htm">
<img alt="" src="http://img203.imageshack.us/img203/5893/767notepad2.gif" onload="NcodeImageResizer.createOn(this);" border="0"></a><a title="http://www.java.com/en/download/" style="color: rgb(127, 212, 255); text-decoration: none; cursor: pointer;" rel="nofollow" target="_blank" href="http://www.java.com/en/download/"><img alt="" src="http://img203.imageshack.us/img203/5272/62java.png" onload="NcodeImageResizer.createOn(this);" border="0"></a>
<a title="http://office.microsoft.com/en-us/downloads/CD010224941033.aspx" style="color: rgb(255, 127, 169); text-decoration: none; cursor: pointer;" rel="nofollow" target="_blank" href="office.microsoft.com/en-us/downloads/FCD010224941033.aspx">
<img alt="" src="http://img210.imageshack.us/img210/7540/logooffice.gif" onload="NcodeImageResizer.createOn(this);" border="0"></a></font></p>
<p align="center"> </tr>
</table>
<div align="center">
<table class="tborder" border="0" width="100%">
<td class="tcat">
<center>إعلانــــــــــــــــــــات</td>
</tr>
<tr>
<td class="alt1">
<a title=":: الاتصال بنا ::" target="_blank" href="http://sat-tutorial.cz.cc/index.php?page=send&sendmessage=1">
<img border="0" src="/images/ex.gif" width="160" height="60"></a></td>
</tr>
<tr>
<td class="alt2">
<a title=":: الاتصال بنا ::" target="_blank" href="http://sat-tutorial.cz.cc/index.php?page=send&sendmessage=1">
<img border="0" src="/images/ex.gif" width="160" height="60"></a></td>
</td>
</tr>
<tr>
<td class="alt1">
<a title=":: الاتصال بنا ::" target="_blank" href="http://sat-tutorial.cz.cc/index.php?page=send&sendmessage=1">
<img border="0" src="/images/ex.gif" width="160" height="60"></a></td>
</tr>
</table>
</div>
<div align="center">
<table border="0" width="100%" class="tborder" height="316">
<tr>
<td class="tcat">
<center>أخر 5 مشاركات</td>
</tr>
<tr>
<td class="alt2">
<p align="center">
<div style="width:160px;border:1px solid #cdcdcd;padding:3px; height:283px">
<?php
$query = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['subject'] . " ORDER by id DESC LIMIT 5");
while($pbb = mysql_fetch_assoc($query)){
echo '<a
target="_blank" href="index.php?page=topic&show=1&id='.$pbb[id].'"> <br /><br />'.$pbb[title].'</a>
'; }
unset($query);
$query = @mysql_free_result($query);
?>
</div> </td>
</tr>
</table>
</div>
</td>
</div>
</td>
<td width="10px"></td>
<td dir="rtl">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<!-- / نهاية الكود-->
تم نحفظ القالب
و مبروك عليك القطع الجانبية بالمنتدى
ملاحظة : يمكنك التعديل على الكود بكل سهولة بواسطة برنامج frontPage أو أي برنامج مشابه أخر