1 Star 3 Fork 0

Admin/MyWebSms

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
onlines.aspx 4.58 KB
一键复制 编辑 原始数据 按行查看 历史
Ai鹿子 提交于 2022-04-24 10:09 . 01
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="onlines.aspx.cs" Inherits="onlines" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link href="css/layer.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/draw.js"></script>
<script type="text/javascript" src="js/tipswindownnow3c.js"></script>
<script type="text/javascript" language="javascript">
var pre;
function selectArow(s)
{
$(s).attr("style", "background-color:#D2EAEC;color:#913005");
if (pre != null && pre != s) $(pre).attr("style", "background-color:;color:");
pre = s;
}
function addwindow(s)
{
}
</script>
</head>
<body style="background-color: #fff;">
<form id="form1" runat="server">
<div id="mybox">
<table id="online" width="100%"
style="border-collapse: collapse; border: 1px solid #C1DAD7;"
cellspacing="0" cellpadding="0">
<tr runat="server" id="message" visible="false"><td colspan="7" height="30" align="center">没有找到符合条件的记录!</td></tr>
<asp:Repeater runat="server" ID="rep_parent" OnItemCommand="rep_parent_ItemCommand" OnItemDataBound="rep_parent_ItemDataBound">
<ItemTemplate>
<tr id="<%#Eval("userid")%>" onclick="selectArow(this);">
<td width="50">
No. <asp:Label ID="no" runat="server" Text=""></asp:Label></td>
<td width="100">
<%#Eval("UserName")%>
</td>
<td style="text-align:center;" title="上级用户">
<%#TopUserName(int.Parse(Eval("UserPID").ToString()))%>
</td>
<td width="80">
已发 <%#Eval("SendCount")%>
</td>
<td width="100">
剩余 <%#Eval("CurrentCount")%>
</td>
<td width="50" align="center">
<%#Eval("UserType").ToString().Replace("1","高端用户").Replace("0","普通用户")%>
</td>
<td width="60" align="center">
<a onclick='tipsWindown("给<%#Eval("UserName")%>发短消息","iframe:sendmessage.aspx?u=<%#Eval("UserName")%>","300","200","true","","1","exa");'>
发短消息</a>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
<table width="100%" id="dh_table" bordercolor="#C1DAD7" cellspacing="0" bgcolor="#E9F3FD"
border="1">
<tr>
<td valign="top">
<webdiyer:aspnetpager cssclass="anpager" pagesize="6" currentpagebuttonclass="cpb"
numericbuttoncount="5" id="pagelist" alwaysshow="False" urlpaging="True" runat="server"
onpagechanging="PageChanging" firstpagetext="首页" lastpagetext="尾页" nextpagetext="下一页"
prevpagetext="上一页" custominfohtml="<div style='margin-top:2px;margin-bottom:2px;font-family:Microsoft YaHei;letter-spacing:1px;'>第<font color=#1F3A87>%CurrentPageIndex%</font>页 共<font color=#1F3A87>%PageCount%</font>页 每页<font color=#1F3A87>%PageSize%</font>条 共<font color=#1F3A87>%RecordCount%</font>条</div>"
showcustominfosection="left" pagingbuttonspacing="3px" showboxthreshold="9" shownavigationtooltip="True"
submitbuttonclass="pagebutton" submitbuttontext="转向" custominfosectionwidth="190"
wrap="False" custominfostyle="" direction="LeftToRight">
</webdiyer:aspnetpager>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/huanghe_1_0/my-web-sms.git
git@gitee.com:huanghe_1_0/my-web-sms.git
huanghe_1_0
my-web-sms
MyWebSms
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385