?? showuserinfo.aspx
字號:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShowUserInfo.aspx.cs" Inherits="ShowUserInfo" %>
<!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 runat="server">
<title>用戶信息</title>
<style type="text/css">
body,div {
font-size:13px;
font-family:Verdana;
}
.pgContainer {
background-color:#F9F9F9;
padding:10px;
line-height:20px;
background:url(./temp/desk.jpg);
}
hr {
margin:10px 0 10px 0;
border:0;
border-top:1px dashed #CCCCCC;
height:0;
}
table
{
border-collapse:collapse;
}
thead
{
background-color: lightblue;
}
h3 {
margin:5px 0;
font-size:14px;
}
table
{
width:100%;
}
th
{
cursor:pointer; text-align:center;
}
td{
padding:1px 6px 1px 6px;
}
.alignCenter
{
text-align:center;
}
.hovering
{
background-color:#FFCCCC;
}
.odd
{
background-color:lightBlue;
}
.even {
background-color:white;
}
</style>
<link href="jQuery/jpage/theme/default/css/jpage.css" rel="stylesheet" type="text/css" />
<link href="jQuery/jpage/theme/black/css/jpage.css" rel="stylesheet" type="text/css" />
<link href="jQuery/jpage/theme/white/css/jpage.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jQuery/jquery-1.2.6.js"></script>
<script type="text/javascript" src="jQuery/jpage/jquery.jpage.js"></script>
<script type="text/javascript" src="jQuery/cookie/jquery.cookie.js"></script>
<link rel="stylesheet" href="jQuery/Tablesorter/themes/blue/style.css" type="text/css" />
<script type="text/javascript" src="jQuery/Tablesorter/jquery.tablesorter.js"></script>
<script type="text/javascript">
var CountScores = 0;
var tablbefore = "<table><thead><tr><th>編號</th><th>姓名</th><th>帳號</th><th>密碼</th><th>密問</th><th>密鑰</th><th>QQ</th><th>E-mail</th><th>積分</th><th>狀態</th></tr></thead>";
var orderBy = {
'orderBy':encodeURI('usNickName')
};
jQuery(document).ready(function(){
CountScores = ShowUserInfo.GetUserCount().value;
$('#ShowUserInfo')
.jpage({
totalRecord:CountScores,
proxyUrl:'GetUserInfo.aspx',
groupSize:1,
perPage:15,
barPosition:'top&bottom',
showMode:'full',
dataBefore:tablbefore,
dataAfter:'<table />',
themeName:'black',
ajaxParam:orderBy
});
});
var TableSort = function()
{
$("table").tablesorter();
//assign the sortStart event
//$("table").bind("sortStart",function() {
//$("#overlay").show();
//}).bind("sortEnd",function() {
// $("#overlay").hide();
//});
}
var AddTableHover = function()
{
jQuery("table tbody tr")
.not('tr:lt(2)')
//.not('tr:gt(3)')
.hover(function(){
$(this).addClass('hovering');
},function(){
$(this).removeClass('hovering');
});
}
</script>
</head>
<body style="text-align: center">
<form id="form1" runat="server">
<div>
<div style="width: 800px; height: 100%">
<div style="width: 100%;">
<h2>用戶信息</h2>
</div>
<hr style="height: 5px; background-color: #ff3300" />
<div id="ShowUserInfo" style="width: 100%; height: 100%; text-align:left;">
</div>
</div>
</div>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -