⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 promote_view.asp

📁 一个用asp.net编写的dns域名服务网站
💻 ASP
字号:
<%
if IsNumeric(request("id")) AND request("id")<>"" then
%>
<!--#include file="conn.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE><%=page_name%>&nbsp;&ndash;&nbsp;<%=page_title%></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY leftMargin=0 background=images/bg.jpg topMargin=0 marginheight="0" 
marginwidth="0">
<!--#include file="head.asp" -->
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center 
bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD width=780 height=1>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="100%" bgColor=#b5b2b5 colSpan=2 height=1>
            <P align=center>
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="760" height="116">
                <param name="movie" value="images/banner_spread.swf">
                <param name="quality" value="high">
                <embed src="images/banner_spread.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="760" height="116"></embed>
              </object>
            </P></TD></TR>
        <TR>
    <TD width="100%" bgColor=#7b7d7b colSpan=2 height=1><IMG 
            src="images/blank_2.gif" border=0></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE height=288 cellSpacing=0 cellPadding=0 width=760 align=center 
bgColor=#ffffff border=0>
  <TBODY>
    <TR>
      <TD width=136 height=288 vAlign=top background="images/bg_l.gif"><TABLE height=122 cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
          <TR>
            <TD vAlign=top width="100%" height=104><P align=center><IMG height=85 src="images/webpub2.gif" 
            width=134> </P></TD>
          </TR>
          <TR>
            <TD width="100%" height=18></TD>
          </TR>
        </TBODY>
      </TABLE></TD>
      <td width="592" height="288" valign="top"><% 
	 rs.open "select * from promote_1 where id="&request("id"),conn,1,1
	 if not rs.eof then
	 promote_title=rs("title")
	 promote_body=rs("body")
	 promote_img=rs("img")
	 rs.close
	 %>
          <br>
          <table width="533" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#3770A9"
bordercolorlight="" bordercolordark="ffffff" bgcolor="F4F8FB">
            <tr>
              <td height="47" valign="top"><p><strong><font color="#006600"><%=promote_title%></font></strong></p>
                  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="69%" valign="top">   <%=promote_body%></td>
                      <td width="31%"><div align="center"><img src="<%= promote_img %>"></div></td>
                    </tr>
                  </table>
                  <p>&nbsp; </p></td>
            </tr>
        </table>
          <br>
          <table width="570" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr >
              <td height="1" colspan="3"background="images/2.jpg"></td>
            </tr>
         <% 
rs.open "select * from promote_2 where bh="&request("id"),conn,1,1

		  while not rs.eof
		  sf1=session("dl")
if sf1="3" then 
hostje=rs("je3")
else
if sf1="2"  then 
hostje=rs("je2")
else
hostje=rs("je1")
end if
end if
		   %>
            <tr>
              <td width="195" height="32"><p>&nbsp; </p>
                  <p> <img src="img/sdot.gif" width="11" height="9"> <%= rs("title") %><br>
                  </p>
                  <p align="center"><font color="#FF0000">¥</font> <%= hostje %> <br>
                  </p>
                  <p align="center"><a href="buy_promote.asp?id=<%=rs("id")%>"><img src="images/buy.gif" width="84" height="18" border="0"></a></p>
                  <p align="center">&nbsp;</p></td>
              <td colspan="2" valign="middle"><p>  <%= rs("body") %></p></td>
            </tr>
            <tr >
              <td height="1" colspan="3"background="images/2.jpg"></td>
            </tr>
            <% 
		  rs.movenext
		  wend
		  rs.close
		   %>
            <tr>
              <td colspan="3">&nbsp;</td>
            </tr>
          </table></td>
      <TD width=32 
height=545 background=images/bg_r.gif> </TD>
    </TR><% 
	  else 
	   Response.Write("参数有错!!")
	   
	   end if
	   %>
  </TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
  <TR>
    <TD bgColor=#999999><IMG height=1 src="images/spacer.gif" 
  width=1></TD></TR></TBODY></TABLE>
<!--#include file="foot.asp" -->
<%conn.close
set conn= nothing
end if
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -