<?xml version="1.0" encoding="UTF-8"?>
<plugin name="pbb_templates">
<context_address_bar_part1><![CDATA[<!-- action_find_addons_1 -->
<table border="0" width="98%" cellspacing="1" align="center" class="border">
<tr>
<td class="row2" align="right" width="70%">
<div class="smallfont">
<img border="0" alt="" src="{$image_path}/address_bar_start.gif" />
<a href="index.php">{$_CONF['info_row']['title']}</a> {$_CONF['info_row']['adress_bar_separate']}]]></context_address_bar_part1>
<context_address_bar_part2><![CDATA[ </div>
</td>
<!-- action_find_addons_1 -->
</tr>
<!-- action_find_addons_3 -->
</table>
<br />
<!-- action_find_addons_4 -->]]></context_address_bar_part2>
<context_add_attach_pm><![CDATA[<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta name="generator" content="PowerBB" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<title>{$lang['manage_attachments']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
</head>
<body>
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=pm_send&add_start_pm=1">
<table border="0" cellspacing="1" width="100%" class="border" align="center" id="add_attach_table">
<tr align="center">
<td class="tcat" colspan="2">
{$lang['attachments']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
{$lang['ex_list']}
{Des::while}{ExList}
{$ExList['Ex']}
{/Des::while}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space">
{$lang['review_file']}
</td>
<td class="row1 rows_space">
<input name="files" type="file" size="40" />
</td>
</tr>
<tr align="center" class="more_attach_tr">
<td class="row1 rows_space" colspan="2">
<input name="insert" type="submit" value="{$lang['upload']}" />
</td>
</tr>
{Des::while}{PmAttachList}
<tr align="center">
<td class="row2" colspan="2">
<table border="0" cellspacing="1" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr align="center">
<td class="row2" width="50%">
<a target="_blank" href="index.php?page=download&attach=1&id={$PmAttachList['id']}">
{$PmAttachList['filename']}</a>
</td>
<td class="row2" width="50%">
<a href="index.php?page=pm_send&delete_attach_pm=1&id={$PmAttachList['id']}">
{$lang['remove']}</a>
</td>
</tr>
</table>
</td>
</tr>
{/Des::while}
</table>
</form>
</body>
</html>]]></context_add_attach_pm>
<context_add_attach_reply><![CDATA[<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta name="generator" content="PowerBB" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<title>{$lang['manage_attachments']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
<script type="text/javascript" src="includes/js/jquery.js"></script>
</head>
<body>
<script type='text/javascript'>
function AddMoreAttach(x)
{
x += 1;
var up_max = {$_CONF['group_info']['upload_attach_num']};
if (x <= up_max)
{
$(".more_attach_tr").hide();
$("#add_attach_table").append('<tr align="center"><td class="row1 rows_space"><fieldset><legend>{$lang['review_file']}</legend><span class="r-right"><input name="files[]" type="file" id="attach' + x + '" size="50" /></span><span class="l-left"></span></fieldset></td></tr>');
$("#add_attach_table").append('<tr align="center" class="more_attach_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" /></td></tr>');
$("#files" + x).focus();
$(".more_attach_class").click(function() { AddMoreAttach(x) });
if (x == up_max)
{
$(".more_attach_tr").hide();
}
}
}
function Ready()
{
$("#attach_table").hide();
$(".more_attach_class").click(function() { AddMoreAttach(1) });
}
$(document).ready(Ready);
</script>
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=attachments&add_start_reply=1&subject_id={$subject_id}">
<table border="0" cellspacing="1" width="100%" class="border" align="center" id="add_attach_table">
<tr align="center">
<td class="tcat" colspan="2">
{$lang['attachments']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<br />
{$lang['ex_list']}
{Des::while}{ExList}
{$ExList['Ex']}
{/Des::while}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<strong>{$lang['upload_attachments_nm']}
{$_CONF['group_info']['upload_attach_num']}</strong>
</td>
</tr>
<div id="attach_table">
<tr align="center">
<td class="row1 rows_space">
<fieldset>
<legend>{$lang['review_file']}</legend>
<span class="r-right">
<input name="files[]" type="file" value="" size="50" />
</span>
<span class="l-left">
</span>
</fieldset>
</td>
</tr>
</div>
<tr align="center" class="more_attach_tr">
<td class="row1 rows_space" colspan="2">
<input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" />
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr align="center">
<td class="row1 rows_space" colspan="2">
<input name="insert" type="submit" value="{$lang['upload']}" />
</td>
</tr>
{Des::while}{SubjectAttachList}
<tr align="center">
<td class="row2" width="50%">
<a target="_blank" href="index.php?page=download&attach=1&id={$SubjectAttachList['id']}">
{$SubjectAttachList['filename']}</a>
</td>
<td class="row2" width="50%">
<a href="index.php?page=attachments&delete_attach_new_reply=1&id={$SubjectAttachList['id']}&subject_id={$subject_id}">
{$lang['remove']}</a>
</td>
</tr>
{/Des::while}
</table>
</form>
</body>
</html>]]></context_add_attach_reply>
<context_add_attach_subject><![CDATA[<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta name="generator" content="PowerBB" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<title>{$lang['manage_attachments']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
<script type="text/javascript" src="includes/js/jquery.js"></script>
</head>
<body>
<script type='text/javascript'>
function AddMoreAttach(x)
{
x += 1;
var up_max = {$_CONF['group_info']['upload_attach_num']};
if (x <= up_max)
{
$(".more_attach_tr").hide();
$("#add_attach_table").append('<tr align="center"><td class="row1 rows_space"><fieldset><legend>{$lang['review_file']}</legend><span class="r-right"><input name="files[]" type="file" id="attach' + x + '" size="50" /></span><span class="l-left"></span></fieldset></td></tr>');
$("#add_attach_table").append('<tr align="center" class="more_attach_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" /></td></tr>');
$("#files" + x).focus();
$(".more_attach_class").click(function() { AddMoreAttach(x) });
if (x == up_max)
{
$(".more_attach_tr").hide();
}
}
}
function Ready()
{
$("#attach_table").hide();
$(".more_attach_class").click(function() { AddMoreAttach(1) });
}
$(document).ready(Ready);
</script>
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=attachments&add_start=1&nocheck=1&section={$section}">
<table border="0" cellspacing="1" width="100%" class="border" align="center" id="add_attach_table">
<tr align="center">
<td class="tcat" colspan="2">
{$lang['attachments']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<br />
{$lang['ex_list']}
{Des::while}{ExList}
{$ExList['Ex']}
{/Des::while}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<strong>{$lang['upload_attachments_nm']}
{$_CONF['group_info']['upload_attach_num']}</strong>
</td>
</tr>
<div id="attach_table">
<tr align="center">
<td class="row1 rows_space">
<fieldset>
<legend>{$lang['review_file']}</legend>
<span class="r-right">
<input name="files[]" type="file" value="" size="50" />
</span>
<span class="l-left">
</span>
</fieldset>
</td>
</tr>
</div>
<tr align="center" class="more_attach_tr">
<td class="row1 rows_space" colspan="2">
<input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" />
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr align="center">
<td class="row1 rows_space" colspan="2">
<input name="insert" type="submit" value="{$lang['upload']}" />
</td>
</tr>
{Des::while}{SubjectAttachList}
<tr align="center">
<td class="row2" width="50%">
<a target="_blank" href="index.php?page=download&attach=1&id={$SubjectAttachList['id']}">
{$SubjectAttachList['filename']}</a>
</td>
<td class="row2" width="50%">
<a href="index.php?page=attachments&delete_attach_new_subject=1&id={$SubjectAttachList['id']}&nocheck=1&subject_id={$SubjectAttachList['subject_id']}">
{$lang['remove']}</a>
</td>
</tr>
{/Des::while}
</table>
</form>
</body>
</html>]]></context_add_attach_subject>
<context_add_attach_table><![CDATA[<br />
<table border="0" cellspacing="1" width="50%" class="border" align="center" id="add_attach_table">
<tr align="center">
<td class="tbar" colspan="2">
{$lang['attachments']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<br />
{$lang['ex_list']}
{Des::while}{ExList}
{$ExList['Ex']}
{/Des::while}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space">
{$lang['file']} #1
</td>
<td class="row1 rows_space">
<input name="files[]" type="file" value="" size="40" />
</td>
</tr>
{if {$_CONF['group_info']['upload_attach_num']} != 1}
<tr align="center" class="more_attach_tr">
<td class="row1 rows_space" colspan="2">
<input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" />
</td>
</tr>
{/if}
</table>
]]></context_add_attach_table>
<context_add_chat_message><![CDATA[<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta name="generator" content="PowerBB" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<title>{$lang['add_chat_message']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
<script>
//<!--
function storeCaret(text){
if (typeof(text.createTextRange) != "undefined")
text.caretPos = document.selection.createRange().duplicate();
}
function AddSmileyIcon(text){
textarea=document.forms.chat.text;
//textarea.dir="ltr";
if (typeof(textarea.caretPos) != "undefined" && textarea.createTextRange){
var caretPos = textarea.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
caretPos.select();
}
else if (typeof(textarea.selectionStart) != "undefined")
{
var begin = textarea.value.substr(0, textarea.selectionStart);
var end = textarea.value.substr(textarea.selectionEnd);
var scrollPos = textarea.scrollTop;
textarea.value = begin + text + end;
if (textarea.setSelectionRange){
textarea.focus();
textarea.setSelectionRange(begin.length + text.length, begin.length + text.length);
}
textarea.scrollTop = scrollPos;
}
else{
textarea.value += text;
textarea.focus(textarea.value.length - 1);}}
//-->
</script>
</head>
<body>
<form method="post" action="index.php?page=chat_message&start=1" name="chat">
<div align="center">
<table border="0" cellspacing="1" width="98%" class="border">
{if {$_CONF['member_permission']}}
{if {$num_mem_posts}}
<tr>
<td class="tbar_writer_info" colspan="2" align="center">
{$lang['chat_num_mem_posts']}
</td>
</tr>
{else}
<tr>
<td class="tbar" colspan="2" align="center">{$lang['add_chat_message']}</td>
</tr>
{if {$_CONF['info_row']['chat_hide_country']} == 1}
<tr>
<td class="tbar_writer_info" align="center">{$lang['chat_country']}</td>
<td class="tbar_writer_info" align="center">
<input name="country" type="text" /></td>
</tr>
{/if}
<tr>
<td class="tbar_writer_info" colspan="2" align="center">
{$lang['chat_num_characters']}<br />
<textarea name="text" id="box_text" style="display:block;width:300px; height:100px;" class="inputbox" tabindex="3" rows="7" cols="20" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this)"></textarea>
</td>
</tr>
<tr>
<td class="tbar_writer_info" colspan="2" align="center">
{Des::while}{SmileRows}
<img src="{$SmileRows['smile_path']}" OnClick="AddSmileyIcon(' {$SmileRows['smile_short']} ');" alt="{$SmileRows['smile_path']}" border="0" cellspacing="1" />
{/Des::while}
</td>
</tr>
<tr>
<td class="tbar_writer_info" colspan="2" align="center">
<input name="insert" type="submit" value="{$lang['insert_chat_message']}" />
</td>
</tr>
{/if}
{else}
<tr>
<td class="tbar_writer_info" colspan="2" align="center">
<b>(اÙÙ
عذر٠.. ØºÙØ± Ù
سÙ
ÙØ ÙÙØ²Ùار Ø¨Ø¥Ø¶Ø§ÙØ© Ø§ÙØ¥Ùداءات, Ø§ÙØ±Ø¬Ø§Ø¡ <a target="_blank" href="index.php?page=register&index=1">Ø§ÙØªØ³Ø¬ÙÙ</a> Ù٠اÙÙ
ÙØªØ¯Ù)</b>
</td>
</tr>
{/if}
</table>
</div>
</form>
<br />
<div class="copyright">
{$lang['copyright_chat']}
</div>
</body>
</html>]]></context_add_chat_message>
<context_add_edit_attach_reply><![CDATA[<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta name="generator" content="PowerBB" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<title>{$lang['manage_attachments']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
<script type="text/javascript" src="includes/js/jquery.js"></script>
</head>
<body>
<script type='text/javascript'>
function AddMoreAttach(x)
{
x += 1;
var up_max = {$_CONF['group_info']['upload_attach_num']};
if (x <= up_max)
{
$(".more_attach_tr").hide();
$("#add_attach_table").append('<tr align="center"><td class="row1 rows_space"><fieldset><legend>{$lang['review_file']}</legend><span class="r-right"><input name="files[]" type="file" id="attach' + x + '" size="50" /></span><span class="l-left"></span></fieldset></td></tr>');
$("#add_attach_table").append('<tr align="center" class="more_attach_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" /></td></tr>');
$("#files" + x).focus();
$(".more_attach_class").click(function() { AddMoreAttach(x) });
if (x == up_max)
{
$(".more_attach_tr").hide();
}
}
}
function Ready()
{
$("#attach_table").hide();
$(".more_attach_class").click(function() { AddMoreAttach(1) });
}
$(document).ready(Ready);
</script>
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=attachments&start=1&subject_id={$ReplyInfo['subject_id']}&reply_id={$ReplyInfo['id']}">
<table border="0" cellspacing="1" width="100%" class="border" align="center" id="add_attach_table">
<tr align="center">
<td class="tcat" colspan="2">
{$lang['attachments']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<br />
{$lang['ex_list']}
{Des::while}{ExList}
{$ExList['Ex']}
{/Des::while}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<strong>{$lang['upload_attachments_nm']}
{$_CONF['group_info']['upload_attach_num']}</strong>
</td>
</tr>
<div id="attach_table">
<tr align="center">
<td class="row1 rows_space">
<fieldset>
<legend>{$lang['review_file']}</legend>
<span class="r-right">
<input name="files[]" type="file" value="" size="50" />
</span>
<span class="l-left">
</span>
</fieldset>
</td>
</tr>
</div>
<tr align="center" class="more_attach_tr">
<td class="row1 rows_space" colspan="2">
<input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" />
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr align="center">
<td class="row1 rows_space" colspan="2">
<input name="insert" type="submit" value="{$lang['upload']}" />
</td>
</tr>
{Des::while}{ReplyAttachList}
<tr align="center">
<td class="row2" width="50%">
<a target="_blank" href="index.php?page=download&attach=1&id={$ReplyAttachList['id']}">
{$ReplyAttachList['filename']}</a>
</td>
<td class="row2" width="50%">
<a href="index.php?page=attachments&delete_attach=1&id={$ReplyAttachList['id']}&subject_id={$ReplyInfo['subject_id']}&reply_id={$ReplyInfo['id']}">
{$lang['remove']}</a>
</td>
</tr>
{/Des::while}
</table>
</form>
</body>
</html>]]></context_add_edit_attach_reply>
<context_add_edit_attach_subject><![CDATA[<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta name="generator" content="PowerBB" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<title>{$lang['manage_attachments']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
<script type="text/javascript" src="includes/js/jquery.js"></script>
</head>
<body>
<script type='text/javascript'>
function AddMoreAttach(x)
{
x += 1;
var up_max = {$_CONF['group_info']['upload_attach_num']};
if (x <= up_max)
{
$(".more_attach_tr").hide();
$("#add_attach_table").append('<tr align="center"><td class="row1 rows_space"><fieldset><legend>{$lang['review_file']}</legend><span class="r-right"><input name="files[]" type="file" id="attach' + x + '" size="50" /></span><span class="l-left"></span></fieldset></td></tr>');
$("#add_attach_table").append('<tr align="center" class="more_attach_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" /></td></tr>');
$("#files" + x).focus();
$(".more_attach_class").click(function() { AddMoreAttach(x) });
if (x == up_max)
{
$(".more_attach_tr").hide();
}
}
}
function Ready()
{
$("#attach_table").hide();
$(".more_attach_class").click(function() { AddMoreAttach(1) });
}
$(document).ready(Ready);
</script>
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=attachments&edit_start=1&&subject_id={$SubjectInfo['id']}">
<table border="0" cellspacing="1" width="100%" class="border" align="center" id="add_attach_table">
<tr align="center">
<td class="tcat" colspan="2">
{$lang['attachments']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<br />
{$lang['ex_list']}
{Des::while}{ExList}
{$ExList['Ex']}
{/Des::while}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<strong>{$lang['upload_attachments_nm']}
{$_CONF['group_info']['upload_attach_num']}</strong>
</td>
</tr>
<div id="attach_table">
<tr align="center">
<td class="row1 rows_space">
<fieldset>
<legend>{$lang['review_file']}</legend>
<span class="r-right">
<input name="files[]" type="file" value="" size="50" />
</span>
<span class="l-left">
</span>
</fieldset>
</td>
</tr>
</div>
<tr align="center" class="more_attach_tr">
<td class="row1 rows_space" colspan="2">
<input type="button" name="more_attach" class="more_attach_class" value="{$lang['more_attach_file']}" />
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr align="center">
<td class="row1 rows_space" colspan="2">
<input name="insert" type="submit" value="{$lang['upload']}" />
</td>
</tr>
{Des::while}{SubjectAttachList}
<tr align="center">
<td class="row2" width="50%">
<a target="_blank" href="index.php?page=download&attach=1&id={$SubjectAttachList['id']}">
{$SubjectAttachList['filename']}</a>
</td>
<td class="row2" width="50%">
<a href="index.php?page=attachments&delete_attach_subject=1&id={$SubjectAttachList['id']}&subject_id={$SubjectAttachList['subject_id']}">
{$lang['remove']}</a>
</td>
</tr>
{/Des::while}
</table>
</form>
</body>
</html>]]></context_add_edit_attach_subject>
<context_add_poll_table><![CDATA[<br />
<table border="0" cellspacing="1" width="70%" class="border" align="center" id="poll_question_answers">
<tr align="center">
<td class="tbar" colspan="2">
{$lang['add_polls']}
</td>
</tr>
<tr align="center">
<td class="row1">
{$lang['answer']}
</td>
<td class="row1">
<input name="question" type="text" size="40" value="{$question}" />
</td>
</tr>
<tr align="center">
<td class="row1">
{$lang['answer1']}
</td>
<td class="row1">
<input name="answer[]" type="text" />
</td>
</tr>
<tr align="center">
<td class="row1">
{$lang['answer2']}
</td>
<td class="row1">
<input name="answer[]" type="text" />
</td>
</tr>
<tr align="center" class="more_tr">
<td class="row1" colspan="2">
<input type="button" name="more_answers" class="more_answers_class" value="{$lang['more_answers']}" />
</td>
</tr>
</table>
]]></context_add_poll_table>
<context_add_reply_link><![CDATA[{if {$SectionGroup['write_reply']} == '1'}
<ul class="pbbList_inline">
<li class="r-right">
<a href="index.php?page=new_reply&index=1&count={$count}&id={$subject_id}{$password}" id="buttons_link"
title="{$lang['add_new_reply']}">
{$lang['add_new_reply']}
</a>
</li>
</ul>
{else}
<ul class="pbbList_inline">
<li class="r-right">
<div class="buttons_no_link">
{$lang['you_cannot_reply_to_this_topic']}
</div>
</li>
</ul>
{/if}]]></context_add_reply_link>
<context_add_subject_link><![CDATA[{if {$SectionGroup['write_subject']} == '1'}
<ul class="pbbList_inline">
<li class="r-right">
<a href="index.php?page=new_topic&index=1&id={$section_id}{$password}" id="buttons_link"
title="{$lang['add_new_topic']}">
{$lang['add_new_topic']}
</a>
</li>
</ul>
{else}
<ul class="pbbList_inline">
<li class="r-right">
<div class="buttons_no_link">
{$lang['you_cannot_start_a_new_topic']}
</div>
</li>
</ul>
{/if}]]></context_add_subject_link>
<context_add_tags_table><![CDATA[<br />
<div align="center">
<table border="0" cellspacing="1" width="70%" class="border" align="center" id="add_tags_table">
<tr align="center">
<td class="tbar" colspan="2">
{$lang['tags']}
</td>
</tr>
<tr align="center">
<td class="row1">
{$lang['tag1']}
</td>
<td class="row1">
<input name="tags[]" type="text" value="" size="40" />
</td>
</tr>
<tr align="center" class="more_tag_tr">
<td class="row1 rows_space" colspan="2">
<input type="button" name="more_tags" class="more_tags_class" value="{$lang['add_more_tag']}" />
</td>
</tr>
</table></div>
]]></context_add_tags_table>
<context_add_this><![CDATA[<!-- AddThis Button BEGIN -->
{if {$_CONF['info_row']['active_add_this']} == '1'}
<script type="text/javascript">var addthis_config = {ui_language: "{$_CONF['info_row']['content_language']}"}</script>
<div class="addthis_toolbox addthis_default_style" align="left">
{if {$_CONF['info_row']['content_language']} != 'ar'}
<a href="http://www.addthis.com/bookmark.php?v=250&username={$_CONF['info_row']['use_list']}" class="addthis_button_compact">
<img src="{$image_path}/lg-share-en.gif" width="125" height="16" border="0" /></a>
{else}
<a href="http://www.addthis.com/bookmark.php?v=250&username={$_CONF['info_row']['use_list']}" class="addthis_button_compact">
<img src="{$image_path}/lg-share-ar.gif" width="125" height="16" border="0" /></a>
{/if}
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_email"></a>
<a class="addthis_button_favorites"></a>
<a class="addthis_button_print"></a>
</div>
<script type="text/javascript" src="includes/js/addthis_widget.js#username={$_CONF['info_row']['use_list']}"></script>
{/if}
<!-- AddThis Button END -->
]]></context_add_this>
<context_ads><![CDATA[{if !{$No_Ads}}
<br />
<div align="center">
<div style="border-style: solid; border-width: 0px; width:55%; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; " >
{Des::while}{AdsList}
<a href="index.php?page=ads&goto=1&id={$AdsList['id']}" target="_blank">
<img src="{$AdsList['picture']}"
{if {$AdsList['width']} == '0'}
{else}
width="{$AdsList['width']}"
{/if}
{if {$AdsList['height']} == '0'}
{else}
height="{$AdsList['height']}"
{/if}
title="{$AdsList['sitename']}" border="0" cellspacing="1" align="center" />
</a>
{/Des::while}
</div>
</div>
<br />
{/if}
]]></context_ads>
<context_adsense_forum><![CDATA[{Des::while}{AdsensesList}
{if {$AdsensesList['forum']} == '1'}
<tr>
<td width="98%" colspan="{$colspan}" class="row1" align="center">
{$AdsensesList['adsense']}
</td>
</tr>
{/if}
{/Des::while}
]]></context_adsense_forum>
<context_adsense_home><![CDATA[{Des::while}{AdsensesList}
{if {$AdsensesList['home']} == '1'}
<div align="center">
{$AdsensesList['adsense']}
<br />
</div>
{/if}
{/Des::while}
]]></context_adsense_home>
<context_adsense_topic><![CDATA[{Des::while}{AdsensesList}
{if {$AdsensesList['topic']} == '1'}
<div align="left">
{$AdsensesList['adsense']}
<br />
</div>
{/if}
{/Des::while}]]></context_adsense_topic>
<context_alerts><![CDATA[ <!-- Code alerts Menu start -->
<div style="display:none;" class="drop_menu" id="alerts">
<div class="tcat">{$lang['alerts']}</div>
<div class="menu_popup">
<a href="index.php?page=pm_list&list=1&folder=inbox">
{if {$pm_num} > 0}
<b>
{$lang['Private_messages_unread']}
</b>
{else}
{$lang['Private_messages_unread']}
{/if}
</a>
:
<a href="index.php?page=pm_list&list=1&folder=inbox">
{if {$pm_num} > 0}
<b>
{$pm_num}
</b>
{else}
{$pm_num}
{/if}
</a></div>
<div class="menu_popup">
<a href="index.php?page=profile&show=1&id={$_CONF['member_row']['id']}">
{if {$visitor_message_Numrs} > 0}
<b>
{$lang['visitor_messages_unread']}
</b>
{else}
{$lang['visitor_messages_unread']}
{/if}
</a>:
<a href="index.php?page=profile&show=1&id={$_CONF['member_row']['id']}">
{if {$visitor_message_Numrs} > 0}
<b>
{$visitor_message_Numrs}
</b>
{else}
{$visitor_message_Numrs}
{/if}
</a>
</div>
<div class="menu_popup">
<a href="index.php?page=usercp&options=1&friends=1&main=1">
{if {$friends_num} > 0}
<b>
{$lang['Friend_requests_awaiting_approval']}
</b>
{else}
{$lang['Friend_requests_awaiting_approval']}
{/if}
</a>:
<a href="index.php?page=usercp&options=1&friends=1&main=1">
{if {$friends_num} > 0}
<b>
{$friends_num}
</b>
{else}
{$friends_num}
{/if}
</a>
</div>
<div class="menu_popup">
<a href="index.php?page=usercp&options=1&reputation=1&main=1">
{if {$ReputationNum} > 0}
<b>
{$lang['reputation_unread']}
</b>
{else}
{$lang['reputation_unread']}
{/if}
</a>:
<a href="index.php?page=usercp&options=1&reputation=1&main=1">
{if {$ReputationNum} > 0}
<b>
{$ReputationNum}
</b>
{else}
0
{/if}
</div>
</div>
<!-- Code alerts Menu End -->]]></context_alerts>
<context_announcement><![CDATA[
{template}address_bar_part1{/template}
{$lang['announcement']}
{$_CONF['info_row']['adress_bar_separate']}
<a href="index.php?page=announcement&show=1&id={$AnnInfo['id']}"> {$AnnInfo['title']}</a>
{template}address_bar_part2{/template}
<br />
<table align="center" border="0" cellspacing="1" class="border" width="95%">
<tr>
<td class="tcat" width="15%">
{$lang['announcement_writer']}
</td>
<td class="tcat">
<div class="r-right"> {$lang['announcement_title']} : <a href="index.php?page=announcement&show=1&id={$AnnInfo['id']}"> {$AnnInfo['title']}</a></div>
<div class="l-left">
{$lang['announcement_date']} :{$AnnInfo['date']}
</div></td>
</tr>
<tr>
<td class="tbar_writer_info" width="15%" valign="top" align="center">
<div class="text">
<a href="index.php?page=profile&show=1&username={$AnnInfo['writer']}">{$AnnInfo['writer']}</a>
</div>
</td>
<td class="tbar_writer_info" width="85%" valign="top" align="right">
<div class="text">{$AnnInfo['text']} </div>
</td>
</tr>
</table>
<br />
<br />
<br />
<br />]]></context_announcement>
<context_archive_footer><![CDATA[<div id="copyright">{$lang['copyright_archive']}</div>
]]></context_archive_footer>
<context_archive_forum><![CDATA[<!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']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<meta name="keywords" content="{$section_info['title']}" />
<meta name="description" content="{$section_info['title']}" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="archive/archive.css" />
<title> {$lang['archive']}
- {$_CONF['info_row']['title']}
- {$section_info['title']}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}
</title>
</head>
<body>
<div class="pagebody">
<div id="navbar">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="archive.html">
{$_CONF['info_row']['title']}</a> {$_CONF['info_row']['adress_bar_separate']}
{else}
<a href="index.php?page=archive">
{$_CONF['info_row']['title']}</a> {$_CONF['info_row']['adress_bar_separate']}
{/if}
{$section_info['title']}
</div>
<br />
<p class="largefont">
{$lang['view_full_version']}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$section_info['id']}.html">
{else}
<a href="index.php?page=forum&show=1&id={$section_info['id']}">
{/if}
{$section_info['title']}</a></p>
<br />
<div id="content">
<br />
{if !{$NO_STICK_SUBJECTS}}
{/if}
{Des::while}{stick_subject_list}
<table border="0" cellspacing="1" cellpadding="0" style="border-collapse: collapse">
<tr>
<td width="40"><font size="2"> </font></td>
<td>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="At{$stick_subject_list['id']}{$password}.html">
{$stick_subject_list['title']}
</a>
{else}
<a href="index.php?page=topic_archive&show=1&id={$stick_subject_list['id']}{$password}">
{$stick_subject_list['title']}
</a>
{/if}
</td>
<td align="right"> <i> {$lang['reply_archive']}(
{$stick_subject_list['reply_number']}
{if {$stick_subject_list['reply_number']} <= 0}
{else}
{/if})</td>
</tr>
</table>
{/Des::while}
{Des::while}{subject_list}
<table border="0" cellspacing="1" cellpadding="0" style="border-collapse: collapse">
<tr>
<td width="40"><font size="2"> </font></td>
<td>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="At{$subject_list['id']}{$password}.html">
{$subject_list['title']}
</a>
{else}
<a href="index.php?page=topic_archive&show=1&id={$subject_list['id']}{$password}">
{$subject_list['title']}
</a>
{/if}
</td>
<td align="right"> <i> {$lang['reply_archive']} (
{$subject_list['reply_number']}
{if {$subject_list['reply_number']} <= 0}
{else}
{/if} )</td>
</tr>
</table>
{/Des::while}
<br />
<br />
<br />
<br />
</div>
</body>]]></context_archive_forum>
<context_archive_main><![CDATA[<!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']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<meta name="keywords" content="{$_CONF['info_row']['keywords']}" />
<meta name="description" content="{$_CONF['info_row']['description']}" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="archive/archive.css" />
<title> {$lang['archive']}
- {$_CONF['info_row']['title']}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}</title>
</head>
<body>
<div class="pagebody">
<div id="navbar">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="archive.html">
{else}
<a href="index.php?page=archive">
{/if}
{$_CONF['info_row']['title']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['archive_t']} </div>
<br />
<p class="largefont"> {$lang['view_full_version']}
<a href="index.php">{$_CONF['info_row']['title']}</a></p>
<br />
<div id="content">
{if {$show_sub_sections}} {/if} {Des::foreach}{forums_list}{forum} {if {$forum['parent']} == 0}
{if {$forum['sort']} != 1} <br />
{/if}
<a style="font-weight: bold;">{$forum['title']}</a><br />
{/if}
{if {$forum['parent']} != 0}
{if {$forum['linksection']} != '1'}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<ul>
<li>
<a href="Af{$forum['id']}.html">
{$forum['title']}</a>
{else}
<ul>
<li>
<a href="index.php?page=forum_archive&show=1&id={$forum['id']}">
{$forum['title']}</a>
{/if}
<br />
{if {$forum['is_sub_archive']}}
<ul>
{$forum['sub_archive']}
</ul>
{/if}
</li>
</ul>
{else}
<ul>
<li>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="Af{$forum['id']}.html">
{$forum['title']}</a>
{else}
<a href="index.php?page=forum_archive&show=1&id={$forum['id']}">
{$forum['title']}</a>
{/if}
<br />
{$forum['describe']}
{$lang['views']}
{$forum['linkvisitor']} {/if} {/if}
{/Des::foreach} </li>
</ul>
<br />
<br />
<br />
</div>
</body>]]></context_archive_main>
<context_archive_reply><![CDATA[<br />
<div class="post">
<div class="posttop">
<div class="username">
<a href="javascript:switchMenuNone('{$Info['reply_id']}replyswitch')">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$Info['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$Info['id']}">
{/if}
{$Info['display_username']}</a>
</div>
<div class="date">
{$Info['write_time']}
</div>
</div>
<div class="posttext">
{$Info['text']}
</div>
</div>
<hr />
]]></context_archive_reply>
<context_archive_reply_guest><![CDATA[<br />
<div class="post"><div class="posttop"><div class="username">{$reply_guest['writer']}</div>
<div class="date">
{$write_time}</div></div><div class="posttext">
{$reply_guest['text']}</div></div><hr />
]]></context_archive_reply_guest>
<context_archive_subject><![CDATA[<!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']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<meta name="keywords" content="{$keywords}" />
<meta name="description" content="" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="archive/archive.css" />
<title>{$lang['archive']}
- {$_CONF['info_row']['title']} - {$section_info['title']} - {$Info['title']}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}</title>
</head>
<body>
<div class="pagebody">
<div id="navbar">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="archive.html">
{else}
<a href="index.php?page=archive">
{/if}
{$_CONF['info_row']['title']}</a> {$_CONF['info_row']['adress_bar_separate']}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="Af{$section_info['id']}{$password}.html">
{else}
<a href="index.php?page=forum_archive&show=1&id={$section_info['id']}{$password}">
{/if}
{$section_info['title']}
</a>
<a href="">{$_CONF['info_row']['adress_bar_separate']} {$Info['title']} </a>
</div>
<br />
<p class="largefont">{$lang['view_full_version']}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$Info['subject_id']}.html">
{else}
<a href="index.php?page=topic&show=1&id={$Info['subject_id']}">
{/if}
{$Info['title']}</a></p>
<br />
<br />
<div class="post"><div class="posttop"><div class="username">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$Info['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$Info['id']}">
{/if}
{$Info['display_username']}</a></div>
<div class="date">
{$Info['native_write_time']}</div></div><div class="posttext">
{$Info['text']}</div></div><hr />
]]></context_archive_subject>
<context_attach_show><![CDATA[<br /><br />
<br /><br />
<div style="clear:both"> </div>
{Des::while}{AttachList}
<?php
if ($PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('jpeg')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('jpg')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('gif')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('png')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('bmp'))
{
?>
<fieldset style="float:right; width:110px;height:110pxpx;text-align:center;border-radius: 5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;-khtml-border-radius: 5px;">
<legend>{$lang['image_attached']}</legend>
<a href="{$AttachList['filepath']}" rel="facebox"><img src="{$AttachList['filepath']}" border="0" alt="" class="UserPhoto" width="90px" height="80px" onload="ResizeAv(this)" /></a>
</fieldset>
<?php } ?>
{/Des::while}
<div style="clear:both"> </div>
<table border="0" cellspacing="1" class="border" width="90%" align="center">
{Des::while}{AttachList}
<?php
if ($PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('jpeg')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('jpg')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('gif')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('png')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('bmp'))
{
// -------- nothing;
}
else
{
?>
<tr align="right">
<td width="50%" class="row1">
{$lang['download_attachments']}
(<a href="index.php?page=download&attach=1&id={$AttachList['id']}">{$AttachList['filename']}</a>)
</td>
<td width="25%" class="row1">
{$lang['downloads']}
({$AttachList['visitor']})
</td>
<td width="25%" class="row1">
{$lang['size']}
(<?php echo $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filesize'] / 1000; ?>)
KB
</td>
</tr>
<?php
}
?>
{/Des::while}
</table>
<br />]]></context_attach_show>
<context_avatar_options_list><![CDATA[ <?php $t=0; ?>
<table border="0" cellspacing="1" width="100%" class="border" align="center">
<tr valign="top">
<td width="80%" class="tcat" colspan="{$_CONF['info_row']['avatar_columns_number']}">
{$lang['add_avatar_to_site']}
</td>
</tr>
<tr align="right">
{Des::while}{AvatarList}
<?php
if($t== $PowerBB->_CONF['template']['_CONF']['info_row']['avatar_columns_number']){
$t=0;
echo "</tr><tr>";
}?>
<td width="5%" class="row1" align="center">
<label for="avatar{$AvatarList['id']}"><img border="0" cellspacing="1" alt="{$lang['personal_photo']} #{$AvatarList['id']}" src="{$AvatarList['avatar_path']}" /></label>
<br />
<input name="avatar_list" type="radio" value="{$AvatarList['avatar_path']}" id="avatar{$AvatarList['id']}" />
</td>
<?php $t=$t+1;?>
{/Des::while}
</tr>
</table>
<br />
<div align="center">
{$pager}
</div>
]]></context_avatar_options_list>
<context_avatar_options_site><![CDATA[ <table align="center" border="0" cellspacing="1" width="80%" class="border" >
<tr align="center">
<td width="80%" class="tcat" colspan="2">
{$lang['photo_to_external_site']}
</td>
</tr>
<tr>
<td width="60%" class="row1">
{$lang['Photo_URL']}
</td>
<td width="40%" class="row1">
<input name="avatar" size="40" value="http://" dir="ltr"/>
</td>
</tr>
<tr align="center">
<td width="80%" class="row1" colspan="2">
{$lang['max_avatar']}
</td>
</tr>
</table>
]]></context_avatar_options_site>
<context_avatar_options_upload><![CDATA[ <table align="center" border="0" cellspacing="1" width="80%" class="border" >
<tr align="center">
<td width="80%" class="tcat" colspan="2">
{$lang['photo_from_your_computer']}
</td>
</tr>
<tr align="center">
<td width="40%" class="row1">
{$lang['select_image']}
</td>
<td width="40%" class="row1">
<input type="file" name="upload" />
</td>
</tr>
<tr align="center">
<td width="80%" class="row1" colspan="2">
{$lang['max_avatar']}
</td>
</tr>
</table>
]]></context_avatar_options_upload>
<context_awards><![CDATA[{if {$Awards_nm} > '0'}
<div align="center">
<table width="90%" border="0" cellspacing="1">
<tr>
<td width="90%" align="center" class="tbar">
{$lang['awards']}:{$Awards_nm}
</td>
</tr>
{Des::while}{AwardsList}
<tr>
<td width="90%" align="center" class="tbar_writer_info">
{$AwardsList['award']}
<br />
<img title="{$AwardsList['award']}" src="{$AwardsList['award_path']}" border="0">
<br />
</td>
</tr>
{/Des::while}
</table>
</div>
{/if}]]></context_awards>
<context_birth_date><![CDATA[<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>{$lang['month']}</td>
<td>{$lang['Day']}</td>
<td>{$lang['year']}</td>
</tr>
<tr>
<td><select name="month" id="bd_month">
<option value="0" selected="selected"></option>
<option value="01">{$lang['January']}</option>
<option value="02">{$lang['February']}</option>
<option value="03">{$lang['March']}</option>
<option value="04">{$lang['April']}</option>
<option value="05">{$lang['May']}</option>
<option value="06">{$lang['June']}</option>
<option value="07">{$lang['July']}</option>
<option value="08">{$lang['August']}</option>
<option value="09">{$lang['September']}</option>
<option value="10">{$lang['October']}</option>
<option value="11">{$lang['November']}</option>
<option value="12">{$lang['December']}</option>
</select> </td>
<td><select name="day" id="bd_day">
<option value="0" selected="selected"></option>
<option value="01">1</option>
<option value="02">2</option>
<option value="03">3</option>
<option value="04">4</option>
<option value="05">5</option>
<option value="06">6</option>
<option value="07">7</option>
<option value="08">8</option>
<option value="09">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select> </td>
<td>
<input name="year" id="bd_year" type="text" size="4" dir="ltr"/>
</td>
</tr>
</table>]]></context_birth_date>
<context_board_close><![CDATA[<title>{$lang['board_close']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
<br />
<br />
<br />
<br />
<div align="center">
<table width="60%" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tcat">
{$lang['reason_close']}
</td>
</tr>
<tr align="right">
<td class="row1" align="right">
{$_CONF['info_row']['reg_close']}</td>
</tr>
</table></div>
<br />
<br />]]></context_board_close>
<context_calendar><![CDATA[<title>{$lang['Calendar']}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}</title>
<table border="0" cellspacing="1" class="border" width='100%' align="center">
<tr>
<td class='tcat'>{$lang['Calendar']}</td>
</tr>
<tr>
<td class='row1'>
<a href='index.php?page=calendar&show=1'>
{$lang['Gregorian_calendar']}</a>
</td>
</tr>
<tr>
<td class='row1'>
<a href='index.php?page=calendar&show=2'>
{$lang['CalendarHijri']}</a>
</td>
</tr>
</table>
]]></context_calendar>
<context_calendar_portal><![CDATA[<table width="100%" class="border" cellpadding="0" style="border-collapse: collapse">
<tr align="center">
<td class="tcat" width="20%">
{$lang['Calendar']}</td>
</tr>
<tr>
<td class="row1">
<font class="smallfont">
<?php
$get_now_date = getdate();
$now_year = $get_now_date[year];
$now_month = $get_now_date[mon];
$now_day = $get_now_date[mday];
$month=$PowerBB->_POST['month'];
$year=$PowerBB->_POST['year'];
define ("ADAY", (60*60*24));
if (!checkdate($month,1,$year)){
$nowArray = getdate();
$month = $nowArray[mon];
$year = $nowArray[year];
}
$start = mktime (0, 0, 0, $month, 1, $year);
$firstDayArray = getdate($start);
?>
<?php
$days = Array($PowerBB->_CONF['template']['lang']['Sun'], $PowerBB->_CONF['template']['lang']['Mon'], $PowerBB->_CONF['template']['lang']['Tue'], $PowerBB->_CONF['template']['lang']['Wed'], $PowerBB->_CONF['template']['lang']['Thu'], $PowerBB->_CONF['template']['lang']['Fri'], $PowerBB->_CONF['template']['lang']['Sat'] );
print "<div align='center' STYLE=\"cursor:hand;cursor:pointer\" ><center>\n<table class=border cellpadding='1' cellspacing='0' width='99%' >
<tr>\n";
foreach ($days as $day) {
print "\t<td class=thead align='center' width='40'>$day</td>\n";
}
for ($count=0; $count < (6*7); $count++){
$dayArray = getdate($start);
if ((($count) % 7) == 0){
if ($dayArray[mon] != $month)
break;
print "</tr>\n<tr>\n";
}
if ($count < $firstDayArray[wday] || $dayArray[mon] != $month) {
print "\t<td><br></td>\n";
}
else {
if ($now_day == $dayArray[mday] && $now_month == $month && $now_year == $year){
print "\t<td class=tcat title=\"Date $firstDayArray[month] $dayArray[mday] $firstDayArray[year]\" onClick=\"SetFormat('$firstDayArray[month] $dayArray[mday] $firstDayArray[year]')\" onMouseover=\"this.className='tcat';\" onMouseout=\"this.className='tcat';\" >$dayArray[mday]</td>\n";
}
else{
print "\t<td class=thead title=\"Date $firstDayArray[month] $dayArray[mday] $firstDayArray[year]\" onClick=\"SetFormat('$firstDayArray[month] $dayArray[mday] $firstDayArray[year]')\" onMouseover=\"this.className='tcat';\" onMouseout=\"this.className='thead';\" >$dayArray[mday]</td>\n";
}
$start += ADAY;
}
}
print "</tr></table></center></div><div class=thead align='center'>";
?>
<script language="JavaScript">
var fixd;
function isGregLeapYear(year)
{
return year%4 == 0 && year%100 != 0 || year%400 == 0;
}
function gregToFixed(year, month, day)
{
var a = Math.floor((year - 1) / 4);
var b = Math.floor((year - 1) / 100);
var c = Math.floor((year - 1) / 400);
var d = Math.floor((367 * month - 362) / 12);
if (month <= 2)
e = 0;
else if (month > 2 && isGregLeapYear(year))
e = -1;
else
e = -2;
return 1 - 1 + 365 * (year - 1) + a - b + c + d + e + day;
}
function Hijri(year, month, day)
{
this.year = year;
this.month = month;
this.day = day;
this.toFixed = hijriToFixed;
this.toString = hijriToString;
}
function hijriToFixed()
{
return this.day + Math.ceil(29.5 * (this.month - 1)) + (this.year - 1) * 354 +
Math.floor((3 + 11 * this.year) / 30) + 227015 - 1;
}
function hijriToString()
{
var months = new Array("Muharram","Safar","Rabi-al Awwal","Rabi-al Thani","Jumada al-Ula","Jumada al-Thani","Rajab","Sha\'ban","Ramadhan","Shawwal","Dh ul Qa\'dah","Dhul Hijjah");
return this.day + " " + months[this.month - 1]+ " " + this.year;
}
function fixedToHijri(f)
{
var i=new Hijri(1100, 1, 1);
i.year = Math.floor((30 * (f - 227015) + 10646) / 10631);
var i2=new Hijri(i.year, 1, 1);
var m = Math.ceil((f - 29 - i2.toFixed()) / 29.5) + 1;
i.month = Math.min(m, 12);
i2.year = i.year;
i2.month = i.month;
i2.day = 1;
i.day = f - i2.toFixed() + 1;
return i;
}
var tod=new Date();
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var monthname=new Array("January","February","March","April","May"," June","July","August","September","October","Novem ber","December");
var y = tod.getFullYear();
var m = tod.getMonth();
var d = tod.getDate();
var dow = tod.getDay();
document.write(weekday[dow] + " " + d + " " + monthname[m] + " " + y);
m++;
fixd=gregToFixed(y, m, d);
var h=new Hijri(1421, 11, 28);
h = fixedToHijri(fixd);
document.write(" CE | " + h.toString() + " AH ");
</script>
</div>
</font>
</td>
</tr>
</table>]]></context_calendar_portal>
<context_chat><![CDATA[
<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>
]]></context_chat>
<context_editor_js><![CDATA[
<script type="text/javascript" src="includes/js/IEprompt.js"></script>
<script type='text/javascript'>
{if {$_CONF['info_row']['content_language']} != 'ar'}
function iePrompt(str){
var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;";
return window.showModalDialog("includes/js/iePrompt_en.htm", str, settings);
}
{else}
function iePrompt(str){
var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;";
return window.showModalDialog("includes/js/iePrompt_ar.htm", str, settings);
}
{/if}
function cbPrompt(str){
try {
if(window.showModalDialog){ return iePrompt(str); }
else { return prompt(str, ""); }
} catch (e) {
return iePrompt(str);
}
}
</script>
<div style="display:none" id="All_Smiles">
<?php $t=0; ?>
<table border="0" cellspacing="1" class="border">
<tr>
<td class="row1" colspan="20">
<a href="javascript:switchMenuNone('All_Smiles')">
<div class="r-right"> <img border="0" cellspacing="1" src="{$image_path}/colorpicker_close.png" /></div></a>
</td>
</tr>
<tr valign="top">
{Des::while}{SmlList}
<?php
if($t== '20'){
$t=0;
echo "</tr><tr>";
}?>
<td class="row1">
<img src="{$SmlList['smile_path']}" OnClick="AddSmileyIcon('{$SmlList['smile_path']}');" alt="{$SmlList['smile_path']}" border="0" cellspacing="1" />
</td>
<?php $t=$t+1;?>
{/Des::while}
</tr>
</table>
</div>
{Des::while}{Custom_bbcodesList}
{if {$Custom_bbcodesList['bbcode_switch']} != ''}
{if {$Custom_bbcodesList['bbcode_useoption']} == '1'}
<img src="{$Custom_bbcodesList['bbcode_switch']}" onClick="Custom_bbcodes_option{$Custom_bbcodesList['bbcode_tag']}('{$Custom_bbcodesList['bbcode_tag']}');" onmouseover="overIcon(this)" onmouseout="outIcon(this)" title="{$Custom_bbcodesList['bbcode_desc']}" border="0" class="editorbutton" />
{else}
<img src="{$Custom_bbcodesList['bbcode_switch']}" onClick="Custom_bbcodes{$Custom_bbcodesList['bbcode_tag']}('{$Custom_bbcodesList['bbcode_tag']}');" onmouseover="overIcon(this)" onmouseout="outIcon(this)" title="{$Custom_bbcodesList['bbcode_desc']}" border="0" class="editorbutton" />
{/if}
<script type='text/javascript'>
//<![CDATA[
function Custom_bbcodes{$Custom_bbcodesList['bbcode_tag']}({$Custom_bbcodesList['bbcode_tag']},theme){
// add Custom bbcodes
if (comm._viewmode == 1){
comm._focus();
comm._HTML('[{$Custom_bbcodesList['bbcode_tag']}] ' ,' [/{$Custom_bbcodesList['bbcode_tag']}]');
comm._focus();
}else{
bbfontstyle('[{$Custom_bbcodesList['bbcode_tag']}] ' ,'[/{$Custom_bbcodesList['bbcode_tag']}] ');
}
};
function Custom_bbcodes_option{$Custom_bbcodesList['bbcode_tag']}({$Custom_bbcodesList['bbcode_tag']},theme){
// add Custom bbcodes
if (comm._viewmode == 1){
var option = cbPrompt({$Custom_bbcodesList['bbcode_tag']}, '');
if(option){
comm._focus();
comm._HTML('[{$Custom_bbcodesList['bbcode_tag']}='+option+'] ' ,' [/{$Custom_bbcodesList['bbcode_tag']}]');
comm._focus();
}
}else{
option = prompt({$Custom_bbcodesList['bbcode_tag']}, '');
bbfontstyle('[{$Custom_bbcodesList['bbcode_tag']}='+option +'] ' ,'[/{$Custom_bbcodesList['bbcode_tag']}] ');
}
};
//]]>
</script>
{/if}
{/Des::while}
<script type='text/javascript'>
//<![CDATA[
bbcode._Print("full",250);
//]]>
</script>
<div id="keyboard_palette" style="display:none;">
{template}keyboard_form{/template}
</div>
]]></context_editor_js>
<context_editor_simple><![CDATA[
<script type="text/javascript" src="includes/js/IEprompt.js"></script>
<script type='text/javascript'>
{if {$_CONF['info_row']['content_language']} != 'ar'}
function iePrompt(str){
var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;";
return window.showModalDialog("includes/js/iePrompt_en.htm", str, settings);
}
{else}
function iePrompt(str){
var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;";
return window.showModalDialog("includes/js/iePrompt_ar.htm", str, settings);
}
{/if}
function cbPrompt(str){
try {
if(window.showModalDialog){ return iePrompt(str); }
else { return prompt(str, ""); }
} catch (e) {
return iePrompt(str);
}
}
</script>
<script language="JavaScript">
//<![CDATA[
bbcode._Print("mini",100);
//]]>
</script>
<div id="keyboard_palette" style="display:none;">
{template}keyboard_form{/template}
</div>]]></context_editor_simple>
<context_edit_poll_table1><![CDATA[<title>{$lang['poll_edit']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
<br />
<script language="javascript">
function ShowPollTable()
{
if ($("#poll_id").is(":checked"))
{
$("#poll_table").fadeIn();
}
else
{
$("#poll_table").fadeOut();
}
}
function AddMoreAnswers(x)
{
x += 1;
var answers_max = 100;
$("#poll_answers_count_id").val(x);
$(".more_tr").hide();
$("#poll_question_answers").append('<tr align="center"><td class="row1 rows_space">"{$lang['more_answer']}"</td><td class="row1 rows_space"><input name="answer[]" type="text" id="answer' + x + '" size="40"/></td></tr>');
$("#poll_question_answers").append('<tr align="center" class="more_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_answers" class="more_answers_class" value="{$lang['more_answers']}" /></td></tr>');
$("#answer" + x).focus();
$(".more_answers_class").click(function() { AddMoreAnswers(x) });
if (function() { AddMoreAnswers(x) })
{
$(".more_tr").stopPropagation();
}
}
function Ready()
{
$("#poll_table").hide();
$("#poll_id").click(ShowPollTable);
$(".more_answers_class").click(function() { AddMoreAnswers(2) });
}
$(document).ready(Ready);
-->
</script>
<form method="post" action="index.php?page=vote&poll_start_edit=1&id={$Poll['id']}&subject_id={$subject_id}">
<input name="poll_answers_count" id="poll_answers_count_id" type="hidden" value="2">
<table border="0" cellspacing="1" width="70%" class="border" align="center" id="poll_question_answers">
<tr align="center">
<td class="tbar" colspan="2">
{$lang['poll_edit']}
</td>
</tr>
<tr align="center">
<td class="row1">
{$lang['answer']}
</td>
<td class="row1">
<?php $PowerBB->_CONF['template']['Poll']['qus'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['Poll']['qus']); ?>
<input name="question" value="{$Poll['qus']}" size="40" />
</td>
</tr>
]]></context_edit_poll_table1>
<context_edit_poll_table2><![CDATA[ <tr align="center">
<td class="row1">
<?php $PowerBB->_CONF['template']['answers'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['answers']); ?>
{$lang['answers_number']}<?php echo $PowerBB->_CONF['template']['answers_number']+1; ?>
</td>
<td class="row1">
<input name="answer[]" value="{$answers}" size="40" />
</td>
</tr>
]]></context_edit_poll_table2>
<context_edit_poll_table3><![CDATA[ <tr align="center" class="more_tr">
<td class="row1" colspan="2">
<input type="button" name="more_answers" class="more_answers_class" value="{$lang['more_answers']}" />
</td>
</tr>
</table>
<div align="center">
<table border="0" width="70%" cellspacing="1" >
<tr align="center">
<td colspan="2">
<input class="button" name="insert" type="submit" value="{$lang['send_poll_edit']}" /></td>
</tr>
</table></div>
</form>
<br />]]></context_edit_poll_table3>
<context_fast_reply_js><![CDATA[
<script type="text/javascript" src="includes/js/IEprompt.js"></script>
<script type='text/javascript'>
{if {$_CONF['info_row']['content_language']} != 'ar'}
function iePrompt(str){
var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;";
return window.showModalDialog("includes/js/iePrompt_en.htm", str, settings);
}
{else}
function iePrompt(str){
var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;";
return window.showModalDialog("includes/js/iePrompt_ar.htm", str, settings);
}
{/if}
function cbPrompt(str){
try {
if(window.showModalDialog){ return iePrompt(str); }
else { return prompt(str, ""); }
} catch (e) {
return iePrompt(str);
}
}
</script>
<script language="JavaScript">
//<![CDATA[
bbcode._Print("mini",100);
//]]>
</script>
<div id="keyboard_palette" style="display:none;">
{template}keyboard_form{/template}
</div>]]></context_fast_reply_js>
<context_footer><![CDATA[<br />
<!-- action_find_addons_1 -->
<div class="time">
{$lang['timer']}
{$timer}
</div>
</td>
</tr>
</table>
<!-- end_pbboard_body -->
<br />
<div class="footer_bar" align="center">
<span class="r-right">
{if {$StylesNo} > 1}
<select onchange="location='index.php?page=change_style&change=1&id=' + this.value" size="1" name="style">
{Des::while}{StyleList}<option value="{$StyleList['id']}" {if {$StyleList['id']} == {$_CONF['rows']['style']['id']}}selected="selected" style="background : #EEEEEE"{/if}>{$StyleList['style_title']}</option>
{/Des::while}
</select>
{/if}
{if {$LangsNo} > 1}
{if {$_CONF['member_permission']}}
<select onchange="location='index.php?page=change_lang&change=1&id=' + this.value" size="1" name="lang">
{Des::while}{LangList}
<option value="{$LangList['id']}" {if {$LangList['id']} == {$_CONF['member_row']['lang']}}selected="selected" style="background : #EEEEEE"{/if}>{$LangList['lang_title']}</option>
{/Des::while}
</select>
{else}
<select onchange="location='index.php?page=change_lang&change=1&id=' + this.value" size="1" name="lang">
{Des::while}{LangList}<option value="{$LangList['id']}" {if {$LangList['id']} == {$VisitorLang}}selected="selected" style="background : #EEEEEE"{/if}>{$LangList['lang_title']}</option>
{/Des::while}
</select>
{/if}
{/if}
<!-- action_find_addons_3 -->
</span>
<span class="l-left">
<!-- action_find_addons_4 -->
{if {$_CONF['info_row']['active_archive']} == '1'}
<span class="footer_bar_links">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="archive.html">{$lang['archive']}</a>
{else}
<a href="index.php?page=archive">{$lang['archive']}</a>
{/if}
</span>
{/if}
{if {$_CONF['info_row']['sitemap']} == '1'}
<span class="footer_bar_links">
{if {$_CONF['info_row']['rewriterule']} == '1'}
{$lang['forummap']} (<a href="sitemap.htm">Html</a> - <a href="sitemap.xml">Xml</a>)
{else}
{$lang['forummap']} (<a href="index.php?page=sitemap&sitemaps=1">Html</a> - <a href="index.php?page=sitemap&subject=1">Xml</a>)
{/if}
</span>
{/if}
{if {$_CONF['info_row']['active_subject_today']} == '1'}
<span class="footer_bar_links"><a href="index.php?page=latest&today=1">{$lang['subject_today']}</a>
({$subject_today_nm})
</span>
{/if}
{if {$_CONF['info_row']['active_send_admin_message']} == '1'}
<span class="footer_bar_links"><a href="index.php?page=send&sendmessage=1">{$lang['send_message']}</a></span>
{/if}
{if {$_CONF['info_row']['active_team']} == '1'}
<span class="footer_bar_links"><a href="index.php?page=team&show=1">{$lang['team']}</a></span>
{/if}
<span class="footer_bar_links"><a onclick="self.scrollTo(0, 0); return false;" href="#top">{$lang['UP']}</a></span>
{if {$_CONF['rows']['group_info']['admincp_allow']}}
<span class="footer_bar_links"><a href="admin.php">{$lang['cp_admin']}</a></span>
{/if}
{if {$_CONF['info_row']['active_rss']} == '1'}
<a href="index.php?page=rss&subject=1">
<img border="0" alt="" src="{$image_path}/rss.gif"
title="{$lang['rss_subject']}" /></a>
{/if}
</span>
</div>
<div id="copyright">{$lang['copyright']}</div>
</body>
</html>
<!-- action_find_addons_5 -->]]></context_footer>
<context_forget_password_change><![CDATA[<title> {$lang['appointment_new_password']}
- {$_CONF['info_row']['title']}</title>
<br />
<br /><br />
<form method="post" action="index.php?page=new_password&forget=1">
<table align="center" border="0" cellspacing="1" width="80%" class="border" >
<tr align="center">
<td width="80%" class="tcat" colspan="2">
{$lang['appointment_new_password']}
</td>
</tr>
<tr align="center">
<td width="30%" class="row1">
{$lang['new_password']}
</td>
<td width="30%" class="row1">
<input type="password" name="new_password" />
</td>
</tr>
<tr align="center">
<td width="60%" class="row1" colspan="2">
<input type="submit" value="{$lang['Count']}" /></td>
</tr>
</table>
<input TYPE="hidden" name="member_id" value="{$member_id}" />
<br />
</form>
</div>
<br />
<br />
<br />
]]></context_forget_password_change>
<context_forget_password_form><![CDATA[<title>{$lang['Retrieve_password']}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}</title>
{template}address_bar_part1{/template}
{$lang['Retrieve_password']}
{template}address_bar_part2{/template}
<br />
<form method="post" action="index.php?page=forget&start=1">
<div align="center">
<table border="0" cellspacing="1" width="88%" class="border" >
<tr align="center">
<td width="50%" class="tcat" colspan="2">
{$lang['Retrieve_password']}
</td>
</tr>
<tr>
<td width="10%" class="row1">
{$lang['email_Retrieve_password']}
</td>
<td width="60%" class="row1">
{$lang['forget_password_Message']}
<br />
<input name="email" type="text" size="41" dir="ltr" />
</td>
</tr>
<tr align="center">
<td class="row1" colspan="2">
<input type="submit" name="submit_forget" value="{$lang['Count']}" />
</td>
</tr>
</table>
</div>
<br />
</form>
<br />]]></context_forget_password_form>
<context_forum--announcement_table><![CDATA[
{Des::while}{AnnouncementList}
{if {$AnnouncementList['id']} !=''}
<tr>
<td width="1%" class="row2" align="center">
<img alt="" src="{$image_path}/announcement.gif" border="0"
title="{$lang['announcement']}" />
</td>
<td width="1%" class="row1" align="center">
<img src="look/images/icons/i1.gif" alt="" />
</td>
<td width="65%" class="row2">
{$lang['Announcementy']}
<a href="index.php?page=announcement&show=1&id={$AnnouncementList['id']}">
{$AnnouncementList['title']}</a>
<br />
<a href="index.php?page=profile&show=1&username={$AnnouncementList['writer']}">
{$AnnouncementList['writer']}
</a>
<br />
<font class="smallfont">
{$AnnouncementList['date']}
</font>
</td>
<td width="4%" class="row2" align="center">
0
</td>
<td width="1%" class="row1" align="center">
{$AnnouncementList['visitor']}
</td>
<td width="25%" class="row2" align="center">
{$lang['no_replys']}
</td>
{if !{$mod_toolbar}}
<td width="1%" class="row1" align="center">
</td>
{/if}
</tr>
{/if}
{/Des::while}]]></context_forum--announcement_table>
<context_forum--moderator_table><![CDATA[ {if {$STOP_MODERATOR_TEMPLATE}}
{$lang['NO_MODERATOR']}
{/if}
{Des::while}{ModeratorsList}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$ModeratorsList['member_id']}.html">
<?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['ModeratorsList'][$this->x_loop]['username']);?></a> Ø
{else}
<a href="index.php?page=profile&show=1&id={$ModeratorsList['member_id']}">
<?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['ModeratorsList'][$this->x_loop]['username']);?></a> Ø
{/if}
{/Des::while}
]]></context_forum--moderator_table>
<context_forum--online_table><![CDATA[
{Des::while}{SectionVisitor}
{if {$SectionVisitor['username']} == 'Guest'}
<?php echo $PowerBB->_CONF['template']['while']['SectionVisitor'][$this->x_loop]['username_style'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['while']['SectionVisitor'][$this->x_loop]['username_style']); ?>Ø
{else}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$SectionVisitor['user_id']}.html"
title="{$lang['time_logged_online']}
{$SectionVisitor['logged']}">
{$SectionVisitor['username_style']}</a>Ø
{else}
<a href="index.php?page=profile&show=1&id={$SectionVisitor['user_id']}"
title="{$lang['time_logged_online']}
{$SectionVisitor['logged']}">
{$SectionVisitor['username_style']}</a>Ø
{/if}
{/if}
{/Des::while}
{if {$_CONF['info_row']['show_onlineguest']} != 1}
{if {$MemberNumber} <= 0}
{$lang['no_online_section']}
{/if}
{/if}
]]></context_forum--online_table>
<context_forum--subject_table><![CDATA[<script type='text/javascript'>
//<![CDATA[
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
//]]>
</script>
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')"><img border="0" alt="" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;" class="drop_menu" id="pager_top">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup" onclick="pagerBlock('pager_top')">
<form name="misc" method="post" action="index.php?page=misc&pagenav_forum=1">
<input type="hidden" name="section_id" value="{$section_id}" />
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text" />
<input class="button" type="submit" value="{$lang['Go']}" name="page_button" />
</form>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
{template}add_subject_link{/template}
<br />
</td>
</tr>
</table>
<br />
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr>
<td class="top_forum_bar" nowrap="nowrap">
<span class="r-right">
{$lang['forum_subjects']}
{$section_info['title']}</span>
{if {$_CONF['group_info']['search_allow']} == 1}
<span class="l-left">
<span style="cursor: pointer;" class='popmenubutton'><a href="javascript:switchMenuNone('section_searchs_witch')">{$lang['search']}
<img border="0" alt="" src="{$image_path}/menu_open.gif" /></a> </span>
</span>
<!-- Code search forum Menu start -->
<div style="display:none; left:20px; padding:24px 0 0 0;" class="drop_menu" id="section_searchs_witch">
<form name="search" action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="start" value="1" />
<input type="hidden" name="sort_order" value="DESC" />
<input type="hidden" name="section" value="{$SECTION_ID}" />
<table width="120" border="0" cellspacing="0">
<tr align="center">
<td class="menu_popup" onclick="sBlock('section_searchs_witch')">
<input type="text" name="keyword" value="{$lang['search_keyword']}" onfocus="if (this.value == '{$lang['search_keyword']}') this.value = '';" size="20"
dir="{$_CONF['info_row']['content_dir']}" />
<input type="submit" value="{$lang['start_search']}" name="search" />
</td>
</tr>
<tr>
<td class="menu_popup" align="center">
<a href="index.php?page=search&index=1">{$lang['advanced_search']}</a>
</td>
</tr>
</table>
</form>
</div>
{/if}
</td>
</tr>
</table>
<form action="index.php?page=management&subject=1&section={$SECTION_ID}&operator=tools_thread" name="form1" method="post">
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="75%" class="tcat" align="center" colspan="3">
{$lang['subject_title']}
</td>
<td width="4%" class="tcat" align="center">
{$lang['reply_num']}
</td>
<td width="4%" class="tcat" align="center">
{$lang['subject_visitor']}
</td>
<td width="15%" class="tcat" align="center">
{$lang['write_date']}
</td>
{if !{$mod_toolbar}}
<td class="tcat" width="1%">
<input type="checkbox" name="check_all" onclick="checkAll(this.form)" />
</td>
{/if}
</tr>
{template}adsense_forum{/template}
{template}forum--announcement_table{/template}
{if !{$NO_REVIEW_SUBJECTS}}
<tr>
<td width="98%" colspan="{$colspan}" class="thead" align="center">
{$lang['subjects_review']}
</td>
</tr>
{Des::while}{review_subject_list}
<tr>
<td width="1%" class="row2" align="center">
{if {$review_subject_list['review_subject']} == 1}
<img alt="" src="{$image_path}/dot_review.gif" border="0"
title="{$lang['subject_review']}" />
{/if}
</td>
<td width="1%" class="row1" align="center">
<img src="{$review_subject_list['icon']}" alt="" />
</td>
<td width="65%" class="row2">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a target="_blank" href="t{$review_subject_list['id']}{$password}.html" title="{$lang['opin_subject']}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
{else}
<a target="_blank" href="index.php?page=topic&show=1&id={$review_subject_list['id']}{$password}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
{/if}
<font class="title_font">
<span dir="{$_CONF['info_row']['content_dir']}">
<b>{$review_subject_list['prefix_subject']}</b>
</span>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$review_subject_list['id']}{$password}.html">
{$review_subject_list['title']}</a>
{else}
<a href="index.php?page=topic&show=1&id={$review_subject_list['id']}{$password}">
{$review_subject_list['title']}</a>
{/if}
</font>
{if {$review_subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
{/if}
{if {$review_subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
{/if}
{if {$review_subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
<img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$review_subject_list['rating']} " align="left" />
{/if}
{if {$review_subject_list['close']}}
{$lang['subject_close']}
{/if}
{if {$review_subject_list['delete_topic']}}
{$lang['subject_delete']}
{/if}
{if {$review_subject_list['special']}}
{$lang['subject_special']}
<span class="l-left">
<img border="0" src="{$image_path}/star.gif"
alt="{$lang['s_special']}" /> </span>
{/if}
{if {$_CONF['info_row']['subject_describe_show']} and {$review_subject_list['subject_describe']} != ''}
<br />
<font class="smallfont">{$review_subject_list['subject_describe']}</font>
{/if}
<br />
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['writer']);?>
</td>
<td width="4%" class="row2" align="center">
{if {$review_subject_list['reply_number']} == 0}
{$review_subject_list['reply_number']}
{else}
<a onclick="window.open('index.php?page=misc&whoposted=1&subject_id={$review_subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$review_subject_list['reply_number']}</font></u></a>
{/if}
</td>
<td width="4%" class="row1" align="center">
{$review_subject_list['visitor']}
</td>
<td width="25%" class="row2" align="center">
{if {$review_subject_list['reply_number']} <= 0}
{$lang['no_replys']}
{else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['last_replier']);?>
<br />
<span class="smallfont">
{$review_subject_list['reply_date']}
</span >
{/if}
</td>
{if !{$mod_toolbar}}
<td width="1%" class="row1" align="center">
<input type="checkbox" name="check[]" value="{$review_subject_list['id']}" />
</td>
{/if}
</tr>
{/Des::while}
{/if}
{if !{$NO_STICK_SUBJECTS}}
<tr>
<td width="98%" colspan="{$colspan}" class="thead" align="center">
{$lang['stick_subject_list']}
</td>
</tr>
{/if}
{Des::while}{stick_subject_list}
<tr>
<td width="1%" class="row2" align="center">
{if {$stick_subject_list['stick']} == 1}
<img alt="" src="{$image_path}/sticky.gif"
title="{$lang['stick_subject']}" />
{/if}
</td>
<td width="1%" class="row1" align="center">
<img src="{$stick_subject_list['icon']}" alt="" />
</td>
<td width="65%" class="row2">
<?php
$num ='99';
$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'],$num);
?>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a target="_blank" href="t{$stick_subject_list['id']}{$password}.html" title="{$lang['opin_subject']}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
{else}
<a target="_blank" href="index.php?page=topic&show=1&id={$stick_subject_list['id']}{$password}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
{/if}
<font class="title_font">
<span dir="{$_CONF['info_row']['content_dir']}">
<b>{$stick_subject_list['prefix_subject']}</b>
</span>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a title="{$stick_subject_list['text']}" href="t{$stick_subject_list['id']}{$password}.html">
{else}
<a title="{$stick_subject_list['text']}" href="index.php?page=topic&show=1&id={$stick_subject_list['id']}{$password}">
{/if}
{$stick_subject_list['title']}</a>
</font>
{if {$stick_subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
{template}forum_stick_perpage_reply{/template}
<img alt="" src="{$image_path}/multipage.gif"
title="{$lang['subject_multipage']}" align="left" />
{/if}
{if {$stick_subject_list['attach_subject']} == 1}
<img alt="" src="{$image_path}/attach.gif"
title="{$lang['subject_attach']}" align="left" />
{/if}
{if {$stick_subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
<img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$stick_subject_list['rating']} " align="left" />
{/if}
{if {$stick_subject_list['close']}}
{$lang['subject_close']}
{/if}
{if {$stick_subject_list['delete_topic']}}
{$lang['subject_delete']}
{/if}
{if {$stick_subject_list['special']}}
{$lang['subject_special']}
<span class="l-left">
<img border="0" src="{$image_path}/star.gif"
alt="{$lang['s_special']}" /> </span>
{/if}
{if {$_CONF['info_row']['subject_describe_show']} and {$stick_subject_list['subject_describe']} != ''}
<br />
<font class="smallfont">{$stick_subject_list['subject_describe']}</font>
{/if}
<br />
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['writer']);?>
</td>
<td width="4%" class="row2" align="center">
{if {$stick_subject_list['reply_number']} == 0}
{$stick_subject_list['reply_number']}
{else}
<a onclick="window.open('index.php?page=misc&whoposted=1&subject_id={$stick_subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$stick_subject_list['reply_number']}</font></u></a>
{/if}
</td>
<td width="4%" class="row1" align="center">
{$stick_subject_list['visitor']}
</td>
<td width="15%" class="row2" align="center">
{if {$stick_subject_list['reply_number']} <= 0}
{$lang['no_replys']}
{else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['last_replier']);?>
<br />
<span class="smallfont">
{$stick_subject_list['reply_date']}
</span >
{/if}
</td>
{if !{$mod_toolbar}}
<td width="1%" class="row1" align="center">
<input type="checkbox" name="check[]" value="{$stick_subject_list['id']}" />
</td>
{/if}
</tr>
{/Des::while}
<tr>
<td width="98%" colspan="{$colspan}" class="thead" align="center">
{$lang['subject_list']}
</td>
</tr>
{Des::while}{subject_list}
<tr>
<td width="1%" class="row2" align="center">
<?php
$subject_id = $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id'];
$member_row = $PowerBB->_CONF['template']['_CONF']['member_row']['username'];
$ReplyArr = $PowerBB->DB->sql_query("SELECT writer FROM " . $PowerBB->table['reply'] . " WHERE writer = '$member_row' and subject_id = '$subject_id'");
$r = $PowerBB->DB->sql_fetch_array($ReplyArr);
?>
{if {$subject_list['delete_topic']} == 1}
<img alt="" src="{$image_path}/dot_trash.gif"
title="{$lang['s_delete']}" />
{elseif {$subject_list['poll_subject']} == 1}
<img alt="" src="{$image_path}/dot_poll.gif"
title="{$lang['dot_poll']}" />
{elseif {$subject_list['close']} == 1}
<img alt="" src="{$image_path}/dot_lockfolder.gif" border="0"
title="{$lang['s_close']}" />
<?php }elseif ($r) { ?>
<img alt="" src="{$image_path}/dot_newposts.gif"
title="{$lang['dot_newposts']}" />
{elseif {$subject_list['writer']} == {$_CONF['member_row']['username']}}
<img alt="" src="{$image_path}/dot_folder.gif"
title="{$lang['subject_personal']}" />
{elseif {$subject_list['reply_number']} > 15 and {$subject_list['visitor']} > 150}
<img alt="" src="{$image_path}/dot_hotfolder.gif"
title="{$lang['Hot_subject']}" />
{elseif {$subject_list['stick']} == 1}
<img alt="" src="{$image_path}/sticky.gif"
title="{$lang['stick_subject']}" />
{elseif {$subject_list['write_time']} > {$_CONF['member_row']['lastvisit']}}
<img alt="" src="{$image_path}/dot_newfolder.gif"
title="{$lang['there_are_new_posts']}" />
{elseif {$subject_list['write_time']} > {$_CONF['member_row']['lastvisit']}}
<img alt="" src="{$image_path}/dot_nonewfolder.gif"
title="{$lang['no_newPosts']}" />
{else}
<img alt="" src="{$image_path}/dot_nonewfolder.gif"
title="{$lang['no_newPosts']}" />
{/if}
</td>
<td width="1%" class="row1" align="center">
<img src="{$subject_list['icon']}" alt="" />
</td>
<td width="65%" class="row2">
<?php
$num ='99';
$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'],$num);
?>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a target="_blank" href="t{$subject_list['id']}{$password}.html" title="{$lang['opin_subject']}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
{else}
<a target="_blank" href="index.php?page=topic&show=1&id={$subject_list['id']}{$password}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
{/if}
<?php $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = str_replace('&','&',$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']); ?>
<font class="title_font">
<span dir="{$_CONF['info_row']['content_dir']}">
<b>{$subject_list['prefix_subject']}</b>
</span>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a title="{$subject_list['text']}" href="t{$subject_list['id']}{$password}.html">
{$subject_list['title']}</a>
{else}
<a title="{$subject_list['text']}"href="index.php?page=topic&show=1&id={$subject_list['id']}{$password}">
{$subject_list['title']}</a>
{/if}
</font>
{if {$subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
{template}forum_perpage_reply{/template}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
{/if}
{if {$subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
{/if}
{if {$subject_list['review_reply']} > 0}
<img src="{$image_path}/moderated_small.gif"
alt="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}"
title="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}" align="left" />
{/if}
{if {$subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
<img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$subject_list['rating']} " align="left" />
{/if}
{if {$subject_list['close']}}
{$lang['subject_close']}
{/if}
{if {$subject_list['delete_topic']}}
{$lang['subject_delete']}
{/if}
{if {$subject_list['special']}}
{$lang['subject_special']}
<span class="l-left">
<img border="0" src="{$image_path}/star.gif"
alt="{$lang['s_special']}" /> </span>
{/if}
{if {$_CONF['info_row']['subject_describe_show']} and {$subject_list['subject_describe']} != ''}
<br />
<font class="smallfont">{$subject_list['subject_describe']}</font>
{/if}
<br />
{if {$subject_list['writer']} == 'Guest'}
{$lang['Guest_']}
{else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer']);?>
{/if}
</td>
<td width="4%" class="row2" align="center">
{if {$subject_list['reply_number']} == 0}
{$subject_list['reply_number']}
{else}
<a onclick="window.open('index.php?page=misc&whoposted=1&subject_id={$subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$subject_list['reply_number']}</font></u></a>
{/if}
</td>
<td width="4%" class="row1" align="center">
{$subject_list['visitor']}
</td>
<td width="25%" class="row2" align="center">
{if {$subject_list['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{if {$subject_list['last_replier']} == 'Guest'}
{$lang['Guest_']}
{else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['last_replier']);?>
<br />
<span class="smallfont">
{$subject_list['reply_date']}
</span>
{/if}
{/if}
</td>
{if !{$mod_toolbar}}
<td width="1%" class="row1" align="center">
<input type="checkbox" name="check[]" value="{$subject_list['id']}" />
</td>
{/if}
</tr>
{/Des::while}
{if {$NO_SUBJECTS} == 0}
<tr>
<td width="98%" colspan="{$colspan}" class="row1" align="center">
{$lang['No_thread_forum']}</td>
</tr>
{/if}
</table>
<br />
{template}options_mod{/template}
</form>
<br />
<table align="center" border="0" width="99%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td align="left">
{if {$pager}}
<table align="center" border="0" width="99%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_duwn')"><img border="0" alt="" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;" class="drop_menu" id="pager_duwn">
<table width="120" border="0" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup" onclick="pagerBlock('pager_duwn')">
<form name="misc" method="post" action="index.php?page=misc&pagenav_forum=1">
<input type="hidden" name="section_id" value="{$section_id}" />
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text" />
<input class="button" type="submit" value="{$lang['Go']}" name="page_button" />
</form>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{template}add_subject_link{/template}
<br />
</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<br />
<table class="border" border="0" cellspacing="1" width="98%" align="center">
<tr>
<td width="40%" class="thead">{$lang['Display_Options']}</td>
<td width="30%" class="thead">{$lang['online_naw']}: {$online_number}
({$MemberNumber}
{$lang['Member_and']}
{$GuestNumber}
{$lang['Guest_']})</td>
<td width="20%" class="thead">{$lang['moderators_forum']}</td>
</tr>
<tr>
<td width="40%" class="row1">
<div align="right">
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td>
<form action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="show" value="1" />
<input type="hidden" name="order" value="1" />
<input type="hidden" name="id" value="{$SECTION_ID}" />
<div>
<label>{$lang['sort_view']}</label></div>
<select name="sort">
<option value="desc" selected="selected">{$lang['sort_desc']}</option>
<option value="asc">{$lang['sort_asc']}</option>
</select>
<input type="submit" value="{$lang['Count']}" name="submit" />
</form></td>
<td>
<form action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="show" value="1" />
<input type="hidden" name="orderby" value="1" />
<input type="hidden" name="id" value="{$SECTION_ID}" />
<div>
<label>{$lang['Sort_by']}</label></div>
<select name="sort">
<option value="reply_number">{$lang['sort_reply_number']}</option>
<option value="visitor">{$lang['sort_visitor']}</option>
<option value="rating">{$lang['sort_rating']}</option>
<option value="writer">{$lang['sort_writer']}</option>
<option value="title">{$lang['sort_title']}</option>
<option value="write_time" selected="selected">{$lang['sort_Last_Post']}</option>
</select>
<input type="submit" value="{$lang['Count']}" name="submit" />
</form></td>
</tr>
</table>
</div>
</td>
<td width="30%" class="row1">{template}forum--online_table{/template}</td>
<td width="20%" class="row1">
{template}forum--moderator_table{/template}
</td>
</tr>
</table>
<br />
<table class="border" align="center" border="0" cellspacing="1" width="98%">
<tr>
<td class="row2" align="right" width="70%">
<div align="center">
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td>
<img title="{$lang['newPosts']}"
src="{$image_path}/dot_newfolder.gif"
alt="{$lang['newPosts']}" border="0" /></td>
<td class="smallfont">{$lang['newPosts']}</td>
<td>
<img title="{$lang['no_newPosts']}"
src="{$image_path}/dot_nonewfolder.gif"
alt="{$lang['no_newPosts']}" border="0" /></td>
<td class="smallfont">{$lang['no_newPosts']}</td>
<td class="smallfont" width="65%"> </td>
</tr>
<tr>
<td>
<img title="{$lang['s_delete']}"
src="{$image_path}/dot_trash.gif"
alt="{$lang['s_delete']}" border="0" /></td>
<td class="smallfont">{$lang['s_delete']}</td>
<td>
<img title="{$lang['dot_hotfolder']}"
src="{$image_path}/dot_hotfolder.gif"
alt="{$lang['dot_hotfolder']}" border="0" /></td>
<td class="smallfont">{$lang['Hot_subject']} </td>
<td class="smallfont"> </td>
</tr>
<tr>
<td>
<img title="{$lang['dot_poll']}"
src="{$image_path}/dot_poll.gif"
alt="{$lang['dot_poll']}" border="0" /></td>
<td class="smallfont">{$lang['dot_poll']}</td>
<td>
<img title="{$lang['dot_newposts']}"
src="{$image_path}/dot_newposts.gif"
alt="{$lang['dot_newposts']}" border="0" /></td>
<td class="smallfont">{$lang['dot_newposts']}</td>
<td class="smallfont"> </td>
</tr>
<tr>
<td>
<img title="{$lang['su_close']}"
src="{$image_path}/dot_lockfolder.gif"
alt="{$lang['su_close']}" border="0" /></td>
<td class="smallfont">{$lang['su_close']}</td>
<td>
<img title="{$lang['your_subject_personal']}"
alt="" src="{$image_path}/dot_folder.gif" border="0" /></td>
<td class="smallfont">{$lang['your_subject_personal']}</td>
<td class="smallfont" align="left">
{if {$_CONF['info_row']['active_rss']} == '1'}
{$lang['rss_section']} :<a href="index.php?page=rss&section=1&id={$SECTION_ID}">
<img border="0" alt="" src="{$image_path}/rss.gif"
title="{$lang['rss_section']}" /></a>{/if}</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<br />]]></context_forum--subject_table>
<context_forum><![CDATA[{template}address_bar_part1{/template}
{if {$section_parent} == '0'}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$sec_address_id}.html">
{else}
<a href="index.php?page=forum&show=1&
id={$sec_address_id}">
{/if}
{$sec_address_title}
</a>
{$_CONF['info_row']['adress_bar_separate']}
{/if}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$SECTION_ID}.html">
{else}
<a href="index.php?page=forum&show=1&
id={$SECTION_ID}">
{/if}
{$section_info['title']}
</a>
{template}address_bar_part2{/template}
{if {$SHOW_SUB_SECTIONS}}
{template}sections_list{/template}
{/if}
<br />
{if {$section_info['parent']} != '0'}
{if {$section_info['header']} != ''}
<table width="98%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td class="row1">
{$section_info['header']}
</td>
</tr>
</table>
<br />
{/if}
{template}forum--subject_table{/template}
{if {$section_info['footer']} != ''}
<br />
<table width="98%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td class="row1">
{$section_info['footer']}
</td>
</tr>
</table>
<br />
{/if}
{/if}
<br />]]></context_forum>
<context_forum_password><![CDATA[<title>{$lang['password_forum']}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}</title>
<br />
<table cellpadding="2" cellpadding="2" border="0" cellspacing="1" class="border" width="70%" align="center">
<tr align="center">
<td class="tcat" width="70%">
{$lang['password_forum']}
</td>
</tr>
<tr align="center">
<td class="row1" width="50%">
<form method="post" action="index.php?page=forum&password_check=1&id={$section_info['id']}">
<input name="password" type="password" />
<input name="button" type="submit" value="{$lang['Count']}" />
</form>
</td>
</tr>
</table>
<br />
]]></context_forum_password>
<context_forum_perpage_reply><![CDATA[<?php
$subject_id = $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id'];
$PagerReplyNumArr = $PowerBB->DB->sql_num_rows($PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['reply'] . " WHERE subject_id='$subject_id' and delete_topic<>1 AND review_reply<>1 "));
?>
<!-- start perpage subject_list -->
<span dir="rtl">(
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=0">1</a>
</span>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
{$_CONF['info_row']['perpage']}">2</a>
</span>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']+ $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']+ $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']; ?>
">3</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 3) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 3; ?>
">4</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 4) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 4; ?>
">5</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 5) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 5; ?>
">6</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 6) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 6; ?>
">7</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 7) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 7; ?>
">8</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 8) {
$ss_r = $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']/2+1;
$roun_ss_r = round($ss_r, 0);
$reply_number_r = $PagerReplyNumArr-$roun_ss_r;
$pagenum_r = $reply_number_r/$PowerBB->_CONF['template']['_CONF']['info_row']['perpage'];
$round0_r = round($pagenum_r, 0);
$perpage_r = $round0_r*$PowerBB->_CONF['template']['_CONF']['info_row']['perpage'];
if( $PowerBB->functions->check_number($PagerReplyNumArr)){
$countpage = $perpage_r;
}else{
$countpage = $perpage_r+$PowerBB->_CONF['template']['_CONF']['info_row']['perpage'] ;
}
?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $countpage; ?>
">{$lang['Lastperpage']}</a>
</span>
<?php } ?>
)</span>
<!-- end perpage subject_list -->
<?php
unset($PagerReplyNumArr);
$PagerReplyNumArr = @mysql_free_result($PagerReplyNumArr);
?>]]></context_forum_perpage_reply>
<context_forum_stick_perpage_reply><![CDATA[<?php
$subject_id = $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id'];
$PagerReplyNumArr = $PowerBB->DB->sql_num_rows($PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['reply'] . " WHERE subject_id='$subject_id' and delete_topic<>1 AND review_reply<>1 "));
?>
<!-- start perpage stick_subject_list -->
<span dir="rtl">
(
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=0">1</a>
</span>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
{$_CONF['info_row']['perpage']}">2</a>
</span>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']+ $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']+ $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']; ?>
">3</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 3) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 3; ?>
">4</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 4) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 4; ?>
">5</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 5) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 5; ?>
">6</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 6) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 6; ?>
">7</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 7) { ?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 7; ?>
">8</a>
</span>
<?php } ?>
<?php if ($PagerReplyNumArr > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']* 8) {
$ss_r = $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']/2+1;
$roun_ss_r = round($ss_r, 0);
$reply_number_r = $PagerReplyNumArr-$roun_ss_r;
$pagenum_r = $reply_number_r/$PowerBB->_CONF['template']['_CONF']['info_row']['perpage'];
$round0_r = round($pagenum_r, 0);
$perpage_r = $round0_r*$PowerBB->_CONF['template']['_CONF']['info_row']['perpage'];
if( $PowerBB->functions->check_number($PagerReplyNumArr)){
$countpage = $perpage_r;
}else{
$countpage = $perpage_r+$PowerBB->_CONF['template']['_CONF']['info_row']['perpage'] ;
}
?>
<span class="perpage">
<a href="index.php?page=topic&show=1&id=
<?php echo $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['id']; ?>
&password={$password}&count=
<?php echo $countpage; ?>
">{$lang['Lastperpage']}</a>
</span>
<?php } ?>
)</span>
<!-- end perpage stick_subject_list -->
<?php
unset($PagerReplyNumArr);
$PagerReplyNumArr = @mysql_free_result($PagerReplyNumArr);
?>]]></context_forum_stick_perpage_reply>
<context_frame_form><![CDATA[<script language="javascript">
var myframes = 10;
</script>
<style>
table, input, select { font-size:8pt; font-family:tahoma;}
</style>
<script language="javascript">
var flag = true;
function acceptIt(){
window.returnValue = num.value;
window.close();
}
function showFrame(typ) {
var html = '<center><table border="0" width="98%" cellpadding="0" cellspacing="0"><tr><td width="1%"><img src="look/images/myframes/' + typ + '_cul.gif" alt="" border="0" /></td><td width="100%" style="background-image: url(look/images/myframes/' + typ + '_u.gif)"></td><td width="1%"><img src="look/images/myframes/' + typ + '_cur.gif" alt="" border="0" /></td></tr><tr><td width="1%" style="background-image: url(look/images/myframes/' + typ + '_l.gif)"></td><td align="center" width="100%" style="background-image: url(look/images/myframes/' + typ + '.gif)">';
html += "<b><font size=4> </font><b>";
html += '</td><td width="1%" style="background-image: url(look/images/myframes/' + typ + '_r.gif)"></td></tr><tr><td width="1%"><img src="look/images/myframes/' + typ + '_cdl.gif" alt="" border="0" /></td><td width="100%" style="background-image: url(look/images/myframes/' + typ + '_d.gif)"></td><td width="1%"><img src="look/images/myframes/' + typ + '_cdr.gif" alt="" border="0" /></td></tr></table>'; preview.innerHTML = html;
}
</script>
</head>
<body bgcolor="#FFE1CE" style="color:brown">
<table border="0" width="100%" style="margin-right:8px">
<tr><td align="center">
<input type="button" value="{$lang['Adopted']}" onclick="acceptIt()"> <input type="button" value="{$lang['Cancel']}" onclick="window.returnValue='';window.close()">
<select id="num" onchange="showFrame(this.value)">
<script language="javascript">
for (var i=1; i<=myframes; i++)
document.write('<option value=' + i + '>{$lang['Under_Num']} ' + i);
</script>
</td></tr>
<tr><td align="center" id="preview" height="150px">
</td></tr>
</table>
<script language="javascript">
showFrame(1);
</script>]]></context_frame_form>
<context_friends_main><![CDATA[<title> {$lang['friends_list']} -
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['friends_list']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top" align="center">
<form name="info" method="post" action="index.php?page=usercp&options=1&friends=1&add=1">
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr>
<td class="tcat"> {$lang['add_friend']}</td>
</tr>
<tr>
<td class="row1" width="60%">
{$lang['explanation_friends_list']}
</td>
</tr>
<tr>
<td class="row1" align="right">
<input name="username_friend" type="text">
<input name="send" type="submit" value="{$lang['add_friend']}" />
</td>
</tr>
</table>
</div>
</form>
<br />
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr>
<td class="tcat" colspan="2">{$lang['friends_list']}</td>
</tr>
<tr>
<td class="thead rows_space">{$lang['user_name']}</td>
<td class="thead rows_space">{$lang['remove']}</td>
</tr>
{Des::while}{FriendsList}
<tr>
<td class="row1" align="center">
{if {$FriendsList['approval']} == '0'}
{$lang['Friendship_request_is_pending_approval_by']}
<b>{$FriendsList['username_friend']}</b>
{else}
{$FriendsList['username_friend']}
{/if}
</td>
<td class="row1" align="center">
<form name="info" method="post" action="index.php?page=usercp&options=1&friends=1&del=1&id={$FriendsList['id']}">
<input name="send" type="submit" value="{$lang['remove']}" />
</form>
</td>
</tr>
{if {$No_Friends}}
<tr>
<td class="row1" align="center" colspan="2">{$lang['does_not_have_friends']}</td>
</tr>
{/if}
{/Des::while}
</table>
</div>
<br />
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr>
<td class="tcat" colspan="3">{$lang['friend_requests_sent_to_you_by_the_members']}</td>
</tr>
{Des::while}{FriendsApprovalList}
<tr>
<td class="row1" align="center">
{$lang['new_friend_request_sent_by']}
<b>{$FriendsApprovalList['username']}</b>
</td>
<td class="row1" align="center">
<form name="info" method="post" action="index.php?page=usercp&options=1&friends=1&approval=1&id={$FriendsApprovalList['id']}&username={$FriendsApprovalList['username']}">
<input name="send" type="submit" value="{$lang['i_agree_to_the_request_of_friendship']}
{$FriendsApprovalList['username']}" />
</form>
</td>
<td class="row1" align="center">
<form name="info" method="post" action="index.php?page=usercp&options=1&friends=1&del=1&id={$FriendsApprovalList['id']}">
<input name="send" type="submit" value="{$lang['no_agree_to_the_request_of_friendship']}
{$FriendsApprovalList['username']}" />
</form>
</td>
</tr>
{if {$No_Approval_Friends}}
<tr>
<td class="row1" align="center" colspan="2">
<b>{$lang['does_not_have_friend_requests']}</b>
</td>
</tr>
{/if}
{/Des::while}
</table>
</div>
</td>
</tr>
</table>
<br /><br />
<br />]]></context_friends_main>
<context_gradient_form><![CDATA[<style>
select, input { font-size:8pt; font-family:tahoma;}
</style>
<script language="javascript">
// 1001 Astuces hide@address.com , la Source JavaScript!!
// http://www.namani.net
var browser = "unknown";
var version = 0;
if (navigator.userAgent.indexOf("Opera") >= 0)
browser = "opera";
else if (navigator.userAgent.indexOf("obot") >= 0)
browser = "robot";
else if (navigator.appName.indexOf("etscape") >= 0)
browser = "netscape";
else if (navigator.appName.indexOf("icrosoft") >= 0)
browser = "msie";
version = parseFloat(navigator.appVersion);
if (isNaN(version)) version = 0;
if ((browser == "msie")&&(version == 2)) version = 3;
var tohex = new Array(256);
var hex = "0123456789ABCDEF";
var count = 0;
for (x=0; x<16; x++) {
for (y=0; y<16; y++) {
tohex[count] = hex.charAt(x) + hex.charAt(y);
count++;
}
}
function ColorCode(hexcode) {
if (hexcode.length == 7) {
this.r = parseInt(hexcode.substring(1,3),16);
this.g = parseInt(hexcode.substring(3,5),16);
this.b = parseInt(hexcode.substring(5,7),16);
}
else if (hexcode.length == 6) {
this.r = parseInt(hexcode.substring(0,2),16);
this.g = parseInt(hexcode.substring(2,4),16);
this.b = parseInt(hexcode.substring(4,6),16);
}
else {
this.r = this.g = this.b = 0;
alert("Error: ColorCode constructor failed");
}
if (isNaN(this.r)||isNaN(this.g)||isNaN(this.b))
alert("Error: ColorCode constructor failed");
}
function ColorList(hexcodes) {
var i = 0;
var c = 0;
this.codes = new Array(Math.round(hexcodes.length/7));
while (i < hexcodes.length) {
if (isNaN(parseInt(hexcodes.substring(i,i+6),16))) ++i;
else {
this.codes[c] = new ColorCode(hexcodes.substring(i,i+6));
i += 7;
++c;
}
}
this.len = c;
}
function interpolate (x1, y1, x3, y3, x2) {
if (x3 == x1) return y1
else return (x2-x1)*(y3-y1)/(x3-x1) + y1
}
function lowcolorindex (x, y, z) {
if (y == 1) return 0
else return Math.floor( (x*(z-1))/(y-1) )
}
function hicolorindex (x, y, z, low) {
if ( low*(y-1) == x*(z-1) ) return low
else if (y == 1) return 0
else return Math.floor( (x*(z-1))/(y-1) + 1 )
}
function gradient(thetext) {
var grad="";
var thecolors=getValue(clr1);
thecolors+=getValue(clr2);
thecolors+=getValue(clr3);
thecolors+=getValue(clr4);
thecolors+=getValue(clr5);
thecolors=thecolors.substr(1);
if (((browser == "netscape")||(browser == "msie")||(browser == "opera"))&&(version>=3.0)) {
var colors = new ColorList(thecolors);
if (colors.len<2) return thetext;
var numcolors = colors.len;
var numchars = thetext.length;
var rr = 0;
var gg = 0;
var bb = 0;
var lci = 0; //lower color index
var hci = 0; //high color index
for (i=0; i<numchars; ++i) {
lci = lowcolorindex(i, numchars, numcolors);
hci = hicolorindex(i, numchars, numcolors, lci);
rr = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].r, hci/(numcolors-1), colors.codes[hci].r, i/(numchars-1)));
gg = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].g, hci/(numcolors-1), colors.codes[hci].g, i/(numchars-1)));
bb = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].b, hci/(numcolors-1), colors.codes[hci].b, i/(numchars-1)));
if (browser == "opera") {
rr = 255 - rr;
gg = 255 - gg;
bb = 255 - bb;
}
grad+=thetext.charAt(i).fontcolor(tohex[rr]+tohex[gg]+tohex[bb]);
}
}
else
grad=thetext;
return grad;
}
// 1001 Astuces hide@address.com -->
function gradient_template() {
var i, t=template.options[template.selectedIndex].value.split(",");
clr1.selectedIndex=t[0];
clr2.selectedIndex=t[1];
clr3.selectedIndex=t[2];
clr4.selectedIndex=t[3];
clr5.selectedIndex=t[4];
template.selectedIndex=0;
gradient_preview();
}
function getValue(clr) {
if (clr.options[clr.selectedIndex].value=="")
return "";
else
return " "+clr.options[clr.selectedIndex].value;
}
function gradient_preview() {
preview.innerHTML="<FONT FACE=arial SIZE=4><B>"+gradient("{$lang['Preview_gradation']}")+"</B></FONT>";
}
function gradient_accept() {
var r = clr1.value + " " + clr2.value + " " + clr3.value + " " + clr4.value + " " + clr5.value;
r = r.replace(/^[ ]+/, "").replace(/[ ]+$/, "")
window.returnValue = r;
window.close();
}
</script>
</head>
<body bgcolor="#D9DDDC">
<table id="frm" align="center" border="0"><tr><td align="center" nowrap>
<select style="width:40px" id="clr1" onchange="document.body.focus();gradient_preview();">
<option value="">x
<option value="000000" style="background-color:black"></option>
<option value="FFFFFF" style="background-color:white"></option>
<option value="00BFFF" style="background-color:skyblue"></option>
<option value="4169E1" style="background-color:royalblue"></option>
<option value="0000FF" style="background-color:blue"></option>
<option value="00008B" style="background-color:darkblue"></option>
<option value="FFA500" style="background-color:orange"></option>
<option value="FF6347" style="background-color:tomato"></option>
<option value="FF7F50" style="background-color:coral"></option>
<option value="FF4500" style="background-color:orangered"></option>
<option value="DC143C" style="background-color:crimson"></option>
<option value="FF0000" style="background-color:red"></option>
<option value="B22222" style="background-color:firebrick"></option>
<option value="8B0000" style="background-color:darkred"></option>
<option value="008000" style="background-color:green"></option>
<option value="32CD32" style="background-color:limegreen"></option>
<option value="2E8B57" style="background-color:seagreen"></option>
<option value="FF1493" style="background-color:deeppink"></option>
<option value="800080" style="background-color:purple"></option>
<option value="4B0082" style="background-color:indigo"></option>
<option value="DEB887" style="background-color:burlywood"></option>
<option value="F4A460" style="background-color:sandybrown"></option>
<option value="A0522D" style="background-color:sienna"></option>
<option value="D2691E" style="background-color:chocolate"></option>
<option value="008080" style="background-color:teal"></option>
<option value="C0C0C0" style="background-color:silver"></option>
<option value="808080" style="background-color:gray"></option>
</select>
<select style="width:40px" id="clr2" onchange="document.body.focus();gradient_preview();">
<option value="">x
<option value="000000" style="background-color:black" ></option>
<option value="FFFFFF" style="background-color:white"></option>
<option value="00BFFF" style="background-color:skyblue"></option>
<option value="4169E1" style="background-color:royalblue"></option>
<option value="0000FF" style="background-color:blue"></option>
<option value="00008B" style="background-color:darkblue"></option>
<option value="FFA500" style="background-color:orange"></option>
<option value="FF6347" style="background-color:tomato"></option>
<option value="FF7F50" style="background-color:coral"></option>
<option value="FF4500" style="background-color:orangered"></option>
<option value="DC143C" style="background-color:crimson"></option>
<option value="FF0000" style="background-color:red"></option>
<option value="B22222" style="background-color:firebrick"></option>
<option value="8B0000" style="background-color:darkred"></option>
<option value="008000" style="background-color:green"></option>
<option value="32CD32" style="background-color:limegreen"></option>
<option value="2E8B57" style="background-color:seagreen"></option>
<option value="FF1493" style="background-color:deeppink"></option>
<option value="800080" style="background-color:purple"></option>
<option value="4B0082" style="background-color:indigo"></option>
<option value="DEB887" style="background-color:burlywood"></option>
<option value="F4A460" style="background-color:sandybrown"></option>
<option value="A0522D" style="background-color:sienna"></option>
<option value="D2691E" style="background-color:chocolate"></option>
<option value="008080" style="background-color:teal"></option>
<option value="C0C0C0" style="background-color:silver"></option>
<option value="808080" style="background-color:gray"></option>
</select>
<select style="width:40px" id="clr3" onchange="document.body.focus();gradient_preview();">
<option value="">x
<option value="000000" style="background-color:black" ></option>
<option value="FFFFFF" style="background-color:white"></option>
<option value="00BFFF" style="background-color:skyblue"></option>
<option value="4169E1" style="background-color:royalblue"></option>
<option value="0000FF" style="background-color:blue"></option>
<option value="00008B" style="background-color:darkblue"></option>
<option value="FFA500" style="background-color:orange"></option>
<option value="FF6347" style="background-color:tomato"></option>
<option value="FF7F50" style="background-color:coral"></option>
<option value="FF4500" style="background-color:orangered"></option>
<option value="DC143C" style="background-color:crimson"></option>
<option value="FF0000" style="background-color:red"></option>
<option value="B22222" style="background-color:firebrick"></option>
<option value="8B0000" style="background-color:darkred"></option>
<option value="008000" style="background-color:green"></option>
<option value="32CD32" style="background-color:limegreen"></option>
<option value="2E8B57" style="background-color:seagreen"></option>
<option value="FF1493" style="background-color:deeppink"></option>
<option value="800080" style="background-color:purple"></option>
<option value="4B0082" style="background-color:indigo"></option>
<option value="DEB887" style="background-color:burlywood"></option>
<option value="F4A460" style="background-color:sandybrown"></option>
<option value="A0522D" style="background-color:sienna"></option>
<option value="D2691E" style="background-color:chocolate"></option>
<option value="008080" style="background-color:teal"></option>
<option value="C0C0C0" style="background-color:silver"></option>
<option value="808080" style="background-color:gray"></option>
</select>
<select style="width:40px" id="clr4" onchange="document.body.focus();gradient_preview();">
<option value="">x
<option value="000000" style="background-color:black" ></option>
<option value="FFFFFF" style="background-color:white"></option>
<option value="00BFFF" style="background-color:skyblue"></option>
<option value="4169E1" style="background-color:royalblue"></option>
<option value="0000FF" style="background-color:blue"></option>
<option value="00008B" style="background-color:darkblue"></option>
<option value="FFA500" style="background-color:orange"></option>
<option value="FF6347" style="background-color:tomato"></option>
<option value="FF7F50" style="background-color:coral"></option>
<option value="FF4500" style="background-color:orangered"></option>
<option value="DC143C" style="background-color:crimson"></option>
<option value="FF0000" style="background-color:red"></option>
<option value="B22222" style="background-color:firebrick"></option>
<option value="8B0000" style="background-color:darkred"></option>
<option value="008000" style="background-color:green"></option>
<option value="32CD32" style="background-color:limegreen"></option>
<option value="2E8B57" style="background-color:seagreen"></option>
<option value="FF1493" style="background-color:deeppink"></option>
<option value="800080" style="background-color:purple"></option>
<option value="4B0082" style="background-color:indigo"></option>
<option value="DEB887" style="background-color:burlywood"></option>
<option value="F4A460" style="background-color:sandybrown"></option>
<option value="A0522D" style="background-color:sienna"></option>
<option value="D2691E" style="background-color:chocolate"></option>
<option value="008080" style="background-color:teal"></option>
<option value="C0C0C0" style="background-color:silver"></option>
<option value="808080" style="background-color:gray"></option>
</select>
<select style="width:40px" id="clr5" onchange="document.body.focus();gradient_preview();">
<option value="">x
<option value="000000" style="background-color:black" ></option>
<option value="FFFFFF" style="background-color:white"></option>
<option value="00BFFF" style="background-color:skyblue"></option>
<option value="4169E1" style="background-color:royalblue"></option>
<option value="0000FF" style="background-color:blue"></option>
<option value="00008B" style="background-color:darkblue"></option>
<option value="FFA500" style="background-color:orange"></option>
<option value="FF6347" style="background-color:tomato"></option>
<option value="FF7F50" style="background-color:coral"></option>
<option value="FF4500" style="background-color:orangered"></option>
<option value="DC143C" style="background-color:crimson"></option>
<option value="FF0000" style="background-color:red"></option>
<option value="B22222" style="background-color:firebrick"></option>
<option value="8B0000" style="background-color:darkred"></option>
<option value="008000" style="background-color:green"></option>
<option value="32CD32" style="background-color:limegreen"></option>
<option value="2E8B57" style="background-color:seagreen"></option>
<option value="FF1493" style="background-color:deeppink"></option>
<option value="800080" style="background-color:purple"></option>
<option value="4B0082" style="background-color:indigo"></option>
<option value="DEB887" style="background-color:burlywood"></option>
<option value="F4A460" style="background-color:sandybrown"></option>
<option value="A0522D" style="background-color:sienna"></option>
<option value="D2691E" style="background-color:chocolate"></option>
<option value="008080" style="background-color:teal"></option>
<option value="C0C0C0" style="background-color:silver"></option>
<option value="808080" style="background-color:gray"></option>
</select>
<select id="template" onchange="document.body.focus();gradient_template();">
<option value="3,4,5,0,0">{$lang['Choose_the_design_is_ready']}
<option value="3,4,5,0,0">1
<option value="14,12,9,0,0">2
<option value="6,8,15,20,0">3
<option value="21,24,23,0,0">4
<option value="10,20,5,1,22">5
</select>
<p id="preview" align="center">{$lang['Preview_gradation']}</p>
<input type=button value="{$lang['Ok']}" onclick="gradient_accept()">
<input type=button value="{$lang['Cancel']}" onclick="window.close();">
</td></tr></table>
<script>
template.selectedIndex=3;
gradient_template();
</script>]]></context_gradient_form>
<context_guest_info><![CDATA[ <div align="center">
<table width="90%" border="0" cellspacing="1">
<tr>
<td width="100%" align="center" class="tbar_writer_info">
<?php $PowerBB->_CONF['template']['Info']['writer'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['Info']['writer']); ?>
{$Info['writer']}
</td>
</tr>
</tr>
</table>
</div>]]></context_guest_info>
<context_header><![CDATA[<!-- action_find_addons_1 -->
<!--pbb.logo.start-->
<div id="logostrip">
{if {$_CONF['group_info']['search_allow']} == '1'}
<!-- Code search Menu start -->
<div id='search' class='l-left'>
<form name="search" action="index.php?page=search" method="get">
<input type="hidden" name="page" value="search" />
<input type="hidden" name="start" value="1"/>
<input type="hidden" name="search_only" value="1" />
<input type="hidden" name="sort_order" value="DESC" />
<input type="hidden" name="section" value="all" />
<label for='main_search' class='hide'>{$lang['start_search']}</label>
<div id='search_wrap' class='l-left'>
<input type="text" name="keyword" id="main_search" value="{$lang['search_keyword']}" onfocus="if (this.value == '{$lang['search_keyword']}') this.value = '';"
dir="{$_CONF['info_row']['content_dir']}" />
<input type="submit" class="submit_input" value="{$lang['start_search']}" tabindex="6" />
</div>
<a href="index.php?page=search&index=1" title="{$lang['advanced_search']}" accesskey="4" rel="search" id="adv_search" class="r-right"></a>
</form>
</div>
<!-- Code search Menu End -->
{/if}
<a href="index.php" title="{$_CONF['info_row']['title']}" rel="home" accesskey="1">
<img src="{$image_path}/logo.jpg" style="vertical-align:top"
alt="{$_CONF['info_row']['title']}" border="0" />
</a>
</div>
<!--pbb.logo.end-->
{template}main_bar{/template}
<!-- action_find_addons_2 -->
]]></context_header>
<context_header_bar><![CDATA[
<div id="header_bar">
<ul class="pbbList_inline">
{if !{$_CONF['member_permission']}}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;">
<a href="index.php?page=register&index=1" title="{$lang['register']}" id="register_link">{$lang['register']}</a>
</li>
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;">
<a href="index.php?page=login&sign=1" title="{$lang['Login_mem']}" id="sign_link">{$lang['Login_mem']}</a>
</li>
{else}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;">
<a href="index.php?page=usercp&index=1" title="{$lang['usercp']}" id="usercp_link" >{$lang['usercp']}</a>
</li style="margin: 0 3px; display:inline-block; list-style:none; float: right;">
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;">
<a href="javascript:logout('index.php?page=logout&index=1')" id="logout_link" title="{$lang['logout']}">{$lang['logout']}</a>
</li>
<li class="alerts-switch" style="margin: 0 3px; display:inline-block; list-style:none; float: right;">
{if {$_CONF['member_permission']}}
{if {$all_alerts_num} > 0}
<a href="javascript:switchMenuNone('alerts')" class="alerts">{$lang['alerts']} : <strong>{$all_alerts_num}</strong>
<img border="0" cellspacing="1" src="{$image_path}/menu_open.gif" /></a>
{template}alerts{/template}
{/if}
{/if}
<!-- action_find_addons_2 -->
</li>
<li class="UserPhotoli" style="margin: 0 3px; display:inline-block; list-style:none; float: left;">
{if {$_CONF['info_row']['allow_avatar']}}
{if {$_CONF['rows']['member_row']['avater_path']} != ''}
<a class="UserPhotoLink" href="index.php?page=profile&show=1&id={$_CONF['rows']['member_row']['id']}">
<img src="{$_CONF['rows']['member_row']['avater_path']}" alt="Photo" class="UserPhoto UserPhoto_mini">
</a>
{else}
<a class="UserPhotoLink" href="index.php?page=profile&show=1&id={$_CONF['rows']['member_row']['id']}">
<img src="{$image_path}/
{$_CONF['info_row']['default_avatar']}" class="UserPhoto UserPhoto_mini">
</a>
{/if}
{/if}
</li>
<li style="margin: 0 3px; display:inline-block; list-style:none; float: left;">
<span class="welcomelink">{$lang['Hello_your']} </span>
<span class="username_link">
<a href="index.php?page=profile&show=1&id={$_CONF['rows']['member_row']['id']}" title="{$lang['Last_visit']}
({$lastvisit})">
({$username_style})</a>
</span>
{if {$_CONF['info_row']['pm_feature']}}
{if {$_CONF['rows']['group_info']['use_pm']} == 1}
<span class="memberlink">
<a href="index.php?page=pm_list&list=1&folder=inbox">{$lang['Private_Messages']}</a>:
({$pm_num})
</span>
{/if}
{/if}
{if {$_CONF['rows']['member_row']['usergroup']} == 5}
<span class="memberlink">
<a href="index.php?page=forget&active_member=1&send_active_code=1">{$lang['send_active_code']}</a>
</span>
{/if}
</li>
{/if}
{if !{$_CONF['member_permission']}}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: left;">
<form method="post" action="index.php?page=login&login=1">
<input type="text" class="login_input" name="username" value="{$lang['username']}" onfocus="if (this.value == '{$lang['username']}') this.value = '';" size="12" />
<input type="password" class="login_input" name="password" value="pass" onfocus="if (this.value == 'pass') this.value = '';" size="12"/>
<input type="submit" class="submit_login" value="{$lang['login']}" />
<input type="checkbox" name="temporary" value="on" id="fp1" /> {$lang['Temp_login']}
</form>
</li>
{/if}
</ul>
</div>]]></context_header_bar>
<context_headinclud><![CDATA[<!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-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
{if {$index}}
<meta name="keywords" content="{$keywords}" />
{else}
<meta name="keywords" content="{Des::while}{tags}{$tags['tag']},{/Des::while}keyword" />
{/if}
<meta name="description" content="{$description}" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$lang['rss_subject']}" href="index.php?page=rss&subject=1" />
{if {$index}}
<link rel="alternate" type="application/rss+xml" title="{$lang['rss_section']}" href="index.php?page=rss&section=1&id={$SECTION_ID}" />
{/if}
<style type="text/css" media="all">
/*action_find_addons_css_1*/
/*action_find_addons_css_2*/
</style>
{template}pbboard_code_js{/template}
<script type="text/javascript" src="includes/js/pbboard_global.js"></script>
<script type="text/javascript" src="includes/js/jquery.js"></script>
<script type="text/javascript" src="includes/js/poem.js"></script>
<script type='text/javascript'>
//<![CDATA[
//path of images
var path="{$image_path}/";
// show prompt or not 1 or 0
var prompt_bbcode = 1 ;
var cpaletc= 5 ;
var wbg= "#fff";
var wcolor= "#000";
// lang of the editor
var l_undo="{$lang['l_undo']}";
var l_redo="{$lang['l_redo']}";
var l_b="{$lang['l_b']}";
var l_u="{$lang['l_u']}";
var l_i="{$lang['l_i']}";
var l_remove="{$lang['l_remove']}";
var l_p="{$lang['l_p']}";
var l_link="{$lang['l_link']}";
var l_email="{$lang['l_email']}";
var l_flash="{$lang['l_flash']}";
var l_media="{$lang['l_media']}";
var l_ram="{$lang['l_ram']}";
var l_link_p= 1;
var l_youtube_p= 1;
var l_email_p= 1;
var l_flash_p= 1;
var l_media_p= 1;
var l_ram_p= 1;
var url_enter_desc = "{$lang['url_enter_desc']}";
var email_enter_desc = "{$lang['email_enter_desc']}";
var l_unlink="{$lang['l_unlink']}";
var l_youtube="{$lang['l_youtube']}";
var l_image="{$lang['l_image']}";
var l_jr="{$lang['l_jr']}";
var l_jl="{$lang['l_jl']}";
var l_jc="{$lang['l_jc']}";
var l_ol="{$lang['l_ol']}";
var l_ul="{$lang['l_ul']}";
var l_quote="{$lang['l_quote']}";
var l_code="{$lang['l_code']}";
var l_phpcode="{$lang['l_phpcode']}";
var l_rf="{$lang['l_rf']}";
var l_out="{$lang['l_out']}";
var l_ind="{$lang['l_ind']}";
var l_size="{$lang['l_size']}";
var l_font="{$lang['l_font']}";
var l_para="{$lang['l_para']}";
var l_ex="{$lang['l_ex']}";
var l_con="{$lang['l_con']}";
var url_enter="{$lang['url_enter']}";
var email_enter="{$lang['email_enter']}";
var image_enter="{$lang['image_enter']}";
var fontsarr=['Arial','Arial Black','Arial Narrow','Traditional Arabic','Book Antiqua','Century Gothic','Comic Sans MS','Courier New','Fixedsys','Franklin Gothic Medium','Garamond','Georgia','Impact','Lucida Console','Lucida Sans Unicode','Microsoft Sans Serif','Palatino Linotype','System','Tahoma','Times New Roman','Trebuchet MS','Verdana'];
var direction="{$lang['direction']}";
var l_exp="{$lang['l_exp']}";
var l_s="{$lang['l_s']}";
var l_hr="{$lang['l_hr']}";
var l_sub="{$lang['l_sub']}";
var l_sup="{$lang['l_sup']}";
var l_sent ={$lang['l_sent']};
var l_sent_value ={$lang['l_sent_value']};
var l_flash_url="{$lang['l_flash_url']}";
var l_flash_width="{$lang['l_flash_height']}";
var l_flash_height="{$lang['l_flash_width']}";
var l_media_url="{$lang['l_media_url']}";
var l_ram_url="{$lang['l_ram_url']}";
var size1="{$lang['size1']}";
var size2="{$lang['size2']}";
var size3="{$lang['size3']}";
var size4="{$lang['size4']}";
var size5="{$lang['size5']}";
var change_editor="{$lang['change_editor']}";
var must_disabled_bbcode_mode="{$lang['must_disabled_bbcode_mode']}";
var insert_table="{$lang['insert_table']}";
var rows_number="{$lang['rows_number']}";
var columns_number="{$lang['columns_number']}";
var l_frame="{$lang['l_frame']}";
var l_gradient="{$lang['l_gradient']}";
var l_keyboard="{$lang['l_keyboard']}";
var smiles="{$lang['smiles']}";
var should_mislead_or_select_text_first="{$lang['should_mislead_or_select_text_first']}";
var l_poem="{$lang['l_poem']}";
//]]>
</script>
<script type="text/javascript" src="includes/js/wseditor.js"></script>
<script type="text/javascript" src="includes/js/shCore.js"></script>
<script type="text/javascript" src="includes/js/shBrushPhp.js"></script>
<script type="text/javascript">SyntaxHighlighter.config.bloggerMode = true; SyntaxHighlighter.all();</script>
{if {$_CONF['info_row']['resize_imagesAllow']} == 1}
{template}imgs_resize{/template}
{/if}
<style type="text/css">.shakeimage{position:relative}</style>
<script type="text/javascript" src="includes/js/effects.js"></script>
<title>{$title}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}</title>
</head>
<body>
{template}header_bar{/template}
{template}header{/template}]]></context_headinclud>
<context_iconbox><![CDATA[ <fieldset>
<legend>{$lang['icons']}</legend>
<?php $t=0; ?>
<table width="80%" border="0" cellpadding="0" style="border-collapse: collapse" align="center">
<tr valign="top">
{Des::while}{IconRows}
<?php
if($t== $PowerBB->_CONF['template']['_CONF']['info_row']['icon_columns_number']){
$t=0;
echo "</tr><tr>";
}?>
<td width="4%" class="smbox">
{if {$SRInfo['icon']} == {$IconRows['smile_path']}}
<input type="radio" value="{$SRInfo['icon']}" checked="checked" name="icon" />
{else}
<input type="radio" value="{$IconRows['smile_path']}" name="icon" />
{/if}
<label for="fp{$IconRows['id']}">
<img src="{$IconRows['smile_path']}" alt="{$IconRows['smile_path']}" border="0" cellspacing="1" />
</label>
</td>
<?php $t=$t+1;?>
{/Des::while}
</tr>
<tr valign="top">
<td width="4%" class="smbox" colspan="{$_CONF['info_row']['icon_columns_number']}">
{if {$SRInfo['icon']} == 'look/images/icons/i1.gif'}
<input type="radio" value="{$_CONF['info_row']['icon_path']}i1.gif" checked="checked" name="icon" />
{elseif {$checked} == 'no_icon'}
<input type="radio" value="{$_CONF['info_row']['icon_path']}i1.gif" checked="checked" name="icon" />
{elseif {$SubjectInfo['icon']} == ''}
<input type="radio" value="{$_CONF['info_row']['icon_path']}i1.gif" checked="checked" name="icon" />
{else}
<input type="radio" value="{$_CONF['info_row']['icon_path']}i1.gif" name="icon" />
{/if}
<label for="fp1">
{$lang['no_icon']}</label>
</td>
</tr>
</table>
</fieldset>
]]></context_iconbox>
<context_imgs_resize><![CDATA[<?php
if($PowerBB->_CONF['info_row']['resize_imagesAllow'] == 1){?>
<link href="look/images/facebox/facebox.css" media="screen" rel="stylesheet" type="text/css" />
<script src="look/images/facebox/facebox.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
})
})
</script>
<script type="text/javascript">
<?php
echo "maxAvWidth='".$PowerBB->_CONF['info_row']['max_avatar_width']."';\n";
echo "maxAvHeight='".$PowerBB->_CONF['info_row']['max_avatar_height']."';\n";
echo "maxWidth='".$PowerBB->_CONF['info_row']['default_imagesW']."';\n";
echo "maxHeight='".$PowerBB->_CONF['info_row']['default_imagesH']."';\n";
echo "resLng='".$PowerBB->_CONF['template']['lang']['resize_image_w_h']."';\n";
?>
</script>
<script type="text/javascript" language="javascript" src="includes/js/resize_images.js"></script>
<?php } ?>]]></context_imgs_resize>
<context_index.html><![CDATA[<br /><br /> <br /><br /><br /><br /> <br /><br />
<br /><br /> <br /><br /><br /><br /> <br /><br />
{Des::while}{AttachList}
{if {$AttachList['extension']} == ('jpeg')}
<fieldset>
{if {$_CONF['info_row']['resize_imagesAllow']} == 1}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ© اÙÙ
صغرة</legend>
<?php $imgsrc = $PowerBB->_CONF['template']['url'].$PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filepath'];?>
<?php $image = @getimagesize($imgsrc);?>
<?php $default_width = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesW']; ?>
<?php $default_height = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesH']; ?>
<?php if ($image[0] > $default_width || $image[1] > $default_height){ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}" width="{$_CONF['info_row']['default_imagesW']}" height="{$_CONF['info_row']['default_imagesH']}" >
<br />
(Ø£ÙÙØ± عÙÙ Ø§ÙØµÙرة ÙØªÙØ¨ÙØ±Ùا)
</a>
<?php }else{ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
<?php }?>
{else}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ©</legend>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
{/if}
</fieldset>
<br />
{/if}
{if {$AttachList['extension']} == ('image/pjpeg')}
<fieldset>
{if {$_CONF['info_row']['resize_imagesAllow']} == 1}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ© اÙÙ
صغرة</legend>
<?php $imgsrc = $PowerBB->_CONF['template']['url'].$PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filepath'];?>
<?php $image = @getimagesize($imgsrc);?>
<?php $default_width = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesW']; ?>
<?php $default_height = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesH']; ?>
<?php if ($image[0] > $default_width || $image[1] > $default_height){ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}" width="{$_CONF['info_row']['default_imagesW']}" height="{$_CONF['info_row']['default_imagesH']}" >
<br />
(Ø£ÙÙØ± عÙÙ Ø§ÙØµÙرة ÙØªÙØ¨ÙØ±Ùا)
</a>
<?php }else{ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
<?php }?>
{else}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ©</legend>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
{/if}
</fieldset>
<br />
{/if}
{if {$AttachList['extension']} == ('image/x-png')}
<fieldset>
{if {$_CONF['info_row']['resize_imagesAllow']} == 1}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ© اÙÙ
صغرة</legend>
<?php $imgsrc = $PowerBB->_CONF['template']['url'].$PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filepath'];?>
<?php $image = @getimagesize($imgsrc);?>
<?php $default_width = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesW']; ?>
<?php $default_height = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesH']; ?>
<?php if ($image[0] > $default_width || $image[1] > $default_height){ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}" width="{$_CONF['info_row']['default_imagesW']}" height="{$_CONF['info_row']['default_imagesH']}" >
<br />
(Ø£ÙÙØ± عÙÙ Ø§ÙØµÙرة ÙØªÙØ¨ÙØ±Ùا)
</a>
<?php }else{ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
<?php }?>
{else}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ©</legend>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
{/if}
</fieldset>
<br />
{/if}
{if {$AttachList['extension']} == ('gif')}
<fieldset>
{if {$_CONF['info_row']['resize_imagesAllow']} == 1}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ© اÙÙ
صغرة</legend>
<?php $imgsrc = $PowerBB->_CONF['template']['url'].$PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filepath'];?>
<?php $image = @getimagesize($imgsrc);?>
<?php $default_width = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesW']; ?>
<?php $default_height = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesH']; ?>
<?php if ($image[0] > $default_width || $image[1] > $default_height){ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}" width="{$_CONF['info_row']['default_imagesW']}" height="{$_CONF['info_row']['default_imagesH']}" >
<br />
(Ø£ÙÙØ± عÙÙ Ø§ÙØµÙرة ÙØªÙØ¨ÙØ±Ùا)
</a>
<?php }else{ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
<?php }?>
{else}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ©</legend>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
{/if}
</fieldset>
<br />
{/if}
{if {$AttachList['extension']} == ('png')}
<fieldset>
{if {$_CONF['info_row']['resize_imagesAllow']} == 1}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ© اÙÙ
صغرة</legend>
<?php $imgsrc = $PowerBB->_CONF['template']['url'].$PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filepath'];?>
<?php $image = @getimagesize($imgsrc);?>
<?php $default_width = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesW']; ?>
<?php $default_height = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesH']; ?>
<?php if ($image[0] > $default_width || $image[1] > $default_height){ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}" width="{$_CONF['info_row']['default_imagesW']}" height="{$_CONF['info_row']['default_imagesH']}" >
<br />
(Ø£ÙÙØ± عÙÙ Ø§ÙØµÙرة ÙØªÙØ¨ÙØ±Ùا)
</a>
<?php }else{ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
<?php }?>
{else}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ©</legend>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
{/if}
</fieldset>
<br />
{/if}
{if {$AttachList['extension']} == ('bmp')}
<fieldset>
{if {$_CONF['info_row']['resize_imagesAllow']} == 1}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ© اÙÙ
صغرة</legend>
<?php $imgsrc = $PowerBB->_CONF['template']['url'].$PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filepath'];?>
<?php $image = @getimagesize($imgsrc);?>
<?php $default_width = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesW']; ?>
<?php $default_height = $PowerBB->_CONF['template']['_CONF']['info_row']['default_imagesH']; ?>
<?php if ($image[0] > $default_width || $image[1] > $default_height){ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}" width="{$_CONF['info_row']['default_imagesW']}" height="{$_CONF['info_row']['default_imagesH']}" >
<br />
(Ø£ÙÙØ± عÙÙ Ø§ÙØµÙرة ÙØªÙØ¨ÙØ±Ùا)
</a>
<?php }else{ ?>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
<?php }?>
{else}
<legend>Ø§ÙØµÙر اÙÙ
رÙÙØ©</legend>
<a target="_blank" href="{$AttachList['filepath']}"><img border="0" src="{$AttachList['filepath']}"></a>
{/if}
</fieldset>
<br />
{/if}
{/Des::while}
<table border="0" cellspacing="1" class="border" width="80%" align="center">
{Des::while}{AttachList}
<tr align="right">
<td width="40%" class="row1">
تØÙ
Ù٠اÙÙ
رÙÙ :
(<a href="index.php?page=download&attach=1&id={$AttachList['id']}">{$AttachList['filename']}</a>)
</td>
<td width="30%" class="row1">
Ù
رات Ø§ÙØªØÙ
ÙÙ :
({$AttachList['visitor']})
</td>
<td width="30%" class="row1">
Ø§ÙØØ¬Ù
:
(<?php echo $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filesize'] / 1000; ?>)
KB
</td>
</tr>
{/Des::while}
</table>
<br />]]></context_index.html>
<context_info_bar><![CDATA[{if {$_CONF['info_row']['show_ads']} == 1}
{template}ads{/template}
{/if}
{if {$page} == 'index'}
{template}adsense_home{/template}
{/if}
{if {$_CONF['info_row']['activate_lasts_posts_bar']} == 1}
{template}lasts_posts_bar{/template}
{/if}
{if {$_CONF['info_row']['activate_chat_bar']} == 1}
{template}chat{/template}
{/if}
<br />
]]></context_info_bar>
<context_jump_forums_list><![CDATA[ <table border="0" cellspacing="1" width="50%" align="left">
<tr>
<td width="50%" align="left">
<select class='row1' name='url' onchange="window.location.href=this.options[this.selectedIndex].value">
<option selected="selected">{$lang['quick_jump_to']}</option>
<option value='index.php'>»{$lang['home']}</option>
{if $PowerBB->_GET['page'] == 'search'}
<option value='index.php?page=search&index=1' selected='selected'>»{$lang['Search_Engine']}</option>
{else}
<option value='index.php?page=search&index=1'>»{$lang['Search_Engine']}</option>
{/if}
{if $PowerBB->_GET['page'] == 'online'}
<option value='index.php?page=online&show=1' selected='selected'>»{$lang['Whos_Online']}</option>
{else}
<option value='index.php?page=online&show=1'>»{$lang['Whos_Online']}</option>
{/if}
{if $PowerBB->_GET['page'] == 'pm_list'}
<option value='index.php?page=pm_list&list=1&folder=inbox' selected='selected'>»{$lang['Private_Messages']}</option>
{else}
<option value='index.php?page=pm_list&list=1&folder=inbox'>»{$lang['Private_Messages']}</option>
{/if}
{if $PowerBB->_GET['page'] == 'member_list'}
<option value='index.php?page=member_list&index=1&show=1' selected='selected'>»{$lang['members']}</option>
{else}
<option value='index.php?page=member_list&index=1&show=1'>»{$lang['members']}</option>
{/if}
{if $PowerBB->_GET['page'] == 'archive'}
<option value='index.php?page=archive' selected='selected'>»{$lang['archive']}</option>
{else}
<option value='index.php?page=archive'>»{$lang['archive']}</option>
{/if}
{if $PowerBB->_GET['page'] == 'calendar'}
<option value='index.php?page=calendar&show=1' selected='selected'>»{$lang['Calendar']}</option>
{else}
<option value='index.php?page=calendar&show=1'>»{$lang['Calendar']}</option>
{/if}
<option disabled='disabled'>-------------------------------</option>
{Des::foreach}{forumsy_list}{forumy}
{if {$forumy['parent']} == 0}
<option value="index.php?page=forum&show=1&id={$forumy['id']}" disabled="disabled">- {$forumy['title']}</option>
{else}
{if $PowerBB->_GET['page'] == 'forum' && $PowerBB->_GET['show'] == 1 && $PowerBB->_GET['id'] == {$forumy['id']}}
<option value="index.php?page=forum&show=1&id={$forumy['id']}" selected='selected'>-- {$forumy['title']}</option>
{else}
<option value="index.php?page=forum&show=1&id={$forumy['id']}">-- {$forumy['title']}</option>
{/if}
{/if}
{if {$forumy['parent']} != 0}
{if {$forumy['linksection']} != '1'}
{if {$forumy['is_sub']}}
{$forumy['sub']}
{/if}
{/if}
{/if}
{/Des::foreach}
</select>
<input type="submit" value="{$lang['Count']}" />
</td>
</tr>
</table>
<br />
<br />]]></context_jump_forums_list>
<context_keyboard_form><![CDATA[<!--<iframe src="{$image_path}/editor/keyboard_form.htm" scrolling="auto" frameborder="0" cellspacing="1" scrolling="auto" width="100%" height="500"></iframe>-->
<script type="text/javascript">
//<![CDATA[
comm._submit();
//]]>
</script>
<table cellspacing="0" cellpadding="0" width="450" align="center">
<tr>
<td dir="rtl"><center>
<img style="BORDER-RIGHT: #a52029 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #a52029 1px solid; PADDING-LEFT: 4px; PADDING-BOTTOM: 1px; BORDER-LEFT: #a52029 1px solid; PADDING-TOP: 1px; BORDER-BOTTOM: #a52029 1px solid" height="156" src="{$image_path}/editor/key1.gif" width="450" usemap="#key" border="0">
</center></td>
</tr>
<tr>
<td height="52">
<div align="center">
<img height="43" src="{$image_path}/editor/key2.gif" width="354" usemap="#key2" border="0">
</div>
</td>
</tr>
</table>
<center><map name="key">
<area onclick="Addthrough(' ');" shape="RECT" coords="119,123,292,146">
<area onclick="Addthrough('ذ');" shape="RECT" coords="7,5,32,29">
<area onclick="Addthrough('1');" shape="RECT" coords="37,4,60,26">
<area onclick="Addthrough('2');" shape="RECT" coords="65,4,89,28">
<area onclick="Addthrough('3');" shape="RECT" coords="96,3,117,28">
<area onclick="Addthrough('4');" shape="RECT" coords="125,5,147,27">
<area onclick="Addthrough('5');" shape="RECT" coords="155,5,176,28">
<area onclick="Addthrough('6');" shape="RECT" coords="183,4,205,27">
<area onclick="Addthrough('7');" shape="RECT" coords="212,5,235,27">
<area onclick="Addthrough('8');" shape="RECT" coords="241,6,263,28">
<area onclick="Addthrough('9');" shape="RECT" coords="271,6,292,30">
<area onclick="Addthrough('0');" shape="RECT" coords="298,4,324,30">
<area onclick="Addthrough('ظ');" shape="RECT" coords="334,92,361,118">
<area onclick="Addthrough('ز');" shape="RECT" coords="306,92,331,114">
<area onclick="Addthrough('Ù');" shape="RECT" coords="276,93,300,115">
<area onclick="Addthrough('Ø©');" shape="RECT" coords="246,93,271,115">
<area onclick="Addthrough('Ù');" shape="RECT" coords="219,91,245,115">
<area onclick="Addthrough('ÙØ§');" shape="RECT" coords="190,91,214,115">
<area onclick="Addthrough('ر');" shape="RECT" coords="159,93,186,115">
<area onclick="Addthrough('ؤ');" shape="RECT" coords="130,95,153,118">
<area onclick="Addthrough('Ø¡');" shape="RECT" coords="101,90,127,117">
<area onclick="Addthrough('ئ');" shape="RECT" coords="74,92,96,115">
<area onclick="Addthrough('Ø·');" shape="RECT" coords="351,61,376,88">
<area onclick="Addthrough('Ù');" shape="RECT" coords="321,63,348,86">
<area onclick="Addthrough('Ù
');" shape="RECT" coords="293,64,315,87">
<area onclick="Addthrough('Ù');" shape="RECT" coords="263,63,286,87">
<area onclick="Addthrough('ت');" shape="RECT" coords="234,62,258,85">
<area onclick="Addthrough('ا');" shape="RECT" coords="206,64,229,87">
<area onclick="Addthrough('Ù');" shape="RECT" coords="178,64,200,87">
<area onclick="Addthrough('ب');" shape="RECT" coords="148,63,170,86">
<area onclick="Addthrough('Ù');" shape="RECT" coords="118,64,142,89">
<area onclick="Addthrough('س');" shape="RECT" coords="90,64,112,87">
<area onclick="Addthrough('Ø´');" shape="RECT" coords="60,64,84,86">
<area onclick="Addthrough('د');" shape="RECT" coords="371,34,397,58">
<area onclick="Addthrough('ج');" shape="RECT" coords="343,35,368,59">
<area onclick="Addthrough('Ø');" shape="RECT" coords="315,33,339,58">
<area onclick="Addthrough('Ø®');" shape="RECT" coords="285,35,310,60">
<area onclick="Addthrough('Ù');" shape="RECT" coords="255,34,280,57">
<area onclick="Addthrough('ع');" shape="RECT" coords="229,34,251,57">
<area onclick="Addthrough('غ');" shape="RECT" coords="198,35,222,58">
<area onclick="Addthrough('Ù');" shape="RECT" coords="169,34,193,57">
<area onclick="Addthrough('Ù');" shape="RECT" coords="140,33,165,58">
<area onclick="Addthrough('Ø«');" shape="RECT" coords="110,35,134,57">
<area onclick="Addthrough('ص');" shape="RECT" coords="82,36,103,57">
<area onclick="Addthrough('ض');" shape="RECT" coords="51,35,71,55">
<area onclick="Addthrough('\n');" shape="POLY" coords="402,38,436,38,438,85,381,86,379,68,403,68">
</map><map name="key2">
<area onclick="Addthrough('Ø');" shape="RECT" coords="317,5,343,33">
<area onclick="Addthrough('Ø¥');" shape="RECT" coords="282,4,308,32">
<area onclick="Addthrough('Ø');" shape="RECT" coords="254,6,280,33">
<area onclick="Addthrough('Ù');" shape="RECT" coords="225,4,251,35">
<area onclick="Addthrough('Ø£');" shape="RECT" coords="194,5,221,33">
<area onclick="Addthrough('ÙØ£');" shape="RECT" coords="164,6,192,32">
<area onclick="Addthrough('Ø');" shape="RECT" coords="129,6,158,35">
<area onclick="Addthrough('.');" shape="RECT" coords="100,6,127,32">
<area onclick="Addthrough(',');" shape="RECT" coords="71,6,97,34">
<area onclick="Addthrough('Ø¢');" shape="RECT" coords="36,6,62,34">
<area onclick="Addthrough('ÙØ¢');" shape="RECT" coords="8,6,34,34">
</map> </center>
]]></context_keyboard_form>
<context_lasts_posts_bar><![CDATA[
<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>
]]></context_lasts_posts_bar>
<context_last_subject_writer><![CDATA[{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">
{$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>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a target="_blank" href="t{$Writer_subjectList['id']}.html">
{else}
<a target="_blank" href="index.php?page=topic&show=1&id={$Writer_subjectList['id']}">
{/if}
<?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>
<br /></td>
</tr>
{/Des::while}
</table>
</MARQUEE>
</td>
</tr>
{/if}
</table>
</div>
{/if}]]></context_last_subject_writer>
<context_login><![CDATA[ {template}address_bar_part1{/template}
{$lang['Login_mem']}
{template}address_bar_part2{/template}
<br />
<form method="post" action="index.php?page=login&login=1">
<div align="center">
<table border="0" cellspacing="1" class="border" width="60%" align="center">
<tr>
<td class="tcat" colspan="2" align="right">{$lang['Login_mem']}</td>
</tr>
<tr>
<td class="row1" align="right">{$lang['username']}</td>
<td class="row1" align="right">
<input type="text" name="username" value="{$lang['username']}" onfocus="if (this.value == '{$lang['username']}') this.value = '';" size="20"/>
<input type="checkbox" name="temporary" value="on" id="fp1" />
<label for="fp1">{$lang['Temp_login']}</label>
</td>
</tr>
<tr>
<td class="row1" align="right">{$lang['password']}</td>
<td class="row1" align="right">
<input type="password" name="password" value="{$lang['password']}" onfocus="if (this.value == '{$lang['password']}') this.value = '';" size="20"/>
</td>
</tr>
<tr>
<td class="row1" colspan="2" align="right">
<ul>
<li><a href="index.php?page=register&index=1">{$lang['register']}</a></li>
<li><a href="index.php?page=forget&index=1">{$lang['Lost_password']}</a></li>
<li><a href="index.php?page=forget&active_member=1&send_active_code=1">{$lang['send_active_code']}</a></li>
</ul>
</td>
</tr>
<tr>
<td class="row1" colspan="2" align="center">
<input type="submit" value="{$lang['Login_mem']}" /></td>
</tr>
</table>
</div>
</form>
<br />]]></context_login>
<context_login_msg><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<title>{$lang['Guidance_re']}</title>
</head>
<body>
<br />
<br />
<br />
<br />
<br />
<br />
<table border="0" cellspacing="1" width="60%" class="border" align="center">
<tr>
<td class="tcat" colspan="2" height="23">
<b>{$lang['Hello_your']}
{$username}</b>
</td>
</tr>
<tr>
<td class="row1" colspan="2" align="center">
<p>
{$lang['Peace_your']}
{$username}
<br /><br />
{$lang['Logged_Messages']}
<br />
<br />
<img border="0" src="{$image_path}/loading5.gif" alt="loading">
</div>
</div> </p>
</td>
</tr>
</table>
</body>
</html>]]></context_login_msg>
<context_logout_msg><![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
</head>
<body>
<br />
<br />
<br />
<br />
<br />
<br />
<table border="0" cellspacing="1" width="60%" class="border" align="center">
<tr>
<td class="tcat" colspan="2" height="23">
<b>{$lang['goodbay1']}
{$username}</b>
</td>
</tr>
<tr>
<td class="row1" colspan="2" align="center">
<p>
{$lang['goodbay2']}
{$username}
<br /><br />
{$lang['logout_successfully']}
<br />
<br />
<img border="0" src="{$image_path}/loading5.gif" alt="loading">
</div>
</div> </p>
</td>
</tr>
</table>
</body>
</html>]]></context_logout_msg>
<context_main--static_table><![CDATA[<!-- action_find_addons_1 -->
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr align="center">
<td class="tcat">
<span class="l-left">
<a onclick="switchMenuNone('static');"><img border="0" alt="" src="{$image_path}/collapse_b.gif" /></a>
</span>
{$lang['static']}
</td>
</tr>
</table>
<table border="0" width="98%" cellspacing="1" cellpadding="0" align="center" id="static" class="border_forums">
<tr align="right">
<td class="thead1" align="right" colspan="2">
<strong>
{if {$_CONF['group_info']['onlinepage_allow']} == '1'}
<a href="index.php?page=online&show=1">{$lang['online_naw']}</a>
{else}
{$lang['online_naw']}
{/if}
: </strong> ({$MemberNumber})
{$lang['member_and']}
({$MemberNumberHide})
{$lang['member_hide_and']}
({$SpidersNumber})
{$lang['Spiders_and']}
({$GuestNumber})
{$lang['Guest']}
<!-- action_find_addons_2 -->
</td>
</tr>
<!-- action_find_addons_3 -->
<tr align="right">
<td class="row2" colspan="2">
{Des::while}{GroupList}
{$GroupList['h_title']}Ø
{/Des::while}
</td>
</tr>
<tr align="right">
<td class="row5">
<img border="0" alt="" src="{$image_path}/user.gif" />
</td>
<td class="row1" width="96%">
<span class="describe">
{$lang['max_online']}
<strong>({$max_online})</strong>
{$lang['date']}
{$max_online_date}<br />
</span>
{Des::while}{OnlineList}
{if {$OnlineList['user_id']} == '-1'}
{if {$OnlineList['is_bot']} == '1'}
{$OnlineList['bot_name']}
{else}
<?php echo $PowerBB->_CONF['template']['while']['OnlineList'][$this->x_loop]['username_style'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['while']['OnlineList'][$this->x_loop]['username_style']); ?>Ø
{/if}
{else}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$OnlineList['user_id']}.html"
title="{$lang['time_logged_online']}{$OnlineList['logged']}">{$OnlineList['username_style']}</a>Ø
{else}
<a href="index.php?page=profile&show=1&id={$OnlineList['user_id']}"
title="{$lang['time_logged_online']}{$OnlineList['logged']}">{$OnlineList['username_style']}</a>Ø
{/if}
{/if}
{/Des::while}
{if {$_CONF['info_row']['show_onlineguest']} == 1}
{if {$MemberNumber} + {$GuestNumber} <= 0}
{if !{$_CONF['rows']['member_row']['hide_online']} == 1}
{$lang['no_login_member']}
{/if}
{/if}
{else}
{if {$MemberNumber} <= 0}
{if !{$_CONF['rows']['member_row']['hide_online']} == 1}
{$lang['no_login_member']}
{/if}
{/if}
{/if}</td>
</tr>
{if {$_CONF['info_row']['show_online_list_today']} == 1}
<tr align="right">
<td class="thead1" align="right" colspan="2">
{$lang['online_today']}
({$TodayNumber})
{$lang['member']}
<!-- action_find_addons_4 -->
</td>
</tr>
<tr align="right">
<td class="row5">
<img border="0" alt="" src="{$image_path}/user.gif" />
</td>
<td class="row1" width="96%">
{if {$TodayNumber} > 0}
{Des::while}{TodayList}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$TodayList['user_id']}.html">{$TodayList['username_style']}</a>Ø
{else}
<a href="index.php?page=profile&show=1&id={$TodayList['user_id']}">{$TodayList['username_style']}</a> Ø
{/if}
{/Des::while}
{elseif {$TodayNumber} <= 0}
{$lang['no_visitor_member_today']}
{/if}
</td>
</tr>
{/if}
{if {$_CONF['info_row']['active_static']} == '1'}
<tr align="right">
<td class="thead1" align="right" colspan="2">
{$lang['static']}
{$_CONF['info_row']['title']}</td>
</tr>
<tr align="right">
<td class="row5">
<img border="0" alt="" src="{$image_path}/states.gif" />
</td>
<td class="row1" width="96%">
{$lang['subjects_num']}
({$sn}),
{$lang['replys_num']}
({$rn}) ,
{$lang['members_num']}
({$mn}) <br />
{$lang['last_member_register']}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$lm['id']}.html">{$lm['username_style_cache']}</a>
{else}
<a href="index.php?page=profile&show=1&id={$lm['id']}">{$lm['username_style_cache']}</a>
{/if}
<!-- action_find_addons_5 -->
</td>
</tr>
{/if}
</table>
<br />
<!-- action_find_addons_6 -->
{template}statistics_list{/template}
<!-- action_find_addons_7 -->]]></context_main--static_table>
<context_main><![CDATA[{if {$_CONF['info_row']['activate_special_bar']} == 1}
{template}special{/template}
{/if}
{template}address_bar_part1{/template}
{$lang['home_peg']}
{template}address_bar_part2{/template}
<!-- action_find_addons_1 -->
{template}sections_list{/template}
<!-- action_find_addons_2 -->
{template}main--static_table{/template}
<!-- action_find_addons_3 -->
{if {$_CONF['info_row']['pm_feature']} == 1}
{if {$_CONF['rows']['member_row']['pm_window']} == 1}
{if {$_CONF['rows']['member_row']['unread_pm']} > 0}
{template}pm_popup{/template}
{/if}
{/if}
{/if}
<br />
<div align="right">
<table border="0" cellspacing="1" cellpadding="2" dir="{$_CONF['info_row']['content_dir']}">
<tr>
<td>
<img title="{$lang['new_subject']}" src="{$image_path}/icon-67_new.gif"
alt="{$lang['new_subject']}" border="0" /></td>
<td class="smallfont"> {$lang['new_subject']}</td>
</tr>
<tr>
<td>
<img title="{$lang['no_new_subject']}" src="{$image_path}/icon-67_old.gif"
alt="{$lang['no_new_subject']}" border="0" /></td>
<td class="smallfont"> {$lang['no_new_subject']}</td>
</tr>
</table></div>
<br />
<!-- action_find_addons_4 -->]]></context_main>
<context_main_bar><![CDATA[<div id="primary_nav">
<ul class="pbbList_inline">
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="index.php" title="Go to Forums">{$lang['forum']}</a></li>
<!-- action_find_addons_1 -->
{if {$_CONF['info_row']['active_portal']} == '1'}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="index.php?page=portal" title="Go to Portal">{$_CONF['info_row']['title_portal']}</a></li>
{/if}
{if !{$No_PagesList}}
<li id="nav_members" style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="javascript:switchMenuNone('pages')">{$lang['pages']}
<img border="0" alt="" src="{$image_path}/menu_open.gif" /></a>
{template}pages{/template}
</li>
{/if}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="index.php?page=misc&rules=1&show=1">{$lang['rules']}</a></li>
{if {$_CONF['info_row']['active_static']} == '1'}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="index.php?page=static&index=1">{$lang['static']}</a></li>
{/if}
{if {$_CONF['info_row']['active_calendar']} == '1'}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="index.php?page=calendar&show=1">{$lang['Calendar']}</a></li>
{/if}
{if {$_CONF['member_permission']}}
{else}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="index.php?page=latest_reply&today=1">{$lang['latest_reply']}</a></li>
{/if}
{if {$_CONF['member_permission']}}
{if {$_CONF['group_info']['memberlist_allow']} == '1'}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="index.php?page=member_list&index=1&show=1">{$lang['memberlist']}</a></li>
{/if}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="javascript:switchMenuNone('usercptools')">{$lang['quick_options']}
<img border="0" alt="" src="{$image_path}/menu_open.gif" /></a>{template}usercptools{/template}</li>
{if {$subject_special_nm} > '0'}
<li style="margin: 0 3px; display:inline-block; list-style:none; float: right;"><a href="index.php?page=special_subject&index=1">{$lang['Special_Subject']}</a></li>
{/if}
{/if}
<!-- action_find_addons_2 -->
</ul>
</div>
<table width="98%" border="0" cellspacing="1" align="center">
<tr>
<td class="pbboard_body">
<!-- action_find_addons_3 -->
{template}info_bar{/template}]]></context_main_bar>
<context_multi_quote><![CDATA[{if {$mqtids}}
<?php
$mqtids = $PowerBB->_CONF['template']['mqtids'];
$subjectids = $PowerBB->_CONF['template']['subject_info']['id'];
if (strstr($mqtids,$PowerBB->_CONF['template']['subject_info']['id']))
{
$PowerBB->_CONF['template']['subject_info']['text'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['subject_info']['text']);
$censorwords = preg_split('#[ \r\n\t]+#', $PowerBB->_CONF['info_row']['censorwords'], -1, PREG_SPLIT_NO_EMPTY);
$PowerBB->_CONF['template']['subject_info']['text'] = str_ireplace($censorwords,'**', $PowerBB->_CONF['template']['subject_info']['text']);
$quote_subject_info = '[quote=' . $PowerBB->_CONF['template']['subject_info']['writer'] . ']' . $PowerBB->_CONF['template']['subject_info']['text'] . '[/quote]';
echo $quote_subject_info."\n";
}
$QuoteArr = $PowerBB->DB->sql_query("SELECT id,text,writer FROM " . $PowerBB->table['reply'] . " WHERE ID IN($mqtids) and subject_id ='$subjectids' ");
while ($QuoteList = $PowerBB->DB->sql_fetch_array($QuoteArr))
{
$QuoteList['text'] = $PowerBB->Powerparse->censor_words($QuoteList['text']);
$censorwords = preg_split('#[ \r\n\t]+#', $PowerBB->_CONF['info_row']['censorwords'], -1, PREG_SPLIT_NO_EMPTY);
$QuoteList['text'] = str_ireplace($censorwords,'**', $QuoteList['text']);
if ($QuoteList['id'] == $PowerBB->_CONF['template']['subject_info']['id'])
{
$quote_reply_info = "";
}
else
{
$quote_reply_info = '[quote=' . $QuoteList['writer'] . ']' . $QuoteList['text'] . '[/quote]';
}
echo $quote_reply_info."\n";
}
?>
{/if}]]></context_multi_quote>
<context_new_reply><![CDATA[{template}address_bar_part1{/template}
<?php $PowerBB->_CONF['template']['subject_info']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['subject_info']['title']); ?>
<a href="index.php?page=forum&show=1&id={$section_id}
{$password} ">
{$section_info['title']} </a>
{$_CONF['info_row']['adress_bar_separate']}
<a href="index.php?page=topic&show=1&id={$id}
{$password}">
{$subject_info['title']}
</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['add_new_reply']}
{template}address_bar_part2{/template}
{template}preview{/template}
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=new_reply&start=1&id={$id}{$password}">
<table border="0" cellspacing="1" width="98%" class="border" cellspacing="1" align="center">
<tr>
<td class="tcat">
{$lang['add_new_reply']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space">
<input TYPE="hidden" name="title" id="title_id" value="{$subject_info['title']}" />
<input TYPE="hidden" name="count" value="{$count}" />
</td>
</tr>
{if !{$_CONF['member_permission']}}
<tr align="center">
<td class="row1 rows_space" colspan="2">
{$lang['Image_Verification']}:
<font size="1">{$lang['Verification']}</font>
<br />
<input name="code" id="code_confirm" type="text" size="7"/>
<img id="turing" src="includes/captcha.php" width="87" height="17"/>
<a onclick="updateImg();">{$lang['Image_replacement']}</a>
<script type='text/javascript'>
//<![CDATA[
var clicks = 0;
function updateImg()
{
clicks++
var doc = document.getElementById("turing");
doc.src = "includes/captcha.php" + "?act=" + clicks;
}
//]]>
</script>
</td>
</tr>
<tr align="center">
<td class="row1" colspan="2">
{$lang['Your_name']} <input name="guest_name" id="guest_name" type="text" size="35"/>
</td>
</tr>
{/if}
<tr>
<td class="row1">
<div align="center">
<table border="0" cellspacing="1" class="border" style="border-collapse: collapse" width="98%">
<tr>
<td class="editortoolbar" valign="top">
{template}editor_js{/template}
<textarea name="text" id="box_text" style="display:block;" class="editoriframe" tabindex="3">{$quote}
{$prev}
{template}multi_quote{/template}
</textarea>
<script type='text/javascript'>
//<![CDATA[
comm._toggle();
var smiley_wysiwyg = true;
//]]>
</script>
</td>
<div style="border-style: solid; border-width: 0px; width:70px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; ">
<td class="editortoolbar" valign="top" width="50" align="center">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table align="center" border="0" cellspacing="1" cellpadding="4" cellspacing="0" >
<tr valign="bottom" align="center">
<td class="editortoolbar" align="center">
{template}smilebox{/template}</td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td class="editoricon" valign="top" colspan="2">
{template}iconbox{/template}
</td>
</tr>
</table></div>
</div>
</td>
</tr>
<?php if ($PowerBB->_CONF['template']['upload_attach'] and $PowerBB->_CONF['template']['_CONF']['group_info']['upload_attach'] == '1') { ?>
<tr>
<td class="row1" align="center">
<INPUT name="attach" type="button" value="{$lang['Add_attachments']}"
onClick="window.open('index.php?page=attachments&add_attach_reply=1&subject_id={$id}','mywindow','scrollbars=yes,width=500,height=600')">
</td>
</tr>
{/if}
{if {$IconRows['id']}}
<tr>
<td class="row1" colspan="2">
<input name="emailed" id="emailed_id" type="checkbox" /> <label for="emailed_id">{$lang['Enabled_to_be_notified_by_the_existence_of_new_replies']}</a>
</td>
</tr>
{/if}
<tr>
<td class="row1" align="center" valign="top">
<input class="button" name="insert" type="submit" value="{$lang['Count']}" onClick="comm._submit();" />
<input class="button" type="submit" value="{$lang['Preview']}" name="preview" onclick="comm._submit();" />
</td>
</tr>
</table>
<br />
{if {$Admin}}
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" colspan="2">
{$lang['Management_options_subject']}
</td>
</tr>
<tr>
<td class="row2" colspan="2" align="right">
{if {$subject_info['stick']}}
<input name="unstick" id="stick_id" type="checkbox" /> <label for="stick_id">
{$lang['unstick_Subject']}
</label>
{else}
<input name="stick" id="stick_id" type="checkbox" /> <label for="stick_id">
{$lang['Sticky_Topic']}
</label>
{/if}
<br />
{if {$subject_info['close']}}
<input name="unclose" id="close_id" type="checkbox" /> <label for="close_id">
{$lang['open_Subject']}
</label>
{else}
<input name="close" id="close_id" type="checkbox" /> <label for="close_id">
{$lang['locked_Topic']}
</label>
{/if}
</td>
</tr>
</table>
{/if}
<br />
</form>
<br />
<br />
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="thead1" width="98%" align="right" colspan="2">
{$lang['posts_reverse_order']}
</td>
</tr>
<tr>
<td class="row1" width="15%" align="center" valign="top">
{$GeSubjectInfo['writer']}
</td>
<td class="row1" width="80%">
<?php $PowerBB->_CONF['template']['GeSubjectInfo']['text'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['GeSubjectInfo']['text']); ?>
<div class="text">{$GeSubjectInfo['text']}</div>
</td>
</tr>
<tr>
<td class="row2" width="95%" align="center" colspan="2">
<a target="_blank" href="index.php?page=topic&show=1&id={$subject_info['id']}">
{$lang['view_separate_page_Topic']}
</a>
</td>
</tr>
</table>
<br />]]></context_new_reply>
<context_new_topic><![CDATA[<script type='text/javascript'>
function ShowPollTable()
{
if ($("#poll_id").is(":checked"))
{
$("#poll_table").fadeIn();
}
else
{
$("#poll_table").fadeOut();
}
}
function AddMoreAnswers(x)
{
x += 1;
var answers_max = 100;
$("#poll_answers_count_id").val(x);
$(".more_tr").hide();
$("#poll_question_answers").append('<tr align="center"><td class="row1 rows_space">{$lang['answers_number']}' + x + '</td><td class="row1 rows_space"><input name="answer[]" type="text" id="answer' + x + '" /></td></tr>');
$("#poll_question_answers").append('<tr align="center" class="more_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_answers" class="more_answers_class" value="{$lang['more_answers']}" /></td></tr>');
$("#answer" + x).focus();
$(".more_answers_class").click(function() { AddMoreAnswers(x) });
if (function() { AddMoreAnswers(x) })
{
$(".more_tr").stopPropagation();
}
}
function ShowTagsTable()
{
if ($("#tag_id").is(":checked"))
{
$("#tags_table").fadeIn();
}
else
{
$("#tags_table").fadeOut();
}
}
function AddMoreTags(x)
{
x += 1;
$(".more_tag_tr").hide();
$("#add_tags_table").append('<tr align="center"><td class="row1 rows_space">{$lang['tag']}' + x + '</td><td class="row1 rows_space"><input name="tags[]" type="text" id="tag' + x + '" size="40" /></td></tr>');
$("#add_tags_table").append('<tr align="center" class="more_tag_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_tags" class="more_tags_class" value="{$lang['add_more_tag']}" /></td></tr>');
$("#tag" + x).focus();
$(".more_tags_class").click(function() { AddMoreTags(x) });
if (function() { AddMoreTags(x) })
{
$(".more_tag_tr").stopPropagation();
}
}
function Ready()
{
$("#poll_table").hide();
$("#poll_id").click(ShowPollTable);
$(".more_answers_class").click(function() { AddMoreAnswers(2) });
$("#tags_table").hide();
$("#tag_id").click(ShowTagsTable);
$(".more_tags_class").click(function() { AddMoreTags(1) });
}
function displaylimit(thename, theid, thelimit){
var theform=theid!=""? document.getElementById(theid) : thename;
var limit_text='<font class="smallfont">{$lang['number_of_characters_remaining']} <span style="font-weight:900;" id="'+theform.toString()+'">'+thelimit+'</span></font>';
if (document.all||ns6)
document.write(limit_text)
if (document.all){
eval(theform).onkeypress=function(){ return restrictinput(thelimit,event,theform)}
eval(theform).onkeyup=function(){ countlimit(thelimit,event,theform)}
}
else if (ns6){
document.body.addEventListener('keypress', function(event) { restrictinput(thelimit,event,theform) }, true);
document.body.addEventListener('keyup', function(event) { countlimit(thelimit,event,theform) }, true);
}
}
$(document).ready(Ready);
</script>
{template}address_bar_part1{/template}
<a href="index.php?page=forum&show=1&id={$id}{$password}">
{$section_info['title']}
</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['add_new_topic']}
{template}address_bar_part2{/template}
{template}preview{/template}
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=new_topic&start=1&id={$id}{$password}">
<input name="poll_answers_count" id="poll_answers_count_id" type="hidden" value="2">
<table border="0" width="98%" class="border" cellspacing="1" align="center">
<tr>
<td class="tcat" colspan="2">
{$lang['text_Topic']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" align="right">
<!-- action_find_addons_1 -->
{if {$section_info['active_prefix_subject']}}
{$lang['prefix_subject']}
<?php
$excludedWords = array();
$doubleAr = $PowerBB->_CONF['template']['section_info']['prefix_subject'];
$doubleAr = str_replace($PowerBB->_CONF['template']['prefix_subject_prev'],'',$doubleAr);
$prefix_subject = preg_split("#[\n]+#", $doubleAr, -1, PREG_SPLIT_NO_EMPTY);
$excludedWords = array_merge($excludedWords, $prefix_subject);
?>
<select name="prefix_subject" style="font-weight: bold">
<option value="">{$lang['no_prefix_subject']}</option>
{if {$prefix_subject_prev} !=''}
<option value="{$prefix_subject_prev}" selected='selected'>{$prefix_subject_prev}</option>
{/if}
<?php
for ($x = 0; $x < @count($excludedWords); $x++)
{
$excludedWords[$x] = @trim($excludedWords[$x]);
$excludedWords[$x] = "<option value=".$excludedWords[$x].">".$excludedWords[$x]."</option>";
echo $excludedWords[$x];
}
echo '</select>';
?>
{/if}
{$lang['subject_title']} :
<input name="title" id="title" type="text" value="{$title_prev}" size="40"
onKeyDown="textCounter(this,'progressbar1',{$_CONF['info_row']['post_title_max']})"
onKeyUp="textCounter(this,'progressbar1',{$_CONF['info_row']['post_title_max']})"
onFocus="textCounter(this,'progressbar1',{$_CONF['info_row']['post_title_max']})" />
<script>
zextCounter(document.getElementById("title"),"progressbar1",{$_CONF['info_row']['post_title_max']})</script>
<script type='text/javascript'>
displaylimit("title","title",{$_CONF['info_row']['post_title_max']})
</script>
</td>
{if {$_CONF['info_row']['subject_describe_show']} == 1}
<td class="row1 rows_space" align="right">
{$lang['subject_describe']}:
<input name="describe" type="text" value="{$describe_prev}" size="40" />
<font class="smallfont">{$lang['Optional']}</font>
</td>
{/if}
</tr>
<!-- action_find_addons_2 -->
{if !{$_CONF['member_permission']}}
<tr align="center">
<td class="row1 rows_space" colspan="2">
{$lang['Image_Verification']}:
<font size="1">{$lang['Verification']}</font>
<br />
<input name="code" id="code_confirm" type="text" size="7"/>
<img id="turing" src="includes/captcha.php" width="87" height="17"/>
<a onclick="updateImg();">{$lang['Image_replacement']}</a>
<script type='text/javascript'>
//<![CDATA[
var clicks = 0;
function updateImg()
{
clicks++
var doc = document.getElementById("turing");
doc.src = "includes/captcha.php" + "?act=" + clicks;
}
//]]>
</script>
</td>
</tr>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
{$lang['Your_name']} <input name="guest_name" id="guest_name" type="text" size="35"/>
</td>
</tr>
{/if}
<tr>
<td class="row1 rows_space" colspan="2">
<div id="none">
<div align="center">
<table border="0" cellspacing="0" class="border" width="100%">
<tr>
<td class="editortoolbar" valign="top" >
{template}editor_js{/template}
<!-- action_find_addons_3 -->
<textarea name="text" id="box_text" style="display:block;" class="editoriframe" tabindex="3" >{$text}
{$prev}</textarea>
<script type='text/javascript'>
//<![CDATA[
comm._toggle();
var smiley_wysiwyg = true;
//]]>
</script>
</td>
<div style="border-style: solid; border-width: 0px; width:70px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; ">
<td class="editortoolbar" valign="top" align="center">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table align="center" border="0" cellspacing="1" cellpadding="4" cellspacing="0" >
<!-- action_find_addons_4 -->
<tr valign="bottom" align="center">
<td class="editortoolbar" align="center">
{template}smilebox{/template}</td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td class="editoricon" valign="top" colspan="2">
{template}iconbox{/template}
</td>
</tr>
<!-- action_find_addons_5 -->
</table></div>
</div>
</td>
</tr>
<?php if ($PowerBB->_CONF['template']['upload_attach'] and $PowerBB->_CONF['template']['_CONF']['group_info']['upload_attach'] == '1') { ?>
<tr>
<td class="row1" colspan="2" align="center">
<INPUT name="attach" type="button" value="{$lang['Add_attachments']}"
onClick="window.open('index.php?page=attachments&add_attach=1&nocheck=1&section={$section_info['id']}','mywindow','scrollbars=yes,width=500,height=600')">
<br />
</td>
</tr>
{/if}
<?php if ($PowerBB->_CONF['template']['SectionGroup']['write_poll'] == '1' and $PowerBB->_CONF['template']['_CONF']['group_info']['write_poll'] == '1') { ?>
<tr>
<td class="row1" colspan="2">
<input name="poll" id="poll_id" type="checkbox" /> <label for="poll_id">{$lang['add_polls']}</a>
</td>
</tr>
{/if}
<tr>
<td class="row1" colspan="2">
<input name="tag" id="tag_id" type="checkbox" /> <label for="tag_id">{$lang['ADD_tags']}</a>
</td>
</tr>
{if {$_CONF['info_row']['allowed_emailed']} == '1' AND {$_CONF['member_permission']}}
<tr>
<td class="row1" colspan="2">
<input name="emailed" id="emailed_id" type="checkbox" /> <label for="emailed_id">{$lang['Enabled_to_be_notified_by_the_existence_of_new_replies']}</a>
</td>
</tr>
{/if}
<tr>
<td class="row1" colspan="2" align="center" valign="top">
<input class="button" name="insert" type="submit" value="{$lang['Count']}" onClick="comm._submit();" />
<input class="button" type="submit" value="{$lang['Preview']}" name="preview" onclick="comm._submit();" />
</td>
</tr>
</table>
<br />
{if {$Admin}}
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" colspan="2">
{$lang['Management_options_subject']}
</td>
</tr>
<!-- action_find_addons_6 -->
<tr>
<td class="row1" colspan="2">
<input name="stick" id="stick_id" type="checkbox" /> <label for="stick_id">{$lang['Sticky_Topic']}</label>
<br />
<input name="close" id="close_id" type="checkbox" /> <label for="close_id">{$lang['locked_Topic']}</label>
</td>
</tr>
</table>
<br />
{/if}
<div id="poll_table">
{template}add_poll_table{/template}
</div>
<div id="tags_table">
{template}add_tags_table{/template}
</div>
<br />
</form>
<br />
<br />
<!-- action_find_addons_7 -->
]]></context_new_topic>
<context_online><![CDATA[<title>{$lang['Whos_Online']}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['powered']}
{/if}</title>
{template}address_bar_part1{/template}
{$lang['Whos_Online']}
{template}address_bar_part2{/template}
<br />
<br />
<table border="0" cellspacing="1" class="border" width="80%" align="center">
<tr>
<td class="tcat" colspan="{if {$_CONF['rows']['group_info']['admincp_allow']}}
4{else}
3{/if}" align="right">
{$lang['Whos_Online']}
({$GetOnlineNum})
</td>
</tr>
<tr align="center">
<td class="main_bar" width="30%">
{$lang['user_name']}
</td>
<td class="main_bar" width="30%">
{$lang['user_location']}
</td>
{if {$_CONF['rows']['group_info']['admincp_allow']}}
<td class="main_bar" width="10%">
{$lang['user_ip']}
</td>
{/if}
<td class="main_bar" width="10%">
{$lang['last_move']}
</td>
</tr>
{Des::while}{Online}
<tr align="center">
<td class="row1" width="30%">
{if {$Online['user_id']} == '-1'}
{if {$Online['is_bot']} == '1'}
{$Online['bot_name']}
{else}
<?php echo $PowerBB->_CONF['template']['while']['Online'][$this->x_loop]['username_style'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['while']['Online'][$this->x_loop]['username_style']); ?>
{/if}
{else}
<a href="index.php?page=profile&show=1&id={$Online['user_id']}">{$Online['username_style']}</a></td>
{/if}
<td class="row1" width="30%">
<?php $PowerBB->_CONF['template']['while']['Online'][$this->x_loop]['user_location'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['Online'][$this->x_loop]['user_location']); ?>
{$Online['user_location']}
</td>
{if {$_CONF['rows']['group_info']['admincp_allow']}}
<td class="row1" width="10%">
{$Online['user_ip']}
</td>
{/if}
<td class="row1" width="10%">
{if {$Online['last_move']}}
{$Online['last_move']}
{else}
{$Online['logged']}
{/if}
</td>
</tr>
{/Des::while}
</table>
<table border="0" cellspacing="0" width="80%" align="center">
<tr>
<td>
<span class="pager-left">{$pager} </span>
</td>
</tr>
</table>
<br />
<br />
{template}jump_forums_list{/template}
<br />
<br />
<br />]]></context_online>
<context_options_mod><![CDATA[ <table border="0" width="98%" cellpadding="0" style="border-collapse: collapse" dir="ltr" align="center">
<tr>
<td align="left">
{if !{$mod_toolbar}}
<span class="pbbmenu">
<a href="javascript:switchMenuNone('[forum_tools]')"><img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Management_tools']}" />
{$lang['Options_mod']}
</a>
</span>
<div style="display:none;position:absolute;" id="[forum_tools]">
<table width="100" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Management_tools']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<div style="position:relative;" id="[forum_tools]">
<table width="100" border="1" cellspacing="1">
<td class="row1" align="center">
<input class="menu_popup" name="deletethread" type="submit" value="{$lang['deletethread']}" /><br />
</td>
</tr>
<td class="row1" align="center">
<input class="menu_popup" name="undeletethread" type="submit" value="{$lang['undeletethread']}" /><br />
</td>
</tr>
<td class="row1" align="center">
<input class="menu_popup" name="openthread" type="submit" value="{$lang['openthread']}" /><br />
</td></tr>
<td class="row1" align="center">
<input class="menu_popup" name="closethread" type="submit" value="{$lang['closethread']}" /><br />
</td></tr>
<td class="row1" align="center">
<input class="menu_popup" name="approvethread" type="submit" value="{$lang['approvethread']}" /><br />
</td></tr>
<td class="row1" align="center">
<input class="menu_popup" name="unapprovethread" type="submit" value="{$lang['unapprovethread']}" /><br />
</td></tr>
<td class="row1" align="center">
<input class="menu_popup" name="stickthread" type="submit" value="{$lang['stickthread']}" /><br />
</td></tr>
<td class="row1" align="center">
<input class="menu_popup" name="unstickthread" type="submit" value="{$lang['unstickthread']}" /><br />
</td></tr>
<td class="row1" align="center">
<input class="menu_popup" name="movethread" type="submit" value="{$lang['movethread']}" />
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
{/if}
</td>
</tr>
</table>
]]></context_options_mod>
<context_pager_style_part1><![CDATA[<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="main2 pager">
[Pages]
</td>
]]></context_pager_style_part1>
<context_pager_style_part2><![CDATA[<td width="2%" class="row2">
<strong><em>[p]</em></strong>
</td>
]]></context_pager_style_part2>
<context_pager_style_part3><![CDATA[<td width="2%" class="row1">
<a href="[l]&[v]=[c]">[p]</a>
</td>
]]></context_pager_style_part3>
<context_pager_style_part4><![CDATA[</tr>
</table>
<br />
]]></context_pager_style_part4>
<context_pages><![CDATA[ <!-- Code pages Menu start -->
<div style="display:none;" class="drop_menu" id="pages">
<div class="tcat">{$lang['pages']}</div>
{Des::while}{PagesList}
<div class='menu_popup'><a href="index.php?page=pages&show=1&id={$PagesList['id']}"><font color="#01555F">{$PagesList['title']}</font></a></div>
{/Des::while}
</div>
<!-- Code pages Menu End -->]]></context_pages>
<context_pbboard_code_js><![CDATA[ <script type='text/javascript'>
//<![CDATA[
function set_smile(X)
{
var form = document.topic.text;
form.value = form.value + " " + X + " ";
form.focus();
}
function stopError() {
return true;
}
window.onerror = stopError;
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
function delete_post(theURL)
{
if (confirm("{$lang['confirm']}")) {
window.location.href=theURL;
}
else {
alert ("{$lang['alert_confirm']}");
}
}
function CopyCode(Code)
{
CodeShow.Code.select(Code)
CodeShow.Code.focus(Code)
}
function logout(theURL)
{
if (confirm("{$lang['confirm']}")) {
window.location.href=theURL;
}
else {
alert ("{$lang['alert_confirm']}");
return
}
}
function switchMenuNone(obj) {
var el = document.getElementById(obj);
if ( el.style.display != "none" ) {
el.style.display = 'none';
}
else {
el.style.display = '';
}
}
function switchMenuWriter(obj) {
var el = document.getElementById(obj);
if ( el.style.display != "none" ) {
el.style.display = 'none';
}
else {
el.style.display = '';
}
}
function switchMenuBlock() {
if (document.getElementById('pages'))
{
var el = document.getElementById('pages');
el.style.display = 'none';
}
if (document.getElementById('usercptools'))
{
var el = document.getElementById('usercptools');
el.style.display = 'none';
}
if (document.getElementById('pager_top'))
{
var el = document.getElementById('pager_top');
el.style.display = 'none';
}
if (document.getElementById('pager_duwn'))
{
var el = document.getElementById('pager_duwn');
el.style.display = 'none';
}
if (document.getElementById('section_searchs_witch'))
{
var el = document.getElementById('section_searchs_witch');
el.style.display = 'none';
}
if (document.getElementById('alerts'))
{
var el = document.getElementById('alerts');
el.style.display = 'none';
}
if (document.getElementById('[forum_tools]'))
{
var el = document.getElementById('[forum_tools]');
el.style.display = 'none';
}
if (document.getElementById('subject_tools'))
{
var el = document.getElementById('subject_tools');
el.style.display = 'none';
}
if (document.getElementById('pm_switch'))
{
var el = document.getElementById('pm_switch');
el.style.display = 'none';
}
if (document.getElementById('{$subject_id}subjectswitch'))
{
var el = document.getElementById('{$subject_id}subjectswitch');
el.style.display = 'none';
}
if (document.getElementById("{$Info['reply_id']}replyswitch"))
{
var el = document.getElementById("{$Info['reply_id']}replyswitch");
el.style.display = 'none';
}
}
window.onclick = document.onclick=function() { switchMenuBlock(); };
function switchBlock(obj) {
var el = document.getElementById(obj);
if ( el.style.display != "block" ) {
el.style.display = 'none';
}
else {
el.style.display = 'block';
}
}
function switchABlock(obj) {
var el = document.getElementById(obj);
el.style.display = 'block';
}
function sBlock() {
window.onclick = document.onclick=function() { szBlock(); };
}
function szBlock() {
if (document.getElementById('section_searchs_witch'))
{
var el = document.getElementById('section_searchs_witch');
el.style.display = 'block';
}
}
function pagerBlock() {
window.onclick = document.onclick=function() { sXBlock(); };
}
function sXBlock() {
if (document.getElementById('pager_top'))
{
var el = document.getElementById('pager_top');
el.style.display = 'block';
}
if (document.getElementById('pager_duwn'))
{
var el = document.getElementById('pager_duwn');
el.style.display = 'block';
}
}
//]]>
</script>
]]></context_pbboard_code_js>
<context_pm_list><![CDATA[<script type='text/javascript'>
//<![CDATA[
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
//]]>
</script>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Private_Messages']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<form action="index.php?page=pm_cp&cp=1&tools=1" name="form1" method="post">
<table border="0" cellspacing="1" class="border" width="100%">
<tr align="center">
<td class="tcat" colspan="5">
{if {$folder} == 'inbox'}
{$lang['Contained_Messages']}
{else}
{$lang['Outgoing_Messages']}
{/if}
| {$lang['You_Have_X']}
{$MsgsNum}
{$lang['Msg']}
</td>
</tr>
<tr align="center">
<td class="thead" width="3%">
{$lang['Case']}
</td>
<td class="thead" width="3%">
<input type="checkbox" name="check_all" onClick="checkAll(this.form)"/>
</td>
<td class="thead" width="40%">
{$lang['PmTitle']}
</td>
<td class="thead" width="10%">
{if {$folder} == 'sent'}
{$lang['SenderTo']}
{else}
{$lang['Sender']}
{/if}
</td>
<td class="thead" width="10%">
{$lang['Date_Sent']}
</td>
</tr>
{Des::while}{MassegeList}
<tr>
<td class="row1" width="3%" align="center">
{if {$MassegeList['user_read']} == 1}
<img title="{$lang['PM_readable']}"
src="{$image_path}/dot_nonewfolder.gif" border="0" cellspacing="1" />
{else}
<img title="{$lang['New_PM']}"
src="{$image_path}/newfolder.gif" border="0" cellspacing="1" />
{/if}
</td>
<td class="row1" width="3%" align="center">
<input type="checkbox" name="check[]" value="{$MassegeList['id']}" />
</td>
<td class="row1" width="40%" align="right">
<a href="index.php?page=pm_show&show=1&id={$MassegeList['id']}">{$MassegeList['title']}</a>
<br />
{if {$MassegeList['user_read']} == 1}
<font class="readpm">{$lang['PM_readable']}</font>
{else}
<font class="unreadpm">{$lang['New_PM']}</font>
{/if}
</td>
<td class="row1" width="10%" align="center">
{if {$folder} == 'sent'}
<a href="index.php?page=profile&show=1&username={$MassegeList['user_to']}">{$MassegeList['user_to']}</a>
{else}
<a href="index.php?page=profile&show=1&username={$MassegeList['user_from']}">{$MassegeList['user_from']}</a>
{/if}
</td>
<td class="row1" width="10%" align="center">
{$MassegeList['date']}
</td>
</tr>
{/Des::while}
<tr>
<td class="row1" align="right" colspan="5">
<img title="{$lang['PM_readable']}"
src="{$image_path}/dot_nonewfolder.gif" border="0" cellspacing="1" />
{$lang['PM_readable']}
<br />
<img title="{$lang['New_PM']}"
src="{$image_path}/newfolder.gif" border="0" cellspacing="1" />
{$lang['New_PM']}
</td>
</tr>
<tr>
<td class="row1" align="right" colspan="5">
{$lang['You_Spent']}
({$AllPmNum})
{$lang['From_Max']}
{if {$AllowedPmNum} != 0}
({$AllowedPmNum})
{else}
({$lang['Infinite']})
{/if}
<br />
{if {$folder} == 'sent'}
<input class="button" name="sent_empty" type="submit" value="{$lang['Make_Sent_Empty']}" />
{/if}
{if {$folder} == 'inbox'}
<input class="button" name="inbox_empty" type="submit" value="{$lang['Make_Inbox_Empty']}" />
{/if}
</td>
</tr>
<tr>
<td class="row1" align="center" colspan="5">
<input class="button" name="delet" type="submit" value="{$lang['Del_selected_PM']}" />
<input class="button" name="readable" type="submit" value="{$lang['Make_it_readable']}" />
<input class="button" name="unreadable" type="submit" value="{$lang['Make_it_unreadable']}" />
</td>
</tr>
</table>
</form>
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')"><img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="pager_top">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<a href="javascript:switchMenuNone('pager_top')">
<form name="misc" method="post" action="index.php?page=misc&pagenav_pm=1">
<input name="folder" type="hidden" value="<?php echo $PowerBB->_GET['folder']; ?>">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</a>
</form>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{template}jump_forums_list{/template}
<br />
<br />
<br />]]></context_pm_list>
<context_pm_popup><![CDATA[{if {$_CONF['rows']['group_info']['use_pm']} == 1}
<script type='text/javascript'>
//<![CDATA[
var agtbrw=navigator.userAgent.toLowerCase();
var operaaa=(agtbrw.indexOf('opera')!=-1);
var head="display:''";
var folder='';
function expandit(curobj)
{
if(document.getElementById(curobj))
{
folder=document.getElementById(curobj).style;
}
else
{
if(ns6==1||operaaa==true)
{
folder=curobj.nextSibling.nextSibling.style;
}
else
{
folder=document.all[curobj.sourceIndex+1].style;
}
}
if (folder.display=="none")
{
folder.display="";
}
else
{
folder.display="none";
}
}
//]]>
</script>
<div id="pm_popup" style="position: absolute; left: 230px; top: 99px">
<table border="0" cellspacing="1" class="border" width="100%">
<tr>
<td class="tcat">
<span class="smallfont" style="float:right">
<a href="#" onclick="switchBlock('pm_popup');">{$lang['Close_window1']}</a>
</span>
<a class="new_pm" href="index.php?page=pm_list&list=1&folder=inbox">{$lang['you_have']}
{$_CONF['rows']['member_row']['unread_pm']}
{$lang['new_messages']}</a>
</td>
</tr>
<tr>
<td class="row1" align="center">
<div class="row1">
<div align="center">
<table border="0" cellspacing="1" class="info_bar" width="100%">
<tr>
<td>
<div class="r-right"> {$lang['Title_Massege']}
<b> '{$Massege['title']}'</b></div>
<div class="l-left"> {$lang['Sent_by']}
<b>{$Massege['user_from']}</b></div>
<br />
</td>
</tr>
<tr>
<td class="row2">
{$Massege_text} ..
<br />
<div class="r-right"><a href="index.php?page=pm_show&show=1&id={$Massege_id}">
{$lang['Read_the_message']}</a></div>
</td>
</tr>
<tr>
<td align="center">
<div class="r-right"> (<a href="index.php?page=pm_show&show=1&id={$Massege_id}" target="_blank"><span class="smallfont">
{$lang['Open_in_new_window']}</span></a>)
<a href="index.php?page=pm_list&list=1&folder=inbox"></a></div>
<div class="l-left"><a href="index.php?page=pm_list&list=1&folder=inbox"><span class="smallfont">{$lang['Go_To_folder_messages']}</span></a></div>
</td>
</tr>
</table>
</div>
</div>
<div style="margin-top:10px">
<form>
<input type="button" class="button" value="{$lang['Close_window2']}" onclick="switchBlock('pm_popup')" />
</form>
</div>
</td>
</tr>
</table>
</div>
{/if}
]]></context_pm_popup>
<context_pm_preview><![CDATA[{if {$view_preview}}
<div align="center">
<table border="1" class="border" cellspacing="1" width="100%">
<tr>
<td class="tcat" width="100%">
{$lang['Preview']}
</td>
</tr>
<tr>
<td class="row1" width="100%">
<br />
{$preview}
<br /><br />
</td>
</tr>
</table>
</div>
<br />
{/if}]]></context_pm_preview>
<context_pm_send><![CDATA[<title>{$lang['Send_PM']} -
{$_CONF['info_row']['title']}</title>
<div class="usercp_context">
{if !{$address_bar_pm_send_SHOW}}
{template}address_bar_part1{/template}
<a href="index.php?page=pm_list&list=1&folder=inbox">{$lang['Private_Messages']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Send_PM']}
{template}address_bar_part2{/template}
{/if}
<script language="javascript">
function AddMoreResiver(x)
{
x += 1;
var up_max = {$_CONF['info_row']['members_send_pm']};
if (x <= up_max)
{
$(".more_tr").hide();
$("#resivers").append('<tr><td class="row1 rows_space">{$lang['Send_to1']} ' + x + '</td><td class="row1"><input name="to[]" class="to' + x + '" value="" type="text" /></td></tr>');
$("#resivers").append('<tr class="more_tr"><td class="row1 rows_space" colspan="2" align="center"><input name="more_resiver" class="more_resiver_id" type="button" value="{$lang['Add_more_recipients']}" /></td></tr>');
$(".more_resiver_id").click(function() { AddMoreResiver(x) });
if (function() { AddMoreResiver(x) })
{
$(".more_tr").stopPropagation();
}
if (x == up_max)
{
$(".more_tr").hide();
}
}
}
function AddMoreAttach(x)
{
x += 1;
var up_max = {$_CONF['group_info']['upload_attach_num']};
if (x <= up_max)
{
$(".more_attach_tr").hide();
$("#add_attach_table").append('<tr align="center"><td class="row1 rows_space">{$lang['File']}' + x + '</td><td class="row1 rows_space"><input name="files[]" type="file" id="attach' + x + '" size="40" /></td></tr>');
$("#add_attach_table").append('<tr align="center" class="more_attach_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_attach" class="more_attach_class" value="{$lang['Add_another_file']}" /></td></tr>');
$(".more_attach_class").click(function() { AddMoreAttach(x) });
if (function() { AddMoreAttach(x) })
{
$(".more_attach_tr").stopPropagation();
}
if (x == up_max)
{
$(".more_attach_tr").hide();
}
}
}
function ShowAttachTable()
{
if ($("#attach_id").is(":checked"))
{
$("#attach_table").fadeIn();
}
else
{
$("#attach_table").fadeOut();
}
}
function Ready()
{
$(".more_resiver_id").click(function() { AddMoreResiver(1) });
$("#attach_table").hide();
$("#attach_id").click(ShowAttachTable);
$(".more_attach_class").click(function() { AddMoreAttach(1) });
}
$(document).ready(Ready);
-->
</script>
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=pm_send&send=1&start=1">
<table border="0" cellspacing="1" width="98%" id="table1" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">{if {$SHOW_MSG}}
<div align="center"><strong>{$MSG}</strong></div>
{/if}
{if {$SHOW_MSG1}}
<div align="center">
<strong>{$to}
{$lang['Currently_absent']}
<br />
{$lang['Reason_for_absence']}
{$MSG1}</strong>
</div>
<br />
{/if}
<div align="center">
{template}pm_preview{/template}
<table border="0" id="resivers" cellspacing="1" width="100%" class="border">
<tr>
<td class="tcat" colspan="2">
{$lang['Data_transmission']}
</td>
</tr>
<tr>
<td class="row1 rows_space">
{$lang['Send_to']}
</td>
<td class="row1">
<input name="to[]" value="{$to}" type="text" />
</td>
</tr>
<tr class="more_tr">
<td class="row1 rows_space" colspan="2" align="center">
<input name="more_resiver" class="more_resiver_id" type="button" value="{$lang['Add_more_recipients']}" />
</td>
</tr>
</table>
</div>
<br />
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border">
<tr>
<td class="tcat" colspan="2">
{$lang['message']}
</td>
</tr>
</tr>
<td class="row1 rows_space">
{$lang['PmTitle']}
</td>
<td class="row1">
<input name="title" value="{$send_title}" type="text" size="35" />
</td>
</tr>
<tr>
<td class="row1 rows_space" colspan="2">
<div id="none">
<table border="0" cellspacing="1" class="border" style="border-collapse: collapse">
<tr>
<td class="editortoolbar" valign="top">
{template}editor_js{/template}
<textarea name="text" id="box_text" style="display:block;" class="editoriframe" tabindex="3" >{$send_text}
{$prev}</textarea>
<script type='text/javascript'>
//<![CDATA[
comm._toggle();
var smiley_wysiwyg = true;
//]]>
</script>
</td>
<div style="border-style: solid; border-width: 0px; width:70px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; ">
<td class="editortoolbar" valign="top" width="50" align="center">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table align="center" border="0" cellspacing="1" cellpadding="4" cellspacing="0" >
<tr valign="bottom" align="center">
<td class="editortoolbar" align="center">
{template}smilebox{/template}</td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td class="editoricon" valign="top" colspan="2">
{template}iconbox{/template}
</td>
</tr>
</table></div>
</td>
</tr>
<?php if ($PowerBB->_CONF['template']['_CONF']['group_info']['upload_attach'] == '1') { ?>
<tr>
<td class="row1" colspan="2" align="center">
<INPUT name="attach" type="button" value="{$lang['Add_attachments']}"
onClick="window.open('index.php?page=pm_send&add_attach_pm=1','mywindow','scrollbars=yes,width=400,height=300')">
<br />
</td>
</tr>
{/if}
<tr>
<td class="row1" colspan="2" align="center">
<input class="button" name="insert" type="submit" value="{$lang['Count']}" onClick="comm._submit();" />
<input class="button" type="submit" value="{$lang['Preview']}" name="preview" onclick="comm._submit();" />
</td>
</tr>
</table>
</div>
<br />
</td>
</tr>
</table>
</form>
</div>
<br />]]></context_pm_send>
<context_pm_setting><![CDATA[{template}address_bar_part1{/template}
<a href="index.php?page=pm_list&list=1&folder=inbox">{$lang['Private_Messages']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Settings_Private_Messages']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<form name="info" method="post" action="index.php?page=pm_setting&setting=1&start=1">
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border">
<tr align="center">
<td class="tcat" width="80%" colspan="2">
{$lang['message_to_sending']}
</td>
</tr>
<tr align="center">
<td class="row1" width="40%">
{$lang['Do_you_show_reply_message']}
</td>
<td class="row1" width="20%">
<select name="pm_senders" size="1">
{if {$_CONF['member_row']['pm_senders']}}
<option selected="selected" value="1">{$lang['Yes']}</option>
<option value="0">{$lang['No']}</option>
{else}
<option value="1">{$lang['Yes']}</option>
<option selected="selected" value="0">{$lang['No']}</option>
{/if}
</select>
</td>
</tr>
<tr align="center">
<td class="row1" width="80%" colspan="2">
{$lang['reply_message']}
<input name="pm_senders_msg" type="text" value="{$_CONF['member_row']['pm_senders_msg']}" size="40" />
</td>
</tr>
</table>
</div>
<br />
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr align="center">
<td class="tcat" width="80%" colspan="2">
{$lang['IVR_Private_Messaging']}
</td>
</tr>
<tr align="center">
<td class="row1" width="30%">
{$lang['IVR_running']}
</td>
<td class="row1" width="30%">
<select name="autoreply" size="1">
{if {$_CONF['member_row']['autoreply']}}
<option selected="selected" value="1">{$lang['Yes']}</option>
<option value="0">{$lang['No']}</option>
{else}
<option value="1">{$lang['Yes']}</option>
<option selected="selected" value="0">{$lang['No']}</option>
{/if}
</select>
</td>
</tr>
<tr align="center">
<td class="row1" width="80%" colspan="2">
{$lang['Title_reply_to_this_message']}
<input name="title" type="text" value="{$_CONF['member_row']['autoreply_title']}" />
<br /><br />
<textarea name="msg" rows="5" cols="40">{$_CONF['rows']['member_row']['autoreply_msg']}</textarea>
</td>
</tr>
<tr align="center">
<td class="row1" width="80%" colspan="2">
{$lang['autoreply']}
{if {$_CONF['member_row']['autoreply']}}
<strong>{$lang['Works']}</strong>
{else}
<strong>{$lang['no_Works']}</strong>
{/if}
</td>
</tr>
<tr align="center">
<td class="row1" width="80%" colspan="2">
<input name="send" type="submit" value="{$lang['Count']}" /></td>
</tr>
</table>
</div>
<br />
</td>
</tr>
</table>
<br />]]></context_pm_setting>
<context_pm_show><![CDATA[<div class="usercp_context">
{template}address_bar_part1{/template}
<a href="index.php?page=pm_list&list=1&folder=inbox">{$lang['Private_Messages']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Read_the_message']} :
{$MassegeRow['title']}
{template}address_bar_part2{/template}
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td class="tcat" colspan="2" align="right">
<div class="r-right">
<img src="{$MassegeRow['icon']}" border="0" cellspacing="1" /> {$MassegeRow['title']}
</td>
</div>
</tr>
<tr align="center">
<td class="thead" width="20%">
{$lang['Sender']}
</td>
<td class="thead" width="70%">
{$lang['message']}
</td>
</tr>
<tr>
<td class="row1" width="20%" valign="top" align="center">
<!-- Code switch Menu start -->
<a href="javascript:switchMenuNone('pm_switch')">
{$username_sender}
<img border="0" cellspacing="1" src="{$image_path}/menu_open.gif" /> </a>
<div style="display:none;position: absolute; z-index: 1" id="pm_switch">
<div class="thead">
<a href="index.php?page=profile&show=1&username={$MassegeRow['user_from']}">
{$username_sender}</a>
</div>
<div class="menu_popup">
<a href="index.php?page=profile&show=1&username={$MassegeRow['user_from']}">
{$lang['view_profile']}
</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=3&username={$MassegeRow['user_from']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_posts']}
{$MassegeRow['user_from']}</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=4&username={$MassegeRow['user_from']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_replys']}
{$MassegeRow['user_from']}</a>
</div>
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=pm_send&send=1&index=1&username={$MassegeRow['user_from']}">
{$lang['send_a_private_message_to']}
{$MassegeRow['user_from']} </a>
</div>
{/if}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=send&member=1&index=1&id={$Info['id']}">
{$lang['send_a_message_to_the_mailing']}
{$MassegeRow['user_from']} </a>
</div>
{/if}
</div>
<!-- Code switch Menu End -->
{template}writer_info{/template}
</td>
<td name="text" class="row1" width="70%" valign="top">
<div class="text">{$MassegeRow['text']}</div>
{if {$Info['user_sig']} != ''}
{template}signature_show{/template}
{/if}
{if {$ATTACH_SHOW}}
{template}attach_show{/template}
{/if}
</td>
</tr>
<tr align="center">
<td class="row1" width="20%">
<font class="smallfont">
{$lang['last_date']}
{$MassegeRow['date']}
</font>
</td>
<td class="row1" width="70%">
<ul class="pbbList_inline" style="margin: 0; padding: 0;">
<li>
<a href="index.php?page=download&pm=1&id={$MassegeRow['id']}" id="buttons_link"
title="{$lang['Take_copy_message']}">
{$lang['Take_copy_message']}
</a>
</li>
</ul>
</td>
</tr>
</table>
<br />
{template}pm_send{/template}
</div>
<br />
]]></context_pm_show>
<context_poem_form><![CDATA[<html dir="rtl">
<head>
<body bgcolor="#CCCCFF" background="look/images/backgrounds/33.gif">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<title>{$lang['Program_coordinator_of_the_Poems']}</title>
<style>
table, select, input, textarea { font-size:8pt; font-family:tahoma;}
</style>
<script language="javascript" src="includes/js/poem.js"></script>
<script language="javascript">
if (window.navigator.userAgent.search(/MSIE/)==-1) {
document.write("<table align=center><tr><td><br><font face=arial color=red size=5>{$lang['Explorer_browser_only']}</font><br>");
document.write("</td></tr></table>");
document.write("</div>");
}
var timerID;
var sep = "|||";
function getCurrentSettings() {
var s = "";
s += fname[0].value.replace(sep,"") + sep + fsize.selectedIndex + sep + fstyle.selectedIndex + sep + fcolor.selectedIndex;
s += sep + bkimage[0].value.replace(sep,"") + sep + bkcolor.selectedIndex;
s += sep + bstyle.selectedIndex + sep + bsize.selectedIndex + sep + bcolor.selectedIndex;
s += sep + pnumcolor.selectedIndex + sep + pnumstart.value;
s += sep + ptype.selectedIndex + sep + pline.selectedIndex + sep + palign.selectedIndex + sep + puse.selectedIndex;
return s;
}
function showCurrentSettings() {
showModalDialog("index.php?page=misc&poem_template=1", getCurrentSettings(), "help:no; status:no; dialogHeight:170px; dialogWidth:300px");
}
function loadTemplate(i) {
if (i<=0) return;
if (i>=templates.options.length) return;
var s = templates.options[i].value.split(sep);
templates.selectedIndex = 0;
fname[0].text = "(" + s[0] + ")"; fname[0].value = s[0];
fsize.selectedIndex = s[1];
fstyle.selectedIndex = s[2];
fcolor.selectedIndex = s[3];
bkimage[0].value = s[4]; bkimage.selectedIndex = 0;
bkcolor.selectedIndex = s[5];
bstyle.selectedIndex = s[6];
bsize.selectedIndex = s[7];
bcolor.selectedIndex = s[8];
pnumcolor.selectedIndex = s[9];
s[10] = parseInt(s[10]);
if (isNaN(s[10]))
s[10] = 0;
pnumstart.value = s[10];
if (pnumstart.value == 0)
pnum.selectedIndex = 0;
else
pnum.selectedIndex = 1;
ptype.selectedIndex = s[11];
pline.selectedIndex = s[12];
palign.selectedIndex = s[13];
puse.selectedIndex = s[14];
showNumBlock();
}
function initializeTemplates(s) {
var oOption = document.createElement("OPTION");
templates.options.add(oOption);
oOption.innerText = "{$lang['Template_numr']}" + (templates.length - 1);
oOption.value = s;
}
</script>
</head>
<body bgcolor="#FFE1CE" onload="showPoem(1)">
<div align="center">
<center>
<table border="0" cellpadding="2" cellspacing="0" style="color:brown;margin-right:10px;margin-top:10px" width="540px">
<tr>
<td width="100%" align="center"valign="top" bgcolor="white">
<font color="red">
{$lang['Example_for_the_coordination_of_the_poem']}
</font>
</td>
</tr>
<tr>
<img id="testImage" onload="clearInterval(timerID);loadingMsg.style.display='none'" width="100%" height="60">
<td width="100%" align="center" height="115px" valign="top" bgcolor="#f7f7f7">
<div id="poemExample" style="display:none">ÙØºØ© اÙÙÙØ§Ù
Ù ÙÙ
ا Ø±Ø£ÙØªÙ عÙÙ ÙÙ
Ù = خجÙÙ ÙÙÙÙØ§ Ø§ÙØØ¨ÙÙ ÙÙ
أتÙÙÙÙ
Ù</div>
<div id="poemPreview"></div>
</td>
</tr>
<tr><td align="right">
<!-- start of format box -->
<table border="0" cellpadding="2" cellspacing="0" width="450px" style="color:brown">
<tr>
<td width="100%" nowrap>
<font size="2" color="#000000">{$lang['Type']}:</font>
{$lang['اÙÙÙØ¹']}
<select dir="ltr" size="1" onchange="selectFont(this);showPoem(1)" name="fname">
<option value="Simplified Arabic">(Simplified Arabic)
<option>Custom ...
<option>Andalus
<option>Arabic Transparent
<option>Arial
<option>Courier
<option>Courier New
<option>MS Dialog
<option>MS Sans Serif
<option>Simplified Arabic
<option>Tahoma
<option>Times New Roman
<option>Traditional Arabic
</select> Ø§ÙØØ¬Ù
<select size="1" name="fsize" onchange="showPoem(1)">
<option value="1">1
<option value="2">2
<option value="3">3
<option selected value="4">4
<option value="5">5
<option value="6">6
<option value="7">7
</select> Ø§ÙØ´ÙÙ <select size="1" name="fstyle" onchange="showPoem(1)">
<option value="normal,normal" selected>عادÙ
<option value="bold,normal">سÙ
ÙÙ
<option value="normal,italic">Ù
ائÙ
<option value="bold,italic">ÙÙØ§ÙÙ
ا
</select> اÙÙÙÙ <select size="1" name="fcolor" style="width:50" onchange="document.body.focus(); showPoem(1)">
<option style="background-color:black; color:black" selected>
<option style="background-color:white">
<option style="background-color:skyblue">
<option style="background-color:royalblue">
<option style="background-color:blue">
<option style="background-color:darkblue">
<option style="background-color:orange">
<option style="background-color:tomato">
<option style="background-color:coral">
<option style="background-color:orangered">
<option style="background-color:crimson">
<option style="background-color:red">
<option style="background-color:firebrick">
<option style="background-color:darkred">
<option style="background-color:green">
<option style="background-color:limegreen">
<option style="background-color:seagreen">
<option style="background-color:deeppink">
<option style="background-color:purple">
<option style="background-color:indigo">
<option style="background-color:burlywood">
<option style="background-color:sandybrown">
<option style="background-color:sienna">
<option style="background-color:chocolate">
<option style="background-color:teal">
<option style="background-color:silver">
<option style="background-color:gray">
</select></td>
</tr>
<tr>
<td width="100%">
<font size="2" color="#000000">Ø§ÙØ®ÙÙÙØ©:</font> Ø§ÙØµÙرة
<select size="1" onchange="selectImage(this);showPoem(1);" name="bkimage">
<option value="">...
<option selected>Ø¨ÙØ§
<option>رابط...
</select> اÙÙÙÙ <select size="1" name="bkcolor" style="width:50" onchange="document.body.focus();showPoem(1)">
<option style="background-color:transparent; color:black" selected>Ø¨ÙØ§
<option style="background-color:black">
<option style="background-color:white">
<option style="background-color:skyblue">
<option style="background-color:royalblue">
<option style="background-color:blue">
<option style="background-color:darkblue">
<option style="background-color:orange">
<option style="background-color:tomato">
<option style="background-color:coral">
<option style="background-color:orangered">
<option style="background-color:crimson">
<option style="background-color:red">
<option style="background-color:firebrick">
<option style="background-color:darkred">
<option style="background-color:green">
<option style="background-color:limegreen">
<option style="background-color:seagreen">
<option style="background-color:deeppink">
<option style="background-color:purple">
<option style="background-color:indigo">
<option style="background-color:burlywood">
<option style="background-color:sandybrown">
<option style="background-color:sienna">
<option style="background-color:chocolate">
<option style="background-color:teal">
<option style="background-color:silver">
<option style="background-color:gray">
</select> <span id="loadingMsg" style="color:blue"> </span></td>
</tr>
<tr>
<td width="100%">
<font color="#000000" size="2">Ø§ÙØ¥Ø·Ø§Ø±:</font>اÙÙÙØ¹
<select size="1" name="bstyle" onchange="showPoem(1)">
<option value="none" selected>Ø¨ÙØ§
<option value="solid">Ù
صÙ
ت
<option value="double">Ù
Ø²Ø¯ÙØ¬
<option value="groove">Ø£Ø®Ø¯ÙØ¯
<option value="ridge">تÙ
<option value="inset">Ù
ØºØ±ÙØ²
<option value="outset">Ù
Ø±ØªÙØ¹
</select> Ø§ÙØØ¬Ù
<select size="1" name="bsize" onchange="showPoem(1)">
<option>1
<option>2
<option>3
<option selected>4
<option>5
<option>6
<option>7
<option>8
<option>9
<option>10
</select> اÙÙÙÙ <select size="1" style="width:50" name="bcolor" onchange="document.body.focus();showPoem(1);">
<option style="background-color:black; color:black">
<option style="background-color:white">
<option style="background-color:skyblue">
<option style="background-color:royalblue">
<option style="background-color:blue">
<option style="background-color:darkblue">
<option style="background-color:orange">
<option style="background-color:tomato">
<option style="background-color:coral">
<option style="background-color:orangered">
<option style="background-color:crimson">
<option style="background-color:red">
<option style="background-color:firebrick">
<option style="background-color:darkred">
<option style="background-color:green">
<option style="background-color:limegreen">
<option style="background-color:seagreen">
<option style="background-color:deeppink">
<option style="background-color:purple">
<option style="background-color:indigo">
<option style="background-color:burlywood">
<option style="background-color:sandybrown">
<option style="background-color:sienna">
<option style="background-color:chocolate">
<option style="background-color:teal">
<option style="background-color:silver">
<option style="background-color:gray" selected>
</select></td>
</tr>
<tr>
<td width="100%">
ÙÙ ØªØ±ÙØ¯ Ø¥Ø¸ÙØ§Ø± Ø£Ø±ÙØ§Ù
Ø§ÙØ£Ø¨Ùات Ø
<select size="1" name="pnum" onchange="showNumBlock();showPoem(1)">
<option selected value="0">ÙØ§
<option value="1">ÙØ¹Ù
</select>
<span id="numblock">تبدأ Ø§ÙØ£Ø±ÙاÙ
Ù
Ù <input type="text" value="1" side="2" size="4" name="pnumstart" onblur="showPoem(1)" onkeydown="if (event.keyCode == 13) showPoem(1);">
ÙÙÙ Ø§ÙØ£Ø±ÙاÙ
<select size="1" name="pnumcolor" onchange="document.body.focus(); showPoem(1)">
<option style="background-color:black; color:black" selected>
<option style="background-color:white">
<option style="background-color:skyblue">
<option style="background-color:royalblue">
<option style="background-color:blue">
<option style="background-color:darkblue">
<option style="background-color:orange">
<option style="background-color:tomato">
<option style="background-color:coral">
<option style="background-color:orangered">
<option style="background-color:crimson">
<option style="background-color:red">
<option style="background-color:firebrick">
<option style="background-color:darkred">
<option style="background-color:green">
<option style="background-color:limegreen">
<option style="background-color:seagreen">
<option style="background-color:deeppink">
<option style="background-color:purple">
<option style="background-color:indigo">
<option style="background-color:burlywood">
<option style="background-color:sandybrown">
<option style="background-color:sienna">
<option style="background-color:chocolate">
<option style="background-color:teal">
<option style="background-color:silver">
<option style="background-color:gray">
</select></span></td>
</tr>
<tr>
<td width="100%">
<div align="center">
<center>
<table border="1" cellspacing="0" bordercolor="#818B89" style="border-collapse: collapse;">
<tr>
<td width="25%" align="center" bgcolor="#F7F7F7">
<font color="#8B0000">ÙÙØ¦Ø© اÙÙØµÙدة</font></td>
<td width="25%" align="center" bgcolor="#F7F7F7">
<font color="#8B0000">اÙÙ
Ø³Ø§ÙØ© بÙÙ Ø§ÙØ£Ø¨Ùات</font></td>
<td width="25%" align="center" bgcolor="#F7F7F7">
<font color="#8B0000">Ø¬ÙØ© اÙÙØµÙدة</font></td>
<td width="25%" align="center" bgcolor="#F7F7F7">
<font color="#8B0000">طرÙÙØ© Ø§ÙØªÙسÙÙ</font></td>
</tr>
<tr>
<td width="25%" align="center">
<select size="1" name="ptype" onchange="showPoem(1)">
<option selected value="0">عÙ
ÙØ¯Ø§Ù
<option value="1">Ù
ÙØØ¯Ø±
<option value="2">Ù
تداخÙ
<option value="3">عÙ
ÙØ¯
</select></td>
<td width="25%" align="center"> <select size="1" name="pline" onchange="showPoem(1)">
<option value="0" selected>Ù
ØªÙØ§Ø±Ø¨Ø©
<option value="1">Ù
تباعدة
</select></td>
<td width="25%" align="center"> <select size="1" name="palign" onchange="showPoem(1)">
<option value="right">ÙÙ
ÙÙ
<option value="center" selected>ÙØ³Ø·
<option value="left">ÙØ³Ø§Ø±
</select></td>
<td width="25%" align="center"> <select size="1" name="puse" onchange="showPoem(1)">
<option value="sp">بتباعد اÙÙÙÙ
ات
<option value="ex" selected>باÙ
تداد اÙÙÙÙ
ات
</select></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<tr>
<td width="100%" align="left">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;color:brown" bordercolor="#111111" width="100%">
<tr>
<td width="50%" nowrap>تصاÙ
ÙÙ
Ø¬Ø§ÙØ²Ø©
<select size="1" name="templates" onchange="loadTemplate(this.selectedIndex);showPoem(1)">
<option selected>اختر تصÙ
ÙÙ
Ø¬Ø§ÙØ²
</select></td>
<td width="50%" align="left" nowrap>
<input type="button" value="ØÙظ (ÙÙØ¥Ø¯Ø§Ø±Ø©)" onclick="showCurrentSettings()">
<input type="button" id="accept" value="اعتÙ
د" onclick="showPoem(0)">
<input type="button" value="Ø¥ÙØºØ§Ø¡" onclick="window.returnValue=''; window.close()"></td>
</tr>
</table>
</td>
</tr>
<tr><td><font color="#FF0000">Ù
ÙØ§ØØ¸Ø© : </font><font color="#0000FF">ÙÙØªØ§Ø¨Ø© اÙÙØµÙدة Ø§ÙØµÙ شطر٠ÙÙ Ø¨ÙØª Ø¨Ø¹ÙØ§Ù
Ø© اÙÙ
Ø³Ø§ÙØ© ( = ) </font>
</td></tr>
</table>
<!-- end of format box -->
</td></tr>
</table>
</center>
</div>
<script language="javascript" src="includes/js/poem_settings.js"></script>
<script language="javascript">
for (seli = 1; seli <= imageCount; seli++) {
var oOption = document.createElement("OPTION");
bkimage.options.add(oOption);
oOption.innerText = seli;
oOption.value=seli;
}
function selectImage(ob) {
var i = ob.selectedIndex, img;
if (i == 0)
img = ob[0].value;
else if (i == 1)
img = "";
else if (i == 2) {
img = window.prompt("أدخ٠ÙÙØ§ رابط Ø§ÙØµÙرة :", (ob[0].value)?ob[0].value:"http://");
if (img == null)
img = ob[0].value;
ob.selectedIndex = 0;
}
else {
clearInterval(timerID);
img = "look/images/backgrounds/" + ob[i].value + ".gif";
loadingMsg.innerHTML = "جار٠تØÙ
ÙÙ Ø§ÙØ®ÙÙÙØ© Ø Ø§ÙØ±Ø¬Ø§Ø¡ Ø§ÙØ§Ùتظار ...";
loadingMsg.style.display = "inline";
timerID = setInterval("blink()", 500);
testImage.src = (img);
}
ob[0].value = img;
}
function blink() {
if (loadingMsg.style.display == 'inline')
loadingMsg.style.display = "none";
else
loadingMsg.style.display = "inline";
}
function selectFont(ob) {
var i = ob.selectedIndex, f;
if (i == 0)
return;
else if (i == 1) {
f = window.prompt("أدخ٠ÙÙØ§ اسÙ
Ø§ÙØ®Ø· :", ob.options(0).text.replace(/\(/g,"").replace(/\)/g,""));
if (f == null) {
ob.selectedIndex = 0;
return;
}
}
else
f = ob.options(i).text;
ob.options(0).text = "(" + f + ")";
ob.options(0).value = f;
ob.selectedIndex = 0;
}
function setFontStyle(i) {
fbold = 0;
fitalic = 0;
if (i == 1 || i == 3) fbold = 1;
if (i == 2 || i == 3) fitalic = 1;
}
function getColor(o) {
return (o.options[o.selectedIndex].style.backgroundColor);
}
function getValue(o) {
return (o.options[o.selectedIndex].value);
}
function getText(o) {
return (o.options[o.selectedIndex].text);
}
function imageBrowse() {
var img = showModalDialog("backgrounds.htm", imageCount , "help:no; status:no; dialogHeight:460px; dialogWidth:600px");
if (img!="") {
bkimage.selectedIndex=parseFloat(img)+2;
img = "look/images/backgrounds/" + img + ".gif";
bkimage[0].value = img;
}
}
function showPoem(preview) {
var arg = "";
arg += "font='" + fname[0].value + "," + getValue(fsize) + "," + getColor(fcolor) + "," + getValue(fstyle) + "'";
arg += " bkcolor='" + getColor(bkcolor) + "' bkimage='" + ((preview) ? '../':'')+ bkimage[0].value + "'";
arg += " border='" + getValue(bstyle) + "," + getText(bsize) + "," + getColor(bcolor) + "'";
arg += " type=" + getValue(ptype) + " line=" + getValue(pline) + " align=" + getValue(palign) + " use=" + getValue(puse);
arg += " num='" + pnumstart.value + "," + getColor(pnumcolor) + "'";
arg = arg.replace(/'/g,'"');
if (preview) {
poemExample.tag = arg;
doPoem(1);
} else {
window.returnValue = arg;
window.close();
}
}
function showNumBlock() {
if (pnum.value == 0)
numblock.style.display = "none";
else
numblock.style.display = "inline";
pnumstart.value = pnum.value
}
showNumBlock();
</script>
</body>
</html>]]></context_poem_form>
<context_poem_template><![CDATA[<style>
p, textarea: { font-size:8pt; font-family:tahoma; color:brown}
</style>
</head>
<body bgcolor="#FFE1CE">
<p align="center">
Ø§ÙØ³Ø®Ù اÙÙÙØ¯ Ø§ÙØªØ§ÙÙ ÙØ¶Ø¹Ù ÙÙ Ù
ÙÙ poem_settings.js ØªØØª part 2
<textarea name=txt width=100% dir=ltr rows="5" cols="29"></textarea>
<br>
<input type=button value="ØªØØ¯Ùد اÙÙØµ" onclick="txt.select()">
<input type=button onclick="window.close()" value="Ø§ØºÙØ§Ù"></p>
</body>
<script>
txt.value = 'initializeTemplates("' + window.dialogArguments + '");';
</script>]]></context_poem_template>
<context_portal><![CDATA[{template}address_bar_part1{/template}
<a href="index.php?page=portal">{$_CONF['info_row']['title_portal']}</a>
{template}address_bar_part2{/template}
<br />
<table width="100%" border="0" cellspacing="4" align="center">
<tr align="center">
{if {$active_right}}
<td width="20%" valign="top">
<?php
$right_blocks_info = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->prefix."blocks" . " WHERE place_block = 'right' AND active = '1' ORDER BY sort ASC");
while ($get_right_blocks_row = $PowerBB->DB->sql_fetch_array($right_blocks_info))
{
$right_blocks = $get_right_blocks_row['text'];
?>
<table width="100%" border="0" cellspacing="0" class="border_radius">
<tr>
<tr align="center">
<td class="tcat" width="20%">
<?php echo $get_right_blocks_row['title'] ?></td>
</tr>
<td class="row1">
<?php
if (strstr($right_blocks,"{template}"))
{
$right_blocks = str_replace('{template}',' $this->display(\'',$right_blocks);
$right_blocks = str_replace('{/template}',"');",$right_blocks);
eval($right_blocks);
}
else
{
echo($right_blocks);
}
?>
</td>
</tr>
</table>
<br />
<?php
}
?>
</td>
{/if}
<td width="{$columns}" valign="top">
<?php
$center_blocks_info = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->prefix."blocks" . " WHERE place_block = 'center' AND active = '1' ORDER BY sort ASC");
while ($get_center_blocks_row = $PowerBB->DB->sql_fetch_array($center_blocks_info))
{
$center_blocks = $get_center_blocks_row['text'];
?>
<table width="100%" border="0" cellspacing="0" class="border_radius">
<tr>
<tr align="center">
<td class="tcat" width="{$columns}">
<?php echo $get_center_blocks_row['title'] ?></td>
</tr>
<td class="row1">
<?php
if (strstr($center_blocks,"{template}"))
{
$center_blocks = str_replace('{template}',' $this->display(\'',$center_blocks);
$center_blocks = str_replace('{/template}',"');",$center_blocks);
eval($center_blocks);
}
else
{
echo($center_blocks);
}
?>
</td>
</tr>
</table>
<br />
<?php
}
?>
</td>
{if {$active_left}}
<td width="20%" valign="top">
<?php
$left_blocks_info = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->prefix."blocks" . " WHERE place_block = 'left' AND active = '1' ORDER BY sort ASC");
while ($get_left_blocks_row = $PowerBB->DB->sql_fetch_array($left_blocks_info))
{
$left_blocks = $get_left_blocks_row['text'];
?>
<table width="100%" border="0" cellspacing="0" class="border_radius">
<tr>
<tr align="center">
<td class="tcat" width="20%">
<?php echo $get_left_blocks_row['title'] ?></td>
</tr>
<td class="row1">
<?php
if (strstr($left_blocks,"{template}"))
{
$left_blocks = str_replace('{template}',' $this->display(\'',$left_blocks);
$left_blocks = str_replace('{/template}',"');",$left_blocks);
eval($left_blocks);
}
else
{
echo($left_blocks);
}
?>
</td>
</tr>
</table>
<br />
<?php
}
?>
</td>
{/if}
</tr>
</table>
<br />
<br />
<br />
<br />
<br />]]></context_portal>
<context_portal_calendar><![CDATA[<table width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td class="row1">
<font class="smallfont">
<?php
$get_now_date = getdate();
$now_year = $get_now_date[year];
$now_month = $get_now_date[mon];
$now_day = $get_now_date[mday];
$month=$PowerBB->_POST['month'];
$year=$PowerBB->_POST['year'];
define ("ADAY", (60*60*24));
if (!checkdate($month,1,$year)){
$nowArray = getdate();
$month = $nowArray[mon];
$year = $nowArray[year];
}
$start = mktime (0, 0, 0, $month, 1, $year);
$firstDayArray = getdate($start);
?>
<?php
$days = Array( $PowerBB->_CONF['template']['lang']['Mon'], $PowerBB->_CONF['template']['lang']['Tue'], $PowerBB->_CONF['template']['lang']['Wed'], $PowerBB->_CONF['template']['lang']['Thu'], $PowerBB->_CONF['template']['lang']['Fri'], $PowerBB->_CONF['template']['lang']['Sat'], $PowerBB->_CONF['template']['lang']['Sun'] );
print "<div align='center' STYLE=\"cursor:hand;cursor:pointer\" ><center>\n<table class=border cellpadding='1' cellspacing='0' width='99%' >
<tr>\n";
foreach ($days as $day) {
print "\t<td class=thead align='center' width='40'>$day</td>\n";
}
for ($count=0; $count < (6*7); $count++){
$dayArray = getdate($start);
if ((($count) % 7) == 0){
if ($dayArray[mon] != $month)
break;
print "</tr>\n<tr>\n";
}
if ($count < $firstDayArray[wday] || $dayArray[mon] != $month) {
print "\t<td><br></td>\n";
}
else {
if ($now_day == $dayArray[mday] && $now_month == $month && $now_year == $year){
print "\t<td class=tcat title=\"Date $firstDayArray[month] $dayArray[mday] $firstDayArray[year]\" onClick=\"SetFormat('$firstDayArray[month] $dayArray[mday] $firstDayArray[year]')\" onMouseover=\"this.className='tcat';\" onMouseout=\"this.className='tcat';\" >$dayArray[mday]</td>\n";
}
else{
print "\t<td class=thead title=\"Date $firstDayArray[month] $dayArray[mday] $firstDayArray[year]\" onClick=\"SetFormat('$firstDayArray[month] $dayArray[mday] $firstDayArray[year]')\" onMouseover=\"this.className='tcat';\" onMouseout=\"this.className='thead';\" >$dayArray[mday]</td>\n";
}
$start += ADAY;
}
}
print "</tr></table></center></div><div class=thead align='center'>";
?>
<script language="JavaScript">
var fixd;
function isGregLeapYear(year)
{
return year%4 == 0 && year%100 != 0 || year%400 == 0;
}
function gregToFixed(year, month, day)
{
var a = Math.floor((year - 1) / 4);
var b = Math.floor((year - 1) / 100);
var c = Math.floor((year - 1) / 400);
var d = Math.floor((367 * month - 362) / 12);
if (month <= 2)
e = 0;
else if (month > 2 && isGregLeapYear(year))
e = -1;
else
e = -2;
return 1 - 1 + 365 * (year - 1) + a - b + c + d + e + day;
}
function Hijri(year, month, day)
{
this.year = year;
this.month = month;
this.day = day;
this.toFixed = hijriToFixed;
this.toString = hijriToString;
}
function hijriToFixed()
{
return this.day + Math.ceil(29.5 * (this.month - 1)) + (this.year - 1) * 354 +
Math.floor((3 + 11 * this.year) / 30) + 227015 - 1;
}
function hijriToString()
{
var months = new Array("Muharram","Safar","Rabi-al Awwal","Rabi-al Thani","Jumada al-Ula","Jumada al-Thani","Rajab","Sha\'ban","Ramadhan","Shawwal","Dh ul Qa\'dah","Dhul Hijjah");
return this.day + " " + months[this.month - 1]+ " " + this.year;
}
function fixedToHijri(f)
{
var i=new Hijri(1100, 1, 1);
i.year = Math.floor((30 * (f - 227015) + 10646) / 10631);
var i2=new Hijri(i.year, 1, 1);
var m = Math.ceil((f - 29 - i2.toFixed()) / 29.5) + 1;
i.month = Math.min(m, 12);
i2.year = i.year;
i2.month = i.month;
i2.day = 1;
i.day = f - i2.toFixed() + 1;
return i;
}
var tod=new Date();
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var monthname=new Array("January","February","March","April","May"," June","July","August","September","October","Novem ber","December");
var y = tod.getFullYear();
var m = tod.getMonth();
var d = tod.getDate();
var dow = tod.getDay();
document.write(weekday[dow] + " " + d + " " + monthname[m] + " " + y);
m++;
fixd=gregToFixed(y, m, d);
var h=new Hijri(1421, 11, 28);
h = fixedToHijri(fixd);
document.write(" CE | " + h.toString() + " AH ");
</script>
</div>
</font>
</td>
</tr>
</table>]]></context_portal_calendar>
<context_portal_clock><![CDATA[<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="200" height="140">
<param name="movie" value="portal/clock/clock14.swf">
<param name="quality" value="High">
<embed src="portal/clock/clock14.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="200" height="140"></object>]]></context_portal_clock>
<context_portal_last_news><![CDATA[<table width="100%" class="border" cellpadding="0" style="border-collapse: collapse">
<tr align="center">
</tr>
{Des::while}{LastNews_subjectList}
<?php
$writer= $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['writer'];
$Info_writer = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE username = '$writer'");
$InfoWriter = @mysql_fetch_array($Info_writer);
$avater_path = $InfoWriter['avater_path'];
?>
<tr>
<td class="thead">
<?php $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title']);?>
<span class="l-left">
<font class="smallfont">
{$lang['SubjectVisitor']}:
({$LastNews_subjectList['visitor']})
{$lang['Comments']}:
({$LastNews_subjectList['reply_number']})
</font>
</span>
<span class="r-right">
<img border="0" alt="{$LastNews_subjectList['title']}" src="{$LastNews_subjectList['icon']}">
<a href="index.php?page=topic&show=1&id={$LastNews_subjectList['id']}">{$LastNews_subjectList['title']}</a>
</span>
</td>
</tr>
<tr>
<td class="row1">
<span class="l-left">
<font class="smallfont">
{$LastNews_subjectList['write_date']}
</font>
</span>
<span class="r-right">
<img border="0" src="portal/images/news_icon.gif" alt="Writer">
{$lang['LastsPostsWriter']}
<a href="index.php?page=profile&show=1&id=<?php echo $InfoWriter['id']; ?>">{$LastNews_subjectList['writer']}</a>
</span>
</td>
</tr>
<tr>
<td class="row1" valign="top">
<span class="l-left UserPhoto">
<?php if ($avater_path){ ?>
<a href='<?php echo $avater_path; ?>' rel="facebox">
<img src='<?php echo $avater_path; ?>' alt="Photo" onload="ResizeAv(this)" />
</a>
<?php if ($avater_path ==''){ ?>
<a href="{$image_path}/
{$_CONF['info_row']['default_avatar']}" rel="facebox">
<img src="{$image_path}/
{$_CONF['info_row']['default_avatar']}" border="0" alt="Photo" onload="ResizeAv(this)" />
</a>
{/if}
{else}
<a href="{$image_path}/
{$_CONF['info_row']['default_avatar']}" rel="facebox">
<img src="{$image_path}/
{$_CONF['info_row']['default_avatar']}" border="0" onload="ResizeAv(this)" />
</a>
{/if}
</span>
<?php
$num =$PowerBB->_CONF['template']['_CONF']['info_row']['portal_news_along'];
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->Powerparse->replace($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = str_replace('<p',' <p',$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'],$num);
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
?>
{$LastNews_subjectList['text']} ...
<br />
<br />
<br />
<br />
<br />
<br />
<span class="r-right"><a href="index.php?page=topic&show=1&id={$LastNews_subjectList['id']}"><img border="0" src="portal/images/readmore.gif" alt="readmore"></a></span>
</td>
</tr>
{/Des::while}
{if {$PagerLastNews}}
<tr>
<td class="row1">
<br />
<span class="r-right">
{$PagerLastNews}
</span>
</td>
</tr>
{/if}
</table>]]></context_portal_last_news>
<context_portal_latest_posts><![CDATA[{Des::while}{LastsPostsInfo}
<?php $PowerBB->_CONF['template']['while']['LastsPostsInfo'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastsPostsInfo'][$this->x_loop]['title']);
$nums ='30';
$PowerBB->_CONF['template']['while']['LastsPostsInfo'][$this->x_loop]['title'] = $PowerBB->Powerparse->_wordwrap($PowerBB->_CONF['template']['while']['LastsPostsInfo'][$this->x_loop]['title'],$nums);
?>
<font class="smallfont" style="text-align: right;float: right;">
<img border="0" src="portal/images/info.gif" alt="Last Posts">
<a target="_blank" title="{$lang['LastsPostsWriter']}
{$LastsPostsInfo['writer']}
{$lang['LastsPostsDate']}
{$LastsPostsInfo['reply_date']}
{if {$LastsPostsInfo['last_replier']}}
{$lang['LastsPostsReplyWriter']}
{$LastsPostsInfo['last_replier']}
{else}
{$lang['LastsPostsReplyWriter']}
{$LastsPostsInfo['writer']}
{/if}
{$lang['LastsPostsReply_number']}
{$LastsPostsInfo['reply_number']}
{$lang['LastsPostsvisitor']}
{$LastsPostsInfo['visitor']} " href="
{if {$_CONF['info_row']['rewriterule']} == '1'}
t{$LastsPostsInfo['id']}.html">
{else}
index.php?page=topic&show=1&id={$LastsPostsInfo['id']}">
{/if}
{$LastsPostsInfo['title']}
</a>
<br />
</font>
{/Des::while}
]]></context_portal_latest_posts>
<context_portal_main_categories><![CDATA[{Des::foreach}{forumsy_list}{forumy}
{if {$forumy['parent']} == 0}
<font class="smallfont" style="text-align: right;float: right;">
<img border="0" src="portal/images/news_icon.gif" alt="">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$forumy['id']}.html">{$forumy['title']}</a><br />
{else}
<a href="index.php?page=forum&show=1&
id={$forumy['id']}">{$forumy['title']}</a> <br />
{/if}
</font>
{/if}
{/Des::foreach}]]></context_portal_main_categories>
<context_portal_main_menu><![CDATA[ <font class="smallfont" style="text-align: right;float: right;">
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=portal">{$lang['home']}</a><br />
<!-- action_find_addons_2 -->
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php">{$lang['forum']}</a><br />
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=misc&rules=1&show=1">{$lang['rules']}</a><br />
{if {$_CONF['member_permission']}}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=usercp&index=1">{$lang['usercp']} </a><br />
{else}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=register&index=1">{$lang['register']}</a><br />
{/if}
{if {$_CONF['info_row']['active_static']} == '1'}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=static&index=1">{$lang['static']}</a><br />
{/if}
{if {$_CONF['info_row']['active_calendar']} == '1'}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=calendar&show=1">{$lang['Calendar']}</a><br />
{/if}
{if {$_CONF['member_permission']}}
{else}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=latest_reply&today=1">
{$lang['latest_reply']}
</a> <br />
{/if}
{if {$_CONF['member_permission']}}
{if {$_CONF['group_info']['memberlist_allow']} == '1'}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=member_list&index=1&show=1">{$lang['memberlist']}</a><br />
{/if}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="javascript:logout('index.php?page=logout&index=1')">{$lang['logout']}</a><br />
{/if}
{if {$_CONF['info_row']['active_send_admin_message']} == '1'}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="index.php?page=send&sendmessage=1">{$lang['send_message']}</a><br />
{/if}
{if {$_CONF['rows']['group_info']['admincp_allow']}}
<img border="0" src="portal/images/news_icon.gif" alt="">
<a href="admin.php">{$lang['cp_admin']}</a>
{/if}
<!-- action_find_addons_3 -->
</font>]]></context_portal_main_menu>
<context_portal_online><![CDATA[ <font class="smallfont" style="text-align: right;float: right;width: 100%">
</strong> ({$MemberNumber})
{$lang['member_and']}
({$SpidersNumber})
{$lang['Spiders_and']}
({$GuestNumber})
{$lang['Guest']}
<br />
<hr>
</span>
{Des::while}{OnlineList}
{if {$OnlineList['user_id']} == '-1'}
{if {$OnlineList['is_bot']} == '1'}
{$OnlineList['bot_name']}
{else}
<?php echo $PowerBB->_CONF['template']['while']['OnlineList'][$this->x_loop]['username_style'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['while']['OnlineList'][$this->x_loop]['username_style']); ?>Ø
{/if}
{else}
<?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['OnlineList'][$this->x_loop]['username']);?> Ø
{/if}
{/Des::while}
{if {$_CONF['info_row']['show_onlineguest']} == 1}
{if {$MemberNumber} + {$GuestNumber} <= 0}
{if !{$_CONF['rows']['member_row']['hide_online']} == 1}
{$lang['no_login_member']}
{/if}
{/if}
{else}
{if {$MemberNumber} <= 0}
{if !{$_CONF['rows']['member_row']['hide_online']} == 1}
{$lang['no_login_member']}
{/if}
{/if}
{/if}
</font>]]></context_portal_online>
<context_portal_static><![CDATA[<font class="smallfont" style="text-align: right;float: right;">
<img border="0" src="portal/images/menublip.gif" alt="">
{$lang['Number_Members']} : {$StaticInfo['GetMemberNumber']}<br />
<img border="0" src="portal/images/menublip.gif" alt="">
{$lang['Number_Subjects']} : {$StaticInfo['GetSubjectNumber']}<br />
<img border="0" src="portal/images/menublip.gif" alt="">
{$lang['Number_replys']} : {$StaticInfo['GetReplyNumber']}<br />
<img border="0" src="portal/images/menublip.gif" alt="">
{$lang['Number_forums']}:{$StaticInfo['GetSectionNumber']}<br />
<img border="0" src="portal/images/menublip.gif" alt="">
{$lang['Number_Members_active']} : {$StaticInfo['GetActiveMember']}<br />
<img border="0" src="portal/images/menublip.gif" alt="">
{$lang['Age_forum']} : {$StaticInfo['Age']} {$lang['Day']}
</font>]]></context_portal_static>
<context_preview><![CDATA[{if {$view_preview}}
<br />
<table border="1" class="border" cellspacing="1" width="98%" align="center">
<tr>
<td class="tcat" width="100%">
{$lang['Preview']}
</td>
</tr>
<tr>
<td class="preview">
{$preview}
</td>
</tr>
</table>
<br />
{/if}]]></context_preview>
<context_print_footer><![CDATA[ <p align="center">{$lang['copyright']}</p>]]></context_print_footer>
<context_print_reply><![CDATA[<div align="center">
<table class="tborder" cellpadding="8" cellspacing="1" border="0" cellspacing="1" width="90%">
<tr>
<td class="page">
<table width="90%" border="0" cellspacing="1" cellpadding="0">
<tr valign="bottom">
<td style="font-size: 14pt;">{$Info['display_username']}</td>
<td class="smallfont" align="left">{$Info['write_time']}</td>
</tr>
</table>
<hr>
{$Info['text']}
</tr>
</table>
</div>
<br />]]></context_print_reply>
<context_print_subject><![CDATA[<!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']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<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> {$Info['title']} -
{$lang['Print_topic']}
</title>
</head>
<body>
<br />
<br />
<div align="center">
<table border="0" cellspacing="1" width="90%" cellspacing="0" cellpadding="0">
<tr>
<td class="right" width="88%">
{$lang['copy_Print_topic']}
<br />
{$lang['Title_subject']}
{$Info['title']}
<br />
<a title="{$lang['Watch_subject']}"href="
{if {$_CONF['info_row']['rewriterule']} == '1'}
t{$Info['subject_id']}.html">
{else}
index.php?page=topic&show=1&id={$Info['subject_id']}">
{/if}
{$lang['Watch_the_original_subject']}
</a>
</div></td>
<td width="2%" align="left">
<SCRIPT LANGUAGE="JavaScript">
if (window.print) {
document.write('<form> '
+ '<input type=button name=print value="{$lang['Print']}" '
+ 'onClick="javascript:window.print()"></form>');
}
-->
</script></td>
</tr>
</table>
</div>
<br />
<div align="center">
<table class="tborder" cellpadding="8" cellspacing="1" border="0" cellspacing="1" width="90%">
<tr>
<td class="page">
<table width="100%" border="0" cellspacing="1" cellpadding="0" ">
<tr valign="bottom">
<td style="font-size: 14pt;">{$Info['display_username']}</td>
<td class="smallfont" align="left">{$Info['native_write_time']}</td>
</tr>
</table>
<hr>
{$Info['text']}
</tr>
</table>
</div>
<br />
]]></context_print_subject>
<context_profile><![CDATA[{template}address_bar_part1{/template}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$MemberInfo['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$MemberInfo['id']}">
{/if}
{$lang['View_Member_Profile']}
{$MemberInfo['username']}</a>
{template}address_bar_part2{/template}
<br />
<br />
<table border="0" width="100%" cellspacing="1" cellpadding="0">
<tr>
<td valign="top" width="75%">
{template}stuff_profile{/template}
<br />
</td>
<td valign="top" width="25%">
{if {$while['extrafield']}}
{if is_array({$while['extrafield']})==true }
<table align="center" class="border" border="0" cellspacing="1" width="98%">
<tr>
<td class="tcat" width="60%" colspan="2">
{$lang['Additional_information']}
</td>
</tr>
{Des::while}{extrafield}
<tr>
<td width="38%" class="row1">
{$extrafield['name']}
</td>
<td width="60%" class="row1">
<?php if($PowerBB->_CONF['template']['MemberInfo'][$PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag']]){ ?>
<?php $PowerBB->_CONF['template']['MemberInfo'][$PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag']] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['MemberInfo'][$PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag']],'html'); ?>
<?php echo $PowerBB->_CONF['template']['MemberInfo'][$PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag']]; ?>
<?php }else{ ?>
{$lang['did_not_say']}
<?php } ?>
</td>
</tr>
{/Des::while}
</table>
{/if}
<br />
{/if}
{if {$_CONF['info_row']['active_friend']} == '1'}
<table align="center" class="border" border="0" cellspacing="1" width="98%">
<tr>
<td width="60%" class="tcat" colspan="1">
{$lang['friends']}
{$MemberInfo['username']}
</td>
</tr>
<tr>
<td width="60%" class="row1">
{if {$No_Friends}}
{$lang['nofriends']}
{/if}
{Des::while}{FriendsList}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$FriendsList['userid_friend']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$FriendsList['userid_friend']}">
{/if}
{$FriendsList['username_friend']}</a> ,
{/Des::while}
</td>
</tr>
{if {$_CONF['rows']['member_row']['username']} == {$MemberInfo['username']}}
<tr>
<td class="row1" align="center">
{if {$edit_friend}}
<a href="index.php?page=usercp&options=1&friends=1&main=1">
{$lang['edit_friend']}
</a>
{/if}
</td>
</tr>
{/if}
</table>
<br />
{/if}
{if {$_CONF['info_row']['allow_apsent']} == '1'}
{if {$MemberInfo['away']} == 1}
<table align="center" class="border" border="0" cellspacing="1" width="98%">
<tr>
<td width="60%" class="tcat" colspan="1">
{$MemberInfo['username']}
{$lang['Absent_now']}
</td>
</tr>
<tr>
<td width="60%" class="row1">
{$lang['Reason_for_absence']}
{$MemberInfo['away_msg']}
</td>
</tr>
</table>
<br />
{/if}
{/if}
{if {$Awards_nm} > '0'}
<table align="center" class="border" border="0" cellspacing="1" width="98%" align="center">
<tr>
<td width="60%" class="tcat" colspan="1">
{$lang['awards']}:{$Awards_nm}
</td>
</tr>
{Des::while}{AwardsList}
<tr>
<td width="90%" align="center" class="tbar_writer_info">
{$AwardsList['award']}
<br />
<img title="{$AwardsList['award']}" src="{$AwardsList['award_path']}" border="0">
<br />
</td>
</tr>
{/Des::while}
</table>
{/if}
</td>
</tr>
</table>
<br />
<br />]]></context_profile>
<context_register><![CDATA[{if {$_CONF['info_row']['ajax_register']} == 0}
{template}address_bar_part1{/template}
{$lang['register']}
{template}address_bar_part2{/template}
{/if}
<script type='text/javascript'>
//<![CDATA[
function AjaxChkName()
{
var AjaxState = {ajaxSend : $("#result1").html("<div class='info_bar'> <img border='0' src='<?php echo $PowerBB->_CONF['template']['image_path']; ?>/loading.gif' width='25' height='25'/></div>")};
var data = {};
data['username'] = $("#username_id").val();
data['ajax'] = 1;
$.post("index.php?page=register&checkname=1",data,function Success(xml) { $("#result1").html(xml); });
}
function AjaxChkEmail()
{
var AjaxState = {ajaxSend :
$("#result2").html("<div class='info_bar'> <img border='0' src='<?php echo $PowerBB->_CONF['template']['image_path']; ?>/loading.gif' width='25' height='25'/></div>")};
var data = {};
data['email'] = $("#email_id").val();
data['ajax'] = 1;
$.post("index.php?page=register&checkemail=1",data,function Success(xml) { $("#result2").html(xml); });
}
function Ready()
{
$("#username_id").change(AjaxChkName);
$("#email_id").change(AjaxChkEmail);
}
$(document).ready(Ready);
//]]>
</script>
{if {$_CONF['info_row']['ajax_register']}}
<script type='text/javascript'>
//<![CDATA[
function AjaxRegister()
{
var AjaxState = {ajaxSend : $("#result").html("<div class='info_bar'> <img border='0' src='{$image_path}/loading.gif'></div>")};
var data = {};
data['username'] = $("#username_id").val();
data['password'] = $("#password_id").val();
data['password_confirm'] = $("#password_confirm_id").val();
data['email'] = $("#email_id").val();
data['email_confirm'] = $("#email_confirm_id").val();
data['gender'] = $("#gender_id").val();
data['invite'] = $("#invite_id").val();
data['code'] = $("#code_confirm").val();
{Des::while}{extrafields}
data['{$extrafields['name_tag']}'] = $("#{$extrafields['name_tag']}_id").val();
{/Des::while}
data['ajax'] = 1;
$.post("index.php?page=register&start=1",data,Success);
}
function Wait()
{
$("#result").html("{$lang['Ongoing_process']}");
}
function Success(xml)
{
$("#result").html(xml);
}
function Ready()
{
$("#register_id").click(AjaxRegister);
}
$(document).ready(Ready);
//]]>
</script>
{template}address_bar_part1{/template}
{$lang['register']}
{template}address_bar_part2{/template}
<div id="result" align="center"><font color="#808000"></font></div>
{/if}
<form name="register" method="post" action="index.php?page=register&start=1">
<table border="0" cellspacing="1" class="border" width="90%" align="center">
<tr>
<td width="80%" class="tcat" colspan="2">
{$lang['Registr_Form']}
</td>
</tr>
{if {$_CONF['info_row']['def_group']} == '5'}
<tr>
<td width="80%" class="row1" colspan="2">
<b><font color="#CC0066" face="Tahoma" size="1">{$lang['message_activa_registered']}</font></b>
</td>
</tr>
{/if}
<tr>
<td width="20%" class="row1">
{$lang['username']}
</td>
<td width="30%" class="row1">
<input type="text" name="username" id="username_id" />
<span id="result1"></span>
</td>
</tr>
<tr>
<td width="20%" class="row1">
{$lang['password']}
</td>
<td width="30%" class="row1">
<input type="password" name="password" id="password_id" />
</td>
</tr>
<tr>
<td width="20%" class="row1">
{$lang['password_confirm']}
</td>
<td width="30%" class="row1">
<input type="password" name="password_confirm" id="password_confirm_id" />
</td>
</tr>
<tr>
<td width="20%" class="row1">
{$lang['email']}
</td>
<td width="30%" class="row1">
<input type="text" name="email" id="email_id" dir="ltr" />
<span id="result2"></span>
</td>
</tr>
<tr>
<td width="20%" class="row1">
{$lang['email_confirm']}
</td>
<td width="30%" class="row1">
<input type="text" name="email_confirm" id="email_confirm_id" dir="ltr" />
</td>
</tr>
{if {$_CONF['info_row']['captcha_o']} == 1 }
<tr>
<td width="20%" class="row1" rowspan="2">{$lang['Image_Verification']}<br />
<font size="1">{$lang['Verification']}</font></td>
<td width="31%" class="row1">
<input name="code" id="code_confirm" type="text" size="7" dir="ltr"/>
<img id="turing" src="includes/captcha.php" width="87" height="17"/><br />
<a onclick="updateImg();">{$lang['Image_replacement']}</a>
<script type='text/javascript'>
//<![CDATA[
var clicks = 0;
function updateImg()
{
clicks++
var doc = document.getElementById("turing");
doc.src = "includes/captcha.php" + "?act=" + clicks;
}
//]]>
</script>
</td>
</tr>
{/if}
</table>
<br />
<table border="0" cellspacing="1" class="border" width="90%" align="center">
<td width="80%" class="tcat" colspan="2">
{$lang['mor_information']}
</td>
{if {$_CONF['info_row']['active_birth_date']} == 1 }
<tr>
<td width="20%" class="row1">
{$lang['Birth_date']}
</td>
<td width="30%" class="row1">
{template}birth_date{/template}
</td>
</tr>
{/if}
<tr>
<td width="20%" class="row1">
{$lang['user_gender']}
</td>
<td width="30%" class="row1">
<select name="gender" id="gender_id">
<option value="m" selected="selected">{$lang['gender_m']}</option>
<option value="f">{$lang['gender_f']}</option>
</select>
</td>
</tr>
<tr>
<td width="20%" class="row1">
{$lang['Registr_invite']}
<br />
{$lang['invite_form']}
</td>
<td width="30%" class="row1">
<input type="text" name="invite" value="{$invite}" id="invite_id" />
</td>
</tr>
{Des::while}{extrafields}
<tr>
<td width="20%" class="row1">
{$extrafields['name']}
</td>
<td width="30%" class="row1">
{$extrafields['type_html']}
{if {$extrafields['required']} == 'yes' }
{$lang['required']}
{/if}
</td>
</tr>
{/Des::while}
<tr>
<td width="70%" class="row1" colspan="2" align="center">
<strong>{$lang['modify_settings_after_registration']}</strong>
</td>
</tr>
<tr>
<td width="70%" class="tbar" colspan="2" align="center">
<div align="center">
{if {$_CONF['info_row']['ajax_register']}}
<input name="register_button" id="register_id" type="button" value="{$lang['Registr_Complete']}"/>
{else}
<input name="register_button" type="submit" value="{$lang['Registr_Complete']}" />
{/if}
</div></td>
</tr>
</table>
<br />
</form>
<br />]]></context_register>
<context_register_rules><![CDATA[<title>{$lang['Registration_requirements_forums']}
- {$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
{$lang['Registration_requirements']}
{template}address_bar_part2{/template}
<table border="0" cellspacing="1" class="border" width="80%" align="center">
<tr align="center">
<td class="tcat" width="80%" colspan="2">
{$lang['Registration_requirements']}
</td>
</tr>
<tr>
<td class="row1" width="80%" colspan="2">
{$rules}
</td>
</tr>
<tr>
<td class="row1" width="80%" colspan="2">
</td>
</tr>
<tr align="center">
<td class="main_bar" width="35%">
<a href="index.php?page=register&index=1&agree=1">{$lang['Ok']}</a>
</td>
<td class="main_bar" width="35%">
<a href="index.php">{$lang['Not_OK']}</a>
</td>
</tr>
</table>
<br />]]></context_register_rules>
<context_replys_delet_index><![CDATA[{template}address_bar_part1{/template}
{$lang['Management_Subjects']}
{$_CONF['info_row']['adress_bar_separate']}
{$lang['del_posts']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=managementreply&do_replys=1&startdeleteposts=1" name="form1" method="post">
<table align="center" border="0" cellspacing="1" class="border" width="60%">
<tr align="center">
<td class="tcat" width="60%" colspan="2">
{$lang['delet_Options']}
</td>
</tr>
<tr align="center">
<td class="main_bar" width="60%" colspan="2">
{$lang['Title_subject']}
{$SubjectDelInfo['title']}
</td>
</tr>
<tr>
<td class="row1" width="30%" colspan="2">
<table border="0" cellpadding="0" cellspacing="3" width="100%">
<tr>
<td class="row1">{$lang['How_del_subject']}</td>
</tr>
<tr>
<td class="row1">
<div>
<label for="rb_deletetype_1">
<input name="deletetype" value="1" id="rb_deletetype_1" checked type="radio">{$lang['delet_Simple']}</label></div>
</div>
{if {$_CONF['rows']['group_info']['id']} == '1' or{$_CONF['rows']['group_info']['vice']} == '1'}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" type="radio">{$lang['delet_actual']}</label>
</div>
{else}
{if {$_CONF['rows']['group_info']['group_mod']} == 1}
{if {$_CONF['rows']['group_info']['del_subject']} == 0}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" disabled="disabled" type="radio">{$lang['delet_actual']}</label>
</div>
{else}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" type="radio">{$lang['delet_actual']}</label>
</div>
{/if}
{/if}
{/if}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row1 rows_space" width="60%" colspan="2">
<div align="center">
<input type="submit" value="{$lang['Count']}" />
<input type="hidden" name="subject_id" value="{$SubjectDelInfo['id']}">
<input type="hidden" name="section_id" value="{$SubjectDelInfo['section']}">
<input type="hidden" name="writer" value="{$SubjectDelInfo['writer']}">
</div></td>
</tr>
</table>
]]></context_replys_delet_index>
<context_replys_delet_index2><![CDATA[ <input type="hidden" name="num" value="{$x}">
<input type="hidden" name="check[]" value="{$replys}">
<form>]]></context_replys_delet_index2>
<context_replys_move_index><![CDATA[<br />
<br />
<br />
<form method="post" action="index.php?page=managementreply&do_replys=1&startmoveposts=1" name="form1" method="post">
<table align="center" border="0" cellspacing="1" class="border" width="50%">
<tr align="center">
<td class="tcat" width="50%">
ÙÙ٠اÙÙ
Ø´Ø§Ø±ÙØ§Øª Ø¥ÙÙ Ù
ÙØ¶Ùع Ù
ÙØ¬Ùد Ù
Ø³Ø¨ÙØ§Ù
</td>
</tr>
<tr align="center">
<td class="row1" width="50%">
<div class="smallfont">
إستعÙ
Ù Ø§ÙØÙÙ Ø£Ø¯ÙØ§Ù ÙØ¥Ø¯Ø®Ø§Ù ÙØµÙØ© اÙÙ
ÙØ¶Ùع Ø§ÙØ°Ù Ø³ÙØªÙ
دÙ
ج اÙÙ
Ø´Ø§Ø±ÙØ§Øª اÙÙ
ختارة
ÙÙÙ. Ø¥ÙØªØ¨Ù بأ٠ÙÙ٠اÙÙ
Ø´Ø§Ø±ÙØ§Øª Ø³ÙØªÙ
إدخاÙÙØ§ ØØ³Ø¨ ØªØ±ØªÙØ¨Ùا Ø§ÙØ²Ù
Ù٠ضÙ
Ù ÙØ°Ø§
اÙÙ
ÙØ¶Ùع.</div>
<br />
ÙØµÙØ© اÙÙ
ÙØ¶Ùع
<input name="subject_id" type="text" size="60" />
<input TYPE="hidden" name="subject_old" value="{$subject_id}" />
<input type="submit" value=" {$lang['Count']} " />
</td>
</tr>
</table>
]]></context_replys_move_index>
<context_replys_move_index2><![CDATA[ <input type="hidden" name="num" value="{$x}">
<input type="hidden" name="check[]" value="{$replys}">
<form>]]></context_replys_move_index2>
<context_reply_delete_index><![CDATA[{template}address_bar_part1{/template}
{$lang['Management_Subjects']}
{$_CONF['info_row']['adress_bar_separate']}
{$lang['delete_reply']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=managementreply&do_replys=1&section={$SubjectDelInfo['section']}&subject_id={$SubjectDelInfo['id']}&reply_id={$reply_id}&start_del_reply=1" name="form1" method="post">
<table align="center" border="0" cellspacing="1" class="border" width="60%">
<tr align="center">
<td class="tcat" width="60%" colspan="2">
{$lang['delet_Options']}
</td>
</tr>
<tr align="center">
<td class="main_bar" width="60%" colspan="2">
{$lang['Title_subject']}
{$SubjectDelInfo['title']}
</td>
</tr>
<tr>
<td class="row1" width="30%" colspan="2">
<table border="0" cellpadding="0" cellspacing="3" width="100%">
<tr>
<td class="row1">{$lang['How_del_subject']}</td>
</tr>
<tr>
<td class="row1">
<div>
<label for="rb_deletetype_1">
<input name="deletetype" value="1" id="rb_deletetype_1" checked type="radio">{$lang['delet_Simple']}</label></div>
</div>
{if {$_CONF['rows']['group_info']['id']} == '1' or{$_CONF['rows']['group_info']['vice']} == '1'}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" type="radio">{$lang['delet_actual']}</label>
</div>
{else}
{if {$_CONF['rows']['group_info']['group_mod']} == 1}
{if {$_CONF['rows']['group_info']['del_reply']} == 0}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" disabled="disabled" type="radio">{$lang['delet_actual']}</label>
</div>
{else}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" type="radio">{$lang['delet_actual']}</label>
</div>
{/if}
{/if}
{/if}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row1 rows_space" width="60%" colspan="2">
<div align="center">
<input type="submit" value="{$lang['Count']}" />
</div></td>
</tr>
</table>
</form>
<br />
<br />]]></context_reply_delete_index>
<context_reply_edit><![CDATA[ <?php $PowerBB->_CONF['template']['ReplyInfo']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['ReplyInfo']['title']); ?>
<?php $PowerBB->_CONF['template']['ReplyInfoTime']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['ReplyInfoTime']['title']); ?>
{template}address_bar_part1{/template}
<a href="index.php?page=forum&show=1&id={$ReplyInfo['section']}{$ReplyInfoTime['section']}
{$password} ">
{$section_info['title']} </a>
{$_CONF['info_row']['adress_bar_separate']}
<a href="index.php?page=topic&show=1&id={$subject_id}
{$password}">
{$ReplyInfo['title']}
{$ReplyInfoTime['title']}
</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['edit_reply']}
{template}address_bar_part2{/template}
{template}preview{/template}
<form name="topic" method="post" action="{$edit_page}">
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" colspan="7">
{$lang['text_Reply']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space">
<input TYPE="hidden" name="title" id="title_id" value="{$ReplyInfo['title']}{$ReplyInfoTime['title']}" />
<input TYPE="hidden" name="reply_number" value="{$reply_number}" />
<input TYPE="hidden" name="count" value="{$count_peg}" />
</td>
</tr>
<tr>
<td class="row1 rows_space" colspan="2">
<div id="none">
<div align="center">
<table border="0" cellspacing="1" width="98%" class="border" style="border-collapse: collapse">
<tr>
<td class="editortoolbar" valign="top">
{template}editor_js{/template}
<textarea name="text" id="box_text" style="display:block;" class="editoriframe" tabindex="3">{$GetReplyInfo}
{$prev}</textarea>
<script type="text/javascript">
<!--
comm._toggle();
var smiley_wysiwyg = true;
-->
</script>
</td>
<div style="border-style: solid; border-width: 0px; width:70px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; ">
<td class="editortoolbar" valign="top" width="50" align="center">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table align="center" border="0" cellspacing="1" cellpadding="4" cellspacing="0" >
<tr valign="bottom" align="center">
<td class="editortoolbar" align="center">
{template}smilebox{/template}</td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td class="editoricon" valign="top" colspan="2">
<fieldset>
<legend>{$lang['reason_edit']}</legend>
<input name="reason_edit" type="text" value="{$reason_edit}" size="50" />
</fieldset>
{template}iconbox{/template}</td>
</tr>
</table></div>
</div>
</td>
</tr>
{if {$_CONF['info_row']['allowed_emailed']} == '1' AND {$_CONF['member_permission']}}
<tr>
<td class="row1" colspan="2">
<input name="emailed" id="emailed_id" type="checkbox" {if {$IsSubscribed}}checked="checked"{/if}/> <label for="emailed_id">{$lang['Enabled_to_be_notified_by_the_existence_of_new_replies']}</a>
</td>
</tr>
{/if}
</table>
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td colspan="2" align="center" class="tcat">
{$lang['attachments']}
</td>
</tr>
<tr>
<td colspan="2" align="center" class="row1">
<INPUT name="attach" type="button" value="{$lang['manage_attachments']}"
onClick="window.open('index.php?page=attachments&index=1&subject_id={$subject_id}&reply_id={$reply_id}','mywindow','scrollbars=yes,width=500,height=600')">
</td>
</tr>
</table>
{if {$Admin}}
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" colspan="2">
{$lang['Management_options_subject']}
</td>
</tr>
<tr>
<td class="row2" colspan="2" align="right">
{if {$SubjectInfo['stick']}}
<input name="unstick" id="stick_id" type="checkbox" /> <label for="stick_id">
{$lang['unstick_Subject']}
</label>
{else}
<input name="stick" id="stick_id" type="checkbox" /> <label for="stick_id">
{$lang['Sticky_Topic']}
</label>
{/if}
<br />
{if {$SubjectInfo['close']}}
<input name="unclose" id="close_id" type="checkbox" /> <label for="close_id">
{$lang['open_Subject']}
</label>
{else}
<input name="close" id="close_id" type="checkbox" /> <label for="close_id">
{$lang['locked_Topic']}
</label>
{/if}
</td>
</tr>
</table>
{/if}
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr align="center">
<td class="row1 rows_space" >
<input class="button" name="insert" type="submit" value="{$lang['Count']}" onClick="comm._submit();" />
<input class="button" type="submit" value="{$lang['Preview']}" name="preview" onclick="comm._submit();" />
</td>
</tr>
</table>
</form>
<br />
<br />]]></context_reply_edit>
<context_reply_guest><![CDATA[{template}pbboard_code_js{/template}
{if !{$mod_toolbar}}
<form action="index.php?page=managementreply&do_replys=1&subject_id={$subject_id}" method="post">
<script type='text/javascript'>
//<![CDATA[
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
//]]>
</script>
{/if}
<table align="center" border="0" cellspacing="1" class="border" width="98%">
<tr align="center">
<td class="tcat" width="18%">
{$lang['information_writer']}
</td>
<td class="tcat" width="82%">
<div class="r-right">
<img src="{$reply_guest['icon']}" />
{$subject_title}
</div>
<div class="l-left">
{$write_time}
<a title="{$lang['post']}
({$reply_guest['id']})" name="{$reply_guest['id']}" href="#{$reply_guest['id']}">#{$reply_guest['id']}</a>
{if !{$mod_toolbar}}
<input type="checkbox" name="check[]" value="{$reply_guest['id']}" />
{/if}
</div>
</td>
</tr>
<tr align="center">
<td class="tbar_writer_info" width="18%" valign="top">
<?php $PowerBB->_CONF['template']['reply_guest']['writer'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['reply_guest']['writer']); ?>
{$reply_guest['writer']}
</td>
<td class="tbar_writer_info" width="82%" name="text" colspan="2" valign="top" align="right" onclick="switchBlock('{$reply_guest['id']}replyswitch');">
<div class="text">{$reply_guest['text']}</div>
{if {$reply_guest['attach_reply']}}
{template}attach_show{/template}
{/if}
{if {$_CONF['group_info']['view_action_edit']}}
{if {$reply_guest['action_by']} != ''}
<br />
<br />
<div align="center">
<i>
{$lang['action_by_reply']}
{$reply_guest['action_by']}<br />
{$lang['last_date']}
{$reply_guest['actiondate']}
</i>
</div>
<br />
{/if}
{/if}
{if {$reply_guest['reason_edit']} != ''}
<div align="center">
<b>{$lang['reason_edit']}
{$reply_guest['reason_edit']}</b>
</div>
<br />
{/if}
{if {$reply_guest['user_sig']} != ''}
{template}signature_show{/template}
{/if}
</td>
</tr>
<tr align="right">
<td class="row1" width="18%" align="center">
<a title="{$lang['reporting_for_post']}"
href="index.php?page=report&index=1&subject_id={$reply_guest['subject_id']}&reply_id={$reply_guest['id']}&count={$count_peg}">
<img alt="{$lang['reporting_for_post']}"
border="0" cellspacing="1" src="{$image_path}/report.gif" /></a>
</td>
<td colspan="2" class="row1" width="82%">
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td width="82%">
<div class="r-right">
</div>
<div class="l-left">
<ul class="post_controls">
{if {$_CONF['member_permission']}}
{if !{$mod_toolbar}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&reply=1&section={$reply_guest['section']}&subject_id={$reply_guest['subject_id']}&reply_id={$reply_guest['id']}&reply_number={$reply_guest['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
<li>
<a href="index.php?page=managementreply&do_replys=1&section={$reply_guest['section']}&subject_id={$reply_guest['subject_id']}&reply_id={$reply_guest['id']}&operator=delete" class="Button_secondary"
title="{$lang['delete_reply']}">
{$lang['delete_reply']}</a>
</li>
{else}
{if {$SubjectInfo['close']} == '0'}
{if {$timeout}}
{if {$_CONF['member_row']['username']} == {$reply_guest['username']}}
{if {$_CONF['group_info']['edit_own_reply']}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&reply=1&section={$reply_guest['section']}&subject_id={$reply_guest['subject_id']}&reply_id={$reply_guest['id']}&reply_number={$reply_guest['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
{/if}
{if {$_CONF['group_info']['del_own_reply']}}
<li>
<a href="index.php?page=managementreply&do_replys=1&section={$reply_guest['section']}&subject_id={$reply_guest['subject_id']}&reply_id={$reply_guest['id']}&operator=delete" class="Button_secondary"
title="{$lang['delete_reply']}">
{$lang['delete_reply']}</a>
</li>
{/if}
{/if}
{/if}
{/if}
{/if}
{/if}
<li>
<a href="index.php?page=new_reply&index=1&id={$subject_id}{$password}
&qu_Reply={$reply_guest['id']}&user={$reply_guest['username']}" class="Button_secondary"
title="{$lang['qu_reply']}">
{$lang['quote']}</a>
</li>
<li>
<a class="img-submit" id="mad_{$reply_guest['id']}" name="mad_{$reply_guest['id']}" onclick="multiquote_add('{$reply_guest['id']}'); return false;" href="#">{$lang['multiquote']}</a>
</li>
</ul>
</div>
</tr>
</table>
</td>
</tr>
</table>
<br />]]></context_reply_guest>
<context_reply_reputation><![CDATA[
<script language="javascript">
function Ajax_{$Info['reply_id']}_Reputation()
{
var AjaxState = {ajaxSend : $("#reput_reply_status_{$Info['reply_id']}").html("<div class='info_bar'> <img border='0' src='{$image_path}/loading.gif'></div>")};
var data = {};
data['reputationcomment'] = $("#reputation_{$Info['reply_id']}_comment").val();
data['subject_title'] = $("#subject_{$Info['reply_id']}_title").val();
data['subject_id'] = $("#subject_{$Info['reply_id']}_id").val();
data['reputationusername'] = $("#reputation_username").val();
data['username'] = $("#username_{$Info['reply_id']}").val();
data['reply_id'] = $("#{$Info['reply_id']}_id").val();
$.post("index.php?page=misc&reply_reputation=1&count={$count}",data,function Success(xml)
{ $("#reput_reply_status_{$Info['reply_id']}").html(xml); });
}
function Wait()
{
$("#reput_reply_status_{$Info['reply_id']}").html("{$lang['Ongoing_process']}");
}
function Ready()
{
$("#reput_{$Info['reply_id']}_id").click(Ajax_{$Info['reply_id']}_Reputation);
}
$(document).ready(Ready);
-->
</script>
<!-- Code reputation Menu start -->
<div style="display:none;" class="drop_menu" id="{$Info['reply_number']}replyreputation">
<form name="topic" method="post" action="index.php?page=misc&reply_reputation=1&count={$count}">
<div class="tbar">
{$lang['reputation']}
</div>
<div class='menu_popup'>
{$lang['add_reputation_to']}
{$Info['username']}
</div>
<div class='menu_popup'>
{$lang['Comment']}
<input type="text" id="reputation_{$Info['reply_id']}_comment" size="35"/>
<input TYPE="hidden" id="subject_{$Info['reply_id']}_title" value="{$Info['title']}" size="40"/>
<input TYPE="hidden" id="{$Info['reply_id']}_id" value="{$Info['reply_id']}" size="40"/>
<input TYPE="hidden" id="subject_{$Info['reply_id']}_id" value="{$Info['subject_id']}" size="40"/>
<input TYPE="hidden" id="reputation_username" value="{$_CONF['member_row']['username']}" size="40"/>
<input TYPE="hidden" id="username_{$Info['reply_id']}" value="{$Info['username']}" size="40"/>
</div>
<div class='menu_popup'>
<input type="button" name="reputationsubmit" id="reput_{$Info['reply_id']}_id" value="{$lang['add_reputation']}" onclick="switchBlock('{$Info['reply_number']}replyreputation');"> <div align="center" id="reput_reply_status_{$Info['reply_id']}"></div>
</div>
{if {$mod_toolbar}}
</form>
{/if}
</div>
<!-- Code reputation Menu End -->
]]></context_reply_reputation>
<context_review_reply><![CDATA[{template}pbboard_code_js{/template}
{if !{$mod_toolbar}}
<form action="index.php?page=managementreply&do_replys=1&subject_id={$subject_id}" method="post">
<script type='text/javascript'>
//<![CDATA[
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
//]]>
</script>
{/if}
<table align="center" border="0" cellspacing="1" class="border" width="98%">
<tr align="center">
<td class="tcat" width="18%">
{$lang['information_writer']}
</td>
<td class="tcat" width="82%">
<div class="r-right">
<img src="{$Info['icon']}" />
{$subject_title}
</div>
<div class="l-left">
{$Info['write_time']}
<a title="{$lang['post']}
({$Info['reply_number']})" name="{$Info['reply_id']}" href="#{$Info['reply_id']}">#{$Info['reply_number']}</a>
{if !{$mod_toolbar}}
<input type="checkbox" name="check[]" value="{$Info['reply_id']}" />
{/if}
</div>
</td>
</tr>
<tr align="center">
<td class="tbar_writer_info" width="18%" valign="top">
<!-- Code switch Menu start -->
<ul class="writer_controls">
<li>
<a href="javascript:switchMenuNone('{$Info['reply_id']}replyswitch')" class="Button_secondary">
{$Info['display_username']} <img border="0" alt="" src="{$image_path}/menu_open.gif" /></a>
</li>
</ul>
<div style="display:none;" class="drop_menu" id="{$Info['reply_id']}replyswitch">
<div class="thead">
<a href="javascript:switchMenuNone('{$Info['reply_id']}replyswitch')">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$Info['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$Info['id']}">
{/if}
{$Info['display_username']}</a>
</a>
</div>
<div class="menu_popup">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$Info['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$Info['id']}">
{/if}
{$lang['view_profile']}
</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=3&username={$Info['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_posts']}
{$Info['username']}</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=4&username={$Info['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_replys']}
{$Info['username']}</a>
</div>
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=pm_send&send=1&index=1&username={$Info['username']}">
{$lang['send_a_private_message_to']}
{$Info['username']} </a>
</div>
{/if}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=send&member=1&index=1&id={$Info['id']}">
{$lang['send_a_message_to_the_mailing']}
{$Info['username']} </a>
</div>
{/if}
{if {$mod_edit_member}}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a target="_blank" href="admin.php?page=member&edit=1&main=1&id={$Info['id']}">
{$lang['edit_member_data']}
{$Info['username']} </a>
</div>
{/if}
{/if}
</div>
<!-- Code switch Menu End -->
<div onclick="switchBlock('{$Info['reply_id']}replyswitch');">
{template}writer_info{/template}
</div>
<br />
{template}awards{/template}
<br />
{template}last_subject_writer{/template}
</td>
<td class="tbar_review" width="82%" name="text" colspan="2" valign="top" align="right" onclick="switchBlock('{$Info['reply_id']}replyswitch');">
<div class="text">{$Info['text']}</div>
{if {$Info['attach_reply']}}
{template}attach_show{/template}
{/if}
{if {$_CONF['group_info']['view_action_edit']}}
{if {$Info['action_by']} != ''}
<br />
<br />
<div align="center">
<i>
{$lang['action_by_reply']}
{$Info['action_by']}<br />
{$lang['last_date']}
{$Info['actiondate']}
</i>
</div>
<br />
{/if}
{/if}
{if {$Info['reason_edit']} != ''}
<div align="center">
<b>{$lang['reason_edit']}
{$Info['reason_edit']}</b>
</div>
<br />
{/if}
{if {$Info['user_sig']} != ''}
{template}signature_show{/template}
{/if}
</td>
</tr>
<tr align="right">
<td class="row1" width="18%" align="center">
{if {$_CONF['member_row']['username']} != {$Info['username']}}
{if {$_CONF['info_row']['reputationallw']} == 1}
<a href="javascript:switchMenuNone('{$Info['reply_number']}replyreputation')"
title="{$lang['add_reputation_to']}
{$Info['username']}">
<img border="0" src="{$image_path}/reputation.gif" />
</a>
{template}reply_reputation{/template}
{/if}
{/if}
<a title="{$lang['reporting_for_post']}"
href="index.php?page=report&index=1&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&count={$count_peg}">
<img alt="{$lang['reporting_for_post']}"
border="0" cellspacing="1" src="{$image_path}/report.gif" /></a>
</td>
<td colspan="2" class="row1" width="82%">
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td width="82%">
<div class="r-right">
</div>
<div class="l-left">
<ul class="post_controls">
{if {$_CONF['member_permission']}}
{if !{$mod_toolbar}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&reply=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&reply_number={$Info['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
<li>
<a href="index.php?page=managementreply&do_replys=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&operator=delete" class="Button_secondary"
title="{$lang['delete_reply']}">
{$lang['delete_reply']}</a>
</li>
{else}
{if {$SubjectInfo['close']} == '0'}
{if {$timeout}}
{if {$_CONF['member_row']['username']} == {$Info['username']}}
{if {$_CONF['group_info']['edit_own_reply']}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&reply=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&reply_number={$Info['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
{/if}
{if {$_CONF['group_info']['del_own_reply']}}
<li>
<a href="index.php?page=managementreply&do_replys=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&operator=delete" class="Button_secondary"
title="{$lang['delete_reply']}">
{$lang['delete_reply']}</a>
</li>
{/if}
{/if}
{/if}
{/if}
{/if}
{/if}
<li>
<a href="index.php?page=new_reply&index=1&id={$subject_id}{$password}
&qu_Reply={$Info['reply_id']}&user={$Info['username']}" class="Button_secondary"
title="{$lang['qu_reply']}">
{$lang['quote']}</a>
</li>
<li>
<?php $post_id = $PowerBB->_CONF['template']['Info']['reply_id']; ?>
<a class="img-submit" id="mad_<?php echo "$post_id"; ?>" name="mad_<?php echo "$post_id"; ?>" onclick="multiquote_add(<?php echo "$post_id"; ?>); return false;" href="#">{$lang['multiquote']}</a>
</li>
</ul>
</div>
</tr>
</table>
</td>
</tr>
</table>
<br />]]></context_review_reply>
<context_rules_board_main><![CDATA[{template}address_bar_part1{/template}
{$lang['rules_forum']}
{template}address_bar_part2{/template}
<table border="0" cellspacing="1" class="border" width="80%" align="center">
<tr align="center">
<td class="tcat" width="80%" colspan="2">
{$lang['rules_forum']}
</td>
</tr>
<tr>
<td class="row1" width="80%" colspan="2">
{$rules}
</td>
</tr>
</table>
<br />]]></context_rules_board_main>
<context_search><![CDATA[
<br />
{if {$_CONF['info_row']['ajax_search']}}
<script language="javascript">
function AjaxSearch()
{
var AjaxState = {ajaxSend : Wait};
var data = {};
data['keyword'] = $("#keyword_id").val();
data['username'] = $("#username_id").val();
data['section'] = $("#section_id").val();
data['tag'] = $("#tag_id").val();
data['search_only'] = $("#search_only_id").val();
data['exactname'] = $("#exactname_id").val();
data['sort_order'] = $("#sort_order_id").val();
data['starteronly'] = $("#starteronly_id").val();
data['ajax'] = 1;
$.post("index.php?page=search&start=1",data,Success);
}
function Wait()
{
$("#result").html("{$lang['Ongoing_process']}");
}
function Success(xml)
{
$("#result").html(xml);
}
function Ready()
{
$("#search_id").click(AjaxSearch);
}
$(document).ready(Ready);
-->
</script>
{/if}
{template}address_bar_part1{/template}
<a href="index.php?page=search&index=1">{$lang['Search_Engine']}</a>
{template}address_bar_part2{/template}
<form name="search" method="get">
<input type="hidden" name="page" value="search">
<input type="hidden" name="start" value="1">
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr align="center">
<td class="thead1" width="60%" colspan="2">
{$lang['Search_Engine']}
</td>
</tr>
<tr>
<td class="row1" width="25%">
<fieldset class="fieldset" style="margin: 0px;">
<legend><b>{$lang['Search_by_Keyword']}</b></legend>
{$lang['Search_by_Key_Word']}<br />
<input type="text" name="keyword" id="keyword_id" size="35"/>
<br />
<select name="search_only" id="search_only_id">
<option value="1">{$lang['search_in_topics']}</option>
<option value="2">{$lang['Search_in_replies']}</option>
<option value="3">{$lang['Search_in_Titles']}</option>
</select>
</fieldset>
</td>
<td class="row1" width="25%">
<fieldset class="fieldset" style="margin: 0px;">
<legend><b>{$lang['Search_by_User_Name']}</b></legend>
{$lang['Nickusername']}<br />
<input type="text" name="username" id="username_id" size="35"/>
<br />
<select name="starteronly" id="starteronly_id">
<option value="0" selected="selected">{$lang['search_for_all_posts']}</option>
<option value="1">{$lang['search_for_all_replys']}</option>
</select>
<input name="exactname" id="exactname_id" value="1" class="checkbox" type="checkbox" checked><label for="matchexact">{$lang['Match_Name']}</label>
</fieldset>
</td>
</tr>
</table>
<br />
<table width="98%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td class="thead1">
<span class="switch">
<a onclick="switchMenuNone('searching');"><img border="0" alt="" src="{$image_path}/collapse_b.gif" /></a>
</span>
{$lang['Search_Options']}
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="98%" class="border" align="center" id="searching">
<tr>
<td class="row1" width="50%">
<fieldset class="fieldset" style="margin: 0px;">
<legend><b>{$lang['Search_Forums']}</b></legend>
<select style="width: 100%;" name="section" id="section_id" size="13" multiple="multiple">
<option selected="selected" value="all">{$lang['All_Forums']}</option>
{Des::foreach}{forums_list}{forum}
{if {$forum['parent']} == 0}
<option value="{$forum['id']}">- {$forum['title']}</option>
{else}
<option value="{$forum['id']}">-- {$forum['title']}</option>
{/if}
{if {$forum['parent']} != 0}
{if {$forum['linksection']} != '1'}
{if {$forum['is_sub']}}
{$forum['sub']}
{/if}
{/if}
{/if}
{/Des::foreach}
</select>
</fieldset>
</td>
<td class="row1" width="50%" valign="top">
<table border="0" width="100%">
<tr>
<td>
<fieldset class="fieldset" style="margin: 0px;">
<legend><b>{$lang['Search_By_Tgs']}</b></legend>
<b>{$lang['tag_word']}</b>
<br />
<input type="text" name="tag" id="tag_id" size="35"/>
</fieldset>
<br />
</td>
</tr>
</table>
<br />
<br />
<fieldset class="fieldset" style="margin: 0px;">
<legend><b>{$lang['Sort_results_by']}</b></legend>
<input name="sort_order" id="sort_order_id" class="radiobutton" value="DESC" checked type="radio"><label for="desc">
{$lang['sort_desc']}</label><br />
<input name="sort_order" id="sort_order_id" class="radiobutton" value="ASC" type="radio"><label for="asc">
{$lang['sort_asc']}</label>
</fieldset>
</td>
</tr>
<tr>
<td class="darkrow" width="100%" colspan="2">
<div align="center">
{if {$_CONF['info_row']['ajax_search']}}
<input type="submit" value="{$lang['Go_Search']}" name="search">
{else}
<input type="submit" value="{$lang['Go_Search']}" name="search">
{/if}
</div></td>
</tr>
</table>
</form>
{if {$_CONF['info_row']['ajax_search']}}
<br />
<div id="result">
</div>
{/if}
{template}jump_forums_list{/template}
<br />
<br />
<br />
<br />]]></context_search>
<context_search_results_all><![CDATA[<title>{$lang['Search_Results']}
- {$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
{$lang['Search_Results']}
{template}address_bar_part2{/template}
<br />
{if !{$ReplyList['id']}}
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="100%" class="tcat small_text" align="center" colspan="6">
<div class="r-right">{$lang['Search_results_for']}
{$keyword}</div>
{if {$username_nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$username_nm})
{$lang['result']}</div>
{/if}
{if {$nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$nm})
{$lang['result']}</div>
{/if}
</td>
</tr>
<tr>
<td width="30%" class="thead" align="center" colspan="2">
{$lang['subject_title']}
</td>
{if !{$search_username_subjects} }
<td width="20%" class="thead" align="center">
{$lang['subject_writer']}
</td>
{/if}
<td width="10%" class="thead" align="center">
{$lang['reply_num']}
</td>
<td width="10%" class="thead" align="center">
{$lang['subject_visitor']}
</td>
<td width="28%" class="thead" align="center">
{$lang['date']}
</td>
</tr>
{Des::while}{SubjectList}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['ReplyList_row']['icon_path']}{$SubjectList['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<a href="index.php?page=topic&show=1&highlight={$keyword}&id={$SubjectList['id']}{$password}">
{$SubjectList['title']}
</a>
{if {$SubjectList['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$SubjectList['subject_describe']}</font>
</td>
{if !{$search_username_subjects} }
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$SubjectList['writer']}">{$SubjectList['writer']}</a> </td>
</td>
{/if}
<td width="10%" class="row2" align="center">
{if {$SubjectList['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$SubjectList['reply_number']}
{/if}
</td>
<td width="10%" class="row1" align="center">
{$SubjectList['visitor']}
</td>
<td width="28%" class="row2" align="center">
{$SubjectList['reply_date']}
</td>
</tr>
{/Des::while}
{Des::while}{SubjectTitleList}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['ReplyList_row']['icon_path']}{$SubjectTitleList['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<a href="index.php?page=topic&show=1&highlight={$keyword}&id={$SubjectTitleList['id']}{$password}">
{$SubjectTitleList['title']}
</a>
{if {$SubjectTitleList['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$SubjectTitleList['subject_describe']}</font>
</td>
{if !{$search_username_subjects} }
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$SubjectTitleList['writer']}">{$SubjectTitleList['writer']}</a><br />
{$SubjectTitleList['write_date']}
</td>
{/if}
<td width="10%" class="row2" align="center">
{if {$SubjectTitleList['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$SubjectTitleList['reply_number']}
{/if}
</td>
<td width="10%" class="row1" align="center">
{$SubjectTitleList['visitor']}
</td>
<td width="28%" class="row2" align="center">
{$SubjectTitleList['reply_date']}
</td>
</tr>
{/Des::while}
{Des::while}{MembersListSubject}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['ReplyList_row']['icon_path']}{$MembersListSubject['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<a href="index.php?page=topic&show=1&highlight={$keyword}&id={$MembersListSubject['id']}{$password}">
{$MembersListSubject['title']}
</a>
{if {$MembersListSubject['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$MembersListSubject['subject_describe']}</font>
</td>
{if !{$search_username_subjects}}
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$MembersListSubject['writer']}">{$MembersListSubject['writer']}</a><br />
{$MembersListSubject['write_date']}
</td>
{/if}
<td width="8%" class="row2" align="center">
{if {$MembersListSubject['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$MembersListSubject['reply_number']}
{/if}
</td>
<td width="8%" class="row1" align="center">
{$MembersListSubject['visitor']}
</td>
<td width="28%" class="row2" align="center">
{$MembersListSubject['reply_date']}
</td>
</tr>
{/Des::while}
</table>
{else}
<br />
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="100%" class="tcat small_text" align="center" colspan="4">
<div class="r-right">{$lang['Search_results_for']}
{$keyword}</div>
{if {$username_nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$username_nm})
{$lang['result']}</div>
{/if}
{if {$nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$nm})
{$lang['result']}</div>
{/if}
</td>
</tr>
<tr>
<td width="40%" class="thead" align="center" colspan="2">
{$lang['subject_title']}
</td>
<td width="20%" class="thead" align="center">
{$lang['subject_writer']}
</td>
<td width="10%" class="thead" align="center">
{$lang['date']}
</td>
</tr>
{Des::while}{ReplyList}
<tr>
<td width="3%" class="row1" align="center">
{if {$ReplyList['icon']} !=''}
<img src="{$_CONF['ReplyList_row']['icon_path']}{$ReplyList['icon']}" alt="" />
{else}
<img src="look/images/icons/i1.gif" alt="" />
{/if}
</td>
<td width="40%" class="row2">
{$lang['bY_reply']}
<a href="index.php?page=topic&show=1&highlight={$keyword}&id={$ReplyList['subject_id']}#{$ReplyList['id']}">
{if {$ReplyList['title']} !=''}
{$ReplyList['title']}
{else}
<?php echo substr($PowerBB->_CONF['template']['while']['ReplyList'][$this->x_loop]['text'],0,35); ?>
{/if}
</a>
{if {$ReplyList['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$ReplyList['subject_describe']}</font>
</td>
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$ReplyList['writer']}">{$ReplyList['writer']}</a>
</td>
<td width="10%" class="row2" align="center">
{$ReplyList['reply_date']}
</td>
</tr>
{/Des::while}
</table>
{/if}
<br />
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')">
<img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="pager_top">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<a href="javascript:switchMenuNone('pager_top')">
<form name="misc" method="post" action="index.php?page=misc&pagenav_search=1">
<input name="location" type="hidden" value="{$PagerLocation}">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</a>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<br />
<br />]]></context_search_results_all>
<context_search_results_one><![CDATA[<title>{$lang['Search_Results']}
- {$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
{$lang['Search_Results']}
{template}address_bar_part2{/template}
<br />
{if !{$ReplyListOne['id']}}
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="100%" class="tcat small_text" align="center" colspan="6">
<div class="r-right">{$lang['Search_results_for']}
{$keyword}</div>
{if {$username_nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$username_nm})
{$lang['result']}</div>
{/if}
{if {$nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$nm})
{$lang['result']}</div>
{/if}
</td>
</tr>
<tr>
<td width="30%" class="thead" align="center" colspan="2">
{$lang['subject_title']}
</td>
<td width="20%" class="thead" align="center">
{$lang['subject_writer']}
</td>
<td width="10%" class="thead" align="center">
{$lang['reply_num']}
</td>
<td width="10%" class="thead" align="center">
{$lang['subject_visitor']}
</td>
<td width="28%" class="thead" align="center">
{$lang['date']}
</td>
</tr>
{Des::while}{SubjectListOne}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['SubjectListOne_row']['icon_path']}{$SubjectListOne['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<a href="index.php?page=topic&show=1&highlight={$keyword}&id={$SubjectListOne['id']}{$password}">
{$SubjectListOne['title']}
</a>
{if {$SubjectListOne['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$SubjectListOne['subject_describe']}</font>
</td>
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$SubjectListOne['writer']}">{$SubjectListOne['writer']}</a> </td>
<td width="8%" class="row2" align="center">
{$SubjectListOne['reply_number']}
</td>
<td width="8%" class="row1" align="center">
{$SubjectListOne['visitor']}
</td>
<td width="28%" class="row2" align="center">
{$SubjectListOne['reply_date']}
</td>
</tr>
{/Des::while}
{Des::while}{SubjectTitleListOne}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['SubjectTitleListOne_row']['icon_path']}{$SubjectTitleListOne['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<a href="index.php?page=topic&show=1&highlight={$keyword}&id={$SubjectTitleListOne['id']}{$password}">
{$SubjectTitleListOne['title']}
</a>
{if {$SubjectTitleListOne['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$SubjectTitleListOne['subject_describe']}</font>
</td>
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$SubjectTitleListOne['writer']}">{$SubjectTitleListOne['writer']}</a><br />
{$SubjectTitleListOne['write_date']}
</td>
<td width="8%" class="row2" align="center">
{$SubjectTitleListOne['reply_number']}
</td>
<td width="8%" class="row1" align="center">
{$SubjectTitleListOne['visitor']}
</td>
<td width="28%" class="row2" align="center">
{if {$SubjectTitleListOne['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$SubjectTitleListOne['reply_date']}
{/if}
</td>
</tr>
{/Des::while}
{Des::while}{MembersListSubjectOne}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['MembersListSubjectOne_row']['icon_path']}{$MembersListSubjectOne['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<a href="index.php?page=topic&show=1&highlight={$keyword}&id={$MembersListSubjectOne['id']}{$password}">
{$MembersListSubjectOne['title']}
</a>
{if {$MembersListSubjectOne['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$MembersListSubjectOne['subject_describe']}</font>
</td>
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$MembersListSubjectOne['writer']}">{$MembersListSubjectOne['writer']}</a><br />
{$MembersListSubjectOne['write_date']}
</td>
<td width="8%" class="row2" align="center">
{$MembersListSubjectOne['reply_number']}
</td>
<td width="8%" class="row1" align="center">
{$MembersListSubjectOne['visitor']}
</td>
<td width="28%" class="row2" align="center">
{if {$MembersListSubjectOne['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$MembersListSubjectOne['reply_date']}
{/if}
</td>
</tr>
{/Des::while}
</table>
{else}
<br />
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="100%" class="tcat small_text" align="center" colspan="4">
<div class="r-right">{$lang['Search_results_for']}
{$keyword}</div>
{if {$username_nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$username_nm})
{$lang['result']}</div>
{/if}
{if {$nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$nm})
{$lang['result']}</div>
{/if}
</td>
</tr>
<tr>
<td width="40%" class="thead" align="center" colspan="2">
{$lang['subject_title']}
</td>
<td width="20%" class="thead" align="center">
{$lang['subject_writer']}
</td>
<td width="10%" class="thead" align="center">
{$lang['date']}
</td>
</tr>
{Des::while}{ReplyListOne}
<tr>
<td width="3%" class="row1" align="center">
{if {$ReplyListOne['icon']} !=''}
<img src="{$_CONF['ReplyListOne_row']['icon_path']}{$ReplyListOne['icon']}" alt="" />
{else}
<img src="look/images/icons/i1.gif" alt="" />
{/if}
</td>
<td width="40%" class="row2">
{$lang['bY_reply']}
<a href="index.php?page=topic&show=1&highlight={$keyword}&id={$ReplyListOne['subject_id']}#{$ReplyListOne['id']}">
{if {$ReplyListOne['title']} !=''}
{$ReplyListOne['title']}
{else}
<?php echo substr($PowerBB->_CONF['template']['while']['ReplyListOne'][$this->x_loop]['text'],0,35); ?>
{/if}
</a>
{if {$ReplyListOne['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$ReplyListOne['subject_describe']}</font>
</td>
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$ReplyListOne['writer']}">{$ReplyListOne['writer']}</a>
</td>
<td width="10%" class="row2" align="center">
{$ReplyListOne['reply_date']}
</td>
</tr>
{/Des::while}
{/if}
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')"><img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="pager_top">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<a href="javascript:switchMenuNone('pager_top')">
<form name="misc" method="post" action="index.php?page=misc&pagenav_search=1">
<input name="location" type="hidden" value="{$PagerLocation}">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</a>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<br />
<br />]]></context_search_results_one>
<context_search_results_tags><![CDATA[<title>{$lang['Search_Results']}-
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
{$lang['Search_results_for_tag']}
<em>{$tags}</em>
{template}address_bar_part2{/template}
<br />
<table border="0" cellspacing="1" class="border" width="70%" align="center">
<tr align="center">
<td width="70%" class="tcat" colspan="2">
<div class="r-right">
{$lang['subjects_titles_use_sem_tags']}
<em>{$tags}</em>
{$lang['Atag']}
</div>
<div class="l-left"> {$lang['Number_of_results']}
({$tags_nm})
{$lang['result']}</div>
</td>
</tr>
{Des::while}{Subject}
<tr align="center">
<td width="70%" class="row1" colspan="2">
<a href="index.php?page=topic&show=1&id={$Subject['subject_id']}">{$Subject['subject_title']}</a>
</td>
</tr>
{/Des::while}
</table>
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')"><img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="pager_top">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<a href="javascript:switchMenuNone('pager_top')">
<form name="misc" method="post" action="index.php?page=misc&pagenav_search=1">
<input name="location" type="hidden" value="{$PagerLocation}">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</a>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<br />
<br />
]]></context_search_results_tags>
<context_search_results_username_reply><![CDATA[{template}address_bar_part1{/template}
{$lang['Search_Results']}
{template}address_bar_part2{/template}
<br />
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="100%" class="tcat small_text" align="center" colspan="4">
<div class="r-right">{$lang['Search_results_for_all_reply_user']}
{$keyword}</div>
{if {$username_nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$username_nm})
{$lang['result']}</div>
{/if}
</td>
</tr>
<tr>
<td width="50%" class="thead" align="center" colspan="2">
{$lang['subject_title']}
</td>
<td width="50%" class="thead" align="center">
{$lang['date']}
</td>
</tr>
{Des::while}{MembersListReply}
<tr>
<td width="3%" class="row1" align="center">
{if {$MembersListReply['icon']} !=''}
<img src="{$_CONF['MembersListReply_row']['icon_path']}{$MembersListReply['icon']}" alt="" />
{else}
<img src="look/images/icons/i1.gif" alt="" />
{/if}
</td>
<td width="50%" class="row2">
<?php $PowerBB->_CONF['template']['while']['MembersListReply'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['MembersListReply'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['MembersListReply'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['MembersListReply'][$this->x_loop]['title']); ?>
{$lang['bY_reply']}
<a href="index.php?page=topic&show=1&id={$MembersListReply['subject_id']}#{$MembersListReply['id']}">
{if {$MembersListReply['title']} !=''}
{$MembersListReply['title']}
{else}
<?php echo substr($PowerBB->_CONF['template']['while']['MembersListReply'][$this->x_loop]['text'],0,35); ?>
{/if}
</a>
{if {$MembersListReply['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$MembersListReply['subject_describe']}</font>
</td><!--
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$MembersListReply['writer']}">{$MembersListReply['writer']}</a>
</td>-->
<td width="50%" class="row2" align="center">
{$MembersListReply['reply_date']}
</td>
</tr>
{/Des::while}
</table>
<br />
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')"><img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="pager_top">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<a href="javascript:switchMenuNone('pager_top')">
<form name="misc" method="post" action="index.php?page=misc&pagenav_search=1">
<input name="location" type="hidden" value="{$PagerLocation}">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</a>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<br />
<br />]]></context_search_results_username_reply>
<context_search_results_username_subject><![CDATA[{template}address_bar_part1{/template}
{$lang['Search_Results']}
{template}address_bar_part2{/template}
<br />
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="100%" class="tcat small_text" align="center" colspan="5">
<div class="r-right">{$lang['Search_results_for_all_subject_user']}
{$keyword}</div>
{if {$username_nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$username_nm})
{$lang['result']}</div>
{/if}
{if {$nm}}
<div class="l-left"> {$lang['Number_of_results']}
({$nm})
{$lang['result']}</div>
{/if}
</td>
</tr>
<tr>
<td width="30%" class="thead" align="center" colspan="2">
{$lang['subject_title']}
</td>
{if !{$search_username_subjects} }
<td width="20%" class="thead" align="center">
{$lang['subject_writer']}
</td>
{/if}
<td width="10%" class="thead" align="center">
{$lang['reply_num']}
</td>
<td width="10%" class="thead" align="center">
{$lang['subject_visitor']}
</td>
<td width="28%" class="thead" align="center">
{$lang['date']}
</td>
</tr>
{Des::while}{SubjectList}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['ReplyList_row']['icon_path']}{$SubjectList['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<?php $PowerBB->_CONF['template']['while']['SubjectList'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['SubjectList'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['SubjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['SubjectList'][$this->x_loop]['title']); ?>
<a href="index.php?page=topic&show=1&id={$SubjectList['id']}{$password}">
{$SubjectList['title']}
</a>
{if {$SubjectList['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$SubjectList['subject_describe']}</font>
</td>
{if !{$search_username_subjects} }
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$SubjectList['writer']}">{$SubjectList['writer']}</a> </td>
</td>
{/if}
<td width="10%" class="row2" align="center">
{if {$SubjectList['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$SubjectList['reply_number']}
{/if}
</td>
<td width="10%" class="row1" align="center">
{$SubjectList['visitor']}
</td>
<td width="28%" class="row2" align="center">
{$SubjectList['reply_date']}
</td>
</tr>
{/Des::while}
{Des::while}{SubjectTitleList}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['ReplyList_row']['icon_path']}{$SubjectTitleList['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<?php $PowerBB->_CONF['template']['while']['SubjectTitleList'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['SubjectTitleList'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['SubjectTitleList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['SubjectTitleList'][$this->x_loop]['title']); ?>
<a href="index.php?page=topic&show=1&id={$SubjectTitleList['id']}{$password}">
{$SubjectTitleList['title']}
</a>
{if {$SubjectTitleList['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$SubjectTitleList['subject_describe']}</font>
</td>
{if !{$search_username_subjects} }
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$SubjectTitleList['writer']}">{$SubjectTitleList['writer']}</a><br />
{$SubjectTitleList['write_date']}
</td>
{/if}
<td width="10%" class="row2" align="center">
{if {$SubjectTitleList['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$SubjectTitleList['reply_number']}
{/if}
</td>
<td width="10%" class="row1" align="center">
{$SubjectTitleList['visitor']}
</td>
<td width="28%" class="row2" align="center">
{$SubjectTitleList['reply_date']}
</td>
</tr>
{/Des::while}
{Des::while}{MembersListSubject}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$_CONF['ReplyList_row']['icon_path']}{$MembersListSubject['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<?php $PowerBB->_CONF['template']['while']['MembersListSubject'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['MembersListSubject'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['MembersListSubject'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['MembersListSubject'][$this->x_loop]['title']); ?>
<a href="index.php?page=topic&show=1&id={$MembersListSubject['id']}{$password}">
{$MembersListSubject['title']}
</a>
{if {$MembersListSubject['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$MembersListSubject['subject_describe']}</font>
</td>
{if !{$search_username_subjects}}
<td width="20%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$MembersListSubject['writer']}">{$MembersListSubject['writer']}</a><br />
{$MembersListSubject['write_date']}
</td>
{/if}
<td width="8%" class="row2" align="center">
{if {$MembersListSubject['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$MembersListSubject['reply_number']}
{/if}
</td>
<td width="8%" class="row1" align="center">
{$MembersListSubject['visitor']}
</td>
<td width="28%" class="row2" align="center">
{$MembersListSubject['reply_date']}
</td>
</tr>
{/Des::while}
</table>
<br />
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')">
<img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="pager_top">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<a href="javascript:switchMenuNone('pager_top')">
<form name="misc" method="post" action="index.php?page=misc&pagenav_search=1">
<input name="location" type="hidden" value="{$PagerLocation}">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</a>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<br />
<br />]]></context_search_results_username_subject>
<context_sections_list><![CDATA[<div align="center" dir="{$_CONF['info_row']['content_dir']}">
{if {$SHOW_SUB_SECTIONS}}
<!-- START_TABLE_SUB_SECTIONS -->
<table width="98%" border="0" class="border" cellpadding="0" cellspacing="1">
<tr align="right">
<td class="tcat" align="center" colspan="3">
{$lang['forum_sub']} : {$Section_Title}
</td>
</tr>
{/if}
{Des::foreach}{forums_list}{forum}
{if {$forum['parent']} == 0}
{if {$forum['sort']} != 1}
</table>
<!-- END_TABLE_SUB_SECTIONS -->
<br />
{/if}
<!-- START_TABLE_SECTIONS -->
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr align="center">
<td class="tcat">
<span class='l-left'><a href="javascript:switchMenuNone('id_{$forum['id']}')"><img border="0" alt="" src="{$image_path}/collapse_b.gif" /></a> </span>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$forum['id']}.html">{$forum['title']}</a>
{else}
<a href="index.php?page=forum&show=1&
id={$forum['id']}">{$forum['title']}</a>
{/if}
</td>
</tr>
</table>
<table border="0" width="98%" cellpadding="0" id="id_{$forum['id']}" class="border_forums" cellspacing="1">
{/if}
{if {$forum['parent']} != 0}
{if {$forum['linksection']} != '1'}
<tr align="right">
<td class="row5" width="5%" align="center">
{if {$forum['use_section_picture']} == '1' and{$forum['sectionpicture_type']} == '1'}
<img src="{$forum['section_picture']}"
alt="{$lang['section_picture']}" />
{elseif {$_CONF['group_info']['write_subject']} == 0}
<img src="{$image_path}/icon-67_lock.gif"
alt="{$lang['no_write_subject']}" />
{elseif {$forum['last_post_date']} > {$_CONF['member_row']['lastvisit']}}
<img src="{$image_path}/icon-67_new.gif"
alt="{$lang['new_posts']}" />
{else}
<img src="{$image_path}/icon-67_old.gif"
alt="{$lang['no_new_posts']}" />
{/if}
</td>
<td class="row2" width="50%">
<font class="title_font">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$forum['id']}.html">
<span class="title_n">{$forum['title']}</span>
{if {$_CONF['info_row']['no_describe']}}
{if {$forum['section_describe']} != ''}
<span class="title_h">
{$forum['section_describe']}
</span>
{/if}
{/if}
</a>
{else}
<a href="index.php?page=forum&show=1&id={$forum['id']}">
<span class="title_n">{$forum['title']}</span>
{if {$_CONF['info_row']['no_describe']}}
{if {$forum['section_describe']} != ''}
<span class="title_h">
{$forum['section_describe']}
</span>
{/if}
{/if}
</a>
{/if}
</font>
{if {$forum['forum_online']}}
<font class="describe">
({$lang['Watched']}
{$forum['forum_online']}
{$lang['Guest']})
</font>
{/if}
{if {$forum['section_password']} != ''}
{else}
{if {$forum['hide_subject']} =='0'}
{if {$forum['sec_section']} =='0'}
<span class="l-left">
<a href="index.php?page=rss&section=1&id={$forum['id']}"><img border="0" src="{$image_path}/section_rss.gif" width="16" height="16"
alt="{$lang['rss_section_m']}
{$forum['simple_title']}" /></a>
</span>
{/if}
{/if}
{/if}
<br />
{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 2}
<img src="{$forum['section_picture']}" alt="" />
<br />
{/if}
{/if}
<font class="smallfont">
{if {$forum['is_sub']}}
{if {$_CONF['info_row']['no_sub']}}
{$forum['sub']}
{/if}
{/if}
{if {$forum['moderators_list']}}
{if {$_CONF['info_row']['no_moderators']}}
{$lang['moderators_list']}
{$forum['moderators_list']}
<br />
{/if}
{/if}
</font>
<span class="smallfont" style="color: rgb(150, 150, 150);">
{$lang['subject_num']} :
</span>
<font class="smallfont"> {$forum['subject_num']} </font>
<span class="smallfont" style="color: rgb(150, 150, 150);">
{$lang['reply_num']}:
</span>
<font class="smallfont"> {$forum['reply_num']} </font>
</td>
<td class="row1 rows_space" width="43%">
<div dir="{$_CONF['info_row']['content_dir']}" class="radiusContent">
{if {$forum['hide_subject']} AND !{$_CONF['rows']['group_info']['admincp_allow']}}
<div align="center">{$lang['speciality']}</div>
{else}
{if {$forum['section_password']} != '' AND !{$_CONF['rows']['group_info']['admincp_allow']}}
<div align="center">{$lang['speciality']}</div>
{else}
{if {$_CONF['group_info']['view_section']} == 0}
<div align="center">{$lang['speciality']}</div>
{else}
{if {$forum['last_subject']} != ''}
{if {$forum['icon']} != ''}
<img src="{$forum['icon']}" alt="" />
{/if}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$forum['last_subjectid']}.html">
{$forum['last_subject']}</a><br />
{else}
<a href="index.php?page=topic&show=1&id={$forum['last_subjectid']}">
{$forum['last_subject']}</a><br />
{/if}
{$forum['last_writer']}
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(150, 150, 150); display: inline" dir="{$_CONF['info_row']['content_dir']}">
{$forum['last_date']}</span>
{if {$forum['last_berpage_nm']} != ''}
<a title="{$lang['Go_to_last_post']}"
href="index.php?page=topic&show=1&id={$forum['last_subjectid']}&count={$forum['last_berpage_nm']}#{$forum['last_reply']}">
<img border="0" alt="{$lang['Go_to_last_post']}"
src="{$image_path}/lastpost.gif" /></a>
{/if}
<br />
{else}
{$lang['no_post']}
{/if}
{/if}
{/if}
{/if}
</div>
</td>
</tr>
{else}
<tr>
<td width="5%" align="center" class="row5">
{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 1}
<img src="{$forum['section_picture']}" alt="" />
{else}
<img src="{$image_path}/forum_link.gif" alt="" />
{/if}
{else}
<img src="{$image_path}/icon-67_link.gif" alt="" />
{/if}
</td>
<td width="50%" align="right" class="row2">
<a href="index.php?page=forum&show=1&
id={$forum['id']}">{$forum['title']}</a>
<br />
{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 2}
<img src="{$forum['section_picture']}" alt="" />
<br />
{/if}
{/if}
{if {$_CONF['info_row']['no_describe']}}
{$forum['describe']}
<br />
{/if}
</td>
<td width="43%" align="center" class="row2">
{$lang['linkvisitor']} {$forum['linkvisitor']}
</td>
</tr>
{/if}
{/if}
{/Des::foreach}
</table>
<!-- END_TABLE_SECTIONS -->
</div>
<br />]]></context_sections_list>
<context_send_active_code><![CDATA[<title>{$lang['send_active_code']}
{if {$_CONF['info_row']['allowed_powered']} == 1}
- {$lang['send_active_code']}
{/if}</title>
{template}address_bar_part1{/template}
{$lang['send_active_code']}
{template}address_bar_part2{/template}
<br />
<form method="post" action="index.php?page=forget&send_active_code=1">
<table border="0" cellspacing="1" width="88%" align="center" class="border" >
<tr align="center">
<td width="88%" class="tcat" colspan="2">
{$lang['send_active_code']}
</td>
</tr>
<tr>
<td class="row1" width="10%">
{$lang['email_Retrieve_password']}
</td>
<td width="60%" class="row1">
{$lang['active_code_Message']}
<br />
<input name="email" type="text" value="{$MemberEmail}" size="44" dir="ltr"/>
</td>
</tr>
<tr align="center">
<td class="row1" colspan="2">
<input type="submit" name="submit_active_code" value="{$lang['Count']}" />
</td>
</tr>
</table>
<br />
</form>
<br />]]></context_send_active_code>
<context_send_admin><![CDATA[<title>{$lang['Contact_Manager_forums']}
- {$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
{$lang['Contact_Manager']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=send&startsendmessage=1">
<div align="center">
<table border="0" cellspacing="1" width="98%" class="border" >
<tr>
<td class="tcat" colspan="2" align="center">{$lang['Contact_Manager']}</td>
</tr>
<tr>
<td class="row2" align="center">{$lang['Your_name']}</td>
<td class="row2" align="center">
<input name="username" type="text" value="{$_CONF['member_row']['username']}"/></td>
</tr>
<tr>
<td class="row2" align="center">{$lang['E-mail']}</td>
<td class="row2" align="center">
<input name="email" type="text" value="{$email}" /></td>
</tr>
<tr>
<td class="row2" align="center" colspan="2">
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
{if {$_CONF['member_permission']}}
{else}
<tr>
<td width="30%" class="row1">{$lang['Image_Verification']}<br />
<br />
<br />
<font size="1">{$lang['Verification']}</font></td>
<td width="31%" class="row1" align="center">
<img id="turing" src="includes/captcha.php" /><br /><a onclick="updateImg();">{$lang['Image_replacement']}</a>
<p>
<script language="javascript">
var clicks = 0;
function updateImg()
{
clicks++
var doc = document.getElementById("turing");
doc.src = "includes/captcha.php" + "?act=" + clicks;
}
-->
</script>
<input name="code" id="code_confirm" type="text" />
</td>
</tr>
{/if}
</table></td>
</tr>
<tr>
<td class="row1" colspan="2" align="center">
{$lang['Your_Message']}
<br />
<textarea rows="5" name="text" cols="50"></textarea></td>
</tr>
<tr>
<td class="row1" colspan="2" align="center">
<br />
<input name="insert" type="submit" value="{$lang['Send_Message']}" />
</td>
</tr>
</table>
</div>
</form>
<br />]]></context_send_admin>
<context_send_email><![CDATA[<title> {$lang['Send_Email_Message_to']}
{$MemberInfo['username']} -
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
{$lang['Send_Email_Message_to']} :
{$MemberInfo['username']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=send&member=1&start=1&id={$MemberInfo['id']}">
<input type="hidden" name="username" value="{$_CONF['member_row']['username']}">
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" colspan="7">
{$lang['message']}
</td>
</tr>
</tr>
<td class="row1 rows_space">
{$lang['PmTitle']}
</td>
<td class="row1">
<input name="title" type="text" />
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<textarea rows="6" name="text" cols="56"></textarea>
<br />
<br />
<input name="insert" type="submit" value="{$lang['Send_Message']}" />
</td>
</tr>
</table>
</form>
<br />]]></context_send_email>
<context_send_report><![CDATA[{template}address_bar_part1{/template}
{$lang['Report_admin_bad_post']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=report&start=1">
<br />
<div align="center">
<table border="0" cellspacing="1" width="70%" class="border" >
<tr>
<td class="tcat" align="center">
{$lang['Report_admin_bad_post']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" width="70%">
<input TYPE="hidden" name="title" type="text" size="51" value="{$lang['Report_bad_post']}" />
<input TYPE="hidden" name="id" type="text" size="51" value="{$subject_id}" />
<input TYPE="hidden" name="count" type="text" size="51" value="{$count}" />
<input TYPE="hidden" name="reply_id" type="text" size="51" value="{$reply_id}" />
<textarea rows="6" name="text" cols="59"></textarea>
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" width="100%" valign="top">
{$lang['Report_Optional']}</td>
</tr>
<tr align="center">
<td class="row1 rows_space" width="100%" valign="top">
{$lang['Report_Warning']}</td>
</tr>
<tr align="center">
<td class="row1 rows_space" width="100%" valign="top">
<input name="insert" type="submit" value="{$lang['Send_report']}" />
</td>
</tr>
</table>
</div>
</form>
<br />]]></context_send_report>
<context_send_subject_to_friend><![CDATA[<title>{$lang['sendsubjecttofriend_m']}
- {$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
{$lang['sendsubjecttofriend_m']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=misc&startsendtofriend=1">
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" align="right">
<div class="r-right">
{$lang['sendsubjecttofriend_m']}
</div>
<div class="l-left">
{$lang['Subject']}:
<a href="index.php?page=topic&show=1&id={$SubjectInfo['id']}
{$password}">
{$SubjectInfo['title']}
</a>
</div>
</td>
</tr>
<tr>
<td class="row2">
<table border="0" width="80%" cellpadding="0" style="border-collapse: collapse" align="center">
<tr>
<td class="row2">
{if !{$_CONF['member_permission']}}
{$lang['Your_name']}<br />
<input name="username" type="text" value="{$_CONF['member_row']['username']}" size="30"/><br />
{/if}
{$lang['Sendername']}<br />
<input name="sendername" type="text" value="" size="30"/><br />
{$lang['Sendermail']}<br />
<input name="Sendermail" type="text" value="" size="30" /><br />
{$lang['titlesendsubjecttofriend']}<br />
<input name="title" type="text" value="{$SubjectInfo['title']}" size="43" /></td>
</tr>
<tr>
<td class="row2">
<table border="0" cellspacing="1" width="60%" class="border">{if {$_CONF['member_permission']}}
{else}
<tr>
<td width="30%" class="row1">{$lang['Image_Verification']}<br /><br /><br />
<font size="1">{$lang['Verification']}</font></td>
<td width="31%" class="row1" align="center">
<img id="turing" src="includes/captcha.php" /><br />
<a onclick="updateImg();">{$lang['Image_replacement']}</a>
<script language="javascript">
var clicks = 0;
function updateImg()
{
clicks++
var doc = document.getElementById("turing");
doc.src = "includes/captcha.php" + "?act=" + clicks;
}
-->
</script>
<input name="code" id="code_confirm" type="text" /> </td>
</tr>{/if}
</table></td>
</tr>
<tr>
<td class="row2">
{$lang['Your_Message']}
<br />
<textarea rows="10" name="text" cols="67">{$lang['textsendsubjecttofriend']}
{$Adress}
index.php?page=topic&show=1&id={$SubjectInfo['id']}
{$lang['Sender']}...
{$Sender}
</textarea></td>
</tr>
<tr>
<td class="row2" align="center">
<br />
<input name="insert" type="submit" value="{$lang['Send_Message']}" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<input TYPE="hidden" id="subject_id" name="subject_id" value="{$SubjectInfo['id']}" />
</form>
<br />]]></context_send_subject_to_friend>
<context_show_memberlist><![CDATA[ {template}address_bar_part1{/template}
{$lang['memberlist']}
{template}address_bar_part2{/template}
<br />
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('[pager_top_memberlist]')"><img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="[pager_top_memberlist]">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<form name="misc" method="post" action="index.php?page=misc&pagenav_memberlist=1">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
</tr>
</table>
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr align="center">
<td class="tcat" width="20%">
{$lang['username']}
</td>
<td class="tcat" width="20%">
{$lang['user_title']}
</td>
<td class="tcat" width="10%">
{$lang['posts']}
</td>
<td class="tcat" width="10%">
{$lang['visitor_num']}
</td>
</tr>
{Des::while}{MemberList}
<tr align="center">
<td class="row1" width="20%">
<a href="index.php?page=profile&show=1&id={$MemberList['id']}">{$MemberList['username']}</a>
</td>
<td class="row1" width="20%">
{$MemberList['user_title']}
</td>
<td class="row1" width="10%">
{$MemberList['posts']}
</td>
<td class="row1" width="10%">
{$MemberList['visitor']}
</td>
</tr>
{/Des::while}
<tr>
<td class="main_bar" colspan="4">{$lang['Arrangement']}</td>
</tr>
<tr>
<td class="row1" colspan="4"><a href="index.php?page=member_list&index=1&order=1&order_type=DESC">{$lang['order_of_posts']}</a> | <a href="index.php?page=member_list&index=1&order=2&order_type=DESC">{$lang['order_of_registration']}</a> | <a href="index.php?page=member_list&index=1&order=3&order_type=DESC">{$lang['order_of_visitor']}</a>
</td>
</tr>
</table>
<br />
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
<tr>
<td width="2%" align="right">
{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('[pager_duwn_memberlist]')"><img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="[pager_duwn_memberlist]">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<form name="misc" method="post" action="index.php?page=misc&pagenav_memberlist=1">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager}</td>
</tr>
</table>
{/if}
</tr>
</table>
<br />
<br />
{template}jump_forums_list{/template}
<br />
<br />
<br />
<br />
<br />
]]></context_show_memberlist>
<context_show_msg><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<title>
{if {$_CONF['info_row']['board_close']} == 1}
{$lang['board_close']}
{else}
{$lang['PBB_Message']}
{/if}
</title>
</head>
<br />
<br />
<table border="0" cellspacing="1" width="60%" class="border" align="center">
<tr>
<td class="tcat" colspan="2" height="23">
<b>{$lang['PBB_Message']} </b>
</td>
</tr>
<tr>
<td class="row1" colspan="2">
<p> {$msg} </p>
</td>
</tr>
</table>
</body>
</html>]]></context_show_msg>
<context_show_onlain_topic><![CDATA[<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="98%" class="thead1" align="right">{$lang['onlain_members_topic']}
{$online_number}
({$MemberNumber}
{$lang['member_and']}
{$GuestNumber}
{$lang['Guest_']})</td>
</tr>
<tr>
<td width="98%" class="row1" align="right">
{Des::while}{SubjectVisitor}
{if {$SubjectVisitor['user_id']} == '-1'}
<?php echo $PowerBB->_CONF['template']['while']['SubjectVisitor'][$this->x_loop]['username_style'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['while']['SubjectVisitor'][$this->x_loop]['username_style']); ?>Ø
{else}
<a href="index.php?page=profile&show=1&username={$SubjectVisitor['username']}">{$SubjectVisitor['username_style']}</a>Ø
{/if}
{/Des::while}
{if {$_CONF['info_row']['show_onlineguest']} != 1}
{if {$MemberNumber} <= 0}
{$lang['No_members_are_reading_this_topic_now']}
{/if}
{/if}
</td>
</tr>
</table>]]></context_show_onlain_topic>
<context_show_page><![CDATA[
{template}address_bar_part1{/template}
<a href="index.php?page=pages&show=1&id={$GetPage['id']}">
{$GetPage['title']}
</a>
{template}address_bar_part2{/template}
<body>
<table width="98%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td class="tcat">
{$GetPage['title']}
</td>
</tr>
<tr>
<td class="row1">
<h1>{$GetPage['title']}</h1>
<br />
{$GetPage['html_code']}
</td>
</tr>
</table>
<br />
</body>
</html>
<br />
<br />]]></context_show_page>
<context_show_poll><![CDATA[ <tr>
<td class="row1" width="50%">
{if {$ShowVote}}
{$answers}
{else}
{if {$Info['close_poll_subject']} == '0'}
{if {$_CONF['group_info']['vote_poll']} == 1}
<input type="radio" name="answer" value="{$answers_number}">
{/if}
{/if}
{$answers}
{/if}
</td>
<td class="row1" width="40%">
<img src="{$image_path}/bar_right.gif" alt="" width="4" height="11"><img src="{$image_path}/bar.gif" alt="" width="{$Vote}" height="11"><img src="{$image_path}/bar_left.gif" alt="" width="4" height="11">
</td>
<td class="row1" width="12%" align="center">
{$lang['votes']} {$Vote}
</td>
</tr>
]]></context_show_poll>
<context_show_poll_down><![CDATA[{if {$_CONF['group_info']['vote_poll']} == 1}
<tr>
<td class="tbar" colspan="3" align="center">
{if {$ShowVote}}
{$lang['votes_num']}
<strong>({$AllVote})</strong>
{if {$_CONF['member_permission']}}
{$lang['you_canot_votes']}
{/if}
{else}
{if {$Info['close_poll_subject']} == '0'}
<input name="insert" type="submit" value="{$lang['Igrvote']}" />
{else}
Ø§Ø³ØªÙØªØ§Ø¡ Ù
غÙÙ
{/if}
{/if}
</td>
</tr>
{/if}
</table>
<br />
</form>]]></context_show_poll_down>
<context_show_poll_top><![CDATA[<form method="post" action="index.php?page=vote&start=1&id={$Poll['id']}&subject_id={$subject_id}">
<table align="center" border="0" cellspacing="1" class="border" width="98%">
<tr>
<td class="tcat" width="95%" colspan="3">
<span style="FLOAT: left">
<a href="index.php?page=vote&show_votes=1&id={$Poll['id']}&subject_id={$subject_id}">
{$lang['show_votes']}</a>
</span>
{if !{$mod_toolbar}}
<span style="FLOAT: left">
<a href="index.php?page=vote&poll_edit=1&id={$Poll['id']}&subject_id={$subject_id}&poll_section={$poll_section}&user={$poll_writer}">
{$lang['poll_edit']}</a>
| <a href="index.php?page=vote&poll_delet=1&id={$Poll['id']}&subject_id={$subject_id}">
{$lang['poll_delet']}</a>
|
{if {$Info['close_poll_subject']} == '0'}
<a href="index.php?page=vote&poll_close=1&id={$Poll['id']}&subject_id={$subject_id}">
{$lang['poll_close']}</a>
|
{else}
<a href="index.php?page=vote&poll_open=1&id={$Poll['id']}&subject_id={$subject_id}">
{$lang['poll_open']}</a>
|
{/if}
</span>
{else}
{if {$_CONF['member_row']['username']} == {$poll_writer}}
<span style="FLOAT: left">
<a href="index.php?page=vote&poll_edit=1&id={$Poll['id']}&subject_id={$subject_id}&poll_section={$poll_section}&user={$poll_writer}">
{$lang['poll_edit']}</a>
| <a href="index.php?page=vote&poll_delet=1&id={$Poll['id']}&subject_id={$subject_id}">
{$lang['poll_delet']}</a>
|
{if {$Info['close_poll_subject']} == '0'}
<a href="index.php?page=vote&poll_close=1&id={$Poll['id']}&subject_id={$subject_id}">
{$lang['poll_close']}</a>
|
{else}
<a href="index.php?page=vote&poll_open=1&id={$Poll['id']}&subject_id={$subject_id}">
{$lang['poll_open']}</a>
|
{/if}
</span>
{/if}
{/if}
<span style="FLOAT: right">
{$lang['Poll']}
<?php $PowerBB->_CONF['template']['Poll']['qus']= $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['Poll']['qus'],'html'); ?>
<?php $PowerBB->_CONF['template']['Poll']['qus'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['Poll']['qus']); ?>
<?php echo $PowerBB->_CONF['template']['Poll']['qus']; ?> !
</span>
</td>
</tr>
<tr align="center">
<td class="thead" width="95%" colspan="3">
{$lang['qus']}
<strong><?php echo $PowerBB->_CONF['template']['Poll']['qus']; ?> !</strong>
</td>
</tr>]]></context_show_poll_top>
<context_show_reply><![CDATA[{if !{$mod_toolbar}}
<form action="index.php?page=managementreply&do_replys=1&subject_id={$subject_id}" method="post">
<script type='text/javascript'>
//<![CDATA[
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
//]]>
</script>
{/if}
<table align="center" border="0" cellspacing="1" class="border" width="98%">
<tr align="center">
<td class="tcat" width="18%">
{$lang['information_writer']}
</td>
<td class="tcat" width="82%">
<div class="r-right">
<img src="{$Info['icon']}" />
{$subject_title}
</div>
<div class="l-left">
{$Info['write_time']}
<a title="{$lang['post']}
({$Info['reply_number']})" name="{$Info['reply_id']}" href="#{$Info['reply_id']}">#{$Info['reply_number']}</a>
{if !{$mod_toolbar}}
<input type="checkbox" name="check[]" value="{$Info['reply_id']}" />
{/if}
</div>
</td>
</tr>
<tr align="center">
<td class="tbar_writer_info" width="18%" valign="top">
<!-- Code switch Menu start -->
<ul class="writer_controls">
<li>
<a href="javascript:switchMenuNone('{$Info['reply_id']}replyswitch')" class="Button_secondary">
<?php echo $PowerBB->functions->GetwriterGroupStyle($PowerBB->_CONF['template']['Info']['username'],$PowerBB->_CONF['template']['Info']['usergroup']);?>
<img border="0" alt="" src="{$image_path}/menu_open.gif" /></a>
</li>
</ul>
<div style="display:none;" class="drop_menu" id="{$Info['reply_id']}replyswitch">
<div class="thead">
<a href="javascript:switchMenuNone('{$Info['reply_id']}replyswitch')">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="name-{$Info['username']}.html">
{else}
<a href="index.php?page=profile&show=1&username={$Info['username']}">
{/if}
{$Info['display_username']}</a>
</a>
</div>
<div class="menu_popup">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="name-{$Info['username']}.html">
{else}
<a href="index.php?page=profile&show=1&username={$Info['username']}">
{/if}
{$lang['view_profile']}
</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=3&username={$Info['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_posts']}
{$Info['username']}</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=4&username={$Info['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_replys']}
{$Info['username']}</a>
</div>
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=pm_send&send=1&index=1&username={$Info['username']}">
{$lang['send_a_private_message_to']}
{$Info['username']} </a>
</div>
{/if}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=send&member=1&index=1&username={$Info['username']}">
{$lang['send_a_message_to_the_mailing']}
{$Info['username']} </a>
</div>
{/if}
{if {$mod_edit_member}}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a target="_blank" href="admin.php?page=member&edit=1&main=1&username={$Info['username']}">
{$lang['edit_member_data']}
{$Info['username']} </a>
</div>
{/if}
{/if}
</div>
<!-- Code switch Menu End -->
<div onclick="switchBlock('{$Info['reply_id']}replyswitch');">
{template}writer_info{/template}
</div>
<br />
{if {$Awards_nm} > '0'}
{template}awards{/template}
{/if}
<br />
{if {$_CONF['info_row']['show_list_last_5_posts_member']} == 1}
{template}last_subject_writer{/template}
{/if}
</td>
<td class="tbar_writer_info" width="82%" name="text" colspan="2" valign="top" align="right" onclick="switchBlock('{$Info['reply_id']}replyswitch');">
{$resview_reply}
<br />
<div class="text">{$Info['text']}</div>
{if {$Info['attach_reply']}}
{template}attach_show{/template}
{/if}
{if {$_CONF['group_info']['view_action_edit']}}
{if {$Info['action_by']} != ''}
<br />
<br />
<div align="center">
<i>
{$lang['action_by_reply']}
{$Info['action_by']}<br />
{$lang['last_date']}
{$Info['actiondate']}
</i>
</div>
<br />
{/if}
{/if}
{if {$Info['reason_edit']} != ''}
<div align="center">
<b>{$lang['reason_edit']}
{$Info['reason_edit']}</b>
</div>
<br />
{/if}
{if {$Info['user_sig']} != ''}
{template}signature_show{/template}
{/if}
</td>
</tr>
<tr align="right">
<td class="row1" width="18%" align="center">
{if {$_CONF['member_row']['username']} != {$Info['username']}}
{if {$_CONF['info_row']['reputationallw']} == 1}
<a href="javascript:switchMenuNone('{$Info['reply_number']}replyreputation')"
title="{$lang['add_reputation_to']}
{$Info['username']}">
<img border="0" src="{$image_path}/reputation.gif" />
</a>
{template}reply_reputation{/template}
{/if}
{/if}
<a title="{$lang['reporting_for_post']}"
href="index.php?page=report&index=1&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&count={$count_peg}">
<img alt="{$lang['reporting_for_post']}"
border="0" cellspacing="1" src="{$image_path}/report.gif" /></a>
</td>
<td colspan="2" class="row1" width="82%">
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td width="82%">
<div class="r-right">
</div>
<div class="l-left">
<ul class="post_controls">
{if {$_CONF['member_permission']}}
{if !{$mod_toolbar}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&reply=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&reply_number={$Info['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
<li>
<a href="index.php?page=managementreply&do_replys=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&operator=delete" class="Button_secondary"
title="{$lang['delete_reply']}">
{$lang['delete_reply']}</a>
</li>
{else}
{if {$SubjectInfo['close']} == '0'}
{if {$timeout}}
{if {$_CONF['member_row']['username']} == {$Info['username']}}
{if {$_CONF['group_info']['edit_own_reply']}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&reply=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&reply_number={$Info['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
{/if}
{if {$_CONF['group_info']['del_own_reply']}}
<li>
<a href="index.php?page=managementreply&do_replys=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&operator=delete" class="Button_secondary"
title="{$lang['delete_reply']}">
{$lang['delete_reply']}</a>
</li>
{/if}
{/if}
{/if}
{/if}
{/if}
{/if}
<li>
<a href="index.php?page=new_reply&index=1&id={$subject_id}{$password}
&qu_Reply={$Info['reply_id']}&user={$Info['username']}" class="Button_secondary"
title="{$lang['qu_reply']}">
{$lang['quote']}</a>
</li>
<li>
<?php $post_id = $PowerBB->_CONF['template']['Info']['reply_id']; ?>
<a class="img-submit" id="mad_<?php echo "$post_id"; ?>" name="mad_<?php echo "$post_id"; ?>" onclick="multiquote_add(<?php echo "$post_id"; ?>); return false;" href="#">{$lang['multiquote']}</a>
</li>
</ul>
</div>
</tr>
</table>
</td>
</tr>
</table>
<br />]]></context_show_reply>
<context_show_subject><![CDATA[
<!-- action_find_addons_1 -->
{template}show_subject_information{/template}
<table align="center" border="0" cellspacing="1" class="border" width="98%" onclick="switchBlock('Options_mods')">
<tr align="center">
<td class="tcat" width="18%">
{$lang['information_writer']}
</td>
<td class="tcat" width="82%" align="right">
<div class="r-right">
<img src="{$Info['icon']}" />
<span dir="{$_CONF['info_row']['content_dir']}">
{$Info['prefix_subject']}
</span>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$subject_id}.html">
{else}
<a href="index.php?page=topic&show=1&id={$subject_id}">
{/if}
{$subject_title}</a>
</div>
<div class="l-left">
{$Info['native_write_time']}
</div>
</td>
</tr>
<tr align="center">
<td class="tbar_writer_info" width="18%" valign="top">
{if {$Info['username']}}
<!-- Code switch Menu start -->
<ul class="writer_controls">
<li>
<a href="javascript:switchMenuNone('{$subject_id}subjectswitch')" class="Button_secondary">
<?php echo $PowerBB->functions->GetwriterGroupStyle($PowerBB->_CONF['template']['Info']['username'],$PowerBB->_CONF['template']['Info']['usergroup']);?>
<img border="0" alt="" src="{$image_path}/menu_open.gif" /></a>
</li>
</ul>
<div style="display:none;" class="drop_menu" id="{$subject_id}subjectswitch">
<div class="thead">
<a href="javascript:switchMenuNone('{$subject_id}subjectswitch')">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$Info['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$Info['id']}">
{/if}
{$Info['display_username']}</a>
</a>
</div>
<div class="menu_popup">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$Info['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$Info['id']}">
{/if}
{$lang['view_profile']}
</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=3&username={$Info['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_posts']}
{$Info['username']}</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=4&username={$Info['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_replys']}
{$Info['username']}</a>
</div>
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=pm_send&send=1&index=1&username={$Info['username']}">
{$lang['send_a_private_message_to']}
{$Info['username']} </a>
</div>
{/if}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=send&member=1&index=1&id={$Info['id']}">
{$lang['send_a_message_to_the_mailing']}
{$Info['username']} </a>
</div>
{/if}
{if {$mod_edit_member}}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a target="_blank" href="admin.php?page=member&edit=1&main=1&id={$Info['id']}">
{$lang['edit_member_data']}
{$Info['username']} </a>
</div>
{/if}
{/if}
</div>
<!-- Code switch Menu End -->
{template}writer_info{/template}
<br />
{if {$Awards_nm} > '0'}
{template}awards{/template}
{/if}
<br />
{if {$_CONF['info_row']['show_list_last_5_posts_member']} == 1}
{template}last_subject_writer{/template}
{/if}
{else}
{template}guest_info{/template}
{/if}
</td>
<td
{if {$Info['special']} == '1'}
id="layerspecial" class="td_special" width="82%" valign="top" align="right"
{else}
class="tbar_writer_info" width="82%" valign="top" align="right"
{/if}
onclick="switchBlock('subject_rating');">
{template}add_this{/template}
{if !{$STOP_ADSENSES_TEMPLATE}}
{template}adsense_topic{/template}
{/if}
<div class="text">{$Info['text']}</div>
{if {$Info['close_reason']} != '' and {$Info['close']} }
<br />
<br />
<br />
<br />
<i><font color="#FF0000">
{$lang['reason_for_closure']}
{$Info['close_reason']}</font></i>
{/if}
{if {$Info['attach_subject']}}
{template}attach_show{/template}
{/if}
{if {$_CONF['group_info']['view_action_edit']}}
{if {$Info['action_by']} != ''}
<br />
<br />
<div align="center">
<i>
{$lang['action_by_subject']}
{$Info['action_by']}<br />
{$lang['last_date']}
{$Info['actiondate']}
</i>
</div>
<br />
{/if}
{/if}
{if {$Info['reason_edit']} != ''}
<div align="center">
<b>{$lang['reason_edit']}
{$Info['reason_edit']}</b>
</div>
<br />
{/if}
{if {$Info['user_sig']} != ''}
{template}signature_show{/template}
{/if}
</td>
</tr>
<tr align="center">
<td class="row1" width="18%">
{if {$Info['username']}}
{if {$_CONF['member_row']['username']} != {$Info['username']}}
{if {$_CONF['info_row']['reputationallw']} == 1}
<a href="javascript:switchMenuNone('{$subject_id}reputation')"
title="{$lang['add_reputation_to']}
{$Info['username']}">
<img border="0" src="{$image_path}/reputation.gif" />
</a>
{template}subject_reputation{/template}
{/if}
{/if}
{/if}
<a title="{$lang['reporting_for_post']}"
href="index.php?page=report&index=1&subject_id={$subject_id}">
<img alt="{$lang['reporting_for_post']}"
border="0" alt="" src="{$image_path}/report.gif" /></a>
</td>
<td colspan="2" class="row1" width="82%">
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td>
<div class="r-right">
<!-- like facebook -->
{if {$_CONF['info_row']['active_like_facebook']} == '1'}
<div class="addthis_toolbox addthis_default_style">
<a style="border-bottom:none" class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a style="border-bottom:none" class="addthis_button_tweet"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="includes/js/addthis_widget.js#username={$_CONF['info_row']['use_list']}"></script>
{/if}
<!-- / like facebook -->
<!-- action_find_addons_2 -->
</div>
<div class="l-left">
<!-- action_find_addons_3 -->
<ul class="post_controls">
{if {$_CONF['member_permission']}}
{if !{$mod_toolbar}}
<li>
<a title="{$lang['edit_subject']}"
href="index.php?page=management&subject=1&section={$Info['section']}&subject_id={$subject_id}&operator=edit"
title="{$lang['edit_subject']}" class="Button_secondary">
{$lang['edit_subject']}</a>
</li>
<li>
<a href="javascript:delete_post('index.php?page=management&subject=1&section={$Info['section']}&subject_id={$subject_id}&operator=delete')"
title="{$lang['delete_subject']}" class="Button_secondary">
{$lang['delete_subject']}</a>
</li>
{else}
{if {$Info['close']} == '0'}
{if {$timeout}}
{if {$_CONF['member_row']['username']} == {$Info['username']}}
{if {$_CONF['group_info']['edit_own_subject']}}
<li>
<a title="{$lang['edit_subject']}"
href="index.php?page=management&subject=1&section={$Info['section']}&subject_id={$subject_id}&operator=edit" class="Button_secondary">
{$lang['edit_subject']}</a>
</li>
{/if}
{if {$_CONF['group_info']['del_own_subject']}}
<li>
<a href="javascript:delete_post('index.php?page=management&subject=1&section={$Info['section']}&subject_id={$subject_id}&operator=delete')"
title="{$lang['delete_subject']}" class="Button_secondary">
{$lang['delete_subject']}</a>
</li>
{/if}
{/if}
{/if}
{/if}
{/if}
{/if}
<li>
<a href="index.php?page=new_reply&index=1&id={$subject_id}{$password}
&qu_Subject={$subject_id}&
user={$Info['username']}" title="{$lang['qu_subject']}" class="Button_secondary">
{$lang['quote']}</a>
</li>
<li>
<?php $post_id = $PowerBB->_CONF['template']['subject_id']; ?>
<a class="img-submit" id="mad_<?php echo "$post_id"; ?>" name="mad_<?php echo "$post_id"; ?>" onclick="multiquote_add(<?php echo "$post_id"; ?>); return false;" href="#">{$lang['multiquote']}</a>
</li>
<!-- action_find_addons_4 -->
</ul>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<!-- action_find_addons_5 -->
<br />]]></context_show_subject>
<context_show_subject_control><![CDATA[{if {$_CONF['info_row']['ajax_moderator_options']}}
<script language="javascript">
function AjaxModerator()
{
var AjaxState = {ajaxSend : $("#statusmod").html("<div class='info_bar'> <img border='0' src='{$image_path}/loading.gif'></div>")};
var data = {};
data['section'] = $("#section_i").val();
data['subject'] = $("#subject_i").val();
data['oper'] = $("#operator_i").val();
$.post("index.php?page=ajax&management=1",data,function Success(xml) { $("#statusmod").html(xml); });
}
function AjaxClose()
{
var AjaxState = {ajaxSend : $("#statusmod").html("<div class='info_bar'> <img border='0' src='{$image_path}/loading.gif'></div>")};
var data = {};
data['section'] = $("#section_i").val();
data['subject'] = $("#subject_i").val();
data['reason'] = $("#reason").val();
data['oper'] = 'close';
$.post("index.php?page=ajax&management=1&second=1",data,function Success(xml) { $("#statusmod").html(xml); });
}
function Ready()
{
$("#control_id").click(AjaxModerator);
$("#close_id").click(AjaxClose);
}
$(document).ready(Ready);
-->
</script>
{/if}
{if !{$_CONF['info_row']['ajax_moderator_options']}}
<form method="get" action="index.php">
{/if}
<input type="hidden" name="page" value="management" />
<input type="hidden" name="subject" value="1" />
<input type="hidden" name="section" id="section_i" value="{$Subjectinfo['section']}" />
<input type="hidden" name="subject_id" id="subject_i" value="{$Subjectinfo['id']}" />
<table border="0" style="border-collapse: collapse" width="20%">
<tr>
<td>
<select name="operator" id="operator_i" size="12" tabindex="1">
{if {$Subjectinfo['stick']} == 0}
<option value="stick">{$lang['Sticky_Topic']}</option>
{/if}
{if {$Subjectinfo['stick']} == 1}
<option value="unstick">{$lang['unstick_Subject']}</option>
{/if}
{if {$Subjectinfo['close']} == 0}
<option value="close">{$lang['locked_Topic']}</option>
{/if}
{if {$Subjectinfo['close']} == 1}
<option value="open">{$lang['open_Subject']}</option>
{/if}
{if {$_CONF['rows']['group_info']['del_subject']}}
<option value="delete">{$lang['delete_subject']}</option>
{/if}
<option value="move">{$lang['move_Subject']}</option>
<option value="edit">{$lang['edit_Subject']}</option>
<option value="repeated">{$lang['repeated_Subject']}</option>
<option value="up">{$lang['up_Subject']}</option>
<option value="down">{$lang['down_Subject']}</option>
{if {$SubjectInfo['review_subject']} == 1}
<option value="unreview_subject">{$lang['unreview_subject']}</option>
{/if}
{if {$SubjectInfo['review_subject']} == 0}
<option value="review_subject">{$lang['review_subject']}</option>
{/if}
{if {$Subjectinfo['special']} == 0}
<option value="special">{$lang['special_subject']}</option>
{/if}
{if {$Subjectinfo['special']} == 1}
<option value="nospecial">{$lang['nospecial_subject']}</option>
{/if}
<option value="merge">{$lang['Merge_topics']}</option>
</select>
</td>
</tr>
<tr>
<td align="center">
{if {$_CONF['info_row']['ajax_moderator_options']}}
<input type="button" name="control" id="control_id" value="{$lang['Count']}" />
{else}
<input type="submit" value="{$lang['Count']}" />
{/if}
</td>
</tr>
</table>
{if {$_CONF['info_row']['ajax_moderator_options']}}
<br />
<div align="center" id="statusmod"></div>
{/if}
</form>
]]></context_show_subject_control>
<context_show_subject_information><![CDATA[<script type='text/javascript'>
//<![CDATA[
function AjaxSubjectRating()
{
var AjaxState = {ajaxSend : $("#rating_status").html("<div class='info_bar'> <img border='0' alt='' src='{$image_path}/loading.gif'></div>")};
var data = {};
data['by_username'] = $("#by_username").val();
data['subject_title'] = $("#subject_title").val();
data['subject_id'] = $("#subject_id").val();
data['username'] = $("#username").val();
data['vote'] = $("#vote").val();
$.post("index.php?page=misc&rating=1",data,function Success(xml) { $("#rating_status").html(xml); });
}
function Wait()
{
$("#rating_status").html("{$lang['Ongoing_process']}");
}
function Ready()
{
$("#rating_id").click(AjaxSubjectRating);
}
$(document).ready(Ready);
//]]>
</script>
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr>
<td id="top_topic_bar" nowrap="nowrap">
<ul class="pbbList_inline">
<li class="r-right">
{if {$Info['stick']} or {$Info['close']} or {$Info['delete_topic']}}
<strong>{$lang['case_of_Subject']}</strong>
{else}
<strong>{$lang['Title_subject']} </strong>
<span dir="{$_CONF['info_row']['content_dir']}">
{$Info['prefix_subject']}
</span>
{$subject_title}
{/if}
{if {$Info['stick']}}
{$lang['sticky']}
{/if}
{if {$Info['close']}}
{if {$Info['stick']}}, Ù{/if}
{$lang['Closed']}
{/if}
{if {$Info['delete_topic']}}
{if {$Info['stick']} or {$Info['close']}},Ù{/if}
{$lang['Deleted']}
{/if}
</li>
<!-- Code subject_tools Menu start -->
<li class="l-left">
<a href="javascript:switchMenuNone('subject_tools')" class='popmenubutton' onclick="switchBlock('subject_rating');">{$lang['Thread_Tools']}
<img border="0" src="{$image_path}/menu_open.gif" /></a>
<div style="display:none; left:20px; padding-left: -50px" id="subject_tools" class="drop_menu">
<table width="100" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tcat">{$lang['Thread_Tools']}</td>
</tr>
<tr>
<td class="menu_popup">
<a href="index.php?page=download&subject=1&id={$subject_id}">
<img src="{$image_path}/icon1.gif"
title="{$lang['Download_Subject']}" border="0" cellspacing="1">
{$lang['Download_Subject']}</a>
</td>
</tr>
<tr>
<td class="menu_popup">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="p{$subject_id}.html">
{else}
<a href="index.php?page=print&show=1&id={$subject_id}">
{/if}
<img border="0" src="{$image_path}/printer.gif"
title="{$lang['print_Subject']}">{$lang['print_Subject']}</a>
</td>
</tr>
<tr>
<td class="menu_popup">
<a href="index.php?page=misc&sendtofriend=1&id={$subject_id}">
<img src="{$image_path}/sendtofriend.gif"
title="{$lang['sendsubjecttofriend']}" border="0" cellspacing="1">
{$lang['sendsubjecttofriend']}</a>
</td>
</tr>
{if {$_CONF['info_row']['allowed_emailed']} == '1' AND {$_CONF['member_permission']}}
<tr>
<td class="menu_popup">
<a href="index.php?page=misc&addsubscription=1&id={$subject_id}">
<img src="{$image_path}/subscribe.gif"
title="{$lang['addsubscription']}" border="0" cellspacing="1">
{$lang['addsubscription']}</a>
</td>
</tr>
{/if}
</table>
</div>
<!-- Code subject_tools Menu End -->
</li>
{if {$_CONF['member_permission']}}
{if {$_CONF['member_row']['username']} != {$Info['username']}}
{if {$_CONF['info_row']['rating_show']} == 1}
<!-- Code subject_rating Menu start -->
<li class="l-left">
<a href="javascript:switchMenuNone('subject_rating')" class='popmenubutton'>
{$lang['subject_rating']}
<img border="0" alt="" src="{$image_path}/menu_open.gif" /></a>
<div style="display:none;" id="subject_rating" class="drop_menu">
<form name="misc" method="post" action="index.php?page=misc&rating=1">
<table border="0" cellspacing="1" width="100" class="border">
<tr align="center">
<td class="tcat">{$lang['subject_rating']}</td>
</tr>
<tr align="center">
<td class="menu_popup"align="right">
<div><img title="{$lang['Excellent']}" border="0"
src="{$image_path}/rating/rating_5.gif"
alt="{$lang['Excellent']}" /><label for="vote5"><input name="vote" id="vote" value="5" type="radio">{$lang['Excellent']}</label></div>
<div><img title="{$lang['Good']}" border="0"
src="{$image_path}/rating/rating_4.gif"
alt="{$lang['Good']}" /><label for="vote4"><input name="vote" id="vote" value="4" type="radio">{$lang['Good']}</label></div>
<div><img title="{$lang['Average']}" border="0"
src="{$image_path}/rating/rating_3.gif"
alt="{$lang['Average']}" /><label for="vote3"><input name="vote" id="vote" value="3" type="radio">{$lang['Average']}</label></div>
<div><img title="{$lang['Bad']}" border="0"
src="{$image_path}/rating/rating_2.gif"
alt="{$lang['Bad']}" /><label for="vote2"><input name="vote" id="vote" value="2" type="radio">{$lang['Bad']}</label></div>
<div><img title="{$lang['Terrible']}" border="0"
src="{$image_path}/rating/rating1.gif"
alt="{$lang['Terrible']}" /><label for="vote1"><input name="vote" id="vote" value="1" type="radio">{$lang['Terrible']}</label></div>
<input TYPE="hidden" id="subject_title" name="subject_title" value="{$subject_title}" size="40" />
<input TYPE="hidden" id="subject_id" name="subject_id" value="{$subject_id}" size="40" />
<input TYPE="hidden" id="by_username" name="by_username" value="{$_CONF['member_row']['username']}" size="40" />
<input TYPE="hidden" id="username" name="username" value="{$Info['username']}" size="40" />
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<input type="button" name="rating" id="rating_id" value="{$lang['Vote_now']}" onclick="comm._submit();">
<div align="center" id="rating_status"></div>
</td>
</tr>
</table>
</form>
</div>
<!-- Code subject_rating Menu End -->
</li>
{/if}
{/if}
{/if}
{if !{$mod_toolbar}}
<!-- Code Options_mods Menu start -->
<li class="l-left">
<a href="javascript:switchMenuNone('Options_mods')" class='popmenubutton'>{$lang['Options_mod']}
<img border="0" src="{$image_path}/menu_open.gif" /></a>
<div style="display:none;" id="Options_mods" class="drop_menu">
<table width="100" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tcat">{$lang['Options_mod']}</td>
</tr>
<tr align="center">
<td class="menu_popup">
{template}show_subject_control{/template}
</td>
</tr>
</table>
</div>
<!-- Code Options_mods Menu End -->
</li>
{/if}
</ul>
</td>
</tr>
</table>
]]></context_show_subject_information>
<context_show_tags_topic><![CDATA[<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="98%" class="thead1" align="right">
<div class="r-right">{$lang['tags']}</div>
<div class="l-left"><a href="index.php?page=tags&edit=1&id={$subject_id}">
{$lang['edit_tags']}</a></div>
</td>
</tr>
<tr>
<td width="98%" class="row1" align="right">
{if {$STOP_TAGS_TEMPLATE}}
{$lang['no_tags']}
{else}
{Des::while}{tags}
<a href="index.php?page=tags&show=1&id={$tags['id']}">{$tags['tag']}</a> Ø
{/Des::while}
{/if}
</td>
</tr>
</table>
]]></context_show_tags_topic>
<context_show_votes><![CDATA[<tr valign="top" align="center">
<td class="row1" width="10%">{$answers}</td>
<td class="row1" width="15%">
<img src="{$image_path}/bar_right.gif" title="{$Vote}%" width="4" height="11"><img src="{$image_path}/bar.gif" title="{$Vote}%" width="{$Vote}" height="11"><img src="{$image_path}/bar_left.gif" title="{$Vote}%" width="4" height="11">
</td>
<td class="row1" width="49%">
{Des::while}{VoteList}
{if {$VoteList['username']} == {$lang['Guest']}}
{$VoteList['username']} Ø
{else}
<a href="index.php?page=profile&show=1&id={$VoteList['member_id']}">{$VoteList['username']}</a> Ø
{/if}
{/Des::while}
</td>
<td class="row1" width="5%">
{$Vote}
</td>
</tr>
]]></context_show_votes>
<context_show_votes_down><![CDATA[<tr valign="top" align="center">
<td class="tbar" colspan="4">
<a href="index.php?page=topic&show=1&id={$subject_id}">
{$lang['bac_to_subject']}</a>
</td>
</tr>
</table>
<br />
<br />]]></context_show_votes_down>
<context_show_votes_top><![CDATA[<title> {$subject_title}
: {$lang['show_votes']}
: {$Poll['qus']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=forum&show=1&id={$poll_section}">{$section_title}</a>
{$_CONF['info_row']['adress_bar_separate']}
<a href="index.php?page=topic&show=1&id={$subject_id}">{$subject_title}</a>
{$_CONF['info_row']['adress_bar_separate']}
<a href="index.php?page=vote&show_votes=1&id={$Poll['id']}&subject_id={$subject_id}">
{$lang['show_votes']}
: {$Poll['qus']}</a>
{template}address_bar_part2{/template}
<br />
<br />
<table cellpadding="2" cellspacing="1" width="90%" class="border" border="0" cellspacing="1" align="center">
<tr valign="top" align="center">
<td class="tcat" colspan="4">
<span style="FLOAT: left">
{$lang['votes_num']}
{$AllVote}
</span>
<span style="FLOAT: right">
{$Poll['qus']}
</span>
</td>
</tr>
<tr valign="top" align="center">
<td class="thead" width="10%">{$lang['the_answers']}</td>
<td class="thead" width="15%">{$lang['votes_Cumulative']}</td>
<td class="thead" width="49%">{$lang['the_votes']}</td>
<td class="thead" width="5%">{$lang['votess']}</td>
</tr>]]></context_show_votes_top>
<context_signature_show><![CDATA[ {if {$Info['attach_reply']} or {$Info['attach_subject']}}
{else}
<br /><br /> <br /><br /><br /><br /> <br /><br /><br /><br /> <br /><br /><br /><br /> <br /><br />
{/if}
<br />
{if {$show_sig} == '1'}
<table align="center" border="0" cellspacing="1" cellpadding="1" width="80%" class="border" >
<tr align="center">
<td class="thead">
{$lang['user_sig']}
{$Info['username']}
</td>
</tr>
<tr align="center">
<td class="row2">
{$Info['user_sig']}
</td>
</tr>
</table>
{/if}]]></context_signature_show>
<context_smilebox><![CDATA[<fieldset>
<legend>{$lang['smiles']}</legend>
<?php $t=0; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr valign="top">
{Des::while}{SmileRows}
<?php
if($t== $PowerBB->_CONF['template']['_CONF']['info_row']['smil_columns_number']){
$t=0;
echo "</tr><tr>";
}?>
<td width="10%">
<img src="{$SmileRows['smile_path']}" OnClick="AddSmileyIcon('{$SmileRows['smile_path']}');" alt="{$SmileRows['smile_path']}" border="0" />
</td>
<?php $t=$t+1;?>
{/Des::while}
</tr>
</table>
<div align="center">
<a href="#" onClick="comm._cmd_allsmiles()">
<strong><u>{$lang['All_Smiles']}</u></strong>
<img border="0" onClick="comm._cmd_allsmiles()" alt="{$lang['All_Smiles']}" src="{$image_path}/menu_open.gif" />
</div>
</fieldset>
<div style="display:none;position: absolute; z-index: 1" id="All_Smiles">
<?php $t=0; ?>
<table border="0" cellspacing="1" class="border">
<tr>
<td class="row1" colspan="{$_CONF['info_row']['smil_columns_number']}">
<a href="javascript:switchMenuNone('All_Smiles')">
<div class="r-right"> <img border="0" cellspacing="1" src="{$image_path}/colorpicker_close.png" /></div></a>
</td>
</tr>
<tr valign="top">
{Des::while}{SmlList}
<?php
if($t== $PowerBB->_CONF['template']['_CONF']['info_row']['smil_columns_number']){
$t=0;
echo "</tr><tr>";
}?>
<td class="row1">
<img src="{$SmlList['smile_path']}" OnClick="AddSmileyIcon('{$SmlList['smile_path']}');" alt="{$SmlList['smile_path']}" border="0" cellspacing="1" />
</td>
<?php $t=$t+1;?>
{/Des::while}
</tr>
</table>
</div>]]></context_smilebox>
<context_smile_all><![CDATA[<!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-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<meta name="keywords" content="{$keywords}" />
<meta name="description" content="{$description}" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
<script type='text/javascript'>
//<![CDATA[
//path of images
var path="{$image_path}/";
// show prompt or not 1 or 0
var prompt_bbcode = 1 ;
var cpaletc= 5 ;
//]]>
</script>
<script type="text/javascript" src="includes/js/wseditor.js"></script>
<title>{$lang['Emoticons']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
</head>
<body>
<div align="center">
<?php $t=0; ?>
<table border="0" cellspacing="0" width="90%" align="center" class="border_radius">
<tr>
<td class="tcat" colspan="2" align="center">{$lang['Emoticons']}</td>
</tr>
<tr valign="top">
{Des::while}{SmlList}
<?php
if($t== '2'){
$t=0;
echo "</tr><tr>";
}?>
<td align="center" class="row1" valign="middle">
<input type="image" src="{$SmlList['smile_path']}" valign="absmiddle" alt="{$SmlList['smile_sort']}" border="0" id="num" onchange="showFrame(this.value)" OnClick="window.opener.AddSmileyIcon(this.src);" />
</td>
<script type='text/javascript'>
//<![CDATA[
var smiley_wysiwyg = true;
//]]>
</script>
<?php $t=$t+1;?>
{/Des::while}
</tr>
</table>
</div>
</body>
</html>]]></context_smile_all>
<context_special><![CDATA[{if {$Special_Show}}
<div align="center">
<table border="0" cellspacing="1" class="border" width="98%">
<tr>
<td width="95%" class="tbar" align="center" colspan="1">
{$lang['Special_Subject']}
</td>
</tr>
<tr>
<td width="95%" class="row2" align="right">
<marquee direction="{$_CONF['info_row']['special_bar_dir']}" dir="{$_CONF['info_row']['content_dir']}" onmouseover="this.stop()" onmouseout="this.start()">
{Des::while}{Special_subjectList}
<img border="0" src="{$image_path}/star.gif"
alt="{$lang['s_special']}" />
<a target="_blank" title="{$lang['LastsPostsWriter']}
{$Special_subjectList['writer']} ..::..
{$lang['LastsPostsDate']}
{$Special_subjectList['write_date']}" href="
{if {$_CONF['info_row']['rewriterule']} == '1'}
t{$Special_subjectList['id']}.html">
{else}
index.php?page=topic&show=1&id={$Special_subjectList['id']}">
{/if}
{$Special_subjectList['title']}</a>
{/Des::while}
</marquee>
</td>
</tr>
</table></div>
<br />
{/if}]]></context_special>
<context_special_subject><![CDATA[{template}address_bar_part1{/template}
<a href="">{$lang['Special_Subject_forums']}</a>
{template}address_bar_part2{/template}
<br />
<br />
<table cellpadding="2" cellspacing="1" width="90%" class="border" border="0" cellspacing="1" align="center">
<tr valign="top" align="center">
<td class="tcat" colspan="6">{$lang['Special_Subject']} :
({$subject_special_nm})</td>
</tr>
<tr valign="top" align="center">
<td class="thead" width="1"></td>
<td class="thead" width="49%">{$lang['subject_title']}</td>
<td class="thead" width="20%">{$lang['subject_writer']}</td>
<td class="thead" width="5%">{$lang['reply_num']}</td>
<td class="thead" width="5%">{$lang['visitor_num']}</td>
<td class="thead" width="20%">{$lang['date']}</td>
</tr>
{Des::while}{Special_subjectList}
<tr valign="top" align="center">
<td class="row1" width="1"><img border="0" src="{$Special_subjectList['icon']}"
alt="{$lang['s_special']}" /></td>
<td class="row1" width="49%"> <a href="index.php?page=topic&show=1&id={$Special_subjectList['id']}" traget="_blank">{$Special_subjectList['title']}</a></td>
<td class="row1" width="20%"><a href="index.php?page=profile&show=1&username={$Special_subjectList['writer']}" traget="_blank">{$Special_subjectList['writer']}</a></td>
<td class="row1" width="5%">{$Special_subjectList['reply_number']}</td>
<td class="row1" width="5%">{$Special_subjectList['visitor']}</td>
<td class="row1" width="20%">{$Special_subjectList['write_date']}</td>
</tr>
{/Des::while}
{if {$subject_special_nm} == 0}
<tr valign="top" align="center">
<td class="row1" colspan="6">
{$lang['No_Special_Subject_naw']}
</td>
</tr>
{/if}
</table>
<br />
<br />]]></context_special_subject>
<context_static><![CDATA[{template}address_bar_part1{/template}
{$lang['statics']}
{template}address_bar_part2{/template}
<br />
<table width="95%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td width="10%" class="tcat">
{$lang['Age_forum']}
</td>
<td width="20%" class="tcat">
{$lang['Join_the_forum']}
</td>
<td width="10%" class="tcat">
{$lang['Number_Members']}
</td>
<td width="10%" class="tcat">
{$lang['Number_Subjects']}
</td>
<td width="10%" class="tcat">
{$lang['Number_replys']}
</td>
<td width="10%" class="tcat">
{$lang['Number_Members_active']}
</td>
<td width="10%" class="tcat">
{$lang['Number_forums']}
</td>
</tr>
<tr align="center">
<td width="10%" class="row1">
{$StaticInfo['Age']}
{$lang['Day']}
</td>
<td width="20%" class="row1">
{$StaticInfo['InstallDate']}
</td>
<td width="10%" class="row1">
{$StaticInfo['GetMemberNumber']}
</td>
<td width="10%" class="row1">
{$StaticInfo['GetSubjectNumber']}
</td>
<td width="10%" class="row1">
{$StaticInfo['GetReplyNumber']}
</td>
<td width="10%" class="row1">
{$StaticInfo['GetActiveMember']}
</td>
<td width="10%" class="row1">
{$StaticInfo['GetSectionNumber']}
</td>
</tr>
</table>
<br />
<table width="95%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td class="tcat">
{$lang['Author_oldest_topic']}
</td>
<td class="tcat">
{$lang['Author_Newer_topic']}
</td>
<td class="tcat">
{$lang['topics_replies_author']}
</td>
</tr>
<tr align="center">
<td class="row1">
<a href="index.php?page=profile&show=1&username={$StaticInfo['OldestSubjectWriter']}">{$StaticInfo['OldestSubjectWriter']}</a>
</td>
<td class="row1">
<a href="index.php?page=profile&show=1&username={$StaticInfo['NewerSubjectWriter']}">{$StaticInfo['NewerSubjectWriter']}</a>
</td>
<td class="row1">
<a href="index.php?page=profile&show=1&username={$StaticInfo['MostSubjectWriter']}">{$StaticInfo['MostSubjectWriter']}</a>
</td>
</tr>
</table>
<br />
<table width="50%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td width="50%" class="tcat" colspan="2">
{$lang['More_posts_by_members']}
</td>
</tr>
{Des::while}{TopTenList}
<tr align="center">
<td width="30%" class="row1">
<a href="index.php?page=profile&show=1&id={$TopTenList['id']}">{$TopTenList['username']}</a>
</td>
<td width="20%" class="row1">
{$TopTenList['posts']}
</td>
</tr>
{/Des::while}
</table>
<br />
<table width="50%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td width="50%" class="tcat" colspan="2">
{$lang['More_Topic_Replies']}
</td>
</tr>
<tr align="center">
<td width="30%" class="row1">
{$lang['subject_title']}
</td>
<td width="20%" class="row1">
{$lang['sort_reply_number']}
</td>
</tr>
{Des::while}{TopSubject}
<tr align="center">
<td width="30%" class="row1">
<a href="index.php?page=topic&show=1&id={$TopSubject['id']}">{$TopSubject['title']}</a>
</td>
<td width="20%" class="row1">
{$TopSubject['reply_number']}
</td>
</tr>
{/Des::while}
</table>
<br />
<table width="50%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td width="50%" class="tcat" colspan="2">
{$lang['The_most_visited_topics']}
</td>
</tr>
<tr align="center">
<td width="30%" class="row1">
{$lang['subject_title']}
</td>
<td width="20%" class="row1">
{$lang['num_visitors']}
</td>
</tr>
{Des::while}{TopSubjectVisitor}
<tr align="center">
<td width="30%" class="row1">
<a href="index.php?page=topic&show=1&id={$TopSubjectVisitor['id']}">{$TopSubjectVisitor['title']}</a>
</td>
<td width="20%" class="row1">
{$TopSubjectVisitor['visitor']}
</td>
</tr>
{/Des::while}
</table>
<br />
{template}jump_forums_list{/template}
<br />
<br />
<br />
]]></context_static>
<context_statistics_list><![CDATA[{if {$_CONF['info_row']['activate_last_static_list']} == 1}
<br />
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr align="center">
<td class="tcat">
<span class="l-left">
<a onclick="switchMenuNone('statistics_list');"><img border="0" alt="" src="{$image_path}/collapse_b.gif" /></a>
</span>
<a title="{$lang['mor_static']}" href="index.php?page=static&index=1">
{$lang['last_static_num']}
</a>
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="98%" class="border" id="statistics_list" align="center">
<tr align="right">
<td class="thead1" width="145" valign="top">{$lang['New_members']}</td>
<td class="thead1" width="180">{$lang['TopSubjectVisitor']}</td>
<td class="thead1" width="140">{$lang['TopMemberInvite']}</td>
<td class="thead1" width="250" valign="top"> {$lang['LastSubject']}</td>
</tr>
<tr align="right">
<td class="row3" width="145" valign="top">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{Des::while}{latest_registered}
<tr style="vertical-align: top;">
<td class="row3" width="100%" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$latest_registered['id']}.html" title="{$latest_registered['register_date']}">
{else}
<a href="index.php?page=profile&show=1&id={$latest_registered['id']}" title="{$latest_registered['register_date']}">
{/if}
<?php
$num ='5';
$text = $PowerBB->_CONF['template']['while']['latest_registered'][$this->x_loop]['username'];
echo $text = $PowerBB->functions->words_count($text,$num);
if (strlen($PowerBB->_CONF['template']['while']['latest_registered'][$this->x_loop]['username']) > $num) {
echo " ..";
}
?>
</a>
</span>
</td>
</tr>
{/Des::while}
</table>
</td>
<td class="row3" width="180">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$TopSubjectVisitorNum} > 0}
{Des::while}{TopSubjectVisitor}
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
<img src="{$image_path}/post.gif" alt="" border="0" />
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$TopSubjectVisitor['id']}.html">
{else}
<a href="index.php?page=topic&show=1&id={$TopSubjectVisitor['id']}">
{/if}
<span class="smallfont">
<?php $PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title']); ?>
<?php
$num ='5';
$text = $PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title'];
echo $text = $PowerBB->functions->words_count($text,$num);
if (strlen($PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title']) > $num) {
echo " ..";
}
?>
</span>
</a>
</td>
<td class="row3" title="{$lang['SubjectVisitor']}" width="1%" align="left" nowrap="nowrap">
{$TopSubjectVisitor['visitor']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Visits']}
{/if}
</table>
</td>
<td class="row3" width="140">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$TopMemberInviteNum} > 0}
{Des::while}{TopMemberInvite}
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$TopMemberInvite['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$TopMemberInvite['id']}">
{/if}
<span class="smallfont">
<?php
$num ='5';
$text = $PowerBB->_CONF['template']['while']['TopMemberInvite'][$this->x_loop]['username'];
echo $text = $PowerBB->functions->words_count($text,$num);
if (strlen($PowerBB->_CONF['template']['while']['TopMemberInvite'][$this->x_loop]['username']) > $num) {
echo " ..";
}
?>
</span>
</a>
</td>
<td class="row3" title="{$lang['Invites']}" width="1%" align="left" nowrap="nowrap">
{$TopMemberInvite['invite_num']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Invits']}
{/if}
</table>
</td>
<td class="row3" width="250" rowspan="3" valign="top">
<table style="height: 100%; border-collapse:collapse" width="100%" border="0" cellpadding="0">
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
{$lang['Subject']}</td>
<td>
</td>
<td class="row3" align="right" nowrap="nowrap">
{$lang['send_by']}</td>
</tr>
{Des::while}{LastSubject}
<?php $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title']); ?>
<tr valign="top">
<td class="row3" title="{$LastSubject['title']}" align="right" nowrap="nowrap">
<img src="{$image_path}/post.gif" alt="" border="0" />
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$LastSubject['id']}.html" title="{$LastSubject['reply_date']}">
{else}
<a href="index.php?page=topic&show=1&id={$LastSubject['id']}" title="{$LastSubject['reply_date']}">
{/if}
<span class="smallfont">
<?php
$num ='8';
$text = $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'];
echo $text = $PowerBB->functions->words_count($text,$num);
if (strlen($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title']) > $num) {
echo " ..";
} ?>
</span>
</a>
</td>
<td class="row3" title="{$LastSubject['title']}" align="right" nowrap="nowrap">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a target="_blank" href="t{$LastSubject['id']}.html">
{else}
<a target="_blank" href="index.php?page=topic&show=1&id={$LastSubject['id']}">
{/if}
<img src="{$image_path}/open.gif" alt="" border="0" /></a>
</td>
<td class="row3" title="{$LastSubject['last_replier']}" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$LastSubject['last_replier']} !=''}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['last_replier']);?>
{else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['writer']);?>
{/if}
</span>
</td>
</tr>
{/Des::while}
</table>
</td>
</tr>
<tr align="right">
<td class="thead1" width="145" valign="top">
{$lang['most_popular_forums']}</td>
<td class="thead1" width="180">{$lang['Top_participants']}</td>
<td class="thead1" width="140">{$lang['strongest_reputation']}</td>
</tr>
<tr align="right">
<td class="row3" width="145" valign="top">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$TopSectionListNum} >0}
{Des::while}{TopSectionsList}
<tr style="vertical-align: top;">
<td class="row3" title="{$TopSectionsList['title']}" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$TopSectionsList['id']}.html">
{else}
<a href="index.php?page=forum&show=1&id={$TopSectionsList['id']}">
{/if}
<?php
$num ='5';
$text = $PowerBB->_CONF['template']['while']['TopSectionsList'][$this->x_loop]['title'];
echo $text = $PowerBB->functions->words_count($text,$num);
if (strlen($PowerBB->_CONF['template']['while']['TopSectionsList'][$this->x_loop]['title']) > $num) {
echo " ..";
}
?>
</a>
</span>
</td>
<td class="row3" title="{$lang['posts']}" width="1%" align="left" nowrap="nowrap">
{$TopSectionsList['reply_num']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Posts']}
{/if}
</table>
</td>
<td class="row3" width="180">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$TopMemberListNum} > 0}
{Des::while}{TopMemberList}
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$TopMemberList['id']}.html">{$TopMemberList['username']}</a>
{else}
<a href="index.php?page=profile&show=1&id={$TopMemberList['id']}">{$TopMemberList['username']}</a>
{/if}
</span>
</td>
<td class="row3" title="{$lang['posts']}" width="1%" align="left" nowrap="nowrap">
{$TopMemberList['posts']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Posts']}
{/if}
</table>
</td>
<td class="row3" width="140">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$MemberReputationNum} > 0}
{Des::while}{TopMemberReputation}
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$TopMemberReputation['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$TopMemberReputation['id']}">
{/if}
<?php
$num ='5';
$text = $PowerBB->_CONF['template']['while']['TopMemberReputation'][$this->x_loop]['username'];
echo $text = $PowerBB->functions->words_count($text,$num);
if (strlen($PowerBB->_CONF['template']['while']['TopMemberReputation'][$this->x_loop]['username']) > $num) {
echo " ..";
}
?>
</a>
</span>
</td>
<td class="row3" title="{$lang['Reputable']}" width="1%" align="left" nowrap="nowrap">
{$TopMemberReputation['reputation']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Reputaions']}
{/if}
</table>
</td>
</tr>
</table>
{/if}
<br />]]></context_statistics_list>
<context_stuff_profile><![CDATA[ <table align="center" border="0" cellspacing="1" width="98%">
<tr>
<td valign='top'>
<!-- MAIN TABLE -->
<div class='pp-name'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='1%'>
<div align="center" class="UserPhoto">
{if {$_CONF['info_row']['allow_avatar']}}
{if {$MemberInfo['avater_path']} != ''}
<a href="{$MemberInfo['avater_path']}" rel="facebox">
<img src="{$MemberInfo['avater_path']}" border="0" title="{$lang['Picture']}
{$MemberInfo['username']}
{$lang['Personal']}"
alt="{$lang['Picture']}
{$MemberInfo['username']}
{$lang['Personal']}" onload="ResizeAv(this)" /></a>
{else}
<a href="{$image_path}/
{$_CONF['info_row']['default_avatar']}" rel="facebox">
<img src="{$image_path}/
{$_CONF['info_row']['default_avatar']}" border="0"
alt="{$lang['no_photo']}"
title="{$lang['no_photo']}" onload="ResizeAv(this)" />
</a>
{/if}
{/if}
</div>
</td>
<td width='98%' style='padding-left:30px'>
<h3 style='font-size:20px'> {$MemberInfo['username_style_cache']}</h3>
{if {$GroupInfo['usertitle_change']} == '1'}
<strong>{$Usertitle}</strong>
{else}
<strong>{$MemberInfo['user_title']}</strong>
{/if}
<br />
<br />
{$status}
</td>
</tr>
</table>
</div>
<br />
<!-- My Stuff -->
<div class='pp-tabwrap'>
<div class='pp-taboff' id='pp-content-visitor_messages'>{$lang['Visitor_Messages_pp']}</div>
<div class='pp-taboff' id='pp-content-tab-information'>{$lang['About_Me']}</div>
<div class='pp-taboff' id='pp-content-tab-friends'>{$lang['friends_list']}</div>
<div class='pp-taboff' id='pp-content-tab-static'>{$lang['static']}</div>
</div>
<div id='visitor_messages_table' class='pp-contentbox-back'>
<div class="pp-tabclear">{$lang['Visitor_Messages_pp']}</div>
<div class="borderwrap">
{template}visitor_messag{/template}
</div>
</div>
<div id='information_table' class='pp-contentbox-back'>
<div class="pp-tabclear">{$lang['About_Me']}</div>
<div class="borderwrap">
<table border="0" width="100%" cellspacing="1" cellpadding="0">
<tr>
<td class="row1" width="20%">{$lang['Nickusername']}
{$MemberInfo['username']}
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['usergroup']}
{$MemberInfo['usergroup']}
</td>
</tr>
<tr>
<td class="row1" width="20%">
{if {$GroupInfo['usertitle_change']} == '1'}
{$Usertitle}
{else}
{if !{$MemberInfo['user_title']}}
{$GroupInfo['user_title']}
{else}
{$MemberInfo['user_title']}
{/if}
{/if}
</td>
</tr>
<tr>
<td class="row1" width="20%">
{$lang['register']} : {$MemberInfo['register_date']}
</td>
</tr>
{if {$MemberInfo['bday_year']} != ''}
{if {$MemberInfo['bday_year']} != '0'}
<tr>
<td class="row1" width="20%">{$lang['Birth_date']} :
{$MemberInfo['bday_day']}-{$MemberInfo['bday_month']}-{$MemberInfo['bday_year']}
</td>
</tr>
{/if}
{/if}
{if !empty({$MemberInfo['user_country']})}
<tr>
<td class="row1" width="20%">{$lang['user_country']} :
{$MemberInfo['user_country']}
</td>
</tr>{/if}
<tr>
<td class="row1" width="20%">{$lang['user_gender']} :
{if {$MemberInfo['user_gender']} == 'm'}
<img title="{$lang['gender_m']}"
src="{$image_path}/gender_male.gif" />
{else}
<img title="{$lang['gender_f']}"
src='{$image_path}/gender_female.gif'>
{/if}
</td>
</tr>{if !empty({$MemberInfo['user_website']}) and {$MemberInfo['user_website']} != 'http://'}
<tr>
<td class="row1" width="20%">{$lang['user_website']} :
<a target="_blank" href="{$MemberInfo['user_website']}">{$lang['Visit_my_website']}</a>
</td>
</tr>{/if}
<tr>
<td class="row1" width="20%">{$lang['user_time']} :
<font class="smallfont">
{$MemberInfo['user_time']}
</font>
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['IsOnline']} :
{$status}
</td>
</tr>
{if {$MemberInfo['user_info']} !=''}
<tr>
<td width="100%" class="row1" align="right">
<fieldset>
<legend>{$lang['information_About']}
{$MemberInfo['username']}</legend>
<?php echo $PowerBB->_CONF['template']['MemberInfo']['user_info'] = wordwrap($PowerBB->_CONF['template']['MemberInfo']['user_info'], '70', "\n", true); ?>
</fieldset>
</td>
</tr>
{/if}
</table>
</div>
</div>
<div id='friends_table' class='pp-contentbox-back'>
<div class="pp-tabclear">{$lang['friends_list']}</div>
<div class="borderwrap">
{if {$_CONF['info_row']['active_friend']} == '1'}
<table align="center" border="0" cellspacing="1" width="98%">
<tr>
<td width="60%" class="tcat" colspan="1">
{$lang['friends']}
{$MemberInfo['username']}
</td>
</tr>
<tr>
<td width="60%" class="row1">
{if {$No_Friends}}
{$lang['nofriends']}
{/if}
{Des::while}{FriendsList}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$FriendsList['userid_friend']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$FriendsList['userid_friend']}">
{/if}
{$FriendsList['username_friend']}</a> ,
{/Des::while}
</td>
</tr>
{if {$_CONF['rows']['member_row']['username']} == {$MemberInfo['username']}}
<tr>
<td class="row1" align="left">
{if {$edit_friend}}
<a href="index.php?page=usercp&options=1&friends=1&main=1">
{$lang['edit_friend']}
</a>
{/if}
</td>
</tr>
{/if}
</table>
{/if}
<br />
</div>
</div>
<div id='static_table' class='pp-contentbox-back'>
<div class="pp-tabclear">{$lang['static']}</div>
<div class="borderwrap">
<table align="center" border="0" cellspacing="1" width="98%">
<tr>
<td width="100%" class="row1" align="right">
<?php $PowerBB->_CONF['template']['LastSubject']['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['LastSubject']['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['LastSubject']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['LastSubject']['title']); ?>
{if {$MemberInfo['posts']} == '0'}
{$lang['user_no_subject']}
{else}
{$lang['user_last_subject']}
<a href="index.php?page=topic&show=1&id={$LastSubject['id']}">{$LastSubject['title']}</a>
{/if}
</td>
</tr>
<tr>
<td width="100%" class="row1" align="right">
<?php $PowerBB->_CONF['template']['LastReply']['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['LastReply']['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['LastReply']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['LastReply']['title']); ?>
{if {$MemberInfo['posts']} == '0'}
{$lang['user_no_reply']}
{else}
{$lang['last_reply_in']}
<a href="index.php?page=topic&show=1&id={$LastReply['id']}#{$LastReply['reply_id']}">{$LastReply['title']}</a>
{/if}
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['visitor_num']} :
{$MemberInfo['visitor']}
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['user_invite']}
{$MemberInfo['invite_num']}
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['user_reputation']} :
{if {$MemberInfo['reputation']} == '0'}
0
{else}
{$MemberInfo['reputation']}
{/if}
</td>
</tr>{if {$MemberInfo['warnings']} != '0' && $MemberInfo['warnings'] != ''}
<tr>
<td class="row1" width="20%">{$lang['user_warnings']} :
{$MemberInfo['warnings']}
</td>
</tr>{/if}
<tr>
<td width="100%" class="row1" align="right">
{$lang['user_lastvisit']} :
(<?php echo $PowerBB->_CONF['template']['MemberInfo']['lastvisit'] = $PowerBB->functions->date($PowerBB->_CONF['template']['MemberInfo']['lastvisit']); ?>)
</td>
</tr>
{if {$MemberInfo['edit_member']}}
<tr>
<td width="100%" class="row1" align="right">
<a target="_blank" href="admin.php?page=member&edit=1&main=1&id={$MemberInfo['id']}">
{$lang['edit_member_data']}
{$MemberInfo['username']}
</a>
</td>
</tr>
{/if}
{if {$_CONF['info_row']['active_friend']} == '1'}
{if {$dont_shwo_friend} == 3}
{if {$is_friend} == 1}
<tr>
<td width="100%" class="row1" align="right">
<a href="index.php?page=usercp&options=1&friends=1&del=1&id={$friendship_id}">
{$lang['remove_friend_1']}
{$MemberInfo['username']}
{$lang['remove_friend_2']}</a>
</td>
</tr>
{elseif {$is_friend} == 2}
<tr>
<td width="100%" class="row1" align="right">
<a href="index.php?page=usercp&options=1&friends=1&add=1&username_friend={$MemberInfo['username']}">
{$lang['add_friend_1']}
{$MemberInfo['username']}
{$lang['add_friend_2']}</a>
</td>
</tr>
{/if}
{/if}
{/if}
{if {$MemberInfo['Warnings']}}
<tr>
<td width="100%" class="row1" align="right">
<a href="index.php?page=warn&index=1&id={$MemberInfo['id']}">
{$lang['user_send_warning']}
{$MemberInfo['username']}
</a>
</td>
</tr>
{/if}
{if {$_CONF['group_info']['onlinepage_allow']} == 1}
{if {$Location['user_location']}}
<tr>
<td width="100%" class="row1" align="right">
{$lang['user_location_']}
<a target="_blank" href="index.php?{$Location['path']}">{$Location['user_location']}</a>
</td>
</tr>
{/if}
{/if}
<tr>
<td width="100%" class="row1" align="right">
<fieldset>
<legend>{$lang['send_a_message_to']}
{$MemberInfo['username']}</legend>
<a href="index.php?page=pm_send&send=1&index=1&username={$MemberInfo['username']}">
{$lang['send_a_private_message_to']}
{$MemberInfo['username']}
</a>
<?php if (!$PowerBB->_CONF['template']['MemberInfo']['send_allow']== 0 OR $PowerBB->_CONF['template']['_CONF']['rows']['group_info']['admincp_allow']) { ?>
<br />
<a href="index.php?page=send&member=1&index=1&id={$MemberInfo['id']}">
{$lang['send_a_message_to_the_mailing']}
{$MemberInfo['username']}
</a>
{/if}
</fieldset>
</td>
</tr>
<tr>
<td width="100%" class="row1" align="right">
<fieldset>
<legend>{$lang['user_subjects_and_replys']}</legend>
{$lang['posts']} :
{$MemberInfo['posts']}
<br />
<a href="index.php?page=search&option=3&username={$MemberInfo['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['user_search_subjects']}
{$MemberInfo['username']} </a> <br />
<a href="index.php?page=search&option=4&username={$MemberInfo['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['user_search_replys']}
{$MemberInfo['username']} </a>
</fieldset>
</td>
</tr>
{if {$_CONF['rows']['member_row']['username']} == {$MemberInfo['username']}}
<tr>
<td width="100%" class="row1" align="right">
<fieldset>
<legend>{$lang['inviteyuorfrinds']}</legend>
<font class="smallfont">
{$lang['linkinviteit']} <br />
<input name="linkinviteit" value="<?php echo $PowerBB->functions->GetForumAdress() ?>index.php?page=register&index=1&agree=1&invite={$MemberInfo['id']}" size="80" type="text" dir="ltr">
</font>
</fieldset>
</td>
</tr>
{/if}
</table>
</div>
</div>
<!-- / My Stuff -->
<!-- / MAIN TABLE -->
</td>
</tr>
</table>
<script type='text/javascript'>
function ShowstuffVisitorMessagesTable()
{
if ($("#pp-content-visitor_messages").click)
{
$("#visitor_messages_table").fadeIn();
$("#friends_table").hide();
$("#information_table").hide()
$("#static_table").hide()
document.getElementById('pp-content-visitor_messages').className="pp-tabon";
document.getElementById('pp-content-tab-friends').className="pp-taboff";
document.getElementById('pp-content-tab-information').className="pp-taboff";
document.getElementById('pp-content-tab-static').className="pp-taboff";
}
else
{
$("#visitor_messages_table").fadeOut();
}
}
function ShowstuffInformationTable()
{
if ($("#pp-content-tab-information").click)
{
$("#static_table").hide()
$("#information_table").fadeIn();
$("#visitor_messages_table").hide();
$("#friends_table").hide();
document.getElementById('pp-content-tab-information').className="pp-tabon";
document.getElementById('pp-content-visitor_messages').className="pp-taboff";
document.getElementById('pp-content-tab-friends').className="pp-taboff";
document.getElementById('pp-content-tab-static').className="pp-taboff";
}
else
{
$("#information_table").fadeOut();
}
}
function ShowstuffFriendsTable()
{
if ($("#pp-content-tab-friends").click)
{
$("#friends_table").fadeIn();
$("#visitor_messages_table").hide();
$("#information_table").hide();
$("#static_table").hide()
document.getElementById('pp-content-tab-friends').className="pp-tabon";
document.getElementById('pp-content-visitor_messages').className="pp-taboff";
document.getElementById('pp-content-tab-information').className="pp-taboff";
document.getElementById('pp-content-tab-static').className="pp-taboff";
}
else
{
$("friends_table").fadeOut();
}
}
function ShowstuffStaticTable()
{
if ($("#pp-content-tab-static").click)
{
$("#static_table").fadeIn();
$("#friends_table").hide();
$("#information_table").hide()
$("#visitor_messages_table").hide();
document.getElementById('pp-content-tab-static').className="pp-tabon";
document.getElementById('pp-content-visitor_messages').className="pp-taboff";
document.getElementById('pp-content-tab-friends').className="pp-taboff";
document.getElementById('pp-content-tab-information').className="pp-taboff";
}
else
{
$("#static_table").fadeOut();
}
}
function Ready()
{
$("#pp-content-visitor_messages").click(ShowstuffVisitorMessagesTable);
document.getElementById('pp-content-visitor_messages').className="pp-tabon";
$("#pp-content-tab-information").click(ShowstuffInformationTable);
$("#information_table").hide();
$("#pp-content-tab-friends").click(ShowstuffFriendsTable);
$("#friends_table").hide();
$("#pp-content-tab-static").click(ShowstuffStaticTable);
$("#static_table").hide();
}
$(document).ready(Ready);
</script>
]]></context_stuff_profile>
<context_subjects_delete_index><![CDATA[{template}address_bar_part1{/template}
{$lang['Management_Subjects']}
{$_CONF['info_row']['adress_bar_separate']}
{$lang['deletethread']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=management&subject=1&section={$section}&operator=tools_thread" name="form1" method="post">
<table align="center" border="0" cellspacing="1" class="border" width="60%">
<tr align="center">
<td class="tcat" width="60%" colspan="2">
{$lang['delet_Options']}
</td>
</tr>
<tr>
<td class="row1" width="30%" colspan="2">
<table border="0" cellpadding="0" cellspacing="3" width="100%">
<tr>
<td class="row1">{$lang['How_del_subject']}</td>
</tr>
<tr>
<td class="row1">
<div>
<label for="rb_deletetype_1">
<input name="deletetype" value="1" id="rb_deletetype_1" checked type="radio">{$lang['delet_Simple']}</label></div>
</div>
{if {$_CONF['rows']['group_info']['id']} == '1' or{$_CONF['rows']['group_info']['vice']} == '1'}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" type="radio">{$lang['delet_actual']}</label>
</div>
{else}
{if {$_CONF['rows']['group_info']['group_mod']} == 1}
{if {$_CONF['rows']['group_info']['del_subject']} == 0}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" disabled="disabled" type="radio">{$lang['delet_actual']}</label>
</div>
{else}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" type="radio">{$lang['delet_actual']}</label>
</div>
{/if}
{/if}
{/if}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row1 rows_space" width="60%" colspan="2">
<div align="center">
<input type="submit" value="{$lang['Count']}" />
</div></td>
</tr>
</table>
]]></context_subjects_delete_index>
<context_subjects_delete_index2><![CDATA[
<input type="hidden" name="check[]" value="{$subjects}">
<form>
<br />
<br />]]></context_subjects_delete_index2>
<context_subjects_move_index><![CDATA[<br />
<title>
{$lang['Management_Subjects']}
- {$lang['mov_Subject']}
</title>
<form method="post" action="index.php?page=management&subject=1&section={$section}&operator=tools_thread" name="form1" method="post">
<table align="center" border="0" cellspacing="1" class="border" width="50%">
<tr align="center">
<td class="tcat" width="50%">
{$lang['mov_Subjects_to']}
</td>
</tr>
<tr align="center">
<td class="row1" width="50%">
<input TYPE="hidden" name="id_section" value="{$section_id}" />
<select size="1" name="section" id="section_id">
{Des::foreach}{forums_list}{forum}
{if {$forum['parent']} == 0}
<option value="{$forum['id']}" disabled="disabled">- {$forum['title']}</option>
{else}
<option value="{$forum['id']}" selected="selected">-- {$forum['title']}</option>
{/if}
{if {$forum['parent']} != 0}
{if {$forum['linksection']} != '1'}
{if {$forum['is_sub']}}
{$forum['sub']}
{if {$forum['is_sub_sub']}}
{$forum['sub_sub']}
{/if}
{/if}
{/if}
{/if}
{/Des::foreach}
</select>
<input name="movethreadstart" type="submit" value="{$lang['mov_Subjects']}" />
</td>
</tr>
</table>
]]></context_subjects_move_index>
<context_subjects_move_index2><![CDATA[
<input type="hidden" name="check[]" value="{$subjects}">
<form>]]></context_subjects_move_index2>
<context_subject_close_index><![CDATA[{if !{$_CONF['info_row']['ajax_moderator_options']}}
<form method="post" action="index.php?page=management&close=1&subject_id={$subject}">
{/if}
<table align="center" border="0" cellspacing="1" class="border" width="60%">
<tr align="center">
<td class="tcat" width="60%" colspan="2">
{$lang['locked_Topic']}
</td>
</tr>
<tr>
<td class="row1 rows_space" width="30%">
{$lang['reason_close_topic']}
</td>
<td class="row1" width="30%">
<input name="reason" type="text" size="38" />
</td>
</tr>
{if {$SubjectInfo['poll_subject']} == '1'}
<tr>
<td class="row1 rows_space" width="30%">
Ø¥ØºÙØ§Ù Ø§ÙØ¥Ø³ØªÙتاء ?
</td>
<td class="row1" width="30%">
{if {$SubjectInfo['close_poll_subject']} == '0'}
<input name="close_poll" value="0" checked="checked" id="red" type="radio"> ÙØ§
<input name="close_poll" value="1" id="green" type="radio"> ÙØ¹Ù
{/if}
</td>
</tr>
<tr>
{/if}
<td class="row1 rows_space" width="60%" colspan="2">
<div align="center">
{if {$_CONF['info_row']['ajax_moderator_options']}}
<input type="button" id="close_id" value="{$lang['Count']}" />
{else}
<input type="submit" value="{$lang['Count']}" />
{/if}
</div></td>
</tr>
</table>
{if !{$_CONF['info_row']['ajax_moderator_options']}}
</form>
{/if}
<br />
<br />]]></context_subject_close_index>
<context_subject_delete_index><![CDATA[{template}address_bar_part1{/template}
{$lang['Management_Subjects']}
{$_CONF['info_row']['adress_bar_separate']}
{$lang['del_subject']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=management&subject=1&section={$SubjectDelInfo['section']}&subject_id={$subject}&operator=delete_start">
<table align="center" border="0" cellspacing="1" class="border" width="60%">
<tr align="center">
<td class="tcat" width="60%" colspan="2">
{$lang['delet_Options']}
</td>
</tr>
<tr align="center">
<td class="main_bar" width="60%" colspan="2">
{$lang['Title_subject']}
{$SubjectDelInfo['title']}
</td>
</tr>
<tr>
<td class="row1" width="30%" colspan="2">
<table border="0" cellpadding="0" cellspacing="3" width="100%">
<tr>
<td class="row1">{$lang['How_del_subject']}</td>
</tr>
<tr>
<td class="row1">
<div>
<label for="rb_deletetype_1">
<input name="deletetype" value="1" id="rb_deletetype_1" checked type="radio">{$lang['delet_Simple']}</label></div>
</div>
{if {$_CONF['rows']['group_info']['id']} == '1' or{$_CONF['rows']['group_info']['vice']} == '1'}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" type="radio">{$lang['delet_actual']}</label>
</div>
{else}
{if {$_CONF['rows']['group_info']['group_mod']} == 1}
{if {$_CONF['rows']['group_info']['del_subject']} == 0}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" disabled="disabled" type="radio">{$lang['delet_actual']}</label>
</div>
{else}
<div>
<label for="rb_deletetype_2">
<input name="deletetype" value="2" id="rb_deletetype_2" type="radio">{$lang['delet_actual']}</label>
</div>
{/if}
{/if}
{/if}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row1 rows_space" width="60%" colspan="2">
<div align="center">
<input type="submit" value="{$lang['Count']}" />
</div></td>
</tr>
</table>
</form>
<br />
<br />]]></context_subject_delete_index>
<context_subject_edit><![CDATA[<title>{$lang['edit_subject']} : {$SubjectInfo['title']}</title>
<script language="javascript">
function ShowPollTable()
{
if ($("#poll_id").is(":checked"))
{
$("#poll_table").fadeIn();
}
else
{
$("#poll_table").fadeOut();
}
}
function AddMoreAnswers(x)
{
x += 1;
var answers_max = 100;
$("#poll_answers_count_id").val(x);
$(".more_tr").hide();
$("#poll_question_answers").append('<tr align="center"><td class="row1 rows_space">{$lang['answers_number']}' + x + '</td><td class="row1 rows_space"><input name="answer[]" type="text" id="answer' + x + '" /></td></tr>');
$("#poll_question_answers").append('<tr align="center" class="more_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_answers" class="more_answers_class" value="{$lang['more_answers']}" /></td></tr>');
$("#answer" + x).focus();
$(".more_answers_class").click(function() { AddMoreAnswers(x) });
if (function() { AddMoreAnswers(x) })
{
$(".more_tr").stopPropagation();
}
}
function Ready()
{
$("#poll_table").hide();
$("#poll_id").click(ShowPollTable);
$(".more_answers_class").click(function() { AddMoreAnswers(2) });
}
function displaylimit(thename, theid, thelimit){
var theform=theid!=""? document.getElementById(theid) : thename;
var limit_text='<font class="smallfont">{$lang['number_of_characters_remaining']} <span style="font-weight:900;" id="'+theform.toString()+'">'+thelimit+'</span></font>';
if (document.all||ns6)
document.write(limit_text)
if (document.all){
eval(theform).onkeypress=function(){ return restrictinput(thelimit,event,theform)}
eval(theform).onkeyup=function(){ countlimit(thelimit,event,theform)}
}
else if (ns6){
document.body.addEventListener('keypress', function(event) { restrictinput(thelimit,event,theform) }, true);
document.body.addEventListener('keyup', function(event) { countlimit(thelimit,event,theform) }, true);
}
}
$(document).ready(Ready);
</script>
{template}address_bar_part1{/template}
<?php $PowerBB->_CONF['template']['SubjectInfo']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['SubjectInfo']['title']); ?>
<?php $PowerBB->_CONF['template']['SubjectpreviewInfo']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['SubjectpreviewInfo']['title']); ?>
<a href="index.php?page=forum&show=1&id={$SubjectInfo['section']}{$SubjectpreviewInfo['section']}
{$password} ">
{$section_info['title']} </a>
{$_CONF['info_row']['adress_bar_separate']}
<a href="index.php?page=topic&show=1&id={$SubjectInfo['id']}{$SubjectpreviewInfo['id']}
{$password}">
{$SubjectInfo['title']}
{$SubjectpreviewInfo['title']}
</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['edit_subject']}
{template}address_bar_part2{/template}
{template}preview{/template}
<form name="topic" method="post" action="{$edit_page}">
<input name="poll_answers_count" id="poll_answers_count_id" type="hidden" value="2">
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" colspan="2">
{$lang['text_Topic']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" align="right">
{if {$section_info['active_prefix_subject']}}
{$lang['prefix_subject']}
<?php
$excludedWords = array();
$doubleAr = $PowerBB->_CONF['template']['section_info']['prefix_subject'];
$doubleAr = str_replace($PowerBB->_CONF['template']['prefix_subject_prev'],'',$doubleAr);
$doubleAr = str_replace($PowerBB->_CONF['template']['SubjectInfo']['prefix_subject'],'',$doubleAr);
$prefix_subject = preg_split("#[\n]+#", $doubleAr, -1, PREG_SPLIT_NO_EMPTY);
$excludedWords = array_merge($excludedWords, $prefix_subject);
?>
<select name="prefix_subject" style="font-weight: bold">
<option value="">{$lang['no_prefix_subject']}</option>
{if {$prefix_subject_prev} !=''}
<option value="{$prefix_subject_prev}" selected='selected'>{$prefix_subject_prev}</option>
{/if}
{if {$SubjectInfo['prefix_subject']} !=''}
<option value="{$SubjectInfo['prefix_subject']}" selected='selected'>{$SubjectInfo['prefix_subject']}</option>
{/if}
<?php
for ($x = 0; $x < @count($excludedWords); $x++)
{
$excludedWords[$x] = @trim($excludedWords[$x]);
$excludedWords[$x] = "<option value=".$excludedWords[$x].">".$excludedWords[$x]."</option>";
echo $excludedWords[$x];
}
echo '</select>';
?>
{/if}
{$lang['subject_title']} :
<input name="title" id="title" type="text" value="{$SubjectInfo['title']}{$title_prev}" size="40"
onKeyDown="textCounter(this,'progressbar1',{$_CONF['info_row']['post_title_max']})"
onKeyUp="textCounter(this,'progressbar1',{$_CONF['info_row']['post_title_max']})"
onFocus="textCounter(this,'progressbar1',{$_CONF['info_row']['post_title_max']})" />
<script>
zextCounter(document.getElementById("title"),"progressbar1",{$_CONF['info_row']['post_title_max']})</script>
<script type='text/javascript'>
displaylimit("title","title",{$_CONF['info_row']['post_title_max']})
</script>
</td>
{if {$_CONF['info_row']['subject_describe_show']} == 1}
<td class="row1 rows_space" align="right">
{$lang['subject_describe']}:
<input name="describe" type="text" value="{$SubjectInfo['subject_describe']}{$describe_prev}" size="40" />
<font class="smallfont">{$lang['Optional']}</font>
</td>
{/if}
</tr>
<tr>
<td class="row1" colspan="2">
<div id="none">
<div align="center">
<table border="0" cellspacing="0" class="border" width="100%">
<tr>
<td class="editortoolbar" valign="top">
{template}editor_js{/template}
<!-- action_find_addons_3 -->
<textarea name="text" id="box_text" style="display:block;" class="editoriframe" tabindex="3">{$GetSubjectInfo}
{$prev}</textarea>
<script type="text/javascript">
<!--
comm._toggle();
var smiley_wysiwyg = true;
-->
</script>
</td>
<div style="border-style: solid; border-width: 0px; width:70px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; ">
<td class="editortoolbar" valign="top" width="50" align="center">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table align="center" border="0" cellspacing="1" cellpadding="4" cellspacing="0" >
<tr valign="bottom" align="center">
<td class="editortoolbar" align="center">
{template}smilebox{/template}</td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td class="editoricon" valign="top" colspan="2">
<fieldset>
<legend>{$lang['reason_edit']}</legend>
<input name="reason_edit" type="text" value="{$reason_edit}" size="50" />
</fieldset>
{template}iconbox{/template}
</td>
</tr>
</table></div>
</div>
</td>
</tr>
{if {$_CONF['info_row']['allowed_emailed']} == '1' AND {$_CONF['member_permission']}}
<tr>
<td class="row1" colspan="2">
<input name="emailed" id="emailed_id" type="checkbox" {if {$IsSubscribed}}checked="checked"{/if}/> <label for="emailed_id">{$lang['Enabled_to_be_notified_by_the_existence_of_new_replies']}</a>
</td>
</tr>
{/if}
{if {$write_poll}}
<tr>
<td class="row1" colspan="2">
<input name="poll" id="poll_id" type="checkbox" /> <label for="poll_id">{$lang['add_polls']}</a>
</td>
</tr>
{/if}
</table>
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td colspan="2" align="center" class="tcat">
{$lang['attachments']}
</td>
</tr>
<tr>
<td colspan="2" align="center" class="row1">
<INPUT name="attach" type="button" value="{$lang['manage_attachments']}"
onClick="window.open('index.php?page=attachments&edit_attach=1&subject_id={$subject_id}','mywindow','scrollbars=yes,width=500,height=600')">
</td>
</tr>
</table>
{if {$Admin}}
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" colspan="2">
{$lang['Management_options_subject']}
</td>
</tr>
<tr>
<td class="row2" colspan="2" align="right">
{if {$SubjectInfo['stick']}}
<input name="unstick" id="stick_id" type="checkbox" /> <label for="stick_id">
{$lang['unstick_Subject']}
</label>
{else}
<input name="stick" id="stick_id" type="checkbox" /> <label for="stick_id">
{$lang['Sticky_Topic']}
</label>
{/if}
<br />
{if {$SubjectInfo['close']}}
<input name="unclose" id="close_id" type="checkbox" /> <label for="close_id">
{$lang['open_Subject']}
</label>
{else}
<input name="close" id="close_id" type="checkbox" /> <label for="close_id">
{$lang['locked_Topic']}
</label>
{/if}
</td>
</tr>
</table>
{/if}
<br />
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr align="center">
<td class="row1 rows_space" >
<input class="button" name="insert" type="submit" value="{$lang['Count']}" onClick="comm._submit();" />
<input class="button" type="submit" value="{$lang['Preview']}" name="preview" onclick="comm._submit();" />
</td>
</tr>
</table>
<div id="poll_table">
{template}add_poll_table{/template}
</div>
</form>
<br />
]]></context_subject_edit>
<context_subject_merge_index><![CDATA[
<br />
{template}address_bar_part1{/template}
{$lang['Management_Subjects']}
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Merge_topics']}
{template}address_bar_part2{/template}
<br />
<form method="post" action="index.php?page=management&startmerge=1&subject_id={$subject}">
<table align="center" border="0" cellspacing="1" class="border" width="60%">
<tr align="center">
<td class="tcat" width="20%" colspan="2">
{$lang['Merge_topics']}
</td>
</tr>
<tr>
<td class="row1" width="20%" colspan="2">
{$lang['url_topic_Merge']}
<br />
<div class="smallfont">
{$lang['info_topic_Merge']}
</div>
</td>
</tr>
<tr>
<td class="row1" width="20%" colspan="2">
<input name="url" type="text" size="61" />
</td>
</tr>
<tr>
<td class="row1 rows_space" width="60%" colspan="2">
<div align="center">
<input type="submit" value="{$lang['Count']}" />
</div>
</td>
</tr>
</table>
</form>
<br />
<br />]]></context_subject_merge_index>
<context_subject_move_index><![CDATA[<br />
<?php $PowerBB->_CONF['template']['subject_title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['subject_title']); ?>
{if !{$_CONF['info_row']['ajax_moderator_options']}}
{template}address_bar_part1{/template}
{$lang['Management_Subjects']}
{$_CONF['info_row']['adress_bar_separate']}
{$lang['mov_Subject']}
{$subject_title}
{template}address_bar_part2{/template}
{/if}
<form method="post" action="index.php?page=management&move=1&section={$section}&subject_id={$subject}">
<br />
<table align="center" border="0" cellspacing="1" class="border" width="50%">
<tr align="center">
<td class="tcat" width="50%">
{$lang['mov_Subject_to1']}
{$subject_title}
{$lang['mov_Subject_to2']}
</td>
</tr>
<tr align="center">
<td class="row1" width="50%">
<input TYPE="hidden" name="id_section" value="{$section_id}" />
<select size="1" name="section" id="section_id">
{Des::foreach}{forums_list}{forum}
{if {$forum['parent']} == 0}
<option value="{$forum['id']}" disabled="disabled">- {$forum['title']}</option>
{else}
<option value="{$forum['id']}" selected="selected">-- {$forum['title']}</option>
{/if}
{if {$forum['parent']} != 0}
{if {$forum['linksection']} != '1'}
{if {$forum['is_sub']}}
{$forum['sub']}
{if {$forum['is_sub_sub']}}
{$forum['sub_sub']}
{/if}
{/if}
{/if}
{/if}
{/Des::foreach}
</select>
<input type="submit" value="{$lang['Count']}" />
</td>
</tr>
</table>
<form>
<br />
<br />]]></context_subject_move_index>
<context_subject_repeat_index><![CDATA[
<br />
{if {$_CONF['info_row']['ajax_moderator_options']}}
{else}
{template}address_bar_part1{/template}
{$lang['Management_Subjects']}
{$_CONF['info_row']['adress_bar_separate']}
{$lang['repeated_Subject']}
{template}address_bar_part2{/template}
{/if}
<br />
<form method="post" action="index.php?page=management&repeat=1&subject_id={$subject}">
<table align="center" border="0" cellspacing="1" class="border" width="60%">
<tr align="center">
<td class="tcat" width="20%" colspan="2">
{$lang['repeated_Subject']}
</td>
</tr>
<tr>
<td class="row1 rows_space" width="20%">
{$lang['url_Original_repeat']}
</td>
<td class="row1" width="20%">
<input name="url" type="text" size="50" />
</td>
</tr>
<tr>
<td class="row1 rows_space" width="60%" colspan="2">
<div align="center">
<input type="submit" value="{$lang['Count']}" />
</div>
</td>
</tr>
</table>
</form>
<br />
<br />]]></context_subject_repeat_index>
<context_subject_reputation><![CDATA[<script language="javascript">
<!--
function AjaxSubjectReputation()
{
var AjaxState = {ajaxSend : $("#reputation_status").html("<div class='info_bar'> <img border='0' src='{$image_path}/loading.gif'></div>")};
var data = {};
data['reputationcomment'] = $("#reputation_comment").val();
data['subject_title'] = $("#subject_title").val();
data['subject_id'] = $("#subject_id").val();
data['reputationusername'] = $("#reputation_username").val();
data['username'] = $("#username").val();
$.post("index.php?page=misc&subject_reputation=1&subject_id={$subject_id}",data,function Success(xml) { $("#reputation_status").html(xml); });
}
function Wait()
{
$("#reputation_status").html("{$lang['Ongoing_process']}");
}
function Ready()
{
$("#reputation_id").click(AjaxSubjectReputation);
}
$(document).ready(Ready);
-->
</script>
<!-- Code reputation Menu start -->
<div style="display:none;position: absolute; z-index: 1" id="{$subject_id}reputation">
<form name="topic" method="post" action="index.php?page=misc&subject_reputation=1&subject_id={$subject_id}">
<div class="tbar">
{$lang['reputation']}
</div>
<div class='menu_popup'>
{$lang['add_reputation_to']}
{$Info['username']}
</div>
<div class='menu_popup'>
{$lang['Comment']}
<input type="text" id="reputation_comment" name="reputationcomment" size="35"/>
<input TYPE="hidden" id="subject_title" name="subject_title" value="{$Info['title']}" size="40"/>
<input TYPE="hidden" id="subject_id" name="subject_id" value="{$subject_id}" size="40"/>
<input TYPE="hidden" id="reputation_username" name="reputationusername" value="{$_CONF['member_row']['username']}" size="40"/>
<input TYPE="hidden" id="username" name="username" value="{$Info['username']}" size="40"/>
</div>
<div class='menu_popup'>
<input type="button" name="reputationsubmit" id="reputation_id" value="{$lang['add_reputation']}" onclick="switchBlock('{$subject_id}reputation');"><div align="center" id="reputation_status"></div>
</div>
</form>
</div>
<!-- Code reputation Menu End -->
]]></context_subject_reputation>
<context_subject_top><![CDATA[{template}address_bar_part1{/template}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$section_info['id']}{$password}.html">
{else}
<a href="index.php?page=forum&show=1&id={$section_info['id']}{$password}">
{/if}
{$section_info['title']}
</a>
{$_CONF['info_row']['adress_bar_separate']}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$subject_id}.html">
{else}
<span dir="{$_CONF['info_row']['content_dir']}">
{$Info['prefix_subject']}
</span>
<a href="index.php?page=topic&show=1&id={$subject_id}">
{/if}
{$subject_title}</a>
{template}address_bar_part2{/template}
<br />
<table border="0" width="98%" style="border-collapse: collapse" align="center">
<tr>
<td align="right">
{if {$Info['close']}}
<ul class="pbbList_inline">
<li id="buttons_close" class="r-right">
{$lang['s_close']}
</li>
</ul>
{if !{$mod_toolbar}}
{template}add_reply_link{/template}
{template}add_subject_link{/template}
{/if}
{else}
{template}add_reply_link{/template}
{template}add_subject_link{/template}
{/if}
</td>
<td width="2%" align="right">
{if {$pager_reply}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('pager_top')"><img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none" id="pager_top" class="drop_menu">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup" onclick="pagerBlock('pager_top')">
<form name="misc" method="post" action="index.php?page=misc&pagenav=1">
<input type="hidden" name="subject_id" value="{$subject_id}">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager_reply}
</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<br />
<script type="text/javascript" src="includes/js/pbboard_topic.js"></script>
<script type="text/javascript">
var addquotebutton = "img-submit";
var removequotebutton = "img-quote-on";
</script>]]></context_subject_top>
<context_tags_edit_subject><![CDATA[<title>
{$lang['tags']}
{$lang['for_subject']}
{$SubjectTitle}
</title>
{template}address_bar_part1{/template}
<a href="index.php?page=forum&show=1&id={$Subjectinfo['section']}{$password}">
{$SectionInfo['title']}
</a> {$_CONF['info_row']['adress_bar_separate']}
{$lang['tags']}
{$lang['for_subject']}
<a href="index.php?page=topic&show=1&id={$Subjectinfo['id']}{$password}">
{$SubjectTitle}
</a>
{template}address_bar_part2{/template}
<script language="javascript">
function ShowTagsTable()
{
if ($("#tag_id").is(":checked"))
{
$("#tags_table").fadeIn();
}
else
{
$("#tags_table").fadeOut();
}
}
function AddMoreTags(x)
{
x += 1;
$(".more_tag_tr").hide();
$("#add_tags_table").append('<tr align="center"><td class="row1 rows_space">{$lang['tag']}' + x + '</td><td class="row1 rows_space"><input name="tags[]" type="text" id="tag' + x + '" size="40" /></td></tr>');
$("#add_tags_table").append('<tr align="center" class="more_tag_tr"><td class="row1 rows_space" colspan="2"><input type="button" name="more_tags" class="more_tags_class" value="{$lang['add_more_tag']}" /></td></tr>');
$("#tag" + x).focus();
$(".more_tags_class").click(function() { AddMoreTags(x) });
if (function() { AddMoreTags(x) })
{
$(".more_tag_tr").stopPropagation();
}
}
function Ready()
{
$("#tags_table").hide();
$("#tag_id").click(ShowTagsTable);
$(".more_tags_class").click(function() { AddMoreTags({$SubjectTagNm}) });
}
$(document).ready(Ready);
-->
</script>
<br />
<form method="post" action="index.php?page=tags&start=1">
<div align="center">
<table border="0" cellspacing="1" width="70%" class="border" align="center" id="add_tags_table">
<tr align="center">
<td class="tbar" colspan="2">
{$lang['tags']}
{$lang['for_subject']}
{$SubjectTitle}
</td>
</tr>
{Des::while}{TagSubjectList}
<tr align="center">
<td class="row1">
{$lang['tag']}{$TagSubjectList['tag_id']}
</td>
<td class="row1">
<input name="tags[]" type="text" value="{$TagSubjectList['tag']}" size="40" />
<input name="del_tag[]" type="checkbox" value="{$TagSubjectList['id']}" />
<input TYPE="hidden" name="id" value="{$TagSubjectList['id']}" />
<input TYPE="hidden" name="subject_id" id="subject_id" value="{$TagSubjectList['subject_id']}" />
<input TYPE="hidden" name="title" id="title_id" value="{$TagSubjectList['subject_title']}" />
<input TYPE="hidden" name="tag_id" id="tag_id_id" value="{$TagSubjectList['tag_id']}" />
<input TYPE="hidden" name="TagNm" value="{$SubjectTagNm}" />
</td>
</tr>
{/Des::while}
<tr align="center" class="more_tag_tr">
<td class="row1 rows_space" colspan="2">
<input type="button" name="more_tags" class="more_tags_class" value="{$lang['add_more_tag']}" />
</td>
</tr>
</table>
<br />
<input TYPE="hidden" name="subjectid" value="{$subjectid}" />
<input class="button" name="insert" type="submit" value="{$lang['tags_edit_and_add']}" />
<input class="button" name="remove" type="submit" value="{$lang['tags_remove']}" />
</div>
</form>
<br />
<br />
<br />
]]></context_tags_edit_subject>
<context_tags_show_subject><![CDATA[{template}address_bar_part1{/template}
{$lang['subjects_titles_use_sem_tags']}
<b>{$tag}</b>
{$lang['Atag']}
{template}address_bar_part2{/template}
<table border="0" cellspacing="1" class="border" width="60%" align="center">
<tr align="center">
<td width="60%" class="tcat" colspan="2">
{$lang['subjects_titles_use_sem_tags']}
<em><b>{$tag}</b></em>
{$lang['Atag']}
</td>
</tr>
{Des::while}{Subject}
<tr align="center">
<td width="60%" class="row1" colspan="2">
<?php $PowerBB->_CONF['template']['while']['Subject'][$this->x_loop]['subject_title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['Subject'][$this->x_loop]['subject_title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['Subject'][$this->x_loop]['subject_title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['Subject'][$this->x_loop]['subject_title']); ?>
<a href="{if {$_CONF['info_row']['rewriterule']} == '1'}
t{$Subject['subject_id']}{$password}.html">
{else}
index.php?page=topic&show=1&id={$Subject['subject_id']}">
{/if}
{$Subject['subject_title']}</a>
</td>
</tr>
{/Des::while}
<tr>
<td width="60%" class="thead" colspan="2">
{$pager}
</td>
</tr>
</table>
<br />
<br />
]]></context_tags_show_subject>
<context_teamlist_down><![CDATA[<div align="center">
<table border="0" class="row1" width="98%" cellpadding="1" style="border-collapse: collapse">
<tr>
<td class="row1" width="48%" align="center"><a href="index.php?page=profile&show=1&id={$id}">{$username}</a></td>
<td class="row1" width="30%" align="center">{$user_title}</td>
<td class="row1" width="10%" align="center">
<a href="index.php?page=send&member=1&index=1&id={$id}">
<img title="{$lang['send_a_message_to_the_mailing']}
{$username}" border="0" cellspacing="1" src="{$image_path}/send_mail.gif" /></a></td>
<td class="row1" width="10%" align="center">
<a href="index.php?page=pm_send&send=1&index=1&username={$username}">
<img title="{$lang['send_a_private_message_to']}
{$username}" border="0" cellspacing="1" src="{$image_path}/pm_send.gif" /></a></td>
</tr>
</table></div>
]]></context_teamlist_down>
<context_teamlist_top><![CDATA[{template}address_bar_part1{/template}
{$lang['Forum_Leaders']}
{template}address_bar_part2{/template}
<div align="center">
<table border="0" class="row2" width="98%" cellpadding="1" style="border-collapse: collapse">
<tr>
<td class="tbar" width="48%" align="center">{$lang['username']}</td>
<td class="tbar" width="30%" align="center">{$lang['name']}</td>
<td class="tbar" width="10%" align="center">{$lang['E-mail_Message']}</td>
<td class="tbar" width="10%" align="center">{$lang['Pm_Message']}</td>
</tr>
</table></div>]]></context_teamlist_top>
<context_today_reply><![CDATA[ {template}address_bar_part1{/template}
{$lang['latest_reply']}
{template}address_bar_part2{/template}
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="40%" class="tcat small_text" colspan="2">
{$lang['Subject']} / {$lang['sort_writer']}
</td>
<td width="15%" class="tcat small_text" align="center">
{$lang['write_date']}
</td>
<td width="4%" class="tcat small_text" align="center">
{$lang['reply_num']}
</td>
<td width="4%" class="tcat small_text" align="center">
{$lang['subject_visitor']}
</td>
<td width="15%" class="tcat small_text" align="center">
{$lang['forum']}
</td>
</tr>
{if {$reply_today_nm} == 0}
<tr>
<td width="97%" class="row1" align="center" colspan="6">
{$lang['no_replies_today']}
</td>
</tr>
{else}
{Des::while}{LastSubject}
<tr>
<td width="3%" class="row2" align="center">
<img src="{$LastSubject['icon']}" alt="" />
</td>
<td width="40%" class="row1">
<?php $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title']); ?>
<a href="index.php?page=topic&show=1&id={$LastSubject['subject_id']}{$password}{$LastSubject['id']}">
{$LastSubject['title']}
</a>
<br />
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['writer']);?>
</td>
<td width="15%" class="row1" align="center">
<a href="index.php?page=profile&show=1&username={$LastSubject['last_replier']}">
{if {$LastSubject['last_replier']}}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['last_replier']);?>
{else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['writer']);?>
{/if}<br />
<span class="smallfont">
{$LastSubject['reply_date']}
</span>
</td>
<td width="4%" class="row1" align="center">
{$LastSubject['reply_number']}
</td>
<td width="4%" class="row1" align="center">
{$LastSubject['visitor']}
</td>
<td width="15%" class="row1" align="center">
<?php
$section_id = $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['section'];
$GetForum = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['section'] . " WHERE id = '$section_id'");
$Forum = @mysql_fetch_array($GetForum);
$Forum_title = $Forum['title'];
$Forum_id = $Forum['id'];
?>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f<?php echo $Forum_id; ?>.html"><?php echo $Forum_title; ?></a>
{else}
<a href="index.php?page=forum&show=1&id=<?php echo $Forum_id; ?>"><?php echo $Forum_title; ?></a>
{/if}
</td>
</tr>
{/Des::while}
</table>
<table border="0" width="98%" border="0" style="border-collapse: collapse" align="center">
<tr>
<td align="center">
{$pagerLastSubject}
</td>
</tr>
{/if}
</table>
<br />
{template}jump_forums_list{/template}
<br />
<br />
<br />]]></context_today_reply>
<context_today_subject><![CDATA[{template}address_bar_part1{/template}
{$lang['subject_today']}
{template}address_bar_part2{/template}
<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="30%" class="tcat small_text" align="center" colspan="2">
{$lang['subject_title']}
</td>
<td width="20%" class="tcat small_text" align="center">
{$lang['subject_writer']}
</td>
<td width="4%" class="tcat small_text" align="center">
{$lang['reply_num']}
</td>
<td width="4%" class="tcat small_text" align="center">
{$lang['subject_visitor']}
</td>
<td width="15%" class="tcat small_text" align="center">
{$lang['write_date']}
</td>
<td width="25%" class="tcat small_text" align="center">
{$lang['forum']}
</td>
</tr>
{if {$subject_today_nm} == 0}
<tr>
<td width="97%" class="row1" align="center" colspan="7">
{$lang['no_subjects_today']}
</td>
</tr>
{else}
{Des::while}{subject_list}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$subject_list['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<?php $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']); ?>
<a href="index.php?page=topic&show=1&id={$subject_list['id']}{$password}">
{$subject_list['title']}
</a>
{if {$subject_list['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$subject_list['subject_describe']}</font>
</td>
<td width="20%" class="row1" align="center">
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer']);?>
<br />
<span class="smallfont">
{$subject_list['write_date']}
</span>
</td>
<td width="4%" class="row2" align="center">
{$subject_list['reply_number']}
</td>
<td width="4%" class="row1" align="center">
{$subject_list['visitor']}
</td>
<td width="15%" class="row2" align="center">
{if {$subject_list['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{if {$subject_list['last_replier']} == ''}
{$lang['Guest_']}
{else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['last_replier']);?>
{/if}
<br />
<span class="smallfont">
{$subject_list['reply_date']}
</span>
{/if}
</td>
<td width="25%" class="row1" align="center">
<?php
$section_id = $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['section'];
$GetForum = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['section'] . " WHERE id = '$section_id'");
$Forum = @mysql_fetch_array($GetForum);
$Forum_title = $Forum['title'];
$Forum_id = $Forum['id'];
?>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f<?php echo $Forum_id; ?>.html"><?php echo $Forum_title; ?></a>
{else}
<a href="index.php?page=forum&show=1&id=<?php echo $Forum_id; ?>"><?php echo $Forum_title; ?></a>
{/if}
</td>
</tr>
{/Des::while}
{/if}
</table>
<table border="0" width="95%" border="0" cellspacing="0" style="border-collapse: collapse">
<tr>
<td align="left">{$pager}</td>
</tr>
</table>
<br />
{template}jump_forums_list{/template}
<br />
<br />
<br />]]></context_today_subject>
<context_topic_end--fast_reply><![CDATA[<?php
$subject_id = $PowerBB->_CONF['template']['id'];
$SubjectInfReplyNum = $PowerBB->DB->sql_num_rows($PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['reply'] . " WHERE subject_id='$subject_id' "));
if ($SubjectInfReplyNum <= $PowerBB->_CONF['info_row']['perpage'])
{
$perpage = '0';
}
else
{
$ss_r = $PowerBB->_CONF['info_row']['perpage']/2;
$roun_ss_r = round($ss_r, 0);
$reply_number = $SubjectInfReplyNum-$roun_ss_r;
$pagenum = $reply_number/$PowerBB->_CONF['info_row']['perpage'];
$round0 = round($pagenum, 0);
$perpage = $round0*$PowerBB->_CONF['info_row']['perpage'];
}
?>
{if {$SectionGroup['write_reply']} == '1'}
{if {$_CONF['info_row']['fastreply_allow']} == 1}
{if {$_CONF['info_row']['ajax_freply']}}
<script type='text/javascript'>
//<![CDATA[
function AjaxReply()
{
var AjaxState = {ajaxSend : $("#status").html("<div class='info_bar'> <img border='0' src='{$image_path}/loading.gif'></div>")};
var data = {};
data['title'] = $("#title_id").val();
data['text'] = $("#box_text").val();
data['icon'] = $("#fp1").val();
data['count'] = $("#count_id").val();
data['ajax'] = 1;
$.post("index.php?page=new_reply&start=1&id={$id}{$password}&count=<?php echo $perpage; ?>",data,function Success(xml) { $("#status").html(xml); });
}
function Wait()
{
$("#status").html("{$lang['Ongoing_process']}");
}
function Ready()
{
$("#reply_id").click(AjaxReply);
}
$(document).ready(Ready);
//]]>
</script>
{/if}
<br />
<form name="topic" method="post" action="index.php?page=new_reply&start=1&id={$id}{$password}&count=<?php echo $perpage; ?>">
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat">
{$lang['fast_reply']}
</td>
</tr>
{if !{$_CONF['member_permission']}}
<tr align="center">
<td class="row1 rows_space" colspan="2">
{$lang['Image_Verification']}:
<font size="1">{$lang['Verification']}</font>
<br />
<input name="code" id="code_confirm" type="text" size="7"/>
<img id="turing" src="includes/captcha.php" width="87" height="17"/>
<a onclick="updateImg();">{$lang['Image_replacement']}</a>
<script type='text/javascript'>
//<![CDATA[
var clicks = 0;
function updateImg()
{
clicks++
var doc = document.getElementById("turing");
doc.src = "includes/captcha.php" + "?act=" + clicks;
}
//]]>
</script>
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
{$lang['Your_name']} <input name="guest_name" id="guest_name" type="text" size="35"/>
</td>
</tr>
{/if}
<tr align="right">
<td class="row1">
{if {$_CONF['info_row']['title_quote']} == 1}
<input TYPE="hidden" name="title" id="title_id" type="text" value="{$reply_title}" />
{else}
<input TYPE="hidden" name="title" id="title_id" type="text" value="" />
{/if}
</td>
</tr>
<tr align="right">
<td class="row1 rows_space">
<table border="0" cellspacing="1" width="65%" class="border" cellspacing="1" style="border-collapse: collapse" align="center">
<tr>
<td class="row1" valign="top" align="right">
{if {$_CONF['info_row']['toolbox_show']} == 1}
{if {$_CONF['info_row']['icons_show']} == 0}
{template}editor_simple{/template}
{else}
{template}fast_reply_js{/template}
{/if}
{/if}
<textarea name="text" id="box_text" style="display:block;" class="editoriframemini" tabindex="3"></textarea>
<script type="text/javascript">
//<![CDATA[
comm._toggle();
//]]>
</script>
{if {$_CONF['info_row']['ajax_freply']} == '0'}
{if {$_CONF['info_row']['allowed_emailed']} == '1' AND {$_CONF['member_permission']}}
<input name="emailed" type="checkbox" /> <label for="emailed_id">{$lang['Enabled_to_be_notified_by_the_existence_of_new_replies']}</a>
{/if}
{/if}
{if {$_CONF['info_row']['smiles_show']} == 1}
<fieldset>
<legend>{$lang['smiles']}</legend>
{Des::while}{SmileRows}
<img src="{$SmileRows['smile_path']}" OnClick="AddSmileyIcon('{$SmileRows['smile_path']}');" alt="{$SmileRows['smile_path']}" border="0" cellspacing="1" />
{/Des::while}
</fieldset>
{/if}
<input TYPE="hidden" type="radio" value="{$_CONF['info_row']['icon_path']}i1.gif" checked="checked" name="icon" id="fp1" />
<input TYPE="hidden" name="count" id="count_id" value="<?php echo $perpage; ?>" />
</td>
</tr>
</table>
</tr>
<tr align="right">
<td class="row1 rows_space" align="center" valign="top">
{if {$_CONF['info_row']['ajax_freply']}}
<input name="insert" class="button" type="button" id="reply_id" value="{$lang['Add_fast_reply']}" onclick="comm._submit();" />
<input class="button" type="submit" value="{$lang['Jump_to_advanced_editor']}" name="preview" onclick="comm._submit();" />
{else}
<input class="button" name="insert" type="submit" value="{$lang['Add_fast_reply']}" onClick="comm._submit();" />
<input class="button" type="submit" value="{$lang['Jump_to_advanced_editor']}" name="preview" onclick="comm._submit();" />
{/if}
</tr>
</table>
<br />
{if {$_CONF['info_row']['ajax_freply']} == '0'}
{if {$_CONF['info_row']['activate_closestick']} == 1}
{if {$Admin}}
<table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="tcat" colspan="2">
{$lang['Management_options_subject']}
</td>
</tr>
<tr>
<td class="row2" colspan="2">
{if {$Info_row['stick']}}
<input name="unstick" id="stick_id" type="checkbox" /> <label for="stick_id">
{$lang['unstick_Subject']}
</label>
{else}
<input name="stick" id="stick_id" type="checkbox" /> <label for="stick_id">
{$lang['Sticky_Topic']}
</label>
{/if}
<br />
{if {$close}}
<input name="unclose" id="close_id" type="checkbox" /> <label for="close_id">
{$lang['open_Subject']}
</label>
{else}
<input name="close" id="close_id" type="checkbox" /> <label for="close_id">
{$lang['locked_Topic']}
</label>
{/if}
</td>
</tr>
</table>
{/if}
{/if}
{/if}
<br />
</form>
{/if}
{/if}
<br />
]]></context_topic_end--fast_reply>
<context_topic_end--same_subject><![CDATA[<table border="0" cellspacing="1" class="border" width="98%" align="center">
<tr>
<td width="98%" class="tcat" align="center" colspan="5">
{$lang['Same_Subject']}
</td>
</tr>
<tr>
<td width="40%" class="thead" align="center">
{$lang['subject_title']}
</td>
<td width="10%" class="thead" align="center">
{$lang['subject_writer']}
</td>
<td width="6%" class="thead" align="center">
{$lang['reply_num']}
</td>
<td width="6%" class="thead" align="center">
{$lang['subject_visitor']}
</td>
<td width="10%" class="thead" align="center">
{$lang['write_date']}
</td>
</tr>
{Des::while}{SameSubject}
<tr>
<td width="40%" class="row2" align="center">
<?php $PowerBB->_CONF['template']['while']['SameSubject'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['SameSubject'][$this->x_loop]['title']); ?>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$SameSubject['id']}.html">
{else}
<a href="index.php?page=topic&show=1&id={$SameSubject['id']}">
{/if}
{$SameSubject['title']}</a></td>
<td width="10%" class="row2" align="center">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="{$SameSubject['writer']}.html">
{else}
<a href="index.php?page=profile&show=1&username={$SameSubject['writer']}">
{/if}
{$SameSubject['writer']}</a><br />
</td>
<td width="6%" class="row2" align="center">
{$SameSubject['reply_number']}</td>
<td width="6%" class="row2" align="center">
{$SameSubject['visitor']}</td>
<td width="10%" class="row2" align="center">
{if {$SameSubject['reply_number']} > '1'}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="{$SameSubject['last_replier']}.html">
{else}
<a href="index.php?page=profile&show=1&username={$SameSubject['last_replier']}">
{/if}
{$SameSubject['last_replier']}</a>
{else}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="{$SameSubject['writer']}.html">
{else}
<a href="index.php?page=profile&show=1&username={$SameSubject['writer']}">
{/if}
{$SameSubject['writer']}</a>
{/if}
</td>
</tr>
{/Des::while}
</table>
]]></context_topic_end--same_subject>
<context_topic_end><![CDATA[<div align="center" id="status"></div>
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
{if !{$mod_toolbar}}
<tr>
<td align="right">
</td>
<td width="60%" align="right">
{if {$Info['reply_id']}}
<div class="l-left">
<div class="smallfont" style="text-align: right; white-space: nowrap; float: left;">
<strong>{$lang['Options_mod']}:</strong><br>
<select name="do" class="dropdown">
<option value="moveposts">{$lang['moveposts']}</option>
<option value="deleteposts">{$lang['del_posts']}</option>
<option value="approveposts">{$lang['approveposts']}</option>
<option value="unapproveposts">{$lang['unapproveposts']}</option>
</select>
<input type="submit" value=" {$lang['Count']} " />
</div>
</form>
</div>
{/if}
</td>
</tr>
{/if}
<tr>
<td align="right">
{if {$close}}
<ul class="pbbList_inline">
<li id="buttons_close" class="r-right">
{$lang['s_close']}
</li>
</ul>
{if !{$mod_toolbar}}
{template}add_reply_link{/template}
{template}add_subject_link{/template}
{/if}
{else}
{template}add_reply_link{/template}
{template}add_subject_link{/template}
{/if}</td>
<td width="2%" align="right">
{if {$pager_reply}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
<tr align="center">
<td width="2%" class="pager">
<a href="javascript:switchMenuNone('[pager_duwn_topic]')">
<img border="0" src="{$image_path}/menu_open.gif"
title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="[pager_duwn_topic]">
<table width="120" border="0" cellspacing="1" class="border">
<tr align="center">
<td class="tbar">
{$lang['Go_to_the_page']}
</td>
</tr>
<tr align="center">
<td class="menu_popup">
<form name="misc" method="post" action="index.php?page=misc&pagenav=1">
<input type="hidden" name="subject_id" value="{$subject_id}">
<input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
<input class="button" type="submit" value="{$lang['Go']}" name="page_button">
</form>
</td>
</tr>
</table>
</div>
</td>
<td align="left">{$pager_reply}</td>
</tr>
</table>
{/if}</td>
</tr>
</table>
{if {$close}}
{if !{$mod_toolbar}}
{template}topic_end--fast_reply{/template}
{/if}
{else}
{template}topic_end--fast_reply{/template}
{/if}
{if {$_CONF['info_row']['samesubject_show']}}
{if !{$NO_SAME}}
{template}topic_end--same_subject{/template}
{/if}
{/if}
<br />
{if {$see_who_on_topic}}
{template}show_onlain_topic{/template}
<br />
{/if}
{if {$_CONF['member_row']['username']} == {$Info['username']} or !{$mod_toolbar}}
{template}show_tags_topic{/template}
{/if}
<br />
<div class="smallfont" align="center">
«
{if {$getpersubject_row} > 0}
<a title="{$getper_title_subject_row}" href="index.php?page=topic&show=1&id={$getpersubject_row}">
{$getper_title_subject_row}</a>
{else}
{$lang['Not_Available']}
{/if}
|
{if {$getnextsubject_row} > 0}
<a title="{$getnext_title_subject_row}" href="index.php?page=topic&show=1&id={$getnextsubject_row}">
{$getnext_title_subject_row}</a>
{else}
{$lang['Not_Available']}
{/if}
»
</div>
<br />
<table width="98%" border="0" cellspacing="1" class="border" align="center">
<tr align="center">
<td class="row1">
{if !{$mod_toolbar}}
{if {$Multi_Moderation}}
<div style="float: right;">
<form action="index.php?page=management&multimod=1&subject_id={$subject_id}" method="post">
<select name="mod_id" class="dropdown">
<option value="-1">{$lang['Multi_Moderation']}</option>
{Des::while}{TopicModsList}
<option value="{$TopicModsList['id']}">{$TopicModsList['title']}</option>
{/Des::while}
</select>
<input type="submit" value=" {$lang['Count']} " />
</form>
</div>
{/if}
{/if}
{template}jump_forums_list{/template}
</td>
</tr>
</table>
<br />
<br />
<br />]]></context_topic_end>
<context_usercptools><![CDATA[ <!-- Code usercptools Menu start -->
<div style="display:none;" class="drop_menu" id="usercptools">
<div class="tcat">{$lang['quick_options']}</div>
{if {$_CONF['info_row']['active_subject_today']} == '1'}
<div class='menu_popup'><a href="index.php?page=latest&today=1">
{$lang['subject_today']}</a></div>
{/if}
{if {$_CONF['info_row']['active_send_admin_message']} == '1'}
<div class='menu_popup'><a href="index.php?page=send&sendmessage=1">
{$lang['send_message']}</a></div>
{/if}
{if {$_CONF['info_row']['active_reply_today']} == '1'}
<div class='menu_popup'><a href="index.php?page=latest_reply&today=1">
{$lang['latest_reply']}</a></div>
{/if}
<div class="tcat">{$lang['User_Control_Panel']}</div>
<div class='menu_popup'><a href="index.php?page=usercp&control=1&sign=1&main=1">
{$lang['Change_Signature']}</a></div>
<div class='menu_popup'><a href="index.php?page=usercp&control=1&avatar=1&main=1">
{$lang['Change_avatar']}</a></div>
<div class='menu_popup'><a href="index.php?page=usercp&control=1&info=1&main=1">
{$lang['Your_Personal_Information']}</a></div>
<div class='menu_popup'><a href="index.php?page=usercp&options=1&subject=1&main=1">
{$lang['Your_Subjects']}</a></div>
<div class="tcat">{$lang['Other_options']}</div>
{if {$_CONF['info_row']['pm_feature']}}
{if {$_CONF['rows']['group_info']['use_pm']} == 1}
<div class='menu_popup'><a href="index.php?page=pm_list&list=1&folder=inbox">
{$lang['Private_Messages']}</a></div>
{/if}
{/if}
<div class='menu_popup'><a href="index.php?page=profile&show=1&username={$_CONF['member_row']['username']}">
{$lang['Your_profile']}</a></div>
{if {$_CONF['group_info']['onlinepage_allow']} == '1'}
<div class='menu_popup'><a href="index.php?page=online&show=1">
{$lang['Whos_Online']}</a></div>
{/if}
</div>
<!-- Code usercptools Menu End -->]]></context_usercptools>
<context_usercp_birth_date><![CDATA[
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>{$lang['month']}</td>
<td>{$lang['Day']}</td>
<td>{$lang['year']}</td>
</tr>
<tr>
<td><select name="month" id="bd_month">
{if {$_CONF['rows']['member_row']['bday_month']} == '01' }
<option value="01" selected="selected">{$lang['January']}</option>
{else}
<option value="01">{$lang['January']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '02' }
<option value="02" selected="selected">{$lang['February']}</option>
{else}
<option value="02">{$lang['February']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '03' }
<option value="03" selected="selected">{$lang['March']}</option>
{else}
<option value="03">{$lang['March']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '04' }
<option value="04" selected="selected">{$lang['April']}</option>
{else}
<option value="04">{$lang['April']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '05' }
<option value="05" selected="selected">{$lang['May']}</option>
{else}
<option value="05">{$lang['May']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '06' }
<option value="06" selected="selected">{$lang['June']}</option>
{else}
<option value="06">{$lang['June']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '07' }
<option value="07" selected="selected">{$lang['July']}</option>
{else}
<option value="07">{$lang['July']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '08' }
<option value="08" selected="selected">{$lang['August']}</option>
{else}
<option value="08">{$lang['August']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '09' }
<option value="09" selected="selected">{$lang['September']}</option>
{else}
<option value="09">{$lang['September']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '10' }
<option value="10" selected="selected">{$lang['October']}</option>
{else}
<option value="10">{$lang['October']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '11' }
<option value="11" selected="selected">{$lang['November']}</option>
{else}
<option value="11">{$lang['November']}</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_month']} == '12' }
<option value="12" selected="selected">{$lang['December']}</option>
{else}
<option value="12">{$lang['December']}</option>
{/if}
</select> </td>
<td><select name="day" id="bd_day">
{if {$_CONF['rows']['member_row']['bday_day']} == '01' }
<option value="01" selected="selected">1</option>
{else}
<option value="01">1</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '02' }
<option value="02" selected="selected">2</option>
{else}
<option value="02">2</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '03' }
<option value="03" selected="selected">3</option>
{else}
<option value="03">3</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '04' }
<option value="04" selected="selected">4</option>
{else}
<option value="04">4</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '05' }
<option value="05" selected="selected">5</option>
{else}
<option value="05">5</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '06' }
<option value="06" selected="selected">6</option>
{else}
<option value="06">6</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '07' }
<option value="07" selected="selected">7</option>
{else}
<option value="07">7</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '08' }
<option value="08" selected="selected">8</option>
{else}
<option value="08">8</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '09' }
<option value="09" selected="selected">9</option>
{else}
<option value="09">9</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '10' }
<option value="10" selected="selected">10</option>
{else}
<option value="10">10</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '11' }
<option value="11" selected="selected">11</option>
{else}
<option value="11">11</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '12' }
<option value="12" selected="selected">12</option>
{else}
<option value="12">12</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '13' }
<option value="13" selected="selected">13</option>
{else}
<option value="13">13</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '14' }
<option value="14" selected="selected">14</option>
{else}
<option value="14">14</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '15' }
<option value="15" selected="selected">15</option>
{else}
<option value="15">15</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '16' }
<option value="16" selected="selected">16</option>
{else}
<option value="16">16</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '17' }
<option value="17" selected="selected">17</option>
{else}
<option value="17">17</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '18' }
<option value="18" selected="selected">18</option>
{else}
<option value="18">18</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '19' }
<option value="19" selected="selected">19</option>
{else}
<option value="19">19</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '20' }
<option value="20" selected="selected">20</option>
{else}
<option value="20">20</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '21' }
<option value="21" selected="selected">21</option>
{else}
<option value="21">21</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '22' }
<option value="22" selected="selected">22</option>
{else}
<option value="22">22</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '23' }
<option value="23" selected="selected">23</option>
{else}
<option value="23">23</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '24' }
<option value="24" selected="selected">24</option>
{else}
<option value="24">24</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '25' }
<option value="25" selected="selected">25</option>
{else}
<option value="25">25</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '26' }
<option value="26" selected="selected">26</option>
{else}
<option value="26">26</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '27' }
<option value="27" selected="selected">27</option>
{else}
<option value="27">27</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '28' }
<option value="28" selected="selected">28</option>
{else}
<option value="28">28</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '29' }
<option value="29" selected="selected">29</option>
{else}
<option value="29">29</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '30' }
<option value="30" selected="selected">30</option>
{else}
<option value="30">30</option>
{/if}
{if {$_CONF['rows']['member_row']['bday_day']} == '31' }
<option value="31" selected="selected">31</option>
{else}
<option value="31">31</option>
{/if}
</select> </td>
<td>
<input name="year" id="bd_year" type="text" size="3" value="{$_CONF['rows']['member_row']['bday_year']}" dir="ltr"/>
</td>
</tr>
</table>]]></context_usercp_birth_date>
<context_usercp_control_avatar><![CDATA[<title> {$lang['personal_photo']}
- {$_CONF['info_row']['title']}</title>
<script type="text/javascript">
<!--
function ShowAvatarList()
{
$("#from_another_site").hide(0);
$("#from_pc").hide(0);
$("#avatar_list").fadeIn();
}
function ShowSiteBox()
{
$("#avatar_list").hide(0);
$("#from_pc").hide(0);
$("#from_another_site").fadeIn();
}
function ShowUploadBox()
{
$("#from_another_site").hide(0);
$("#avatar_list").hide(0);
$("#from_pc").fadeIn();
}
function HideAll()
{
$("#from_pc").fadeOut();
$("#from_another_site").fadeOut();
$("#avatar_list").fadeOut();
}
function Ready()
{
$("#option1").click(ShowAvatarList);
$("#option2").click(ShowSiteBox);
$("#option3").click(ShowUploadBox);
$("#option4").click(HideAll);
}
$(document).ready(Ready);
-->
</script>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['personal_photo']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
{if {$_CONF['rows']['member_row']['avater_path']} != ''}
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr align="center">
<td width="80%" class="thead">
{$lang['Your_picture']}
</td>
</tr>
<tr align="center">
<td width="80%" class="row1">
<img border="0" cellspacing="1" alt="{$lang['Your_picture']}"
src="{$_CONF['rows']['member_row']['avater_path']}" />
</td>
</tr>
</table>
</div>
<br />
{/if}
<form enctype="multipart/form-data" name="avatar" method="post" action="index.php?page=usercp&control=1&avatar=1&start=1">
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr align="center">
<td width="80%" class="tcat">
{$lang['Options']}
</td>
</tr>
<tr>
<td width="80%" class="row1">
<input name="options" type="radio" value="list" id="option1" />
<label for="option1">
{$lang['photo_from_menu']}
</label>
</td>
</tr>
<tr>
<td width="80%" class="row1">
<input name="options" type="radio" value="site" id="option2">
<label for="option2">
{$lang['photo_to_external_site']}
</label>
</td>
</tr>
{if {$_CONF['info_row']['upload_avatar']}}
<tr>
<td width="80%" class="row1">
<input name="options" type="radio" value="upload" id="option3" />
<label for="option3">
{$lang['photo_from_your_computer']}
</label>
</td>
</tr>
{/if}
<tr>
<td width="80%" class="row1">
<input name="options" type="radio" value="no" id="option4"/>
<label for="option4">
{$lang['no_photo']}
</label>
</td>
</tr>
</table>
</div>
<br />
{if {$count} != ''}
<div style="margin-top: 1ex; margin-bottom: 2ex;">
{template}avatar_options_list{/template}
</div>
{else}
<div id="avatar_list" style="display: none; margin-top: 1ex; margin-bottom: 2ex;">
{template}avatar_options_list{/template}
</div>
{/if}
<div id="from_another_site" style="display: none; margin-top: 1ex; margin-bottom: 2ex;">
{template}avatar_options_site{/template}
</div>
<div id="from_pc" style="display: none; margin-top: 1ex; margin-bottom: 2ex;">
{template}avatar_options_upload{/template}
</div>
<div align="center">
<input type="submit" name="change_avatar" value="{$lang['change_avatar']}" />
</div>
</form>
</td>
</tr>
</table>
<br />]]></context_usercp_control_avatar>
<context_usercp_control_email><![CDATA[<title> {$lang['Change_email']}
- {$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Change_email']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse ;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<form method="post" action="index.php?page=usercp&control=1&email=1&start=1">
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr align="center">
<td width="80%" class="tcat" colspan="2">
{$lang['Change_email']}
</td>
</tr>
<tr align="center">
<td width="30%" class="row1">
{$lang['New_email']}
</td>
<td width="30%" class="row1">
<input type="text" name="new_email" size="40" />
</td>
</tr>
<tr align="center">
<td width="60%" class="row1" colspan="2">
<input type="submit" value="{$lang['Count']}" /></td>
</tr>
</table>
</div>
<br />
</form>
</td>
</tr>
</table>
<br />]]></context_usercp_control_email>
<context_usercp_control_info><![CDATA[<script type='text/javascript'>
function displaylimit(thename, theid, thelimit){
var theform=theid!=""? document.getElementById(theid) : thename;
var limit_text='<font class="smallfont">{$lang['number_of_characters_remaining']} <span style="font-weight:900;" id="'+theform.toString()+'">'+thelimit+'</span></font>';
if (document.all||ns6)
document.write(limit_text)
if (document.all){
eval(theform).onkeypress=function(){ return restrictinput(thelimit,event,theform)}
eval(theform).onkeyup=function(){ countlimit(thelimit,event,theform)}
}
else if (ns6){
document.body.addEventListener('keypress', function(event) { restrictinput(thelimit,event,theform) }, true);
document.body.addEventListener('keyup', function(event) { countlimit(thelimit,event,theform) }, true);
}
}
</script>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Your_Personal_Information']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<form name="info" method="post" action="index.php?page=usercp&control=1&info=1&start=1">
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr>
<td class="tcat" width="80%" colspan="2" align="center">
{$lang['Your_Personal_Information']}
</td>
</tr>
{if {$_CONF['info_row']['active_birth_date']} == 1 }
<tr>
<td class="row1">
{$lang['Birth_date']}
</td>
<td class="row1">
{if {$_CONF['rows']['member_row']['bday_year']} == '' }
{template}birth_date{/template}
{else}
{template}usercp_birth_date{/template}
{/if}
</td>
</tr>
{/if}
<tr>
<td class="row1">
{$lang['user_country']}
</td>
<td class="row1" width="60%">
<input name="country" type="text" value="{$_CONF['rows']['member_row']['user_country']}" />
</td>
</tr>
<tr>
<td class="row1">
{$lang['user_gender']}
</td>
<td class="row1" width="60%">
<select name="gender" id="select_gender">
{if {$_CONF['rows']['member_row']['user_gender']} == m}
<option value="m" selected="selected">{$lang['gender_m']}</option>
<option value="f">{$lang['gender_f']}</option>
{else}
<option value="m">{$lang['gender_m']}</option>
<option value="f" selected="selected">{$lang['gender_f']}</option>
{/if}
</select>
</td>
</tr>
<tr>
<td class="row1">
{$lang['user_website']}
</td>
<td class="row1" width="60%">
{if {$_CONF['rows']['member_row']['user_website']} != ''}
<input name="website" type="text" value="{$_CONF['rows']['member_row']['user_website']}" size="40" dir="ltr" />
{else}
<input name="website" type="text" value="http://" size="40" dir="ltr" />
{/if}
</td>
</tr>
<tr>
<td class="row1">
{$lang['Information_about_you']}
</td>
<td class="row1" width="60%">
<textarea name="info" rows="1" id="info" cols="46" onKeyDown="textCounter(this,'progressbar1',255)" onKeyUp="textCounter(this,'progressbar1',255)" onFocus="textCounter(this,'progressbar1',255)">{$_CONF['rows']['member_row']['user_info']}</textarea>
<br />
<script>
zextCounter(document.getElementById("info"),"progressbar1",255)</script>
<script type='text/javascript'>
displaylimit("info","info",255)
</script>
</td>
</tr>
</table>
</div>
<br />
{if !{$No_extrafields}}
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr>
<td class="tcat" width="80%" colspan="2" align="center">
{$lang['Additional_information']}
</td>
</tr>
{Des::while}{extrafields}
<tr>
<td class="row1">
{$extrafields['name']}
</td>
<td width="60%" class="row1">
{$extrafields['type_html']}
{if {$extrafields['required']} == 'yes'}
{$lang['required']}
{/if}
</td>
</tr>
{/Des::while}
</table>
</div>
<br />
{/if}
{if {$_CONF['info_row']['allow_apsent']}}
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr>
<td class="tcat" width="80%" colspan="3" align="center">
{$lang['Absence_Settings']}
</td>
</tr>
<tr>
<td class="row1">
{$lang['Do_you_want_to_absence']}
</td>
<td class="row1" width="60%" colspan="2">
<select name="away" size="1">
{if {$_CONF['rows']['member_row']['away']} == 0}
<option value="1">{$lang['Yes']}</option>
<option selected="selected" value="0">{$lang['No']}</option>
{else}
<option selected="selected" value="1">{$lang['Yes']}</option>
<option value="0">{$lang['No']}</option>
{/if}
</select>
</td>
</tr>
<tr>
<td class="row1">
{$lang['Reason_for_absence']}
</td>
<td class="row1" width="80%" colspan="2">
<textarea name="away_msg" rows="1" id="away_msg" cols="46">{$_CONF['rows']['member_row']['away_msg']}</textarea>
<br />
<font class="smallfont">{$lang['varchar']}</font>
</td>
</tr>
<tr>
<td class="row1" width="80%" colspan="3">
{$lang['you_naw']}
{if {$_CONF['rows']['member_row']['away']} == 0}
<strong>{$lang['No_Absent']}</strong>
{else}
<strong>{$lang['Absent']}</strong>
{/if}
</td>
</tr>
<tr>
<td class="row1" width="80%" colspan="3">
{$lang['absence_Note']}
</td>
</tr>
</table>
</div>
{/if}
<br />
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr>
<td class="row1" width="80%" align="center">
<input name="send" type="submit" value="{$lang['Adopted_entries']}" />
</td>
</tr>
</table>
</div>
</form>
</td>
</tr>
</table>
<br />]]></context_usercp_control_info>
<context_usercp_control_password><![CDATA[<title> {$lang['Change_password']}
- {$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Change_password']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<form method="post" action="index.php?page=usercp&control=1&password=1&start=1">
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr align="center">
<td width="80%" class="tcat" colspan="2">
{$lang['Change_password']}
</td>
</tr>
<tr align="center">
<td width="30%" class="row1">
{$lang['New_password']}
</td>
<td width="30%" class="row1">
<input type="password" name="new_password" size="25" />
</td>
</tr>
<tr align="center">
<td width="60%" class="row1" colspan="2">
<input type="submit" value="{$lang['Count']}" /></td>
</tr>
</table>
</div>
<br />
</form>
</td>
</tr>
</table>
<br />]]></context_usercp_control_password>
<context_usercp_control_setting><![CDATA[<title> {$lang['Your_Options']} -
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Your_Options']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<form name="info" method="post" action="index.php?page=usercp&control=1&setting=1&start=1">
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border" >
<tr>
<td class="tcat" colspan="2">
{$lang['Your_Options']}
</td>
</tr>
<tr>
<td class="row1" width="30%">
{$lang['Style']}
</td>
<td class="row1" width="30%">
<select name="style">
{Des::while}{StyleList}
<option value="{$StyleList['id']}" {if {$StyleList['id']} == {$_CONF['rows']['style']['id']}}selected="selected" style="background : #EEEEEE"{/if}>{$StyleList['style_title']}</option>
{/Des::while}
</select>
</td>
</tr>
<tr>
<td class="row1" width="30%">
{$lang['Lang']}
</td>
<td class="row1" width="30%">
<select name="lang">
{Des::while}{LangList}
<option value="{$LangList['id']}" {if {$LangList['id']} == {$member_lang}}selected="selected" style="background : #EEEEEE"{/if}>{$LangList['lang_title']}</option>
{/Des::while}
</select>
</td>
</tr>
<tr>
<td class="row1" width="30%">
{$lang['Invisible_browsing']}
</td>
<td class="row1" width="30%">
{if {$_CONF['group_info']['hide_allow']} == 1}
<select name="hide_online" size="1">
{if {$_CONF['rows']['member_row']['hide_online']} == 0}
<option value="1">{$lang['Yes']}</option>
<option selected="selected" value="0">{$lang['No']}</option>
{else}
<option selected="selected" value="1">{$lang['Yes']}</option>
<option value="0">{$lang['No']}</option>
{/if}
</select>
{else}
{$lang['Not_available']}
{/if}
</td>
</tr>
<tr>
<td class="row1" width="30%">
{$lang['Time']}
</td>
<td class="row1" width="30%">
<select size="1" name="user_time" dir="ltr">
<option selected="selected" value="{$member['user_time']}">{$member['user_time']}</option>
<option value="0">0</option>
<option value="+1">+1</option>
<option value="+2">+2</option>
<option value="+3">+3</option>
<option value="+4">+4</option>
<option value="+5">+5</option>
<option value="+6">+6</option>
<option value="+7">+7</option>
<option value="+8">+8</option>
<option value="+9">+9</option>
<option value="+10">+10</option>
<option value="+11">+11</option>
<option value="+12">+12</option>
<option value="+13">+13</option>
<option value="-1">-1</option>
<option value="-2">-2</option>
<option value="-3">-3</option>
<option value="-4">-4</option>
<option value="-5">-5</option>
<option value="-6">-6</option>
<option value="-7">-7</option>
<option value="-8">-8</option>
<option value="-9">-9</option>
<option value="-10">-10</option>
<option value="-11">-11</option>
<option value="-12">-12</option>
</select>GMT
</td>
</tr>
<tr>
<td class="row1" width="30%">
{$lang['Allow_members_contact_you_by_mail']}
</td>
<td class="row1" width="30%">
<select name="send_allow" size="1">
{if {$_CONF['rows']['member_row']['send_allow']} == 0}
<option value="1">{$lang['Yes']}</option>
<option selected="selected" value="0">{$lang['No']}</option>
{else}
<option selected="selected" value="1">{$lang['Yes']}</option>
<option value="0">{$lang['No']}</option>
{/if}
</select>
</td>
</tr>
<tr>
<td class="row1" width="30%">
{$lang['Receive_e-mail_notification_of_the_existence_of_a_new_private_message']}
</td>
<td class="row1" width="30%">
<select name="pm_emailed" size="1">
{if {$_CONF['rows']['member_row']['pm_emailed']} == 0}
<option value="1">{$lang['Yes']}</option>
<option selected="selected" value="0">{$lang['No']}</option>
{else}
<option selected="selected" value="1">{$lang['Yes']}</option>
<option value="0">{$lang['No']}</option>
{/if}
</select>
</td>
</tr>
<tr>
<td class="row1" width="30%">
{$lang['Display_pm_window']}
</td>
<td class="row1" width="30%">
<select name="pm_window" size="1">
{if {$_CONF['rows']['member_row']['pm_window']} == 0}
<option value="1">{$lang['Yes']}</option>
<option selected="selected" value="0">{$lang['No']}</option>
{else}
<option selected="selected" value="1">{$lang['Yes']}</option>
<option value="0">{$lang['No']}</option>
{/if}
</select>
</td>
</tr>
<tr>
<td class="row1" width="30%">
{$lang['Do_you_want_to_share_with_other_messages_in_your_profile_visitors']}
</td>
<td class="row1" width="30%">
<select name="visitormessage" size="1">
{if {$_CONF['rows']['member_row']['visitormessage']} == 0}
<option value="1">{$lang['Yes']}</option>
<option selected="selected" value="0">{$lang['No']}</option>
{else}
<option selected="selected" value="1">{$lang['Yes']}</option>
<option value="0">{$lang['No']}</option>
{/if}
</select>
</td>
</tr>
<tr>
<td class="row1" colspan="2" align="center">
<input name="send" type="submit" value="{$lang['Count']}" /></td>
</tr>
</table>
</div>
<br />
</form>
</td>
</tr>
</table>
<br />]]></context_usercp_control_setting>
<context_usercp_control_sign><![CDATA[<title> {$lang['Your_signature']} -
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Your_signature']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
{if !empty({$Sign})}
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border">
<tr>
<td class="tcat" width="70%">
{$lang['current_signature']}
</td>
</tr>
<tr>
<td class="row1" width="70%">
<?php echo $PowerBB->_CONF['template']['Sign'] = wordwrap($PowerBB->_CONF['template']['Sign'], '70', "\n", true); ?>
</td>
</tr>
</table>
</div>
<br />
{/if}
<form method="post" name="topic" action="index.php?page=usercp&control=1&sign=1&start=1">
<div align="center">
<table border="0" cellspacing="1" width="100%" class="border">
<tr>
<td class="tcat" colspan="7">
{$lang['Edit_Signature']}
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" colspan="2">
<div align="center" id="none">
<table border="0" cellspacing="1" width="100%" class="border" cellspacing="1" style="border-collapse: collapse">
<tr>
<td class="row1" valign="top" align="right">
{template}editor_js{/template}
<textarea name="text" id="box_text" style="display:block;" class="editoriframe" tabindex="3" >{$_CONF['rows']['member_row']['user_sig']}</textarea>
<script type="text/javascript">
<!--
comm._toggle();
var smiley_wysiwyg = true;
-->
</script>
</td>
<div style="border-style: solid; border-width: 0px; width:70px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; ">
<td class="editortoolbar" valign="top" width="70px" align="center">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table align="center" border="0" cellspacing="1" cellpadding="4" cellspacing="0" >
<tr valign="bottom" align="center">
<td class="editortoolbar" align="center">
{template}smilebox{/template}</td>
</tr>
</table>
</div></td>
</tr>
</table></div>
</td>
<tr align="center">
<td class="row1 rows_space" >
<input class="button" name="insert" type="submit" value="{$lang['Count']}" onClick="comm._submit();" />
</td>
</tr>
</table>
</div>
</form>
</td>
</tr>
</table>
<br />]]></context_usercp_control_sign>
<context_usercp_index><![CDATA[ {template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['home']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<div align="center">
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr align="center">
<td class="tcat" colspan="5">
{$lang['show_reputation_number']}
</td>
</tr>
<tr align="center">
<td class="thead" width="2%">
</td>
<td class="thead" width="30%">
{$lang['subject_title']}
</td>
<td class="thead" width="20%">
{$lang['date']}
</td>
<td class="thead" width="30%">
{$lang['Comments']}
</td>
<td class="thead" width="10%">
{$lang['By_']}
</td>
</tr>
{if !{$No_Reputation}}
{Des::while}{MemberReputation}
<tr align="center">
<td class="row2" width="2%">
<img src='{$image_path}/reputation_pos.gif'>
</td>
<td class="row2" width="30%">
<a href="index.php?page=topic&show=1&id={$MemberReputation['subject_id']}&count={$MemberReputation['peg_count']}#{$MemberReputation['reply_id']}">
{$MemberReputation['subject_title']}
</a>
</td>
<td class="row2" width="20%">
<font class="smallfont">
{$MemberReputation['reputationdate']}
</font>
</td>
<td class="row2" width="30%">
{$MemberReputation['comments']}
</td>
<td class="row2" width="10%">
<a href="index.php?page=profile&show=1&username={$MemberReputation['by_username']}">{$MemberReputation['by_username']}</a>
</td>
</tr>
{/Des::while}
{else}
<tr align="center">
<td class="row1" colspan="5">
{$lang['noReputation']}
</td>
</tr>
{/if}
</table>
</div>
<br />
<div align="center">
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr align="center">
<td class="tcat" colspan="7">
{$lang['Last_subject_that_you_type']}
</td>
</tr>
</table>
</div>
<div align="center">
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr>
<td width="60%" class="thead" align="center" colspan="3">
{$lang['subject_title']}
</td>
<td width="15%" class="thead" align="center">
{$lang['subject_writer']}
</td>
<td width="4%" class="thead" align="center">
{$lang['reply_num']}
</td>
<td width="4%" class="thead" align="center">
{$lang['subject_visitor']}
</td>
<td width="15%" class="thead" align="center">
{$lang['write_date']}
</td>
</tr>
{if !{$No_Subjects}}
{Des::while}{subject_list}
<?php
$subject_id = $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id'];
$GetReplyNumberSubject = $PowerBB->DB->sql_num_rows($PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['reply'] . " WHERE subject_id = '$subject_id'"));
$GetlastReplySubject = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['reply'] . " WHERE subject_id = '$subject_id' ORDER BY write_time DESC");
$LastReplySubject= @mysql_fetch_array($GetlastReplySubject);
?>
<tr>
<td width="3%" class="row2" align="center">
<img alt="" src="{$image_path}/dot_folder.gif"
title="{$lang['subject_personal']}" />
</td>
<td width="3%" class="row1" align="center">
<img src="{$subject_list['icon']}" alt="" />
</td>
<td width="35%" class="row2">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a target="_blank" href="t{$subject_list['id']}{$password}.html" title="{$lang['opin_subject']}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
{else}
<a target="_blank" href="index.php?page=topic&show=1&id={$subject_list['id']}{$password}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
{/if}
{if {$subject_list['poll_subject']} == 1}
{$lang['poll_subject']}
{/if}
<?php $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = str_replace('&','&',$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']); ?>
<font class="title_font">
<span dir="{$_CONF['info_row']['content_dir']}">
<b>{$subject_list['prefix_subject']}</b>
</span>
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$subject_list['id']}{$password}.html">
{$subject_list['title']}</a>
{else}
<a href="index.php?page=topic&show=1&id={$subject_list['id']}{$password}">
{$subject_list['title']}</a>
{/if}
</font>
<?php if ($GetReplyNumberSubject > $PowerBB->_CONF['template']['_CONF']['info_row']['perpage']) { ?>
{template}forum_perpage_reply{/template}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
{/if}
{if {$subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
{/if}
{if {$subject_list['review_reply']} > 0}
<img alt="" src="{$image_path}/moderated_small.gif"
alt="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}"
title="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}" align="left" />
{/if}
{if {$subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
<img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$subject_list['rating']} " align="left" />
{/if}
{if {$subject_list['close']}}
{$lang['subject_close']}
{/if}
{if {$subject_list['delete_topic']}}
{$lang['subject_delete']}
{/if}
{if {$subject_list['special']}}
{$lang['subject_special']}
<span class="l-left">
<img border="0" src="{$image_path}/star.gif"
alt="{$lang['s_special']}" /> </span>
{/if}
{if {$_CONF['info_row']['subject_describe_show']} == 1}
<br />
<font class="smallfont">{$subject_list['subject_describe']}</font>
{/if}
</td>
<td width="15%" class="row1" align="center">
{if {$subject_list['writer']} == 'Guest'}
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer']); ?>
{else}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="{$subject_list['writer']}.html">
{$subject_list['writer']}</a>
{else}
<a href="index.php?page=profile&show=1&username={$subject_list['writer']}">
{$subject_list['writer']}</a>
{/if}
{/if}
<br />
<span class="smallfont">
{$subject_list['write_date']}
</span>
</td>
<td width="4%" class="row2" align="center">
<?php if ($GetReplyNumberSubject == '0'){ ?>
<?php echo $GetReplyNumberSubject ?>
{else}
<a onclick="window.open('index.php?page=misc&whoposted=1&subject_id={$subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=155,height=300')"><u><font color="#000080"><?php echo $GetReplyNumberSubject ?></font></u></a>
{/if}
</td>
<td width="4%" class="row1" align="center">
{$subject_list['visitor']}
</td>
<td width="15%" class="row2" align="center">
<?php if ($GetReplyNumberSubject <= '0'){ ?>
{$lang['no_replys']}
{else}
<?php if ($LastReplySubject['writer'] == 'Guest') {?>
<?php echo $LastReplySubject['writer'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$LastReplySubject['writer']); ?>
{else}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="<?php echo $LastReplySubject['writer'] ?>.html">
<?php echo $LastReplySubject['writer'] ?></a>
{else}
<a href="index.php?page=profile&show=1&username=<?php echo $LastReplySubject['writer'] ?>">
<?php echo $LastReplySubject['writer'] ?></a>
{/if}
{/if}
<br />
<span class="smallfont">
<?php echo $PowerBB->functions->date($LastReplySubject['write_time']) ?>
</span>
{/if}
</td>
</tr>
{/Des::while}
{else}
<tr align="center">
<td class="row1" colspan="7">
{$lang['No_Subjects']}
</td>
</tr>
{/if}
</table>
</div>
<br />
<div align="center">
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr align="center">
<td class="tcat" colspan="6">
{$lang['Last_post_that_you_type']}
</td>
</tr>
<tr>
<td width="25%" class="thead small_text" colspan="2">
{$lang['Subject']} / {$lang['sort_writer']}
</td>
<td width="15%" class="thead small_text" align="center">
{$lang['write_date']}
</td>
<td width="4%" class="thead" align="center">
{$lang['reply_num']}
</td>
<td width="4%" class="thead" align="center">
{$lang['subject_visitor']}
</td>
<td width="15%" class="thead small_text" align="center">
{$lang['forum']}
</td>
</tr>
{Des::while}{ReplyList}
<tr>
<td width="3%" class="row2" align="center">
<img src="{$ReplyList['icon']}" alt="" />
</td>
<td width="25%" class="row1">
<?php
$subject_id = $PowerBB->_CONF['template']['while']['ReplyList'][$this->x_loop]['subject_id'];
$GetSubject = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['subject'] . " WHERE id = '$subject_id'");
$Subject = @mysql_fetch_array($GetSubject);
?>
<a href="index.php?page=topic&show=1&id={$ReplyList['subject_id']}">
{$ReplyList['title']}
</a>
<br />
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($Subject['writer']);?>
</td>
<td width="15%" class="row1" align="center">
<?php
$section_id = $PowerBB->_CONF['template']['while']['ReplyList'][$this->x_loop]['section'];
$GetForum = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['section'] . " WHERE id = '$section_id'");
$Forum = @mysql_fetch_array($GetForum);
$Forum_title = $Forum['title'];
$Forum_id = $Forum['id'];
?>
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($Subject['last_replier']);?>
<br />
<font class="smallfont">
{$ReplyList['reply_date']}
</font>
</td>
<td width="4%" class="row1" align="center">
<?php echo $Subject['reply_number']; ?>
</td>
<td width="4%" class="row1" align="center">
<?php echo $Subject['visitor']; ?>
</td>
<td width="15%" class="row1" align="center">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f<?php echo $Forum_id; ?>.html"><?php echo $Forum_title; ?></a>
{else}
<a href="index.php?page=forum&show=1&id=<?php echo $Forum_id; ?>"><?php echo $Forum_title; ?></a>
{/if}
</td>
</tr>
{/Des::while}
{if {$No_posts}}
<tr>
<td width="97%" class="row1" align="center" colspan="6">
{$lang['no_post']}
</td>
</tr>
{/if}
</table>
</div>
<span class="pager-left">{$pager} </span>
</div>
</td>
</tr>
</table>
<br />]]></context_usercp_index>
<context_usercp_menu><![CDATA[ <table border="0" cellspacing="1" class="border" align="right" width="95%">
<tr align="center">
<td class="tcat">
<a href="index.php?page=usercp&index=1">{$lang['usercp']}</a>
</td>
</tr>
{if {$_CONF['info_row']['pm_feature']}}
<tr align="center">
<td class="thead rows_space">
{$lang['Private_Messages']}
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=pm_send&send=1&index=1">{$lang['Send_PM']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=pm_list&list=1&folder=inbox">{$lang['Contained_Messages']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=pm_list&list=1&folder=sent">{$lang['Outgoing_Messages']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=pm_setting&setting=1&index=1">{$lang['Settings_Private_Messages']}</a>
</td>
</tr>
{/if}
<tr>
<td class="thead rows_space" align="center">
{$lang['Management_Profile']}
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&control=1&info=1&main=1">{$lang['Your_Personal_Information']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&control=1&setting=1&main=1">{$lang['Your_Options']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&control=1&sign=1&main=1">{$lang['Change_Signature']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&control=1&password=1&main=1">{$lang['Change_password']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&control=1&email=1&main=1">{$lang['Change_email']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&control=1&avatar=1&main=1">{$lang['Change_avatar']}</a>
</td>
</tr>
<tr>
<td class="thead rows_space" align="center">
{$lang['Other_options']}
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&options=1&subject=1&main=1">{$lang['Your_Subjects']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&options=1&attach=1&main=1">{$lang['Your_Attachments']}</a>
</td>
</tr>
<tr>
<td class="row1">
<a href="index.php?page=usercp&options=1&emailed=1&main=1">{$lang['Your_emailed']}</a>
</td>
</tr>
{if {$_CONF['info_row']['active_friend']} == '1'}
<tr>
<td class="row1">
<a href="index.php?page=usercp&options=1&friends=1&main=1">{$lang['friends_list']}</a>
</td>
</tr>
{/if}
<tr>
<td class="row1">
<a href="index.php?page=usercp&options=1&reputation=1&main=1">{$lang['usercp_reputations']}</a>
</td>
</tr>
</table>
<br />
]]></context_usercp_menu>
<context_usercp_options_attach><![CDATA[<script language="JavaScript">
<!--
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
-->
</script>
</head>
<body>
<title> {$lang['Your_attach']} -
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Your_attach']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<form action="index.php?page=usercp&attach=1&del=1&options=1" name="form1" method="post">
<div align="center">
<table border="0" cellspacing="1" class="border" width="100%">
<tr align="center">
<td class="tcat" colspan="5">
{$lang['Your_attach']}:
<strong>({$member_Attachment_num})</strong>
</td>
</tr>
<tr>
<td class="thead" width="3%">
<input type="checkbox" name="check_all" onClick="checkAll(this.form)"/>
</td>
<td width="20%" class="thead" align="center" >
{$lang['File_Name']}
</td>
<td width="10%" class="thead" align="center">
{$lang['Total_Downloads_attach']}
</td>
<td width="10%" class="thead" align="center">
{$lang['Filesize']}
</td>
<td width="20%" class="thead" align="center">
{$lang['Stretch']}
</td>
</tr>
{Des::while}{MemberAttachList}
<tr>
<td width="3%" class="row1" align="center">
<input type="checkbox" name="check[]" value="{$MemberAttachList['id']}" />
</td>
<td width="20%" class="row2">
<a href="index.php?page=download&attach=1&id={$MemberAttachList['id']}">{$MemberAttachList['filename']}</a>
</td>
<td width="8%" class="row2" align="center">
{$MemberAttachList['visitor']}
</td>
<td width="8%" class="row1" align="center">
(<?php echo $PowerBB->_CONF['template']['while']['MemberAttachList'][$this->x_loop]['filesize'] / 1000; ?>)
KB
</td>
<td width="20%" class="row2" align="center">
{$MemberAttachList['extension']}
</td>
</tr>
{/Des::while}
{if {$member_attach_nm}}
<tr valign="top" align="center">
<td class="row1" colspan="5">
{$lang['no_Attachments']}
</td>
</tr>
{/if}
<tr valign="top" align="center">
<td class="row1" colspan="5">
<input class="button" name="delet" type="submit" value="{$lang['del_Attachments']}" /></td>
</tr>
</table>
</div>
</form>
<span class="pager-left">{$pager} </span>
</td>
</tr>
</table>
<br />]]></context_usercp_options_attach>
<context_usercp_options_emailed><![CDATA[<script language="JavaScript">
<!--
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
-->
</script>
</head>
<body>
<title> {$lang['Your_emailed']} -
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Your_emailed']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<form action="index.php?page=emailed&del=1" name="form1" method="post">
<div align="center">
<table border="0" cellspacing="1" class="border" width="100%">
<tr align="center">
<td class="tcat" colspan="2">
{$lang['Your_emailed_num']}
<strong>({$emailed_num})</strong>
</td>
</tr>
<tr>
<td class="thead" width="3%">
<input type="checkbox" name="check_all" onClick="checkAll(this.form)"/>
</td>
<td width="90%" class="thead">
{$lang['subject_title']}
</td>
</tr>
{Des::while}{MemberEmailedList}
<tr>
<td width="3%" class="row1" align="center">
<input type="checkbox" name="check[]" value="{$MemberEmailedList['id']}" />
</td>
<td width="90%" class="row2">
<a href="index.php?page=topic&show=1&id={$MemberEmailedList['subject_id']}">{$MemberEmailedList['subject_title']}</a>
</td>
</tr>
{/Des::while}
{if {$show_emailed}}
<tr valign="top" align="center">
<td class="row1" colspan="5">
{$lang['no_Emailed']}
</td>
</tr>
{/if}
<tr valign="top" align="center">
<td class="row1" colspan="5">
<input class="button" name="delet" type="submit" value="{$lang['del_Emailed']}" /></td>
</tr>
</table>
</div>
</form>
<span class="pager-left">{$pager} </span>
</td>
</tr>
</table>
<br />]]></context_usercp_options_emailed>
<context_usercp_options_subjects><![CDATA[<title> {$lang['Your_Subjects']} -
{$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Your_Subjects']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<div align="center">
<table border="0" cellspacing="1" class="border" width="100%">
<tr align="center">
<td class="tcat" colspan="5">
{$lang['Your_subjects']}
<strong>({$member_subject_num})</strong>
</td>
</tr>
<tr>
<td width="30%" class="thead" align="center" colspan="2">
{$lang['subject_title']}
</td>
<td width="10%" class="thead" align="center">
{$lang['reply_num']}
</td>
<td width="10%" class="thead" align="center">
{$lang['visitor_num']}
</td>
<td width="28%" class="thead" align="center">
{$lang['write_date']}
</td>
</tr>
{Des::while}{MemberSubjects}
<tr>
<td width="3%" class="row1" align="center">
<img src="{$MemberSubjects['icon']}" alt="" />
</td>
<td width="30%" class="row2">
<a href="index.php?page=topic&show=1&id={$MemberSubjects['id']}">
{$MemberSubjects['title']}
</a>
{if {$MemberSubjects['close']}}
{$lang['subject_close']}
{/if}
<br />
<font class="small">{$MemberSubjects['subject_describe']}</font>
</td>
<td width="8%" class="row2" align="center">
{$MemberSubjects['reply_number']}
</td>
<td width="8%" class="row1" align="center">
{$MemberSubjects['visitor']}
</td>
<td width="28%" class="row2" align="center">
{if {$MemberSubjects['reply_number']} <= 0}
{$lang['no_replys']}
{else}
{$lang['By_']}
<a href="index.php?page=profile&show=1&username={$MemberSubjects['last_replier']}">{$MemberSubjects['last_replier']}</a>
<br />
{$MemberSubjects['reply_date']}
{/if}
</td>
</tr>
{/Des::while}
{if {$member_sbjects_nm}}
<tr valign="top" align="center">
<td class="row1" colspan="5">
{$lang['no_type_any_topic']}
</td>
</tr>
{/if}
</table>
</div>
<span class="pager-left">{$pager} </span>
</td>
</tr>
</table>
<br />]]></context_usercp_options_subjects>
<context_usercp_reputations><![CDATA[<title>{$lang['User_Control_Panel']} -
{$lang['usercp_reputations']} </title>
{template}address_bar_part1{/template}
<a href="index.php?page=usercp&index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['usercp_reputations']}
{template}address_bar_part2{/template}
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
<tr>
<td width="20%" valign="top">{template}usercp_menu{/template}</td>
<td width="80%" valign="top">
<div align="center">
<table border="0" cellspacing="1" class="border" width="100%">
<tr align="center">
<td class="tcat" colspan="5">
{$lang['usercp_reputations']}
<div class="l-left">
{$lang['Reputation_Num']}
<strong>({$member_reputation_num})</strong>
</div>
</td>
</tr>
<tr align="center">
<td class="thead" width="2%">
</td>
<td class="thead" width="30%">
{$lang['subject_title']}
</td>
<td class="thead" width="20%">
{$lang['date']}
</td>
<td class="thead" width="30%">
{$lang['Comments']}
</td>
<td class="thead" width="10%">
{$lang['By_']}
</td>
</tr>
{if !{$No_Reputation}}
{Des::while}{MemberReputation}
<tr align="center">
<td class="row2" width="2%">
<img src='{$image_path}/reputation_pos.gif'>
</td>
<td class="row2" width="30%">
<a href="index.php?page=topic&show=1&id={$MemberReputation['subject_id']}&count={$MemberReputation['peg_count']}#{$MemberReputation['reply_id']}">
{$MemberReputation['subject_title']}
</a>
</td>
<td class="row2" width="20%">
{$MemberReputation['reputationdate']}
</td>
<td class="row2" width="30%">
{$MemberReputation['comments']}
</td>
<td class="row2" width="10%">
<a href="index.php?page=profile&show=1&username={$MemberReputation['by_username']}">{$MemberReputation['by_username']}</a>
</td>
</tr>
{/Des::while}
{else}
<tr align="center">
<td class="row1" colspan="5">
{$lang['noReputation']}
</td>
</tr>
{/if}
</table>
<span class="pager-left">{$pager} </span>
</div>
</td>
</tr>
</table>
<br />]]></context_usercp_reputations>
<context_view_reply><![CDATA[ <table border="0" cellspacing="1" width="98%" class="border" align="center">
<tr>
<td class="thead1" align="right" colspan="2">
<?php $PowerBB->_CONF['template']['GeReplyInfo']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['GeReplyInfo']['title']); ?>
{$GeReplyInfo['title']}
</td>
</tr>
<tr>
<td class="row1" width="15%" align="center" valign="top">
{$GeReplyInfo['writer']}
</td>
<td class="row1" width="80%">
<?php $PowerBB->_CONF['template']['GeReplyInfo']['text'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['GeReplyInfo']['text']); ?>
{$GeReplyInfo['text']}
</td>
</tr>
</table>
<br />]]></context_view_reply>
<context_visitormessage_edit><![CDATA[<title>{$lang['Edit_Message_visitor']}</title>
{template}address_bar_part1{/template}
<a href="index.php?page=profile&show=1&id={$visitormessageinfo['userid']}">{$lang['View_Member_Profile']}: {$username}</a>
{$_CONF['info_row']['adress_bar_separate']}
{$lang['Edit_Message_visitor']}
: <a href="index.php?page=profile&show=1&id={$visitormessageinfo['postuserid']}">{$visitormessageinfo['postusername']}</a>
{template}address_bar_part2{/template}
<br />
<br />
<form name="topic" method="post" enctype="multipart/form-data" action="index.php?page=visitormessage&start_edit=1&id={$visitormessageinfo['id']}">
<table align="center" class="border" border="0" cellspacing="1" width="60%">
<tr>
<td width="60%" class="tcat" colspan="1">
{$lang['Edit_Message_visitor']}
</td>
</tr>
<tr>
<td width="60%" class="row1">
{template}visitor_message_js{/template}
<textarea name="text" id="box_text" style="display:block;" class="editoriframemini" tabindex="3">{$pagetext}</textarea>
<script type="text/javascript">
<!--
comm._toggle();
-->
</script>
</td>
</tr>
<tr>
<td width="60%" class="row1" align="center">
<input TYPE="hidden" name="userid" value="{$visitormessageinfo['userid']}" />
<input class="button" name="submit" type="submit" value="ارساÙ" onclick="comm._submit();" />
</td>
</tr>
</table>
</form>
<br />]]></context_visitormessage_edit>
<context_visitor_messag><![CDATA[
<script language="JavaScript">
<!--
function checkAll(form){
for (var i = 0; i < form.elements.length; i++){
eval("form.elements[" + i + "].checked = form.elements[0].checked");
}
}
-->
</script>
</head>
<body>
<script language="javascript">
function AjaxReply()
{
var AjaxState = {ajaxSend : $("#status").html("<div class='info_bar'> <img border='0' src='{$image_path}/loading.gif'></div>")};
var data = {};
data['text'] = $("#box_text").val();
data['code_confirm'] = $("#code_confirm").val();
data['ajax'] = 1;
$.post("index.php?page=visitormessage&add_visitor_message=1&id={$MemberInfo['id']}",data,function Success(xml) { $("#status").html(xml); });
}
function Wait()
{
$("#status").html("{$lang['Ongoing_process']}");
}
function Ready()
{
$("#visitor_messag_id").click(AjaxReply);
}
$(document).ready(Ready);
-->
</script>
{if !{$No_VisitorMessageList}}
<form action="index.php?page=visitormessage&del=1&id={$MemberInfo['id']}" name="form1" method="post">
<table width="100%" border="0" class="border" cellpadding="0" style="border-collapse: collapse" align="center">
<tr>
<td width="60%" class="tcat" colspan="1">
{if {$show}}
<div class="l-left">
<input type="checkbox" name="check_all" onClick="checkAll(this.form)"/>
</div>
{else}
{if {$_CONF['rows']['group_info']['admincp_allow']}}
{if !{$show}}
<div class="l-left">
<input type="checkbox" name="check_all" onClick="checkAll(this.form)"/>
</div>
{/if}
{/if}
{/if}
{$lang['Showing_Visitor_Messages']}
</td>
</tr>
{Des::while}{VisitorMessageList}
<tr id="visitor_messag">
<td class="row1" width="60%" valign="top">
<table border="0" width="100%" cellpadding="1" class="border">
<tr>
<td class="row1" valign="top">
{if {$VisitorMessageList['postusername']}}
<?php
$userid = $PowerBB->_CONF['template']['while']['VisitorMessageList'][$this->x_loop]['postuserid'];
$GetAvatar = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE id = '$userid'");
$Avatar = @mysql_fetch_array($GetAvatar);
$avater_path = $Avatar['avater_path'];
?>
<?php if ($avater_path){ ?>
<a class="UserPhotoLink" href="index.php?page=profile&show=1&id={$VisitorMessageList['postuserid']}">
<img src='<?php echo $avater_path; ?>' alt="Photo" class="UserPhoto UserPhoto_mini" />
</a>
{/if}
<?php if ($avater_path ==''){ ?>
<a class="UserPhotoLink" href="index.php?page=profile&show=1&id={$VisitorMessageList['postuserid']}">
<img src="{$image_path}/
{$_CONF['info_row']['default_avatar']}" border="0" alt="Photo" class="UserPhoto UserPhoto_mini" />
</a>
{/if}
{else}
<a class="UserPhotoLink" href="index.php?page=profile&show=1&id={$VisitorMessageList['postuserid']}">
<img src="{$image_path}/
{$_CONF['info_row']['default_avatar']}" border="0" class="UserPhoto UserPhoto_mini" />
</a>
{/if}
</td>
<td class="row1" width="100%" valign="top">
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td class="row2">
<div class="r-right">
{if {$VisitorMessageList['postusername']}}
<a href="index.php?page=profile&show=1&id={$VisitorMessageList['postuserid']}">{$VisitorMessageList['postusername']}</a>
{else}
{$lang['Guest_']}
{/if}
</div>
<div class="l-left">
<font class="smallfont">{$VisitorMessageList['dateline']} </font>
{if {$show}}
<input type="checkbox" name="check[]" value="{$VisitorMessageList['id']}" />
{else}
{if {$_CONF['rows']['group_info']['admincp_allow']}}
{if !{$show}}
<input type="checkbox" name="check[]" value="{$VisitorMessageList['id']}" />
{/if}
{/if}
{/if}
</div>
</td>
</tr>
</table>
<br />
<?php $PowerBB->_CONF['template']['while']['VisitorMessageList'][$this->x_loop]['pagetext'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['VisitorMessageList'][$this->x_loop]['pagetext'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['VisitorMessageList'][$this->x_loop]['pagetext'] = $PowerBB->Powerparse->replace($PowerBB->_CONF['template']['while']['VisitorMessageList'][$this->x_loop]['pagetext']); ?>
<?php $PowerBB->_CONF['template']['while']['VisitorMessageList'][$this->x_loop]['pagetext'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['VisitorMessageList'][$this->x_loop]['pagetext']); ?>
<?php echo $PowerBB->_CONF['template']['while']['VisitorMessageList'][$this->x_loop]['pagetext']; ?>
<br />
<?php if ($PowerBB->_CONF['template']['_CONF']['rows']['member_row']['usergroup'] == '1') { ?>
<div class="l-left">
<img title="{$lang['user_IP']}:
{$VisitorMessageList['ipaddress']}" border="0" src="{$image_path}/ip.gif" width="25" height="15">
</div>
{/if}
{if {$_CONF['member_permission']}}
{if {$VisitorMessageList['postusername']} == {$_CONF['rows']['member_row']['username']}}
<div class="l-left">
<a id="pagetext" href="index.php?page=visitormessage&edit=1&id={$VisitorMessageList['id']}">
{$lang['Edit_Message']}</a>
</div>
{else}
{if {$_CONF['rows']['group_info']['admincp_allow']}}
<div class="l-left">
<a id="pagetext" href="index.php?page=visitormessage&edit=1&id={$VisitorMessageList['id']}">
{$lang['Edit_Message']}</a>
</div>
{/if}
{/if}
{/if}
</td>
</tr>
</table>
</td>
</tr>
{/Des::while}
{if {$show}}
<tr>
<td width="60%" class="row1" align="center">
<input class="button" name="delet" type="submit" value="{$lang['delet_Visitor_Messages']}" />
</td>
</tr>
{else}
{if {$_CONF['rows']['group_info']['admincp_allow']}}
{if !{$show}}
<tr>
<td width="60%" class="row1" align="center">
<input class="button" name="delet" type="submit" value="{$lang['delet_Visitor_Messages']}" />
</td>
</tr>
{/if}
{/if}
{/if}
<tr>
<td width="60%" class="row2" align="left">
{$pager}</td>
</tr>
</table>
</form>
<br />
{else}
<table width="100%" border="0" cellspacing="1" class="border" align="center">
<tr>
<td width="60%" class="tcat" colspan="1">
{$lang['Showing_Visitor_Messages']}
</td>
</tr>
<tr>
<td width="60%" class="row1" align="center">
{$lang['No_VisitorMessageList']}
</td>
</tr>
</table>
{/if}
<br />
{if {$_CONF['info_row']['active_visitor_message']} == '1'}
{if {$_CONF['group_info']['visitormessage']} == 1}
<?php if (!$PowerBB->_CONF['template']['MemberInfo']['visitormessage'] == '0'
OR !$PowerBB->_CONF['template']['group_info_visitormessage'] == '0'
and $PowerBB->_CONF['template']['_CONF']['rows']['member_row']['id'] == $PowerBB->_CONF['template']['MemberInfo']['id']) { ?>
<form name="topic" method="post" action="index.php?page=visitormessage&add_visitor_message=1&id={$MemberInfo['id']}">
<div id="status"></div>
<table align="center" class="border" border="0" cellspacing="1" width="100%">
<tr>
<td width="60%" class="tcat" colspan="1">
{$lang['Write_a_new_message']}
</td>
</tr>
<tr>
<td width="60%" class="row1">
{template}visitor_message_js{/template}
<textarea name="text" id="box_text" style="display:block;" class="editoriframemini" tabindex="3"></textarea>
<script type="text/javascript">
comm._toggle();
</script>
{if {$_CONF['info_row']['smiles_show']} == 1}
<fieldset>
<legend>{$lang['smiles']}</legend>
{Des::while}{SmileRows}
<img src="{$SmileRows['smile_path']}" OnClick="AddSmileyIcon('{$SmileRows['smile_path']}');" alt="{$SmileRows['smile_path']}" border="0" cellspacing="1" />
{/Des::while}
</fieldset>
{/if}
</td>
</tr>
{if !{$_CONF['member_permission']}}
<tr>
<td width="60%" class="row1" align="center">
<font class="smallfont">{$lang['Verification']}</font>
<br />
<img id="turing" src="includes/captcha.php" />
<input name="code_confirm" id="code_confirm" type="text" size="4" maxlength="5" dir="ltr"/>
<br />
<script language="javascript">
var clicks = 0;
function updateImg()
{
clicks++
var doc = document.getElementById("turing");
doc.src = "includes/captcha.php" + "?act=" + clicks;
}
-->
</script>
<a onclick="updateImg();"><font class="smallfont">{$lang['Image_replacement']}</font></a>
</td>
</tr>
{/if}
<tr>
<td width="60%" class="row1" align="center">
<input name="insert" type="button" id="visitor_messag_id" value="{$lang['send']}" onclick="comm._submit();" />
</td>
</tr>
</table>
</form>
{/if}
{/if}
{/if}
]]></context_visitor_messag>
<context_visitor_message_js><![CDATA[
<script type="text/javascript" src="includes/js/IEprompt.js"></script>
<script type='text/javascript'>
{if {$_CONF['info_row']['content_language']} != 'ar'}
function iePrompt(str){
var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;";
return window.showModalDialog("includes/js/iePrompt_en.htm", str, settings);
}
{else}
function iePrompt(str){
var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;";
return window.showModalDialog("includes/js/iePrompt_ar.htm", str, settings);
}
{/if}
function cbPrompt(str){
try {
if(window.showModalDialog){ return iePrompt(str); }
else { return prompt(str, ""); }
} catch (e) {
return iePrompt(str);
}
}
</script>
<script language="JavaScript">
//<![CDATA[
bbcode._Print("mini",100);
//]]>
</script>
<div id="keyboard_palette" style="display:none;">
{template}keyboard_form{/template}
</div>]]></context_visitor_message_js>
<context_warn_send><![CDATA[<title>{$lang['send_warn_to_mem']}
{$MemberInfo['username']}</title>
{template}address_bar_part1{/template}
{$lang['send_warn_to_mem']}
{$MemberInfo['username']}
{template}address_bar_part2{/template}
<form method="post" action="index.php?page=warn&start=1&id={$MemberInfo['id']}">
<br />
<div align="center">
<table border="0" cellspacing="1" width="70%" class="border" >
<tr>
<td class="tcat" colspan="2" align="center">
{$lang['send_warn_to_mem']}
{$MemberInfo['username']}
</td>
</tr>
</tr>
<div style="visibility:hidden;position:absolute;">
<input name="title" type="text" size="51" value="{$lang['send_warn']}" />
</div>
</tr>
<tr align="center">
<td class="row1 rows_space" width="20%" valign="top">
{$lang['Type_warn_reason']}<br />
</td>
<td class="row1 rows_space" width="70%">
<textarea rows="5" name="text" cols="55"></textarea>
<p>
</td>
</tr>
<tr align="center">
<td class="row1 rows_space" width="100%" valign="top" colspan="2">
<input name="insert" type="submit" value="{$lang['Send_Message']}" />
</td>
</tr>
</table>
</div>
</form>
<br />
]]></context_warn_send>
<context_who_posted1><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{$_CONF['info_row']['content_dir']}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$_CONF['info_row']['content_language']}" lang="{$_CONF['info_row']['content_language']}">
<title>{$lang['Who_poststed']} -
{if {$_CONF['info_row']['allowed_powered']} == 1}
{$lang['powered']}
{/if}</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$_CONF['info_row']['charset']}" />
<meta http-equiv="Content-Language" content="{$_CONF['info_row']['content_language']}" />
<link rel="stylesheet" href="{$style_path}" type="text/css" />
</head>
<body>
<script src="includes/js/pbboardCode.js">-->
</script>
<div align="center">
<table align="center" border="0" width="150" cellspacing="0" style="border-collapse: collapse">
<tr>
<td class="tcat" colspan="2">
{$lang['Who_poststed']}
<br />
{$lang['Total_Posts']}
{$Posted_number}</td>
</tr>
<tr>
<td class="main_bar">{$lang['user_name']}</td>
<td class="main_bar">{$lang['posts']}</td>
</tr>
]]></context_who_posted1>
<context_who_posted2><![CDATA[<tr>
<td class="row1" align="center">
<a target="_blank" href="index.php?page=profile&show=1&username={$WhoPosted['writer']}">
{$WhoPosted['writer']}</a>
</td>
<td class="row1" align="center">
<a target="_blank" href="index.php?page=topic&show=1&id={$subject_id}">
{$Posted_writer_number}</a>
</td>
</tr>
]]></context_who_posted2>
<context_who_posted3><![CDATA[<tr>
<td class="tcat" colspan="2" align="center"><div class="smallfont">
<a onclick=" self.close();"><strong>{$lang['window_close']}</strong></a>
</div></td>
</tr>
</table>
</div>
</body>]]></context_who_posted3>
<context_window_close><![CDATA[<html>
<head>
</head>
<body onLoad="setTimeout('window.close()', 1500);">
</body>
</html>
]]></context_window_close>
<context_writer_info><![CDATA[<!-- action_find_addons_1 -->
<div class="writer_info">
<div align="center">
{if {$GroupInfo['usertitle_change']} == 1}
{$Usertitle}
{else}
{if !{$Info['user_title']}}
{$GroupInfo['user_title']}
{else}
{$Info['user_title']}
{/if}
{/if}
</div>
</div>
{if {$RatingInfo['posts']} > {$Info['posts']}}
{if {$RatingInfo['rating']} != 'look/images/rating/rating_0.gif'}
<div class="writer_info">
<div align="center">
<img border="0" alt="rating" src="{$RatingInfo['rating']}">
</div>
</div>
{/if}
{/if}
{if {$_CONF['info_row']['allow_avatar']} == '1'}
<div class="writer_info">
{if {$Info['avater_path']} != ''}
<div align="center" class="UserPhoto">
<a href="{$Info['avater_path']}" rel="facebox">
<img src="{$Info['avater_path']}" border="0" title="{$lang['Picture']}
{$Info['username']}
{$lang['Personal']}"
alt="{$lang['Picture']}
{$Info['username']}
{$lang['Personal']}" onload="ResizeAv(this)" /></a></div>
{else}
<div align="center" class="UserPhoto">
<a href="{$image_path}/
{$_CONF['info_row']['default_avatar']}" rel="facebox">
<img src="{$image_path}/
{$_CONF['info_row']['default_avatar']}" border="0"
alt="{$lang['no_photo']}"
title="{$lang['no_photo']}" onload="ResizeAv(this)" />
</a></div>
{/if}
</div>
{/if}
<!-- action_find_addons_2 -->
<div class="writer_info" align="right">
{$lang['user_num']} :
{$Info['id']}
</div>
<div class="writer_info" align="right">
{$lang['Case']} :
{$status}
</div>
<div class="writer_info" align="right">
{$lang['posts']} :
{$Info['posts']}
</div>
{if {$Info['user_country']} != ''}
<div class="writer_info" align="right">
{$lang['user_country']} :
{$Info['user_country']}
</div>
{/if}
<div class="writer_info" align="right">
{$lang['user_gender']} :
{if {$Info['user_gender']} == m}
<img title="{$lang['gender_m']}"
src="{$image_path}/gender_male.gif" />
{else}
<img title="{$lang['gender_f']}"
src='{$image_path}/gender_female.gif'>
{/if}
</div>
{if {$Info['bday_year']} != ''}
{if {$Info['bday_year']} != '0'}
<div class="writer_info" align="right">
{$lang['Birth_date']} :
{$Info['bday_day']}-{$Info['bday_month']}-{$Info['bday_year']}
</div>
{/if}
{/if}
{if {$Info['visitor']} != ''}
<div class="writer_info" align="right">
{$lang['visitor_num']} :
{$Info['visitor']}
</div>
{/if}
{if {$Info['invite_num']} != '0'}
<div class="writer_info" align="right">
{$lang['Invites']} :
{$Info['invite_num']}
</div>
{/if}
{if {$Info['warnings']} > 0}
<div class="writer_info" align="right">
{$lang['user_warnings']} :
{$Info['warnings']}
</div>
{/if}
{if {$Info['reputation']} != ''}
<div class="writer_info" align="right">
{$lang['user_reputation']} :
{$Info['reputation']}
</div>
<!-- action_find_addons_3 -->
{/if}
{if !empty({$Info['user_website']}) and {$Info['user_website']} != 'http://'}
<div class="writer_info">
{$lang['UserWebsite']} :
<?php if (strstr($PowerBB->_CONF['template']['Info']['user_website'],'http://')) { ?>
<a target="_blank" href="{$Info['user_website']}">{$lang['Visit_my_website']}</a>
<?php }else{ ?>
<a target="_blank" href="http://{$Info['user_website']}">{$lang['Visit_my_website']}</a>
{/if}
</div>
{/if}
{if is_array({$while['extrafield']})==true }
{Des::while}{extrafield}
<?php if( $PowerBB->_CONF['template']['Info'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ]!='' ){ ?>
<div class="writer_info" align="right">
{$extrafield['name']} :
<?php $PowerBB->_CONF['template']['Info'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['Info'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ],'html'); ?>
<?php echo $PowerBB->_CONF['template']['Info'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ] ?>
</div>
<?php }else{ ?>
<?php } ?>
{/Des::while}
{/if}
<br />
{if !{$admin_mod_toolbar}}
<a title="{$lang['send_warn_to_mem']}
{$Info['username']}"href="index.php?page=warn&index=1&id={$Info['id']}"><img title="{$lang['send_warn_to_mem']}
{$Info['username']}" border="0" src="{$image_path}/warn.png"></a>
{/if}
{if {$_CONF['rows']['group_info']['admincp_allow']}}
{if {$Info['member_ip']} != ''}
<img title="{$lang['user_IP']}:
{$Info['member_ip']}" border="0" src="{$image_path}/ip.gif" width="25" height="15">
{/if}
{/if}
{if {$_CONF['info_row']['allow_apsent']} == '1'}
{if {$Info['away']}}
<br />
<fieldset>
<legend><font class="smallfont">{$lang['user_Absent']}</font></legend>
<font class="smallfont">
{$Info['away_msg']}
</font>
</fieldset>
{/if}
{/if}
<!-- action_find_addons_4 -->]]></context_writer_info>
</plugin>