أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

تأطير الاهداءات + آخر المواضيع


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif تأطير الاهداءات + آخر المواضيع
  06-08-2011 09:11 مساءً  
isma3eliano
معلومات الكاتب
حدود أم تأطير لو حدود مثل ما هو موضح
في في الجدول الخاص بكل قالب وضع هذا الكود
سيكون هناك كود يبدأ بهذا - مكان النقاط يوجد كلام- في أول القوالب
تضيفي فيه
CODE
border="1" 

أو 1 بأي رقم آخر حسب الرغبه
لو كان تأطير


الإهدائات قالب chat.tpl
CODE


<div align="center">
<!--بداية التأطير-->
    <table border="0" cellspacing="1" class="border" width="98%">
    <tr>
	   <td width="95%" class="tbar" align="center" colspan="1">
{$lang[&#39;chat_message&#39;]}
	   </td>
    </tr>
    <tr>
	   <td width="98%" class="row2" align="right">
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="{$_CONF[&#39;info_row&#39;][&#39;chat_bar_dir&#39;]}">
{Des::while}{Messages}
<b dir="{$_CONF[&#39;info_row&#39;][&#39;content_dir&#39;]}">(<a href="index.php?page=profile&amp;show=1&amp;id={$Messages[&#39;user_id&#39;]}">
<?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF[&#39;template&#39;][&#39;while&#39;][&#39;Messages&#39;][$this->x_loop][&#39;username&#39;]);?>
</a>
  {if {$_CONF[&#39;info_row&#39;][&#39;chat_hide_country&#39;]} == 1}
<?php $PowerBB->_CONF[&#39;template&#39;][&#39;while&#39;][&#39;Messages&#39;][$this->x_loop][&#39;country&#39;] = $PowerBB->Powerparse->feltr_words($PowerBB->_CONF[&#39;template&#39;][&#39;while&#39;][&#39;Messages&#39;][$this->x_loop][&#39;country&#39;]); ?>
<?php $PowerBB->_CONF[&#39;template&#39;][&#39;while&#39;][&#39;Messages&#39;][$this->x_loop][&#39;message&#39;] = $PowerBB->Powerparse->feltr_words($PowerBB->_CONF[&#39;template&#39;][&#39;while&#39;][&#39;Messages&#39;][$this->x_loop][&#39;message&#39;]); ?>

<font color="#FF0000">{$lang[&#39;from_country&#39;]}
 {$Messages[&#39;country&#39;]} </font>
{else}
:
{/if}
 {$Messages[&#39;message&#39;]} )</b>
<font color="#000080"> &nbsp; <img border="0"  alt="" src="{$image_path}/icmov.gif" width="20" height="18" />  &nbsp;</font>
{/Des::while}
</marquee>

<input name="add_chat_message" type="button" value="{$lang[&#39;add_chat_message1&#39;]}" onclick="window.open(&#39;index.php?page=chat_message&amp;chat=1&#39;,&#39;mywindow&#39;,&#39;width=500,height=350&#39;)" />
	   </td>
    </tr>
</table>
<!--نهاية التأطير-->
</div>



آخر المواضيع

قالب lasts_posts_bar.tpl


CODE


<div align="center">

<!--بداية التأطير-->
    <table border="0" cellspacing="1" class="border" width="98%">
    <tr>
	   <td width="95%" class="tbar" align="center" colspan="1">
{$lang[&#39;latest_posts&#39;]}
	   </td>
    </tr>
    <tr>
	   <td width="98%" class="row2" align="right">

<marquee direction="{$_CONF[&#39;info_row&#39;][&#39;lasts_posts_bar_dir&#39;]}" dir="{$_CONF[&#39;info_row&#39;][&#39;content_dir&#39;]}" onmouseover=this.stop() onmouseout=this.start()>
{Des::while}{LastsPosts}
 <a target="_blank" title="{$lang[&#39;LastsPostsWriter&#39;]}
 {$LastsPosts[&#39;writer&#39;]}
 {$lang[&#39;LastsPostsDate&#39;]}
 {$LastsPosts[&#39;reply_date&#39;]}
   {if {$LastsPosts[&#39;last_replier&#39;]}}
 {$lang[&#39;LastsPostsReplyWriter&#39;]}
{$LastsPosts[&#39;last_replier&#39;]}
   {else}
 {$lang[&#39;LastsPostsReplyWriter&#39;]}
{$LastsPosts[&#39;writer&#39;]}
   {/if}
 {$lang[&#39;LastsPostsReply_number&#39;]}
 {$LastsPosts[&#39;reply_number&#39;]}
   {$lang[&#39;LastsPostsvisitor&#39;]}
   {$LastsPosts[&#39;visitor&#39;]} " href="
   {if {$_CONF[&#39;info_row&#39;][&#39;rewriterule&#39;]} == &#39;1&#39;}
   t{$LastsPosts[&#39;id&#39;]}.html">
   {else}
   index.php?page=topic&amp;show=1&amp;id={$LastsPosts[&#39;id&#39;]}">
   {/if}
<?php $PowerBB->_CONF[&#39;template&#39;][&#39;while&#39;][&#39;LastsPosts&#39;][$this->x_loop][&#39;title&#39;] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF[&#39;template&#39;][&#39;while&#39;][&#39;LastsPosts&#39;][$this->x_loop][&#39;title&#39;]); ?>
   {$LastsPosts[&#39;title&#39;]}
   </a>
	<font color="#FF0000">..:||:..</font>
{/Des::while}
</marquee>
	   </td>
    </tr>
</table>

<!--نهاية التأطير-->
</div>



الساعة الآن 03:43 AM