<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<link href="css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="js/jquery.js"></script>
<script type="text/javascript" language="javascript">
<!--
$(function(){
$.each( $('.table_content'),
function(){
$(this).bind('mouseover',function(){$(this).css('background-color','#d9e8fd');});
$(this).bind('mouseout',function(){$(this).css('background-color','#e6f2fe');});
}
);

<!--Kw[if empty ( $search )]-->
$('#goto').bind('click',function(event){
	if(event.target==this){
		var page = $('#page').attr('value');
		if(page==''||page<1||page><!--Kw[$all]-->){
			alert('请正确填写页数！');
		}else{
		document.location='ad_user.php?page='+$('#page').attr('value');
		}
	}
	event.stopPropagation();
	});
<!--Kw[/if]-->
});
-->
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="0">
  <tr height="184">
    <td align="left" valign="top" class="table_bg">
      <div class="boxtitle">用户列表</div>
      <table width="100%" border="0">
        <tr class="table_title">
          <td width="7%">编号</td>
          <td width="15%">用户名</td>
          <td width="13%">生日</td>
          <td width="6%">性别</td>
          <td width="31%">联系方式</td>
          <td width="28%">选项</td>
        </tr>
      <!--Kw[section name="user" loop=$user]-->
        <tr class="table_content">
          <td><!--Kw[$user[user].ID]--></td>
          <td><!--Kw[$user[user].username]--></td>
          <td><!--Kw[$user[user].brith_y]-->-<!--Kw[$user[user].brith_m]-->-<!--Kw[$user[user].brith_d]--></td>
          <td><!--Kw[$user[user].sex]--></td>
          <td><!--Kw[$user[user].call]--></td>
          <td>
			<a href="ad_usersites.php?User=<!--Kw[$user[user].ID]-->">管理用户收藏站点</a> | 
            <a href="add_user.php?id=<!--Kw[$user[user].ID]-->">修改密码</a> | <a href="ad_user.php?type=del&id=<!--Kw[$user[user].ID]-->">删除</a>
          </td>
        </tr>
        <!--Kw[/section]-->
      </table>
    <!--Kw[if empty ( $search )]-->
      <div class="info_box">共有<strong> <!--Kw[$count]--></strong> 条记录，当前第<strong> <!--Kw[$lastpage+1]--></strong> 页，共 <strong><!--Kw[$all]--></strong> 页</div>
      <div class="button_box">
        <span class="button"><a href="ad_user.php?page=1" target="_self">首页</a></span>
        <!--Kw[if $lastpage!=0]-->
        <span class="button"><a href="ad_user.php?page=<!--Kw[$lastpage]-->" target="_self">上一页</a></span>
		<!--Kw[/if]-->
		<!--Kw[if $nextpage<=$all]-->
        <span class="button"><a href="ad_user.php?page=<!--Kw[$nextpage]-->" target="_self">下一页</a></span>
		<!--Kw[/if]-->
        <span class="button"><a href="ad_user.php?page=<!--Kw[$all]-->" target="_self">尾页</a></span>
        <span id="goto" class="button">转到<input class="goto" name="page" type="text" id="page" />页</span>
      </div>

    <!--Kw[else]-->
  		  <!--Kw[if $is_result == "false"]-->
          没有找到相关结果。
    	  <!--Kw[/if]-->
    <!--Kw[/if]-->
    </td>
    </tr>
  </table>
</body>
</html>
