<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:210px;display:none;z-index:1'></div>
<div class="borderwrap" style='text-align:left'>
<if="$confirm_data['show'] == 1">
<div class="maintitle">
	 <div>{$this->ipsclass->lang['mpt_confirm']}</div>
 </div>
 <div class="formsubtitle">{$this->ipsclass->lang['cp_check_result']}</div>
	 <table class='ipbtable' cellspacing="0">
		 <tr>
			 <td class="pformleftw"><b>{$this->ipsclass->lang['cp_total_topics']}</b></td>
			 <td class="pformright">{$confirm_data['tcount']}</td>
		 </tr>
		 <tr>
			 <td class="pformleftw"><span>{$this->ipsclass->lang['cp_total_match']}</span></td>
			 <td class="pformright"><span>{$confirm_data['count']}</span></td>
		 </tr>
	 </table>
	 
	 <form action="{$this->ipsclass->base_url}{$confirm_data['link']}" method="post">
		 <input type="hidden" name="auth_key" value="$auth_key" />
		 <div class="formsubtitle" align="center"><input type="submit" class='button' value="{$confirm_data['link_text']}" /></div>
	 </form>
 </div>
</if>
<if="$complete_html != ''">
{$complete_html}
</if>
<div class="maintitle">{$this->ipsclass->lang['cp_prune']} {$forum['name']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['mpt_help']}</div>
<div class="tablepad">{$this->ipsclass->lang['cp_prune_text']}</div>
<form name="ibform" id='postingform' action="{$this->ipsclass->base_url}" method="POST">
	<input type="hidden" name="s" value="{$this->ipsclass->session_id}" />
	<input type="hidden" name="act" value="mod" />
	<input type="hidden" name="CODE" value="prune_start" />
	<input type="hidden" name="f" value="{$forum['id']}" />
	<input type="hidden" name="auth_key" value="$auth_key" />
	<input type="hidden" name="check" value="1" />
	
		<div class="formsubtitle">{$this->ipsclass->lang['mpt_title']}</div>
		<div class="tablepad">
		<fieldset>
		 <legend><strong>{$this->ipsclass->lang['cp_action']}</strong></legend>
		 <table class='ipbtable' cellspacing="0" cellpadding='4'>
		 <tr>
		  <td>{$this->ipsclass->lang['cp_prune_action2']}</td>
		  <td><select name="df">$forums_html</select></td>
		 </tr>
		 <tr>
		  <td width='35%'>{$this->ipsclass->lang['cp_per_go']}</td>
		  <td width='65%'><input type="text" size="5" name="pergo" value="{$this->ipsclass->input['pergo']}" /></td>
		 </tr>
		 </table>
		  
		</fieldset>
		
		<br />
		<fieldset>
		 <legend><strong>{$this->ipsclass->lang['cp_prune_days']}</strong></legend>
		 <table class='ipbtable' cellspacing="0" cellpadding='4'>
		 <tr>
		  <td>{$this->ipsclass->lang['cp_prune_member']}</td>
		  <td><input type="text" size="30" name="member" id='entered_name' autocomplete='off' style='width:210px' value="{$this->ipsclass->input['member']}" /></td>
		 </tr>
		 <tr>
		  <td width='35%'>{$this->ipsclass->lang['cp_prune_days2']}</td>
		  <td width='65%'><input type="text" size="5" name="dateline" value="{$this->ipsclass->input['dateline']}" /></td>
		 </tr>
		 <tr>
		   <td>{$this->ipsclass->lang['cp_prune_replies']}</td>
		   <td><input type="text" size="5" name="posts" value="{$this->ipsclass->input['posts']}" /></td>
		 </tr>
		 <tr>
		  <td>{$this->ipsclass->lang['cp_prune_type']}</td>
		  <td>$select</td>
		 </tr>
		 <tr>
		  <td>{$this->ipsclass->lang['mps_ignorepin']}</td>
		  <td><input type="checkbox" id="cbox" name="ignore_pin" value="1" checked="checked" class="checkbox" /></td>
		 </tr>
		 </table>
		 <div class='desc' align='center'>{$this->ipsclass->lang['cp_optional']}</div>
		</fieldset>
		</div>
		<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['cp_prune_sub1']}" class="button" /></div>
	</div>
</form>
<script type="text/javascript">
	// INIT find names
	init_js( 'postingform', 'entered_name');
	// Run main loop
	setTimeout( 'main_loop()', 10 );
</script>