<form name="frmsearch" method="post">
<input name="page" id="page" type="hidden" value="1">
<input name="pagesize" id="pagesize" type="hidden" value="{?$Saxue.request.pagesize?}">
<table class="sgrid" width="100%" align="center">
    <tr>
        <td>
			关注人ID：&nbsp;
			<input type="text" name="uid" id="uid" class="text" value="{?$Saxue.request.uid?}"/>&nbsp;&nbsp;
			被关注人ID：&nbsp;
			<input type="text" name="toid" id="toid" class="text" value="{?$Saxue.request.toid?}"/>&nbsp;&nbsp;
			<input type="submit" name="btnsearch" class="button" value="搜 索">
        </td>
    </tr>
</table>
</form>
<br />
<form method="post" name="frmpost">
<input name="jumpurl" type="hidden" value="{?$saxue_thisurl?}">
<table class="grid" width="100%" align="center">
	<tr class="head">
		<td><input type="checkbox" id="checkall" name="checkall" value="checkall" onclick="javascript: for (var i=0;i<this.form.elements.length;i++){ if (this.form.elements[i].name != 'checkkall') this.form.elements[i].checked = form.checkall.checked; }"></td>
		<td>关注人</td>
		<td>被关注人</td>
		<td>关注日期</td>
	</tr>
	{?section name=i loop=$rows?}
	<tr class="rowbg">
		<td><input type="checkbox" name="ids[]" value="{?$rows[i].fid?}"/></td>
		<td class="blue"><a href="javascript:viewuser({?$rows[i].uid?})">{?$rows[i].uid?}</a></td>
		<td class="blue"><a href="javascript:viewuser({?$rows[i].toid?})">{?$rows[i].toid?}</a></td>
		<td>{?$rows[i].followtime|date:"Y-m-d H:i"?}</td>
	</tr>
	{?/section?}
	<tr>
		<td colspan="12" class="foot">
			<select name="action" id="batchaction">
				<option value="">请选择批量操作</option>
				<option value="delete">批量删除</option>
			</select>&nbsp;
			<input type="button" value="批量操作" class="button" onclick="batchctrl();">
		</td>
	</tr>
</table>
</form>
<table width="100%"><tr><td width="100%">
	<div class="fl pages">
		<ul>
			<li><span class="fl">每页显示:</span></li>
			<li{?if $Saxue.request.pagesize==10?} class="selected"{?/if?}><a href="javascript:void(0)" onclick="setPage(10)">10</a></li>
			<li{?if $Saxue.request.pagesize==30?} class="selected"{?/if?}><a href="javascript:void(0)" onclick="setPage(30)">30</a></li>
			<li{?if $Saxue.request.pagesize==50?} class="selected"{?/if?}><a href="javascript:void(0)" onclick="setPage(50)">50</a></li>
			<li{?if $Saxue.request.pagesize==100?} class="selected"{?/if?}><a href="javascript:void(0)" onclick="setPage(100)">100</a></li>
		</ul>
	</div>
	<div class="fr pages">{?$url_jumppage?}</div>
</td></tr></table>