<!--#include file="../../here99login/0.asp"--><!--#include file="../../conn/zkconn.asp"-->
<html>
<head>
<title>显示首页图片</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../css/css.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<p><% id=request("id")
if id="" then 
response.write "您要看那个"
response.end 
end if 
set rs=server.createobject("adodb.recordset")
sql="select  * from firstpic where id='"&id&"'order by id asc"
   rs.open sql,conn,1,1
        pic1=rs("pic1")
        ifbr1=rs("ifbr1")
		ifbr1=trim(ifbr1)
        pic2=rs("pic2")
	    ifbr2=rs("ifbr2")
		ifbr2=trim(ifbr2)
        pic3=rs("pic3")
	    ifbr3=rs("ifbr3")
		ifbr3=trim(ifbr3)
        pic4=rs("pic4")
        link1=rs("link1")
		link2=rs("link2")
		link3=rs("link3")
		link4=rs("link4")
		text1=rs("text1")
		text2=rs("text2")
		text3=rs("text3")
		tlink1=rs("tlink1")
		tlink2=rs("tlink2")
		tlink3=rs("tlink3")
       piccount=rs("piccount")
	   textcount=rs("textcount")
  %>
</p><p>&nbsp;</p><table width="28%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td> 
      <% if piccount=4 then %>
      <a href=<%=link1%>><img src=../../pic/<%=pic1%> border=0></a><%=ifbr1%><a href=<%=link2%>><img src=../../pic/<%=pic2%> border=0></a><%=ifbr2%><a href=<%=link3%>><img src=../../pic/<%=pic3%> border=0></a><%=ifbr3%><a href=<%=link4%>><img src=../../pic/<%=pic4%> border=0></a> 
      <% end if %>
      <% if piccount=1 then %>
      <a href=<%=link1%>><img src=../../pic/<%=pic1%> border=0></a> 
      <% end if %>
      <% if piccount=2 then %>
      <a href=<%=link1%>><img src=../../pic/<%=pic1%> border=0></a><%=ifbr1%><a href=<%=link2%>><img src=../../pic/<%=pic2%> border=0></a> 
      <% end if %>
      <% if piccount=3 then %>
      <a href=<%=link1%>><img src=../../pic/<%=pic1%> border=0></a><%=ifbr1%><a href=<%=link2%>><img src=../../pic/<%=pic2%> border=0></a><%=ifbr2%><a href=<%=link3%>><img src=../../pic/<%=pic3%> border=0></a> 
      <% end if %>
    </td>
  </tr>
  <tr><td><% if textcount=1 then  %>
         <a href=<%=tlink1%>> <%=text1%></a>
		 <%end if %> 
		 <% if textcount=2 then  %>
		  <a href=<%=tlink1%>> <%=text1%></a>
         <a href=<%=tlink2%>> <%=text2%></a>
		 <%end if %>  
		 <% if textcount=3 then  %>
		  <a href=<%=tlink1%>> <%=text1%></a>
         <a href=<%=tlink2%>> <%=text2%></a>
         <a href=<%=tlink3%>> <%=text3%></a>
		 <%end if %>   
		 </td></tr>
</table>

<%
rs.close
set rs=nothing %>
</body>
</html>
