<!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_sites.php?page='+$('#page').attr('value')+'&User=<!--Kw[$user]-->';
		}
	}
	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>编号</td>
          <td>站点名称</td>
          <td>用户</td>
          <td>排序</td>
          <td>选项</td>
        </tr>
      <!--Kw[section name="usersites" loop=$usersites]-->
        <tr class="table_content">
          <td><!--Kw[$usersites[usersites].ID]--></td>
          <td><a href="<!--Kw[$usersites[usersites].Link]-->" target="_blank"><!--Kw[$usersites[usersites].Name]--></a></td>
          <td><!--Kw[$usersites[usersites].User]--></td>
          <td><!--Kw[$usersites[usersites].Order]--></td>
          <td>
			<a href="ad_usersites.php?type=del&id=<!--Kw[$usersites[usersites].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_usersites.php?page=1&User=<!--Kw[$user]-->" target="_self">首页</a></span>
        <!--Kw[if $lastpage!=0]-->
        <span class="button"><a href="ad_usersites.php?page=<!--Kw[$lastpage]-->&User=<!--Kw[$user]-->" target="_self">上一页</a></span>
		<!--Kw[/if]-->
		<!--Kw[if $nextpage<=$all]-->
        <span class="button"><a href="ad_usersites.php?page=<!--Kw[$nextpage]-->&User=<!--Kw[$user]-->" target="_self">下一页</a></span>
		<!--Kw[/if]-->
        <span class="button"><a href="ad_usersites.php?page=<!--Kw[$all]-->&User=<!--Kw[$user]-->" 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>
