<form name="frmsearch" method="post">
<table width="100%" align="center" class="sgrid">
    <tr>
        <td>
			<select name="tbnum"><option value="">数据分表</option>{?section name=i loop=$tables?}<option value="{?$i['key']?}"{?if $i['key']==$Saxue.request.tbnum?} selected{?/if?}>{?$i['value']?}</option>{?/section?}</select>&nbsp;
			<select name="cid"><option value="">选择分类</option>{?$cates?}</select>&nbsp;
			<select name="keytype">
			  <option value="title"{?if "title" == $Saxue.request.keytype?} selected{?/if?}>文章标题</option>
			  <option value="aid"{?if "aid" == $Saxue.request.keytype?} selected{?/if?}>文章ID</option>
			  <option value="uid"{?if "uid" == $Saxue.request.keytype?} selected{?/if?}>会员ID</option>
			</select>&nbsp;
			<input name="keyword" type="text" class="text" size="15" value="{?$Saxue.request.keyword?}">&nbsp;
            <input type="submit" name="btnsearch" class="button" value="搜 索">
        </td>
    </tr>
</table>
</form>
<div style="height:5px;"></div> 
<table width="100%" class="grid">
	<tr>
		<th>分类</th>
		<th>标题</th>
		<th>会员</th>
		<th>操作</th>
	</tr>
	<tbody>
	{?section name=i loop=$rows?}
	<tr class="rowbg">
		<td>{?if $rows[i].pid!=$rows[i].cid?}<a href="{?$rows[i].purl?}" target="_blank">{?$rows[i].pname?}</a>&nbsp;>&nbsp;{?/if?}<a href="{?$rows[i].curl?}" target="_blank">{?$rows[i].cname?}</a></td>
		<td><div class="show_single"><a href="{?$rows[i].surl?}" target="_blank" title="{?$rows[i].title?}">{?$rows[i].title?}</a></div></td>
		<td><a href="?keytype=uid&keyword={?$rows[i].uid?}">{?if $rows[i].uid==0?}管理员{?else?}{?$rows[i].uname?}{?/if?}</a></td>
		<td><a href="javascript:void" class="change" data-id="{?$rows[i].aid?}">选择</a></td>
	</tr>
	{?/section?}
	</tbody>
</table>
<div class="fr pages"><ul>{?$url_jumppage?}</ul></div>
<style>.show_single{max-width:350px;}</style>