<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<script>
function jump(){
window.location="/thinkphp/index.php/User/add";
}
</script>
<body>
<table border="1px solid red" width="200px">
<tr>
<td>id</td>
<td>username</td>
<td>sex</td>
<td>action</td>
</tr>
<volist name='data' id='vo'>
<tr>
<td><{$vo.id}></td>
<td><{$vo.username}></td>
<td><{$vo.sex}></td>
<td>
<a href="/thinkphp/index.php/User/del/id/<{$vo.id}>">删除</a> |
<a href="/thinkphp/index.php/User/modify/id/<{$vo.id}>">修改</a>
</td>
</tr>
</volist>
</table>
<center>
<button οnclick="jump()">添加用户</button>
</center>
</body>
</html>