<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<center>
<form action=$basename method=post>

<select name='S_start')>
<option value='' selected>{#renew_area}</option>
$A_option
</select>
<select name='orderway'>
<option value=''>{#renew_order}</option>
<option value='size'>{#renew_size}</option>
<option value='aid'>{#renew_id}</option>
</select>
<input type=submit value="{#renew_search}"></form>
</center>


<form action="$admin_file?adminjob=attachstats" method=post>
<input type=hidden name=action value='delete'>
<input type=hidden name='F_basename' value=$basename> 
<table width=98% align=center cellspacing=0 cellpadding=0 class=i_table>
<tr><td><table width=100% cellspacing=1 cellpadding=3>
<tr>

<td class=head colspan=6>{#renew_title}</td></tr>
<tr class=head_2 align=center><td>{#renew_id}</td><td>{#renew_size}</td><td>{#renew_name}</td><td>{#renew_url}</td>
<td width=4%>{#renew_del}</td>

</tr>
<!--
EOT;
$num=0;
foreach($threaddb as $thread){
$num++;
print <<<EOT
-->
<tr class=b>
<td align=center>$num</td>
<td align=center>$thread[size]</td>
<td align=center>$thread[name]</td>
<td align=center>$thread[url]</td>

<td align=center><input type='checkbox' name='urlarray[$thread[aid]]' value=$thread[url]></td></tr>
<!--
EOT;
}print <<<EOT
-->
</table></td></tr></table><br>
<center><input type="button" name="chkall" value="{#sel_all}" onclick="CheckAll(this.form)">
<input type="submit" name="hello" value="{#submit}"></center></form>

<tr><td colspan=2 align=center>
<table width=98% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head>{#renew_auto}</td></tr>
<tr><td class=b><br>
<ul>
{#renew_auto_info}
</ul>
<br></td></tr></table>

<form action=$basename method=post>
<input type=hidden name=action value='delete'> 
<br>
<center><input type="submit" name="hello" value="{#submit}"></center></form>
<!--
EOT;
include_once PrintEot('adminbottom');
?>
-->