{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&amp;show=1&amp;id={$section_id}
{$password} ">
{$section_info['title']} </a>
{$_CONF['info_row']['adress_bar_separate']}
<a href="index.php?page=topic&amp;show=1&amp;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&amp;start=1&amp;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']}:&nbsp;&nbsp;
<font size="1">{$lang['Verification']}</font>
<br />
<input name="code" id="code_confirm" type="text" size="7"/>
	&nbsp;&nbsp;<img id="turing" src="includes/captcha.php" width="87" height="17"/>
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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&amp;add_attach_reply=1&amp;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&amp;show=1&amp;id={$subject_info['id']}">
{$lang['view_separate_page_Topic']}
</a>
			</td>
		</tr>
	</table>
<br />