home *** CD-ROM | disk | FTP | other *** search
/ 221.214.14.186 / 221.214.14.186.tar / 221.214.14.186 / zb / Notepad-zb / userInfo.inc < prev    next >
Text File  |  2005-12-26  |  4KB  |  111 lines

  1. <%
  2.  
  3. function userEmail(email)
  4.     if email<>"" then
  5.         response.write("<a href='mailto:"+email+"' title='╙╩╧Σú║"+email+"'><img border=0 src=images/email.gif align=absmiddle></a> ")
  6.     else
  7.         response.write("<img border=0 src=images/email-gray.gif align=absmiddle title='╙╩╧Σú║íε╬┤╓¬íε'> ")
  8.     end if
  9. end function
  10.  
  11. function userQQ(qq)
  12.     if qq<>"" then
  13.         response.write("<a href='http://search.tencent.com/cgi-bin/friend/user_show_info?ln="+qq+"' target=_blank title='ú╤ú╤ú║"+qq+"'><img border=0 align=absmiddle src=images/qq.gif></a> ")
  14.     else
  15.         response.write("<img align=absmiddle src=images/qq-gray.gif title='ú╤ú╤ú║íε╬┤╓¬íε'> ")
  16.     end if
  17. end function
  18.  
  19. function userIcq(icq)
  20.     if (icq<>"") then
  21.         response.write("<img align=absmiddle src=images/icq.gif title='ICQú║"+icq+"'> ")
  22.     else
  23.         response.write("<img align=absmiddle src=images/icq-gray.gif title='ICQú║íε╬┤╓¬íε'> ")
  24.     end if
  25. end function
  26.  
  27. function userMsn(msn)
  28.     if (msn<>"") then
  29.         response.write("<img align=absmiddle src=images/msn.gif title='MSNú║"+msn+"'> ")
  30.     else
  31.         response.write("<img align=absmiddle src=images/msn-gray.gif title='MSNú║íε╬┤╓¬íε'> ")
  32.     end if
  33. end function
  34.  
  35. function userUrl(url)
  36.     if (url<>"" and url<>"http://") then
  37.         response.write("<a href='"+url+"' target=_blank title='"+url+"'><img border=0 src=images/pt.gif align=absmiddle title='╓≈╥│ú║"+url+"'></a>")
  38.     else
  39.         response.write("<img border=0 src=images/pt-gray.gif align=absmiddle title='╓≈╥│ú║íε╬┤╓¬íε'>")
  40.     end if
  41. end function
  42.  
  43. function userIp(ip,add)
  44.     if (ip<>"") then
  45.         response.write("<img src=images/ip.gif align=absmiddle alt='ú╔ú╨:"+ip)
  46.     else
  47.         response.write("<img src=images/ip.gif align=absmiddle alt='ú╔ú╨:íε╬┤╓¬íε")
  48.     end if
  49.     if (add<>"") then
  50.         response.write(" └┤╘┤:"+add+"'> ")
  51.     else
  52.         response.write(" └┤╘┤:íε╬┤╓¬íε'> ")
  53.     end if
  54. end function
  55.  
  56. function userNameFace(name,face,male,reged,ismaster)
  57.     'if show then
  58.         response.write("<td width=85 colspan=3 class=jnfont3 valign=top>")
  59.         response.write("<table align=left cellpadding=0 width=100% style='word-break:break-all;'><tr><td align=center>")
  60.         response.write("<img src='"+face+"' alt=")
  61.         if (male=1) then
  62.             response.write("╦º╕τ")
  63.         else
  64.             response.write("├└├╝")
  65.         end if
  66.         response.write(" ><br>"+name)
  67.         if (reged=1) then
  68.             if (ismaster) then
  69.                 response.write("<img border=0 src=images/bz.gif title=░µ╓≈>")
  70.             else
  71.                 response.write("<img border=0 src=images/bl.gif title=╫ó▓ß╙├╗º>")
  72.             end if
  73.         else
  74.             response.write("<img border=0 src=images/guest.gif title=╣²┐═>")
  75.         end if
  76.         response.write("</td><td width=1 class=table002></td></tr></table>")
  77.         response.write("</td>")
  78.     'end if
  79. end function
  80.  
  81. function userNameNoFace(name,reged,ismaster)
  82.     'if (not show) then
  83.         response.write("  ( "+name)
  84.         if (reged=1) then
  85.             if (ismaster) then
  86.                 response.write("<img border=0 src=images/bz.gif title=░µ╓≈> ")
  87.             else
  88.                 response.write("<img border=0 src=images/bl.gif title=╫ó▓ß╙├╗º> ")
  89.             end if
  90.         else
  91.             response.write("<img border=0 src=images/guest.gif title=╣²┐═> ")
  92.         end if
  93.         response.write(" )")
  94.     'end if
  95. end function
  96.  
  97.  
  98. function userName(name,reged,ismaster)
  99.     response.write(name)
  100.     if (reged=1) then
  101.         if (ismaster) then
  102.             response.write("<img border=0 src=images/bz.gif title=░µ╓≈> ")
  103.         else
  104.             response.write("<img border=0 src=images/bl.gif title=╫ó▓ß╙├╗º> ")
  105.         end if
  106.     else
  107.         response.write("<img border=0 src=images/guest.gif title=╣²┐═> ")
  108.     end if
  109. end function
  110.  
  111. %>