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

📄 feedback.asp

📁 这个也是一个功能强大的企业整站的ASP源代码
💻 ASP
字号:
<!--#include file="../include/connstr.asp"-->
<%if request("cur_action")="addsave" then
    sql_addsave="Insert into tTailor(Company,ProductName,TrueName,Tel,Fax,Email,Zip,Address,Content,SourceFlag,ReadFlag,AddTime) values('"&request("T_Company")&"','"&request("T_ProductName")&"','"&request("T_TrueName")&"','"&request("T_Tel")&"','"&request("T_Fax")&"','"&request("T_Email")&"','"&request("T_Zip")&"','"&request("T_Address")&"','"&request("T_Content")&"',1,0,'"&now()&"')"
    conn.execute sql_addsave
    response.write "<script>alert('Your customization information has already been succeeded in sending, we will get in touch with you as soon as possible! Thank you for your support to us');location.replace('Feedback.asp');</script>"
	response.end
  end if
  
  if session("LoginID")<>"" then
    set rs_Member=conn.execute("select * from tRegMember where LoginID='"&session("LoginID")&"'")
	Company=rs_Member("Company")
	TrueName=rs_Member("TrueName")
	Tel=rs_Member("Tel")
	Fax=rs_Member("Fax")
	Email=rs_Member("Email")
	Zip=rs_Member("Zip")
	Address=rs_Member("Address")
  end if  
%>
<!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">
<title>ChengYi valve</title>
<style type="text/css">
<!--
body {
	background-color: #188200;
	margin-top: 0px;
	margin-bottom: 0px;
}
.style2 {	font-weight: bold; color: #ffffff
}
-->
</style>
<script language="JavaScript" type="text/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.01
  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 && d.getElementById) x=d.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>
<script src="/include/jchar.js"></script>
<link href="images/site.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript">
  function checkdata(){
    if(Jtrim(document.forminfo.T_Company.value)==""){
	  alert('定制单位为必填写,请填写!');
	  document.forminfo.T_Company.focus();
	  return(false)
	}  
    if(Jtrim(document.forminfo.T_ProductName.value)==""){
	  alert('请填写产品名称!');
	  document.forminfo.T_ProductName.focus();
	  return(false)
	}	
    if(Jtrim(document.forminfo.T_TrueName.value)==""){
	  alert('您的姓名为必填写,请填写!');
	  document.forminfo.T_TrueName.focus();
	  return(false)
	}	
    if(Jtrim(document.forminfo.T_Tel.value)==""){
	  alert('联系电话为必填写,请填写!');
	  document.forminfo.T_Tel.focus();
	  return(false)
	}	
    if(Jtrim(document.forminfo.T_Address.value)==""){
	  alert('联系地址为必填写,请填写!');
	  document.forminfo.T_Address.focus();
	  return(false)
	}		
    if(Jtrim(document.forminfo.T_Content.value)==""){
	  alert('订单内容为必填写,请填写!');
	  document.forminfo.T_Content.focus();
	  return(false)
	}		
  }
</script>
<body onLoad="MM_preloadImages('../images/Englsh-about1.jpg','images/eb1.gif','images/eb22.gif','images/eb33.gif','images/eb44.gif','images/eb55.gif','images/eb66.gif')">
<TABLE style="BORDER-RIGHT: #cccccc 1px solid" cellSpacing=0 cellPadding=0 
width=800 align=center bgColor=#ffffff border=0>
  <TBODY>
    <TR>
      <TD width=180><IMG height=100 src="images/logo.gif" 
      width=180></TD>
      <TD vAlign=top>
        <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR>
              <TD bgColor=#cdcdcd height=8></TD>
            </TR>
            <TR>
              <TD height=25 align="right"><a href="../main/main.asp" target="_blank" class="synthetical">/Chinese/ </a></TD>
            </TR>
            <TR>
              <TD>
                <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                  <TBODY>
                    <TR>
                      <TD><a href="About.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','images/eb1.gif',1)"><img src="images/eb.gif" name="Image7" width="125" height="59" border="0"></a></TD>
                      <TD><a href="product.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','images/eb22.gif',1)"><img src="images/eb2.gif" name="Image8" width="100" height="59" border="0"></a></TD>
                      <TD><a href="News.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','images/eb33.gif',1)"><img src="images/eb3.gif" name="Image9" width="100" height="59" border="0"></a></TD>
                      <TD><a href="Feedback.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/eb44.gif',1)"><img src="images/eb4.gif" name="Image10" width="100" height="59" border="0"></a></TD>
                      <TD><a href="Contacts.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','images/eb55.gif',1)"><img src="images/eb5.gif" name="Image11" width="100" height="59" border="0"></a></TD>
                      <TD><a href="main.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','images/eb66.gif',1)"><img src="images/eb6.gif" name="Image12" width="100" height="59" border="0"></a></TD>
                    </TR>
                  </TBODY>
              </TABLE></TD>
            </TR>
            <TR>
              <TD bgColor=#cdcdcd 
height=8></TD>
            </TR>
          </TBODY>
      </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
<table style="border-right: #cccccc 1px solid; border-left: #cccccc 1px solid" 
cellspacing=0 cellpadding=0 width=800 align=center border=0>
  <tbody>
    <tr>
      <td>
        <object 
      codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 
      height=137 width=803 classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000>
          <param name="movie" value="images/top.swf">
          <param name="quality" value="high">
          <embed src="images/top.swf" quality="high" 
      pluginspage="http://www.macromedia.com/go/getflashplayer" 
      type="application/x-shockwave-flash" width="803" height="137"></embed>
      </object></td>
    </tr>
  </tbody>
</table>
<table style="border-right: #cccccc 1px solid; border-left: #cccccc 1px solid" 
cellspacing=0 cellpadding=0 width=804 align=center bgcolor=#ffffff border=0>
  <tbody>
  <tr>
    <td style="border-right: #cccccc 1px solid" valign=top width=179>
      <table cellspacing=0 cellpadding=0 width="100%" border=0>
        <tbody>
        <tr>
          <td><img src="images/feedback.jpg" width="178" height="39"></td>
        </tr>
        <tr>
          <td height=35>
		  <!--#include file="images/Left.asp"-->
              </td>
        </tr>
        <tr>
          <td height=1><img height=1 
            src="dazhong valve.files/english-line.jpg" width=178></td></tr>
        <tr>
          <td height=1><img height=1 
            src="images/line.jpg" width=178></td>
        </tr>
        <tr>
          <td height=1><img height=60 
            src="images/bottom.jpg" 
      width=178></td>
        </tr></tbody></table></td>
    <td valign=top>
      <table cellspacing=0 cellpadding=0 width="98%" align=center border=0>
        <tbody>
        <tr>
          <td height="33" style="border-bottom: #cccccc 1px solid">
            <table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%" valign="bottom"><img height=25 
            src="images/brief.jpg" width=29></td>
                <td width="95%" valign="bottom" class="model">FEEDBACK</td>
                <td width="5%" valign="bottom">&nbsp;</td>
                <td width="36%" valign="bottom" class="model">&nbsp;</td>
                <td width="5%" valign="bottom">&nbsp;</td>
                <td width="54%" valign="bottom" class="model">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td height="585" valign="top">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
                <form name="forminfo" action="feedback.asp" method="POST" onSubmit="return checkdata()">
                  <tr bgcolor="#FFFFFF">
                    <td height="25" colspan="2" class="synthetical">If you have not found the products that you need in this website, it is that our products are too numerous to put to one by one and on net probably, you can fill in the products customized or consulted us of the following order form , thanks!</td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="3" align="center">Unit's name:</td>
                    <td width="81%" height="25"><font color="#FF0000">
                      <input name="T_Company" type="text" class="button" id="T_Company" size="30" maxlength="50" value="<%=Company%>">
                    </font>* </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="2" align="center">Product name:</td>
                    <td width="81%" height="25">
                      <input name="T_ProductName" type="text" class="button" id="T_ProductName" size="40" maxlength="80">
        * </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="2" align="center">Your name:</td>
                    <td width="81%" height="25">
                      <input name="T_TrueName" type="text" class="button" id="T_TrueName" size="12" maxlength="20" value="<%=TrueName%>">
        * </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="2" align="center"><span class="lineheight">Telephone number</span>:</td>
                    <td width="81%" height="25">
                      <input name="T_Tel" type="text" class="button" id="T_Tel" size="25" maxlength="30" value="<%=Tel%>">
        * </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="2" align="center"><span class="lineheight">Fax</span>:</td>
                    <td width="81%" height="25">
                      <input name="T_Fax" type="text" class="button" id="T_Fax" size="25" maxlength="30" value="<%=Fax%>">
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="30" align="center"><span class="lineheight">E_MAIL</span>: </td>
                    <td width="81%" height="25">
                      <input name="T_Email" type="text" class="button" id="T_Email" size="40" maxlength="20" value="<%=Email%>">
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="20" align="center"><span class="lineheight">Zip code</span>:</td>
                    <td width="81%" height="25">
                      <input name="T_Zip" type="text" class="button" id="T_postcode" size="6" maxlength="6" value="<%=Zip%>">
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="20" align="center"><span class="lineheight">Address</span>:</td>
                    <td width="81%" height="25">
                      <input name="T_Address" type="text" class="button" id="T_Address" size="50" maxlength="100" value="<%=Address%>">
        * </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td height="25" colspan="2"><span class="lineheight">  Content :*</span></td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="133">&nbsp; </td>
                    <td width="81%">
                      <textarea name="T_Content" cols="60" rows="8" id="T_Content"></textarea>
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="19%" height="32" align="center">&nbsp; </td>
                    <td width="81%" height="32" align="center"><input name="cur_action" type="hidden" id="cur_action" value="addsave">
                        <input name="Submit32" type="submit" class="button" value="SEND">
                        <input name="Submit22" type="reset" class="button" value="RESET">
                    </td>
                  </tr>
                </form>
              </table>		  </td>
        </tr></tbody></table></td></tr></tbody></table>
<table cellspacing=0 cellpadding=0 width=804 align=center border=0>
  <tbody>
    <tr>
      <td width=178><img height=30 src="images/english-bottom.jpg" 
      width=180></td>
      <td align=middle bgcolor=#3196D6><span class=style2>copyright @2005 ChengYi valve all rights reserved.</span></td>
    </tr>
  </tbody>
</table>
</body>
</html>

⌨️ 快捷键说明

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