<form action="{$this->ipsclass->base_url}" method="post" name="REPLIER" id='postingform' onsubmit='return ValidateForm()'>
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="announce_save" />
<input type="hidden" name="type" value="$type" />
<input type="hidden" name="id"   value="{$announce['announce_id']}" />
<div class="subtitle">{$button}</div>
<if="$msg != """>
<div class="borderwrapm"><div class="tablepad">{$msg}</div></div>
</if>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="pformleft"><b>{$this->ipsclass->lang['announce_form_title']}</b></td>
		<td class="pformright" valign="top"><input type="text" size="30" name="announce_title" value="{$announce['announce_title']}" tabindex="1" /></td>
	</tr>
	<tr>
		<td class="pformleft"><b>{$this->ipsclass->lang['announce_form_start']}</b><div class="desc">{$this->ipsclass->lang['announce_form_startdesc']}</div></td>
		<td class="pformright" valign="top"><input type="text" size="10" name="announce_start" value="{$announce['announce_start']}" tabindex="2" /></td>
	</tr>
	<tr>
		<td class="pformleft"><b>{$this->ipsclass->lang['announce_form_end']}</b><div class="desc">{$this->ipsclass->lang['announce_form_enddesc']}</div></td>
		<td class="pformright" valign="top"><input type="text" size="10" name="announce_end" value="{$announce['announce_end']}" tabindex="3" /></td>
	</tr>
	<tr>
		<td class="pformleft" valign="top"><b>{$this->ipsclass->lang['announce_form_forums']}</b><div class="desc">{$this->ipsclass->lang['announce_form_forums2']}</div></td>
		<td class="pformright" valign="top"><select class="dropdown" multiple="multiple" size="10" name="announce_forum[]" tabindex="4">{$forum_html}</select></td>
	</tr>
	<tr>
		<td class="pformleft" valign="top"><b>{$this->ipsclass->lang['announce_form_content']}</b></td>
		<td class="pformright" valign="top">{$editor_html}</td>
	</tr>
	<tr>
		<td class="pformleft" valign="top"><b>{$this->ipsclass->lang['announce_form_options']}</b></td>
		<td class="pformright" valign="middle">
			<input type="checkbox" class="checkbox" name="announce_active" value="1" {$announce['announce_active_checked']} />&nbsp;{$this->ipsclass->lang['announce_form_enable']}
			<br /><input type="checkbox" class="checkbox" name="announce_html_enabled" value="1" {$announce['html_checkbox']} />&nbsp;{$this->ipsclass->lang['announce_use_html']}
			<br /><input type="checkbox" class="checkbox" name="announce_nlbr_enabled" value="1" {$announce['nlbr_checkbox']} />&nbsp;{$this->ipsclass->lang['announce_use_nlbr']}
		</td>
	</tr>
	<tr>
		<td class="formbuttonrow" colspan="2"><input type="submit" value="{$button}" class="button"  tabindex="7" /></td>
	</tr>
</table>
</form>