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

📄 card.asp

📁 一路飞扬在线同学录单班级版,主要用于个人系统中的同学录,不过对于学习有帮助!
💻 ASP
字号:
<!--#include file="syssetup.asp"-->
<!--#include file="inc/func.INC"-->
<!--#include file="inc/chkonline.asp"-->
<%call online()
userid=session("myuserid")
password=session("mypwd")
if isuser(userid,password)=0 then
%>
<script>
alert("你还没有登录,无权进入!");
parent.location.href="index.asp";
</script>
<%
response.end
end if%>
<html>
<head>
<title>一路飞扬在线</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!-- Fireworks MX Dreamweaver MX target.  Created Sat Oct 25 08:11:34 GMT+0800 (?D1ú±ê×?ê±??) 2003-->
<style type="text/css">
<!--
@import url("css.css");
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body background="images/beijing.gif" leftmargin="0" topmargin="0">
<script language="VBScript" src="jscs/LOAD.JS"></script>
<table width="774" border="0" align="center" cellpadding="0" cellspacing="0">
  <!-- fwtable fwsrc="txl2.png" fwbase="index.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr> 
    <td><img src="images/spacer.gif" width="60" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="98" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="28" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="5" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="38" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="94" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="97" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="105" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="103" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="101" height="1" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="15" height="1" border="0" alt=""></td>
  </tr>
  <tr> 
    <td height="60" colspan="5"><table width="97%" height="53" border="0">
        <tr> 
          <td><div align="center"><img src="images/yilufei2.jpg" width="191" height="61"></div></td>
        </tr>
      </table></td>
    <td colspan="7"><table width="100%" height="63" border="0">
        <tr> 
          <td width="80%" rowspan="3"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="444" height="60">
              <param name="movie" value="909.swf">
              <param name="quality" value="high">
              <embed src="909.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="444" height="60"></embed></object></td>
          <td width="20%"><div align="center"><img src="images/hf.gif" width="16" height="16"><A 
      href="mailto:111@163.com" class=date><font color="#009900">飞鸽传书</font></A><A class=date 
      href="mailto:wangyy168@tom.com"></A></div></td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td height="17"> <div align="center"><img src="images/bookmark.gif" width="15" height="13"><a href="javascript:window.external.addFavorite('http://wyy.9yz.com','一路飞扬在线')"><font color="#009900">加入收藏</font></a></div></td>
        </tr>
      </table></td>
  </tr>
  <tr bgcolor="#008040"> 
    <td height="16" colspan="12"><font size="2" face="宋体"><a href="index.asp"><font color="#FFFF00">首 
      页</font></a><font color="#FFFF00"> | <a href="fei/default.asp" target="_blank"><font color="#FFFFFF">魅力测试</font></a> 
      |<font color="#CCCCCC"> </font></font><a href="fu.asp" target="_blank"><font color="#FFFFFF">真情互动</font></a><font color="#FFFF00"> 
      | <a href="kai.asp" target="_blank"><font color="#FFFFFF">许愿祝福</font></a> 
      | <a href="showpic.asp"><font color="#FFFFFF">飞扬相册</font></a> | <a href="tu/tuya_show.asp" target="_blank"><font color="#FFFFFF">随意涂画</font></a> 
      | <a href="card.asp"><font color="#FFFFFF">飞扬名片</font></a> | <a href="modify.asp"><font color="#FFFFFF">资料修改</font></a> 
      | <a href="yule/index.asp" target="_blank"><font color="#FFFFFF">娱乐频道</font></a> 
      | </font><a href="note.asp"><font color="#FFFFFF">雁过留声</font></a><font color="#FFFF00"> 
      | <a href="guest.asp"><font color="#FFFFFF">私人短讯</font></a><font size="2" face="宋体">| 
      </font></font><font size="2" face="宋体"><a href="int.asp"><font color="#FFFFFF">简 
      介</font></a></font> </font></td>
  </tr>
  <td colspan="3" valign="top" bgcolor="#FFFFFF" class="unnamed1"><table width="100%" height="98" border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" class="unnamed1" style="border-collapse: collapse">
      <tr> 
        <td height="17"></td>
        <td height="17">&nbsp;</td>
      </tr>
      <tr> 
        <td width="48%" height="17"><div align="right">名片总数:</div></td>
        <td width="52%" height="17"><font color="#FF0000"> 
          <%set rs=Server.CreateObject ("ADODB.RecordSet")
		sql="select id from txluser"
		rs.open sql,conn,1,1
		i=0
		while not rs.eof
		i=i+1
		rs.Movenext
		wend
		rs.close
		set rs=nothing%>
          <%=i%></font> 张</td>
      </tr>
      <tr> 
        <td height="16"></td>
        <td height="16">&nbsp;</td>
      </tr>
      <tr> 
        <td width="48%" height="16"><div align="right">帅哥名片:</div></td>
        <td width="52%" height="16"><font color="#FF0000"> 
          <%set rs=Server.CreateObject ("ADODB.RecordSet")
		sql="select id from txluser where sex='男'"
		rs.open sql,conn,1,1
		j=0
		while not rs.eof
		j=j+1
		rs.Movenext
		wend
		rs.close
		set rs=nothing%>
          <%=j%></font> 张</td>
      </tr>
      <tr> 
        <td height="16"></td>
        <td height="16">&nbsp;</td>
      </tr>
      <tr> 
        <td width="48%" height="16"><div align="right">美女名片:</div></td>
        <td width="52%" height="16"><font color="#FF0000"><%=i-j%></font> 张</td>
      </tr>
    </table></td>
  <td valign="top" background="images/index_r7_c5.gif"><img name="index_r7_c5" src="images/index_r7_c5.gif" width="5" height="553" border="0" alt=""></td><td colspan="9" valign="top" bgcolor="#FFFFFF">
  <table width="100%" border="0" class="unnamed1">
    <tr> 
      <td>当前位置:一路飞扬在线名片</td>
    </tr><tr><td>
    <%set rs=server.createobject("ADODB.Recordset")
	sql="select telephone,mobile,truename,oicq,address,headpic,email from txluser order by regtime desc"
	rs.open sql,conn,1,1
	Rs.Pagesize =10

Pageno = CLng(Request("page")) '取得用page信息,并处理
If Pageno < 1 Then Pageno = 1
If Pageno > Rs.PageCount Then Pageno = Rs.PageCount
If pageNo = "" Then Pageno = 1
%>
    <form method="get" name="select" action="card.asp">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="100"><tr><td width="48%" valign="top">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
          <tr> <td width="100%" valign="top">
            <%
Sub Showpage(Rs,pageno) '接受参数,显示记录
Rs.AbsolutePage = Pageno
for i=1 to int(Rs.Pagesize/2)
if rs.eof then
		exit for
		end if%>
            <div align="center"> 
              <table class="unnamed1" height="100" cellSpacing="0" cellPadding="3" width="85%" bgColor="#F7F7F7" border="0" style="border-collapse: collapse" bordercolor="#111111">
                <td width="90%" height="38" align="middle" class="unnamed1"><%=rs("truename")%></td>
                <td align="right"><img src="<%=rs("headpic")%>"></td>
                </tr>
                <tr> 
                  <td colSpan="2"> <p style="line-height: 150%">QQ: <%=rs("oicq")%><br>
                      手机:<%=rs("mobile")%> <br>
                      Tel:<%=rs("telephone")%><br>
                      E-mail:<a href="mailto:<%=rs("email")%>"><%=rs("email")%></a><br>
                      工作单位:<%=rs("address")%> </td></td>
              </table>
              <br>
            </div>
            <%rs.movenext
		next%></td></tr>
        </table></td>
        <td width="3%" height="35"></td><td width="48%" valign="top">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%"><tr><td width="100%" valign="top">
          <%for i=int(Rs.Pagesize/2)+1 to Rs.Pagesize
if rs.eof then
		exit for
		end if%>
          <div align="center"> 
            <table class="unnamed1" height="100" cellSpacing="0" cellPadding="3" width="85%" bgColor="#F7F7F7" border="0" style="border-collapse: collapse" bordercolor="#111111">
              <tbody>
                <tr> 
                  <td width="90%" height="38" align="middle" class="unnamed1"><%=rs("truename")%></td>
                  <td align="right"><img src="<%=rs("headpic")%>"></td>
                </tr>
                <tr> 
                  <td colSpan="2"> <p style="line-height: 150%">QQ: <%=rs("oicq")%><br>
                      手机:<%=rs("mobile")%> <br>
                      Tel:<%=rs("telephone")%><br>
                      E-mail:<a href="mailto:<%=rs("email")%>"><%=rs("email")%></a><br>
                      工作单位:<%=rs("address")%> </td></td></tr></tbody>
            </table>
            <br>
          </div>
          <%rs.movenext
		next
		end sub
		%>
          <% showpage rs,pageno %></td></tr>
        </table></td></tr>
        <tr> 
          <td width="97%" height="15" colspan="3" align="right" valign="bottom"> 
            <img border="0" src="images/alumni_line.gif" WIDTH="264" HEIGHT="3"></td>
        </tr>
      </table>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
        <tr> 
          <td width="100%" align="right" height="35" class="unnamed1"> 
            <%
If Pageno <>1 Then
	Response.Write "&nbsp;<A href=card.asp>首页</A>&nbsp;"
	Response.Write "&nbsp;<A href=card.asp?page=" & (Pageno-1) & ">前页</A>&nbsp;"
Else
	Response.Write "&nbsp;首页&nbsp;"
	Response.Write "&nbsp;前页&nbsp;"
End If
If Pageno <> rs.PageCount Then
	Response.Write "&nbsp;<A href=card.asp?page=" & (Pageno+1) & ">后页</A>&nbsp;"
	Response.Write "&nbsp;<A href=card.asp?page=" & (Rs.PageCount) & ">末页</A>&nbsp;"
Else
	Response.Write "&nbsp;后页&nbsp;"
	Response.Write "&nbsp;末页&nbsp;"
End If
%>
            &nbsp;&nbsp; 第 
            <select name="page">
              <%
For I = 1 To Rs.PageCount
Response.Write  "<option>" & I & "</option>"
Next
%>
            </select>
            页&nbsp; <input type="submit" Value="GO"> &nbsp;&nbsp;&nbsp;&nbsp; 
          </td>
        </tr>
      </table>
    </form></td></tr>
  </table>
  <td><img src="images/spacer.gif" width="1" height="553" border="0" alt=""></td>
  </tr>
  <tr> 
    <td height="8" colspan="12"><div align="center"><font color="#CC00CC" size="2">一路飞扬在线</font><font color="#CC00FF" size="2">同学录</font><font color="#009900" size="2"> <font color="#0033FF">http://wyy.9yz.com</font></font></div>
      <div align="center"></div></td>
  </tr>
  <tr>
    <td height="9" colspan="12"><div align="center"><font color="#009900" size="2" face="宋体">本站由王瑜瑜制作和维护</font></div></td>
  </tr>
</table>
</body>
</html>





⌨️ 快捷键说明

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