CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$_CONF['info_row']['content_dir']}" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-**="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-**="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<meta name="keywords" content="{$Info['title']}" />
<?php
$subject_title = $PowerBB->_CONF['template']['Info']['title'];
$subject_title = str_replace(' ', '_', $subject_title);
$subject_title = str_replace("/", "", $subject_title);
$subject_title = str_replace("'", "", $subject_title);
$subject_title = str_replace('"', "", $subject_title);
$subject_title = str_replace("*", "", $subject_title);
$subject_title = str_replace("%", "", $subject_title);
$subject_title = str_replace(">", "", $subject_title);
$subject_title = str_replace("<", "", $subject_title);
$subject_title = str_replace(":", "", $subject_title);
$subject_title = str_replace("|", "", $subject_title);
$subject_title = str_replace(".", "", $subject_title);
$subject_title = str_replace("\\_", "", $subject_title);
$subject_title = str_replace("__", "", $subject_title);
$subject_title = str_replace("quot;", "", $subject_title);
$subject_title = str_replace(";#39;", "", $subject_title);
$subject_title = stripslashes($subject_title);
$num = '100';
$text = $PowerBB->_CONF['template']['Info']['text'];
$text = $PowerBB->functions->words_count_replace_strip_tags_html2bb($text,$num);
?>
<meta name="description" content=" <?php echo $text?>" />
<link rel="shortcut icon" href="favicon.ico" />
<meta name="generator" content="PBBoard" />
<style type="text/css">
.smallfont
{
font-size: 14px;
}
.tborder
{
border: 1px solid #808080;
}
.thead
{
background-color: #EEEEEE;
}
.page
{
background-color: #FFFFFF;
color: #000000;
}
</style>
<title>{$_CONF['info_row']['title']} - {$Info['title']} -
{$lang['Print_topic']}
</title>
</head>
<body>
<div align="center">
<table border="0" cellspacing="1" width="80%">
<tr>
<td class="right" width="78%">
{$_CONF['info_row']['title']}
{$lang['copy_Print_topic']}
<?php echo $PowerBB->functions->GetForumAdress();?>index.php?page=topic&show=1&id={$Info['subject_id']}-<?php echo $subject_title;?>
<a title="{$lang['Watch_subject']}"
href="index.php?page=topic&show=1&id={$Info['subject_id']}-<?php echo $subject_title;?>">
{$lang['Watch_the_original_subject']}
</a>
</td>
<td width="2%" align="left">
<script type="text/javascript">
//<![CDATA[
if (window.print) {
document.write('<form> '
+ '<input type=button name=print value="{$lang['Print']}" '
+ 'onClick="javascript:window.print()"></form>');
}
//]]>
</script>
</td>
</tr>
</table>
</div>
<div align="center">
{$Info['title']}
<table class="tborder" cellpadding="8" cellspacing="1" border="0" width="80%">
<tr>
<td class="page">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="bottom">
<td style="font-size: 14pt;">{$Info['writer']}</td>
<td class="smallfont" align="left">{$Info['native_write_time']}</td>
</tr>
</table>
<hr></hr>
{$Info['text']}
</td>
</tr>
</table>
{$_CONF['info_row']['title']}
</div>
وهذا قالب اخر مواضيع العضو الموجودة على جهة اليمين في الموضوع last_subject_writer
CODE
{if {$_CONF['info_row']['show_list_last_5_posts_member']} == 1}
<div align="center">
<table width="90%" border="0" cellspacing="1">
<tr>
<td width="90%" align="center" class="tbar smallfont">
{$lang['Member_Topics']}
{$Info['username']}
</td>
</tr>
{if {$LastSubjectWriter_nm} == 0}
<tr>
<td width="100%" align="center" class="tbar_writer_info">
{$lang['no_subject']}
</td>
</tr>
{else}
<tr>
<td width="90%" align="right" class="tbar_writer_info">
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=0 direction=up height=70>
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
{Des::while}{Writer_subjectList}
<tr>
<td width="15"><img src="{$image_path}/post.gif" border="0" title="{$Writer_subjectList['title']}"> </td>
<td class="smallfont">
<?php
$subject_title = $PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title']);
$subject_title = str_replace(' ', '_', $subject_title);
$subject_title = str_replace("/", "", $subject_title);
$subject_title = str_replace("'", "", $subject_title);
$subject_title = str_replace('"', "", $subject_title);
$subject_title = str_replace("*", "", $subject_title);
$subject_title = str_replace("%", "", $subject_title);
$subject_title = str_replace(">", "", $subject_title);
$subject_title = str_replace("<", "", $subject_title);
$subject_title = str_replace(":", "", $subject_title);
$subject_title = str_replace("|", "", $subject_title);
$subject_title = str_replace(".", "", $subject_title);
$subject_title = str_replace("\\_", "", $subject_title);
$subject_title = str_replace("__", "", $subject_title);
$subject_title = str_replace("quot;", "", $subject_title);
$subject_title = str_replace(";#39;", "", $subject_title);
$subject_title = stripslashes($subject_title);
?>
<a target="_blank" href="index.php?page=topic&show=1&id={$Writer_subjectList['id']}-<?php echo $subject_title;?>">
<?php $PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title']); ?>
<?php
$num ='25';
$start ='0';
$text = $PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title'];
echo $text = @preg_replace('#^(?:[\\x00-\\x7F]|[\\xC0-\\xFF][\\x80-\\xBF]+){0,'. $start .'}'.'((?:[\\x00-\\x7F]|[\\xC0-\\xFF][\\x80-\\xBF]+){0,'. $num .'}).*#s','$1', $text);
if (strlen($PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title']) > $num ) {
echo " ...";
}
?>
</a>
</td>
</tr>
{/Des::while}
</table>
</MARQUEE>
</td>
</tr>
{/if}
</table>
</div>
{/if}