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

📄 6.asp

📁 一个非常好的旅游网站程序.
💻 ASP
字号:
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="../conn.asp" -->
<%
shop_name=request("shop_name")

set rs=server.createobject("adodb.recordset")
sqltext="select * from shop where shop_name1='"&shop_name&"'  "
rs.open sqltext,conn,1,1
%>


<HTML>
<HEAD>
<TITLE>6</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<style>
a            { text-decoration: none; color: #E7DCBA }
a:hover      { text-decoration: underline; color: #FFFFFF }
.font1 {font-size: 25pt; filter: dropshadow(color=#7E6A2C,offx=3,offy=3, positive=80); color: #E7DCBA; font-family: "宋体"}
TD {font-size: 12pt; filter: dropshadow(color=#7E6A2C,offx=1,offy=1, positive=80); color: #E7DCBA; font-family: "宋体"}

</style>
</STYLE>
<script language="javascript">
<!--
function isok(theform)
{
 if (theform.smail.value.length<5|theform.smail.value.indexOf("@")==-1|theform.smail.value.indexOf(".")==-1)
    {alert("对不起!请输入有效的发信人的Eail地址!");
	 theform.smail.focus( );
	 return(false);} 
 if (theform.name.value=="")
    {alert("请输入发信人的名字!");
	 theform.name.focus( );
	 return(false);} 	 
 if (theform.sbj.value=="")
    {alert("请输入邮件主题!");
	 theform.sbj.focus( );
	 return(false);} 
 if (theform.text.value=="")
    {alert("邮件内容不能为空!");
	 theform.text.focus( );
	 return(false);} 	 



return (true);
}
-->
</script>

<NOSCRIPT><IFRAME SRC="*.html"></IFRAME></NOSCRIPT> 

<script language="javascript">
function click() {
if (event.button==2) {
alert('您好!欢迎您光临汕头商城!')
}
}
document.onmousedown=click
</script>
<script language="JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" background="images/bg.gif" onLoad="MM_preloadImages('images/default_down_08.gif','images/default_down_09.gif','images/default_down_10.gif','images/default_down_11.gif','images/default_down_12.gif','images/default_down_13.gif','images/default_down_14.gif','images/default_down_15.gif')">
<TABLE WIDTH=777 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center" bgcolor="#a58639">
  <TR> 
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=144 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=52 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=20 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=72 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=72 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=72 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=72 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=72 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=72 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=61 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=12 HEIGHT=1></TD>
    <TD> <IMG SRC="images/Spacer.gif" WIDTH=56 HEIGHT=1></TD>
  </TR>
  <TR> 
    <TD COLSPAN=12> <IMG SRC="images/default_01.gif" WIDTH=777 HEIGHT=3></TD>
  </TR>
  <TR> 
    <TD COLSPAN=2 ROWSPAN=2> <IMG SRC="images/default_02.gif" WIDTH=196 HEIGHT=63></TD>
    <TD  class="font1" COLSPAN=7 height="43"> 
      <div align="center"><b><%=shop_name%></b></div>
    </TD>
    <TD  class="font1" height="43">&nbsp;</TD>
    <TD COLSPAN=2 ROWSPAN=2> <IMG SRC="images/default_04.gif" WIDTH=68 HEIGHT=63></TD>
  </TR>
  <TR> 
    <TD COLSPAN=8> <IMG SRC="images/default_05.gif" WIDTH=513 HEIGHT=20></TD>
  </TR>
  <TR> 
    <TD COLSPAN=12> <IMG SRC="images/default_06.gif" WIDTH=777 HEIGHT=23></TD>
  </TR>
  <TR> 
    <TD ROWSPAN=2> <IMG SRC="images/default_07.gif" WIDTH=144 HEIGHT=49></TD>
    <TD COLSPAN=2> <a href="default.asp?shop_name=<%=shop_name%>" onMouseOver="MM_swapImage('d08','','images/default_down_08.gif',1)" onMouseOut="MM_swapImgRestore()"><IMG SRC="images/default_08.gif" WIDTH=72 HEIGHT=23 border="0" name="d08"></a></TD>
    <TD> <a href="2.asp?shop_name=<%=shop_name%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('d09','','images/default_down_09.gif',1)"><IMG SRC="images/default_09.gif" WIDTH=72 HEIGHT=23 name="d09" border="0"></a></TD>
    <TD> <a href="3.asp?shop_name=<%=shop_name%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('d10','','images/default_down_10.gif',1)"><IMG SRC="images/default_10.gif" WIDTH=72 HEIGHT=23 name="d10" border="0"></a></TD>
    <TD> <a href="4.asp?shop_name=<%=shop_name%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('d11','','images/default_down_11.gif',1)"><IMG SRC="images/default_11.gif" WIDTH=72 HEIGHT=23 name="d11" border="0"></a></TD>
    <TD> <a href="7.asp?shop_name=<%=shop_name%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('d14','','images/default_down_14.gif',1)"><IMG SRC="images/default_14.gif" WIDTH=72 HEIGHT=23 name="d14" border="0"></a></TD>    <TD> <a href="5.asp?shop_name=<%=shop_name%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('d12','','images/default_down_12.gif',1)"><IMG SRC="images/default_12.gif" WIDTH=72 HEIGHT=23 name="d12" border="0"></a></TD>
    <TD> <a href="6.asp?shop_name=<%=shop_name%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('d13','','images/default_down_13.gif',1)"><IMG SRC="images/default_13.gif" WIDTH=72 HEIGHT=23 name="d13" border="0"></a></TD>

    <TD COLSPAN=2> <a href="8.asp?shop_name=<%=shop_name%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('d15','','images/default_down_15.gif',1)"><IMG SRC="images/default_15.gif" WIDTH=73 HEIGHT=23 name="d15" border="0"></a></TD>
    <TD ROWSPAN=2> <IMG SRC="images/default_16.gif" WIDTH=56 HEIGHT=49></TD>
  </TR>
  <TR> 
    <TD COLSPAN=10> <IMG SRC="images/default_17.gif" WIDTH=577 HEIGHT=26></TD>
  </TR>
</TABLE>

<table width="777" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
      <table width="500" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="35">&nbsp;</td>
          <td width="465">&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td valign="top"> 
       
      <table width="680" border="1" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#7E6A2C" bordercolordark="#E7DCBA">
        <tr>
          <td height="307" valign="top"> 
            <table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td style="line-height: 150%" valign="top"> 
                  <p>尊敬的客户:<br>
                      您好!感谢您对我们关注和支持!如果您对我们的服务有任何意见或建议,请来电或直接在下面发信与我们联系,欢迎社会各界洽谈合作事宜。<br>
                    <br>
                    公司地址:<font color="#FF0000"><%=rs("Address")%></font><br>
                    联系电话:<font color="#FF0000"><%=rs("Phone")%></font><br>
                    E—MAIL :<font color="#FF0000"><%=rs("Email")%></font></p>
                  <form method="POST" action="../send.asp" onSubmit="return isok(this)">
                    <table border="1" cellpadding="0" cellspacing="0" width="600" bordercolorlight="#999933" bordercolordark="#DFDF9F" height="369" align="center">
                      <tr> 
                        <td height="33" width="137"> 
                          <p align="right">收件人E_mail: 
                        </td>
                        <td height="33" width="457"><font color="#FF0000">  <%=rs("Email")%></font> 
                          <input type="hidden" name="mail" value="<%=rs("Email")%>">
                        </td>
                      </tr>
                      <tr> 
                        <td height="33" width="137"> 
                          <p align="right">发件人E_mail: 
                        </td>
                        <td height="33" width="457">  
<input type="text" name="smail" size="32">
                          * </td>
                      </tr>
                      <tr> 
                        <td height="34" width="137"> 
                          <p align="right">发件人名字: 
                        </td>
                        <td height="34" width="457">  
<input type="text" name="name" size="32">
                        </td>
                      </tr>
                      <tr> 
                        <td height="34" width="137"> 
                          <p align="right">邮件主题: 
                        </td>
                        <td height="34" width="457">  
<input type="text" name="sbj" size="32">
                        </td>
                      </tr>
                      <tr> 
                        <td height="34" width="137"> 
                          <p align="right">邮件格式: 
                        </td>
                        <td height="34" width="457">   文本邮件 
                          <input type="radio" name="radiobutton" value="text/plain" checked>
                          HTML邮件 
                          <input type="radio" name="radiobutton" value="text/html">
                        </td>
                      </tr>
                      <tr> 
                        <td valign="top" height="91" width="137"> 
                          <p align="right"> 邮件内容: 
                        </td>
                        <td height="91" width="457">  
<textarea rows="8" name="text" cols="57"></textarea>
                          &nbsp; </td>
                      </tr>
                      <tr> 
                        <td height="33" width="137"> </td>
                        <td height="33" width="457">  
<input type="submit" value="开始发信" name="B1">
                        </td>
                      </tr>
                    </table>
                  </form>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <br>
    </td>
  </tr>
</table>
<table width="777" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td bgcolor="#FF6600" height="3"></td>
  </tr>
  <tr>
    <td>
      <div align="center"><br>
      </div>
    </td>
  </tr>
</table>
<br>

</BODY>
</HTML>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>

⌨️ 快捷键说明

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