/ltd/ccs/ccs_gz_lastyear/cx/CF_TEST/detail.asp
http://github.com/zhaowe/bc · ASP · 122 lines · 113 code · 8 blank · 1 comment · 2 complexity · e58bfcc829203cc34981f19fce594bd8 MD5 · raw file
- <%@ Language=VBScript %>
- <%
- OledbStr_cf = "provider=sqloledb;server=10.254.0.46;database=cftest;uid=sa;pwd=szx6275;"
- Set objConn_cf = Server.CreateObject("ADODB.Connection")
- objConn_cf.Open OledbStr_cf
- Set objRst=server.CreateObject ("ADODB.Recordset")
- objRst.LockType=3
- objRst.CursorType=3
- set objRst.activeConnection=objConn_cf
- 'Á¬½ÓÊý¾Ý¿â
-
- id=Request.QueryString ("Q")
-
- SqlIns ="select * from cf_comm where id='"& id &"' "
- objrst.Source =sqlins
- objrst.Open
-
- if objrst("sex")=0 then
- sex="Å®"
- else
- sex="ÄÐ"
- end if
-
- %>
- <HTML>
- <HEAD>
- <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
- </HEAD>
- <style type="text/css">
-
- TD {
- FONT-FAMILY: ËÎÌå; FONT-SIZE: 15px
- }
- </style>
- <body>
- <p align="center">¡¡
- </p>
-
- <p align="center"><b><font size="5"><font color="#CC3300"><%=objrst("name")%></font>¡ª¡ª<font color="#0066FF">Ïêϸ×ÊÁÏ</font></font></b>
- </p>
-
- <table border="0" cellspacing="1" width="100%" height="1" bgcolor="#0000FF" bordercolor="#0000FF">
- <tr>
- <td width="4%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>ÐÕÃû</b></font></td>
- <td width="7%" height="1" bgcolor="#FFFFFF"><%=objrst("name")%></td>
- <td width="4%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>ÐÔ±ð</b></font></td>
- <td width="3%" height="1" bgcolor="#FFFFFF"><%=sex%></td>
- <td width="4%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>ÄêÁä</b></font></td>
- <%if objrst("age")>0 then%>
- <td width="3%" height="1" bgcolor="#FFFFFF"><%=objrst("age")%></td>
- <%else%>
- <td width="3%" height="1" bgcolor="#FFFFFF"></td>
- <%end if%>
- <td width="4%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>ÉúФ</b></font></td>
- <td width="3%" height="1" bgcolor="#FFFFFF"><%=objrst("shengxiao")%></td>
- <td width="4%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>ÐÇ×ù</b></font></td>
- <td width="6%" height="1" bgcolor="#FFFFFF"><%=objrst("constellation")%></td>
- <td width="4%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>ѪÐÍ</b></font></td>
- <td width="3%" height="1" bgcolor="#FFFFFF"><%=objrst("bloodtype")%></td>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>³öÉúÈÕÆÚ</b></font></td>
- <%if objrst("age")>0 then%>
- <td width="15%" height="1" bgcolor="#FFFFFF"><%=objrst("birthday")%></td>
- <%else%>
- <td width="15%" height="1" bgcolor="#FFFFFF"></td>
- <%end if%>
- </tr>
- </table>
- <table border="0" cellspacing="1" width="100%" height="1" bgcolor="#0000FF" bordercolor="#0000FF">
- <tr>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>°ì¹«µç»°</b></font></td>
- <td width="15%" height="1" bgcolor="#FFFFFF"><%=objrst("office_tel")%></td>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>¼ÒÍ¥µç»°</b></font></td>
- <td width="16%" height="1" bgcolor="#FFFFFF"><%=objrst("home_tel")%></td>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>ËÞÉáµç»°</b></font></td>
- <td width="17%" height="1" bgcolor="#FFFFFF"><%=objrst("dorm_tel")%></td>
- </tr>
- </table>
- <table border="0" cellspacing="1" width="100%" height="1" bgcolor="#0000FF" bordercolor="#0000FF">
- <tr>
- <td width="5%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>ÊÖ»ú</b></font></td>
- <td width="9%" height="1" bgcolor="#FFFFFF"><%=objrst("mobile_tel")%></td>
- <td width="5%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>´«ºô</b></font></td>
- <td width="15%" height="1" bgcolor="#FFFFFF"><%=objrst("bp_call")%></td>
- <td width="6%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>EMAIL</b></font></td>
- <td width="26%" height="1" bgcolor="#FFFFFF"><a href="mailto:<%=objrst("email")%>"><%=objrst("email")%></a></td>
- <td width="3%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>QQ</b></font></td>
- <td width="12%" height="1" bgcolor="#FFFFFF"><%=objrst("qq_code")%></td>
- </tr>
- </table>
- <table border="0" cellspacing="1" width="100%" height="1" bgcolor="#0000FF" bordercolor="#0000FF">
- <tr>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>¹¤×÷µ¥Î»</b></font></td>
- <td width="73%" height="1" bgcolor="#FFFFFF"><%=objrst("corporation")%></td>
- </tr>
- <tr>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>¹«Ë¾µØÖ·</b></font></td>
- <td width="73%" height="1" bgcolor="#FFFFFF"><%=objrst("office_addr")%></td>
- </tr>
- <tr>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>¼ÒÍ¥µØÖ·</b></font></td>
- <td width="73%" height="1" bgcolor="#FFFFFF"><%=objrst("home_addr")%></td>
- </tr>
- <tr>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099"><b>¹«Ô¢µØÖ·</b></font></td>
- <td width="73%" height="1" bgcolor="#FFFFFF"><%=objrst("dorm_addr")%></td>
- </tr>
- </table>
- <table border="0" cellspacing="1" width="100%" height="1" bgcolor="#0000FF" bordercolor="#0000FF">
- <tr>
- <td width="8%" height="1" bgcolor="#FFFFFF"><font color="#990099">
- <b>±¸×¢</b></font></td>
- <td width="73%" height="1" bgcolor="#FFFFFF"><%=objrst("memo")%></td>
- </tr>
- </table>
- <p align="center"><b><font size="4"><font color="#0066FF"><a href="com_modi.asp?Q=<%=id%>">ÐÞ ¸Ä</a> <a href="com_disp.asp">·µ »Ø</a></font></font></b>
- </p>
- </body>
- </HTML>
- <%
- objrst.Close
-
- %>