www.gusucode.com > 云枫企业网站源代码第二版 2.0源码程序 > admin/info.asp
<table height="84" cellspacing="0" cellpadding="0" width="96%" align="center" border="0"> <tbody> <% dim rs,id id=trim(request("id")) set rs=server.CreateObject("adodb.recordset") if id="" then response.Write("非法参数") else rs.open "select * from product where id="& id,conn,1,3 if rs.eof and rs.bof then response.write("数据出错") else %> <tr> <td class="20" align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="31%"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td><div align="center"> <%if rs("pic")="" then response.write "<div align=center><img src=images/emptybook.gif width=90 height=90 border=0></div>" else%> <img src="admin/<%=trim(rs("pic2"))%>" border="0" align="absmiddle" /> <%end if%> <br /> </div></td> </tr> <tr></tr> </table></td> </tr> <tr> <td colspan="2"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000"> <tr> <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"> </td> </tr> <tr> <td height="216" bgcolor="#FFFFFF" valign="top"><br /> <table width="95%" align="center" cellpadding="0" cellspacing="2" bordercolor="#FFFFFF"> <tr> <td height="394" valign="top" bordercolor="#FFFFFF"><div align="left"> <%=rs("content")%> </div></td> </tr> </table> <% rs("counter")=rs("counter")+1 rs.update rs.close set rs=nothing %></td> </tr> </table></td> </tr> <% end if end if %> </table></td> </tr> </tbody> </table>