
{include file="../head.tpl"}

<form name="f" action="forum.php?action=delete&amp;what=topic" method="post">
	<table width="100%" border="0" cellpadding="5" cellspacing="1" class="tableborder">
		<tr>
			<td colspan="2" class="header">{$langadmin.menue_forum_del_manager}</td>
		</tr>
		<tr>
			<td width="40%" class="firstrow">{$langadmin.forum_topic_delete_older_than}</td>
			<td class="secondrow">
				<select name="date">
					<option value="0"></option>
					<option value="1" {if $smarty.post.period == 1}selected{/if}>{$langadmin.forum_one_day}</option>
					<option value="7" {if $smarty.post.period == 2}selected{/if}>{$langadmin.forum_one_week}</option>
					<option value="14" {if $smarty.post.period == 5}selected{/if}>{$langadmin.forum_two_weeks}</option>
					<option value="30" {if $smarty.post.period == 10}selected{/if}>{$langadmin.forum_one_month}</option>
					<option value="90" {if $smarty.post.period == 20}selected{/if}>{$langadmin.forum_three_months}</option>
					<option value="180" {if $smarty.post.period == 30}selected{/if}>{$langadmin.forum_six_months}</option>
					<option value="365" {if $smarty.post.period == 40}selected{/if}>{$langadmin.forum_one_year}</option>
				</select>
			</td>
		</tr>
		<tr>
			<td width="40%" class="firstrow">{$langadmin.forum_topic_delete_reply_less_than}</td>
			<td class="secondrow">
				<input type="text" name="reply_count" size="5" maxlength="6" />
			</td>
		</tr>
		<tr>
			<td width="40%" class="firstrow">{$langadmin.forum_topic_delete_closed}</td>
			<td class="secondrow">
				<input type="checkbox" name="topic_closed" />
			</td>
		</tr>
		<tr>
			<td width="40%" class="firstrow">{$langadmin.forum_topic_delete_hits_less_than}</td>
			<td class="secondrow">
				<input type="text" name="hits_count" size="5" maxlength="6" />
			</td>
		</tr>
		<tr>
		  <td colspan="2" class="firstrow"><input onclick="if(confirm('{$langadmin.confirm_admin_del_topics}')) this.form.submit();" class="button" type="button" value="{$langadmin.send}" /></td>
		</tr>
  </table>
</form>
{include file="../foot.tpl"}