home *** CD-ROM | disk | FTP | other *** search
/ 221.214.14.186 / 221.214.14.186.tar / 221.214.14.186 / zb / Notepad-zb / list1.asp < prev    next >
Text File  |  2005-12-26  |  5KB  |  174 lines

  1. <%
  2. rem ░┤┴⌠╤╘▒╛╖╜╩╜▓Θ┐┤
  3.  
  4. rs.open exec,conn,1,1
  5.  
  6. do until rs.eof %>
  7. <table border="0" style="table-layout:fixed" width="650" cellspacing="0" cellpadding="3" bordercolorlight="#000000" bordercolordark="#CCFFCC" align="center" class="table004">
  8.  <tr>
  9.  <td class=table003>
  10.      <table width=100% border=0 cellspacing=0 cellpadding=2 style="table-layout:fixed;word-break:break-all">
  11.          <tr>
  12.           <td width="25"> 
  13.             <%
  14.             if rs("istop")=1 then
  15.                 response.write "<img border=0 src=images/istop.gif align=absmiddle alt=╣╠╢Ñ>" 
  16.             elseif rs("jh")=1 then
  17.                 response.write "<img border=0 src=images/jh.gif align=absmiddle alt=╛½╗¬>" 
  18.             elseif rs("islock") then
  19.                 response.write "<img border=0 src=images/islock.gif align=absmiddle alt=╦°╢¿>" 
  20.             else
  21.                 response.write "<img align=absmiddle src=images/plus.gif>"
  22.             end if
  23.             %>
  24.           </td>
  25.           <td width="*"  class="jnfont5" >
  26.               <img border="0" src="images/<%=rs("pic")%>" align=absmiddle>
  27.               <%
  28.               response.write funKillword(rs("title"))
  29.               if not showFace then
  30.                   userNameNoFace rs("name") ,rs("bl"),isMaster(rs("name"))
  31.               end if
  32.               %>
  33.           </td>
  34.           <td width="210" align=right > 
  35.              <img align=absmiddle src=images/reply.gif><a href="show.asp?id=<%=rs("id")%>#re">╗╪╕┤</a> 
  36.              <%
  37.              userEmail(rs("email"))
  38.              userIcq(rs("icq"))
  39.              userMsn(rs("msn"))
  40.              userQQ(rs("qq"))
  41.              userUrl(rs("url"))
  42.              %> 
  43.           </td>
  44.          </tr>
  45.      </table>
  46.  </td>
  47.  </tr>
  48.  <tr> 
  49.   <td class="table001" align="center" > 
  50.     <table border="0" width="100%" cellspacing="0" cellpadding="2" style="table-layout:fixed">
  51.         <tr> 
  52.         <%
  53.         if showFace then
  54.             userNameFace rs("name"),rs("face"),rs("male"),rs("bl"),isMaster(rs("name"))
  55.         end if
  56.         %>
  57.         
  58.         <td valign=top class="jnfont3" style="letter-spacing:1px;line-height:140%">
  59.         <%
  60.         response.write ubbcode(rs("nei"))
  61.         
  62.         if not isnull(rs("re_name")) then
  63.             %>
  64.               <table width=98% align=right class=table002 cellpadding="5" cellspacing="0">
  65.                <tr>
  66.                 <td width="450"> <b>╫ε║≤╗╪╕┤ú║</b><img src=images/<%=rs("re_pic")%> align=absmiddle> 
  67.                  <%=funKillword(rs("re_title"))%></td>
  68.                 <td width=150> ╗╪╕┤╚╦ú║ 
  69.             <% response.write rs("re_name")
  70.                 if rs("re_bl")=1 then
  71.                     if isMaster(rs("re_name")) then
  72.                         response.write "<img border=0 src=images/bz.gif title=░µ╓≈>"
  73.                     else
  74.                         response.write "<img border=0 src=images/bl.gif title=╫ó▓ß╙├╗º>"
  75.                     end if
  76.                 end if%>
  77.                 </td>
  78.                </tr>
  79.                <tr>
  80.                 <td colspan=2 style="line-height:140%"><%=ubbcode(rs("re_nei"))%> </td>
  81.                </tr>
  82.               </table>
  83.               <%
  84.         end if %>
  85.         
  86.         
  87.          </td>
  88.         </tr>
  89.     </table>
  90.     
  91.     <table width=100% >
  92.         <tr> 
  93.          <td width="45%" class="jnfont6">
  94.             <img align=absmiddle src=images/reply.gif>
  95.             <% if rs("hf")>0 then %>
  96.             <a href="show.asp?id=<%=rs("id")%>">▓Θ┐┤╚½▓┐╗╪╕┤</a>(<%=rs("hf")%>)
  97.             <% else %>
  98.             <a href="show.asp?id=<%=rs("id")%>#re">╗╪╕┤╕├┴⌠╤╘</a>
  99.             <% end if
  100.             call reLink(rs("id"),rs("hf"))
  101.             %>
  102.          </td>
  103.          <td width="37%" align="right" class="jnfont6"> [ ╖ó▒φ╩▒╝Σú║<%=rs("t")%> ]
  104.          </td>
  105.          <td width="18%" align="right"> 
  106.             <% if theUser.reged then %>
  107.             <a href="edit.asp?id=<%=rs("id")%>"><img src="images/edit.gif" width="13" height="15" border="0" alt="▒α╝¡"></a>
  108.             <% else %>
  109.             <img src="images/edit-gray.gif" width="13" height="15" border="0" alt="▒α╝¡">
  110.             <% end if
  111.             if theUser.master then %>
  112.                 <a href="admin_post.asp?id=<%=rs("id")%>"><img border="0" src="images/gl.gif" width="16" height="16" alt="╣▄└φ"></a>
  113.                 <% userIp rs("ip"),rs("comefrom") %>
  114.                 <input type="checkbox" name="id" value="<%=rs("id")%>" >
  115.             <% else %>
  116.                 <img border="0" src="images/gl-gray.gif" width="16" height="16" alt="╣▄└φ">
  117.                 <img src=images/ip.gif align=absmiddle alt="ú╔ú╨:íε▒ú├▄íε └┤╘┤:íε▒ú├▄íε">
  118.             <% end if %>
  119.             <a href="#"><img src="images/gotop.gif" width="15" height="15" border="0" alt="╖╡╔╧"></a> 
  120.          </td>
  121.         </tr>
  122.        </table>
  123.   </td>
  124.  </tr>
  125. </table>
  126. <br>
  127. <%
  128.     rs.movenext
  129. loop
  130. if isobject(rs1) then
  131.     rs1.close
  132.     set rs1=nothing
  133. end if
  134. rsclose()
  135. connclose()
  136.  
  137. sub reLink(id,num)
  138.     dim reperpage,pagenum,linknum
  139.     linknum=5
  140.     reperpage=rcperpage1
  141.     if num<=reperpage then
  142.         exit sub
  143.     end if
  144.     pagenum=int((num-1)/reperpage)+1
  145.     if pagenum<=linknum then
  146.         for i=1 to pagenum
  147.             response.write "<a href=show.asp?id="
  148.             response.write id
  149.             response.write "&page="
  150.             response.write i
  151.             response.write ">"
  152.             response.write i
  153.             response.write "</a> "
  154.         next
  155.     else
  156.         for i=1 to linknum-2
  157.             response.write "<a href=show.asp?id="
  158.             response.write id
  159.             response.write "&page="
  160.             response.write i
  161.             response.write ">"
  162.             response.write i
  163.             response.write "</a> "
  164.         next
  165.         response.write "... <a href=show.asp?id="
  166.         response.write id
  167.         response.write "&page="
  168.         response.write pagenum
  169.         response.write ">"
  170.         response.write pagenum
  171.         response.write "</a> "
  172.     end if
  173. end sub
  174. %>