home *** CD-ROM | disk | FTP | other *** search
/ 221.214.14.186 / 221.214.14.186.tar / 221.214.14.186 / zb / Notepad-1 / bestshow.asp < prev    next >
Text File  |  2004-12-09  |  4KB  |  145 lines

  1. <!--#include file="conn.asp"-->
  2. <!--#include file=const.asp -->
  3. <!--#include file="ubb.asp"-->
  4. <!--#include file="userInfo.inc"-->
  5. <%
  6. dim xxid, exec, rs
  7. xxid=replace(trim(request("id")),"'","")
  8. if xxid="" or not isnumeric(xxid) then
  9.     session("error")="╖╟╖¿╖├╬╩úí"
  10.     connclose()
  11.     response.redirect "error.asp"
  12. end if
  13.  
  14. exec="select * from ly where id=" + CStr(xxid) + " "
  15. Set RS = Server.CreateObject("ADODB.RecordSet")
  16. rs.Open exec, Conn, 1, 2
  17.  
  18. rs("yd")=rs("yd")+1
  19. rs.update
  20.  
  21. %>
  22. <html>
  23.  
  24. <head>
  25. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  26. <title><%=sitetitle%></title>
  27. <META name="Author" content="─╛─±">
  28. <link rel="stylesheet" href="style/<%=skin%>.css" type="text/css">
  29. <meta name="keywords" content="┴⌠╤╘▒╛,asp">
  30. </head>
  31.  
  32. <body>
  33. <script language="JavaScript">
  34. <!--
  35. function namosw_goto(url, targetstr)
  36. {
  37.   if (url == 'backward')
  38.     history.back(1);
  39.   else if (url == 'forward')
  40.     history.forward(1);
  41.   else {
  42.      if (targetstr == 'blank') {
  43.        window.open(url, 'win1');
  44.      } else {
  45.        var frameobj;
  46.        if ((frameobj = eval(targetstr)) != null)
  47.        frameobj.location = url;
  48.      }
  49.   }
  50. }
  51.  
  52. // -->
  53. </script>
  54. <!--#include file="head.asp"-->
  55.       <table border="0" width="100%" cellspacing="0" cellpadding="0">
  56.         <tr>
  57.           <td width="100%">  </td>
  58.         </tr>
  59.       </table>
  60.  
  61.  
  62. <table style="table-layout:fixed" border="0" width="650" cellspacing="0" cellpadding="3" align="center" class="table004">
  63.  <tr class=table003>
  64.  <td>
  65.      <table cellpadding=2 cellspacing=0 border=0 style="table-layout:fixed;word-break:break-all">
  66.       <td width="25">
  67.            <img border=0 align=absmiddle src=images/jh.gif >
  68.       </td>
  69.       <td width="*" class="jnfont5" >
  70.         <img border="0" src="images/<%=rs("pic")%>">
  71.           <%
  72.           response.write rs("title")
  73.           if not showFace then
  74.               userNameNoFace rs("name"),rs("bl"),isMaster(rs("name"))
  75.           end if
  76.           %>
  77.       </td>
  78.       <td width="150" align="right">
  79.          <%
  80.         userEmail(rs("email"))
  81.         userIcq(rs("icq"))
  82.         userMsn(rs("msn"))
  83.         userQQ(rs("qq"))
  84.         userUrl(rs("url"))
  85.         %> 
  86.       </td></tr>
  87.       </table>
  88.   </td>
  89.  </tr>
  90.  <tr align="center">
  91.   <td class="table001">
  92.     <table border="0" width="100%" cellspacing="0" cellpadding="2" style="table-layout:fixed;word-break:break-all">
  93.         <tr valign=top>
  94.         <%
  95.         if showFace then
  96.             userNameFace  rs("name"), rs("face"), rs("male"),rs("bl"),isMaster(rs("name"))
  97.         end if
  98.         %>
  99.         <td width="*" style="letter-spacing:1px;line-height:140%" class="jnfont3" >
  100.             <%=ubbcode(rs("nei"))%>
  101.          </td>
  102.         </tr>
  103.     </table>
  104.  
  105.     <table width=100% >
  106.         <tr>
  107.          <td width="86%" align="right" class="jnfont6"> [ ╖ó▒φ╩▒╝Σú║<%=rs("t")%> ]
  108.          </td>
  109.          <td width="14%">
  110.         <% if theUser.reged then %>
  111.         <a href="edit.asp?id=<%=rs("id")%>"><img src="images/edit.gif" width="13" height="15" border="0" alt="▒α╝¡"></a>
  112.         <% else %>
  113.         <img src="images/edit-gray.gif" width="13" height="15" border="0" alt="▒α╝¡">
  114.         <% end if
  115.         if theUser.master then %>
  116.             <a href="admin_post.asp?id=<%=rs("id")%>"><img border="0" src="images/gl.gif" width="16" height="16" alt="╣▄└φ"></a>
  117.             <% userIp rs("ip"),rs("comefrom") %>
  118.         <% else %>
  119.             <img border="0" src="images/gl-gray.gif" width="16" height="16" alt="╣▄└φ">
  120.             <img src=images/ip.gif align=absmiddle alt="ú╔ú╨:íε▒ú├▄íε └┤╘┤:íε▒ú├▄íε">
  121.         <% end if %>
  122.         <a href="#"><img src="images/gotop.gif" width="15" height="15" border="0" alt="╖╡╔╧"></a>
  123.          </td>
  124.         </tr>
  125.     </table>
  126.   </td>
  127.  </tr>
  128. </table>
  129. <form name="form">
  130.  <div align=center>
  131.   <input type="button" value="╖╡╗╪╟░╥│" OnClick="namosw_goto('backward')" class="input1" >
  132.  </div>
  133. </form>
  134. <%
  135. rs.close
  136. set rs=nothing
  137. conn.close
  138. set conn=nothing
  139. %>
  140. <!--#include file="foot.asp"-->
  141.  
  142. </body>
  143.  
  144. </html>
  145.