⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mobile.asp

📁 wapgo网址导航整站源码,WAP源码,更多登陆http://xywap.cn
💻 ASP
字号:
<%@language=vbscript%>
<%
  if session("admin")="" then
  response.redirect "admin.asp"
  end if

%>
<!--#include file="conn.asp"-->
<html>
<head>
<title>用户管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<%
set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [user] order by 1/id"
rs.open rsstr,conn,1,2
%>
<body>
<br><br>
  
<table class="border" height="34" cellSpacing="1" cellPadding="0" width="796" border="1" id="table2" bordercolor="#C0C0C0">
	<tr class="tdbg">
		<td width="42" align="center" height="30"><strong>ID</strong></td>
		<td width="305" align="center" height="30"><strong>
		手机型号</strong></td>
		<td width="199" align="center" height="30"><strong>手机号码</strong></td>
		<td width="177" align="center" height="30"><strong>访问时间</strong></td>
	</tr>
</table>
  
<table class="border" height="11" cellSpacing="1" cellPadding="0" width="797" border="1" id="table1" bordercolor="#C0C0C0">
<%
		  if rs.eof and rs.bof then
                                  response.write "没有分类,请添加!"
                                  end if
		  pageno=trim(Request("pageno"))
If pageno="" Then
   pageno="1"
End If
pageno=CInt(pageno)
rs.PageSize=30
rs.AbsolutePage=pageno
dim i
i=0
do while not rs.eof
%>
	<tr class="tdbg">
		<td align="middle" width="41"><%=rs("id")%></td>
		<td align="middle" width="306" valign="middle"><%=rs("agent")%></td>
		<td align="middle" width="199" valign="middle">
		<form

    action="http://www.imobile.com.cn/simcard.php" method="post"

    onsubmit="window.open('', 'mywindow', 'height=197,width=350,status=yes,toolbar=no,menubar=no,location=no')"

    target="mywindow">
		<input class="TextBoxStyle" name="simcard" maxlength="11" size="15" style="border: 1px solid #FFFFFF; background-color:#CBDCED" value="<%=rs("num")%>"> <input

      type="submit" value="查询">

    </form>
</td>
                <td width="177" align="center" valign="middle"><%=rs("time")%></td>
	</tr> <%
i=i+1
if i>=rs.pagesize then Exit Do
		    rs.movenext
		    loop
%>
<tr class="tdbg">
		<td align="right" width="477" colspan="3">
<form action='mobile.asp' method='post' name='form'>
	<p><br>
	共<%=rs.RecordCount%>条记录,(<%=pageno%>/<%=rs.PageCount%>)&nbsp;&nbsp;<%if pageno>1 then%><a href="mobile.asp?pageno=<%=pageno-1%>">上页</a><% else response.write "上页" end if%> 
	|  <%if pageno<rs.PageCount then%><a href="mobile.asp?pageno=<%=pageno+1%>">下页</a><%else response.write "下页" end if%>&nbsp;&nbsp;<font size="3"><input name='pageno' type='text' id='pageno' style="width: 30px; color: #000000; height: 17px; border: 1px solid #000000; background: #efefef"></font> 
	&nbsp;&nbsp;<font size="3"><input type='submit' name='Submit' style="width: 40px; color: #000000; height: 17px; border: 1px solid #000000; background: #efefef"  value='转到'></font></p>
</form>
</td>
	</tr>
<%
		    rs.close
		    set rs=nothing
 %>

</table>
<p> </p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -