حدود أم تأطير لو حدود مثل ما هو موضح
في في الجدول الخاص بكل قالب وضع هذا الكود
سيكون هناك كود يبدأ بهذا - مكان النقاط يوجد كلام- في أول القوالب
تضيفي فيه
CODE
border="1"
أو 1 بأي رقم آخر حسب الرغبه
لو كان تأطير
الإهدائات قالب chat.tpl
CODE
<br />
<div align="center">
<!--بداية التأطير-->
<table border="0" cellspacing="1" class="border" width="98%">
<tr>
<td width="95%" class="tbar" align="center" colspan="1">
{$lang['chat_message']}
</td>
</tr>
<tr>
<td width="98%" class="row2" align="right">
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="{$_CONF['info_row']['chat_bar_dir']}">
{Des::while}{Messages}
<b dir="{$_CONF['info_row']['content_dir']}">(<a href="index.php?page=profile&show=1&id={$Messages['user_id']}">
<?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['Messages'][$this->x_loop]['username']);?>
</a>
{if {$_CONF['info_row']['chat_hide_country']} == 1}
<?php $PowerBB->_CONF['template']['while']['Messages'][$this->x_loop]['country'] = $PowerBB->Powerparse->feltr_words($PowerBB->_CONF['template']['while']['Messages'][$this->x_loop]['country']); ?>
<?php $PowerBB->_CONF['template']['while']['Messages'][$this->x_loop]['message'] = $PowerBB->Powerparse->feltr_words($PowerBB->_CONF['template']['while']['Messages'][$this->x_loop]['message']); ?>
<font color="#FF0000">{$lang['from_country']}
{$Messages['country']} </font>
{else}
:
{/if}
{$Messages['message']} )</b>
<font color="#000080"> <img border="0" alt="" src="{$image_path}/icmov.gif" width="20" height="18" /> </font>
{/Des::while}
</marquee>
<br />
<input name="add_chat_message" type="button" value="{$lang['add_chat_message1']}" onclick="window.open('index.php?page=chat_message&chat=1','mywindow','width=500,height=350')" />
</td>
</tr>
</table>
<!--نهاية التأطير-->
</div>
آخر المواضيع
قالب lasts_posts_bar.tpl
CODE
<br />
<div align="center">
<!--بداية التأطير-->
<table border="0" cellspacing="1" class="border" width="98%">
<tr>
<td width="95%" class="tbar" align="center" colspan="1">
{$lang['latest_posts']}
</td>
</tr>
<tr>
<td width="98%" class="row2" align="right">
<marquee direction="{$_CONF['info_row']['lasts_posts_bar_dir']}" dir="{$_CONF['info_row']['content_dir']}" onmouseover=this.stop() onmouseout=this.start()>
{Des::while}{LastsPosts}
<a target="_blank" title="{$lang['LastsPostsWriter']}
{$LastsPosts['writer']}
{$lang['LastsPostsDate']}
{$LastsPosts['reply_date']}
{if {$LastsPosts['last_replier']}}
{$lang['LastsPostsReplyWriter']}
{$LastsPosts['last_replier']}
{else}
{$lang['LastsPostsReplyWriter']}
{$LastsPosts['writer']}
{/if}
{$lang['LastsPostsReply_number']}
{$LastsPosts['reply_number']}
{$lang['LastsPostsvisitor']}
{$LastsPosts['visitor']} " href="
{if {$_CONF['info_row']['rewriterule']} == '1'}
t{$LastsPosts['id']}.html">
{else}
index.php?page=topic&show=1&id={$LastsPosts['id']}">
{/if}
<?php $PowerBB->_CONF['template']['while']['LastsPosts'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastsPosts'][$this->x_loop]['title']); ?>
{$LastsPosts['title']}
</a>
<font color="#FF0000">..:||:..</font>
{/Des::while}
</marquee>
</td>
</tr>
</table>
<!--نهاية التأطير-->
</div>