?? advice.asp
字號:
<!--#include file="../include/connstr.asp"-->
<%
if request("cur_action")="addsave" then
sql_addsave="insert into tAdvice(Company,TrueName,Address,Tel,MobilePhone,Email,Model,Standard,Amount,Content,BuyAddr,BuyDate,ReadFlag,AddTime) values('"&request("T_Company")&"','"&request("T_TrueName")&"','"&request("T_Address")&"','"&request("T_Tel")&"','"&request("T_MobilePhone")&"','"&request("T_Email")&"','"&request("T_Model")&"','"&request("T_Standard")&"','"&request("T_Amount")&"','"&request("T_Content")&"','"&request("T_BuyAddr")&"','"&request("T_BuyDate")&"',0,'"&now()&"')"
conn.execute sql_addsave
response.write "<script>alert('您的投訴已經成功發送,按確定返回!');location.replace('Advice.asp');</script>"
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
%>
<html>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>浙江永嘉誠一閥門有限公司</title>
<style type="text/css">
<!--
body {
margin-top: 0px;
margin-left: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="../include/mycss.css" rel="stylesheet" type="text/css">
<!-- 浮動層的開始 -->
<SCRIPT language=javascript>
var delta=0.15
var collection;
function floaters() { //添加層的子程序
this.items = [];
this.addItem = function(id,x,y,content)
{
document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:100px; height:240px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');
var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x;
newItem.y = y;
this.items[this.items.length] = newItem;
}
this.play = function()
{
collection = this.items
setInterval('play()',10);
}
}
function play() //調整層的位置
{
for(var i=0;i<collection.length;i++)
{
var followObj = collection[i].object;
var followObj_x = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
followObj.style.display = '';
}
}
var theFloaters = new floaters();
theFloaters.addItem('followDiv2',900,100,'<img src=../images/right.jpg usemap="#Map1111111111111" border=0>'); //層名,位置X,位置Y,內容
theFloaters.play();
</SCRIPT>
<!-- 浮動層的結束 -->
</head>
<script language="JavaScript">
function check_data(){
if(document.forminfo.T_Company.value==""){
alert("公司名稱不能為空!")
document.forminfo.T_Company.focus()
return(false)
}
if(document.forminfo.T_TrueName.value==""){
alert("您的姓名不能為空!")
document.forminfo.T_TrueName.focus()
return(false)
}
if(document.forminfo.T_Address.value==""){
alert("聯系地址不能為空!")
document.forminfo.T_Address.focus()
return(false)
}
if(document.forminfo.T_MobilePhone.value==""){
alert("手機號碼不能為空!")
document.forminfo.T_MobilePhone.focus()
return(false)
}
if(document.forminfo.T_Tel.value==""){
alert("聯系電話不能為空!")
document.forminfo.T_Tel.focus()
return(false)
}
if(document.forminfo.T_Email.value==""){
alert("電子郵件不能為空!")
document.forminfo.T_Email.focus()
return(false)
}
if(document.forminfo.T_Model.value==""){
alert("型號不能為空!")
document.forminfo.T_Model.focus()
return(false)
}
if(document.forminfo.T_Standard.value==""){
alert("規格不能為空!")
document.forminfo.T_Standard.focus()
return(false)
}
if(document.forminfo.T_Amount.value==""){
alert("數量不能為空!")
document.forminfo.T_Amount.focus()
return(false)
}
if(document.forminfo.T_Content.value==""){
alert("投訴內容不能為空!")
document.forminfo.T_Content.focus()
return(false)
}
if(document.forminfo.T_BuyAddr.value==""){
alert("購買點不能為空!")
document.forminfo.T_BuyAddr.focus()
return(false)
}
if(document.forminfo.T_BuyDate.value==""){
alert("購買時間不能為空!")
document.forminfo.T_BuyDate.focus()
return(false)
}
}
</script>
<body>
<!--#include file="../include/top.asp"-->
<table width="919" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="278" height="502" valign="top" bgcolor="63a639"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><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="278" height="502">
<param name="movie" value="images/left.swf">
<param name=quality value=high>
<embed src="images/left.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="278" height="502"></embed>
</object></td>
</tr>
</table>
<!--#include file="../include/left.asp"-->
</td>
<td width="616" valign="top"><table width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="96%" height="721" valign="top"><table width="616" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="136" valign="middle" background="images/Advice.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" align="right"><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="308" height="80">
<param name="movie" value="../images/shuidi.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="../images/shuidi.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="308" height="80" wmode="transparent"></embed>
</object></td>
</tr>
<tr>
<td width="6%"> </td>
<td width="57%" class="biaoti">HOME> 客戶服務>在線投訴</td>
<td width="37%"> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="576" valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="410" align="right" valign="top"><table width="98%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="60" align="left" class="font1"> 如果您發現本公司的產品有什么質量問題或服務問題,請及時通知我們,我們將最快的速度為您解決!請將您的真實情況提供給我們:(打*號必須填寫)</td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<form name="forminfo" method="post" action="" onSubmit="return check_data()">
<tr>
<td width="12%" height="26" align="center" nowrap bgcolor="#F8FAF3" class="fontls">客戶單位</td>
<td width="45%" height="26" bgcolor="#FFFFFF"><div align="left">
<input name="T_Company" type="text" id="T_Company" value="<%=Company%>">
*</div></td>
<td width="11%" height="26" align="center" bgcolor="#F8FAF3" class="fontls">投訴人</td>
<td width="32%" height="26" bgcolor="#FFFFFF"><div align="left">
<input name="T_TrueName" type="text" id="T_TrueName" size="10" value="<%=TrueName%>">
*</div></td>
</tr>
<tr>
<td height="25" align="center" bgcolor="#F8FAF3" class="fontls">地 址</td>
<td height="25" bgcolor="#FFFFFF"> <div align="left">
<input name="T_Address" type="text" id="T_Address" size="28" value="<%=Address%>">
*</div></td>
<td height="25" align="center" bgcolor="#F8FAF3" class="fontls">電 話</td>
<td height="25" bgcolor="#FFFFFF">
<div align="left">
<input name="T_Tel" type="text" id="T_Tel" size="15" value="<%=Tel%>">
*</div></td>
</tr>
<tr>
<td height="25" align="center" bgcolor="#F8FAF3" class="fontls">手 機</td>
<td height="25" bgcolor="#FFFFFF">
<div align="left">
<input name="T_MobilePhone" type="text" id="T_MobilePhone" size="15">
*</div></td>
<td height="25" align="center" bgcolor="#F8FAF3" class="fontls">E_mail</td>
<td height="25" nowrap bgcolor="#FFFFFF">
<div align="left">
<input name="T_Email" type="text" id="T_Email" size="20" value="<%=Email%>">
*</div></td>
</tr>
<tr>
<td rowspan="2" align="center" bgcolor="#F8FAF3" class="fontls">產品型號</td>
<td rowspan="2" bgcolor="#FFFFFF">
<div align="left">
<input name="T_Model" type="text" id="T_Model" size="28">
*</div></td>
<td height="25" align="center" bgcolor="#F8FAF3" class="fontls">規 格</td>
<td nowrap bgcolor="#FFFFFF">
<div align="left">
<input name="T_Standard" type="text" id="T_Standard" size="20">
*</div></td>
</tr>
<tr>
<td height="25" align="center" bgcolor="#F8FAF3" class="fontls">數 量</td>
<td nowrap bgcolor="#FFFFFF">
<div align="left">
<input name="T_Amount" type="text" id="T_Amount" size="20">
*</div></td>
</tr>
<tr>
<td height="133" align="center" bgcolor="#F8FAF3" class="fontls">投訴內容</td>
<td colspan="3" nowrap bgcolor="#FFFFFF">
<textarea name="T_Content" cols="60" rows="8" id="T_Content"></textarea>
*</td>
</tr>
<tr>
<td align="center" bgcolor="#F8FAF3" class="fontls">購 買 點</td>
<td height="25" bgcolor="#FFFFFF">
<div align="left">
<input name="T_BuyAddr" type="text" id="T_BuyAddr">
*</div></td>
<td height="25" align="center" bgcolor="#F8FAF3" class="fontls">購買時間</td>
<td height="25" nowrap bgcolor="#FFFFFF">
<div align="left">
<input name="T_BuyDate" type="text" id="T_BuyDate" size="20">
*</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="53" colspan="4" align="center" class="fontls"><input name="cur_action" type="hidden" id="cur_action" value="addsave">
<input type="submit" name="Submit32" value=" 確定提交 ">
<input type="submit" name="Submit42" value=" 重新填寫 "></td>
</tr>
</form>
</table>
<br>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="25" valign="bottom" background="../images/about_6.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="262" background="../images/about_6.jpg"><IMG SRC="../images/about_6.jpg" WIDTH=24 HEIGHT=52 ALT=""></td>
</tr>
<tr>
<td height="459" valign="bottom"><IMG SRC="../images/about_8.jpg" WIDTH=24 HEIGHT=337 ALT=""></td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="../include/bottom.asp"-->
</body>
</html>
<map name="Map1111111111111" id="Map1111111111111">
<area shape="rect" coords="18,62,71,116" href="../News/News.asp">
<area shape="rect" coords="18,125,72,184" href="../aboutus/Cultrue.asp">
<area shape="rect" coords="20,203,73,258" href="../product/Feedback.asp">
<area shape="rect" coords="18,272,77,327" href="../Distribution/Distribution.asp">
<area shape="rect" coords="14,334,81,359" href="../english/main.asp" target="_blank">
</map>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -