www.gusucode.com > 水族产品用品经营类企业网站asp源代码程序 > text.asp

    <!--#INCLUDE VIRTUAL="comm.asp"-->
<%
id=request.QueryString("id")
if id="" then id=1
if mycheckchar(id,"0123456789")="#nosafe#" then response.Redirect("error.asp?p=id非纯数字")
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/db/db.mdb")
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from content where id=" & id
rs.open sql,conn,1,2
if rs.eof then response.Redirect("error.asp?p=出错了!")
rs("caller")=rs("caller")+1
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript" src="comm.js"></script>
<script language="JavaScript" type="text/JavaScript">
function dspl(sortid) {
eval("tmp_dsp=sort"+sortid+".style.display");
if(tmp_dsp=="none"){
eval("sort"+sortid+".style.display=''");
eval("img"+sortid+".src='image/class2.gif'");
}else{
eval("sort"+sortid+".style.display='none'");
eval("img"+sortid+".src='image/class1.gif'");
}
}</script>
<title>三木佳水族用品有限公司</title>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="945" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td rowspan="3" align="center" valign="top" class="ww8"><img src="image/logo.jpg" width="191" height="167"><table width="215" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="65" align="center" valign="bottom"><img src="image/index_06.gif" width="205" height="55"></td>
        </tr>
        <tr>
          <td align="center" background="image/bg3.jpg">
<table width="80%" height="8" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table><script language="JavaScript" type="text/JavaScript" src="sort.js"></script>
<script language="JavaScript" type="text/JavaScript">dspl(<%=rs("sort1") %>);
            </script></td>
        </tr>
    </table></td>
    <td width="730" align="center" valign="top" background="image/bg2.gif"><!--#INCLUDE VIRTUAL="top.asp"-->
      <img src="image/tb.gif" width="730" height="21">
    <table width="680" border="0" cellspacing="0" cellpadding="3">
      <tr>
        <td width="20" valign="middle" class="ww2">&nbsp;</td>
        <td valign="middle" class="ww2"><font color="#787878"><a href="/">首页</a> >> <a href="sort1.asp?sort1=<%=rs("sort1") %>"><%=sz_sort1(rs("sort1")) %></a> >> <a href="sort2.asp?sort1=<%=rs("sort1") %>&sort2=<%=rs("sort2") %>"><%=sz_sort2(rs("sort1"),rs("sort2")) %></a> >> 详细说明</font></td>
      </tr>
    </table>
    <table width="80%" height="10" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td></td>
      </tr>
    </table>
    <table border="0" align="left" cellpadding="12" cellspacing="0">
      <tr>
        <td width="10">&nbsp;</td>
        <td align="right"><a href="<%=rs("images") %>" target="_blank"><img src="<%=rs("image") %>" width="240" height="180" border="0"><br>
<img src="image/enlarge01.gif" width="73" height="19" border="0"></a></td>
      </tr>
    </table>
    <table width="388"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="23" align="center" background="image/dx.gif" class="w8"><strong><%=rs("title") %></strong></td>
        </tr>
      <tr>
        <td height="15"></td>
      </tr>
    </table>
    <div class="ww8"><%=rs("text") %></div></td>
  </tr>
  <tr>
    <td align="center" valign="top" background="image/bg2.gif">&nbsp;</td>
  </tr>
  <tr>
    <td height="21" align="center" valign="bottom" background="image/bg2.gif"><table width="680" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" class="ww8">&nbsp;</td>
      </tr>
    </table><img src="image/db.gif" width="730" height="21"></td>
  </tr>
</table>
<table width="80%" height="2" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<!--#INCLUDE VIRTUAL="down.asp"-->
</body>
</html>