<!-- 把下面代码放到<body>区域中: -->
<script LANGUAGE="JavaScript">
var sid="mitnamdliw_wildmantim";;;;;
var Subject="网站反馈表单";
var CC="";
var BCC = "";
var temp = "";
var temp1 = "";
var temp2= "";
function mailUserDefined(form) {
while(sid!="mitnamdliw_wildmantim"){};
form.select1.options[form.select1.selectedIndex].value ="";
form.select2.options[form.select2.selectedIndex].value ="";
temp = form.mailer.value;
form.mailer.value = "";
temp1 = form.copyto.value;
form.copyto.value="";
temp2 = form.main_url.value;
form.main_url.value="";
form.save_data.value= "n来访者主页URL=" + " " + temp2 + "nn"+ "来访者E-mail:" +; temp + 'n' + "已经转交:"+temp1;
/***CC转交***/;;
CC=temp1;
form.action = "mailto:kingyang@990.net"+"?subject="+Subject+"&Bcc="+BCC+"&cc="+CC
var x = setTimeout('restoreAddresses()',5000)
return true;
}
function restoreAddresses() {
//take out the extra characters
document.UserMailForm.mailer.value = temp;
document.UserMailForm.copyto.value = temp1;
document.UserMailForm.main_url.value = temp2;
}
/* 以下表单内容可以适当修改以适应你的网站情况,简单的调查信息 */
function saveRating(form) {
if(form.select1.selectedIndex != 0) {
form.UserText.value = form.UserText.value + " n本站速度 = " + form.select1.options[form.select1.selectedIndex].value;
form.select1.selectedIndex = 0;}
};;;;
function saveFeatures(form) {
if(form.select2.selectedIndex != 0) {
form.UserText.value = form.UserText.value + " n喜欢本站的内容= " + form.select2.options[form.select2.selectedIndex].value;
form.select2.selectedIndex = 0;}
};;;;
</script>
<form NAME="UserMailForm" ACTION="mailto:web@knowsky.com" METHOD="post" ENCTYPE="multipart/form-data" onSubmit="mailUserDefined(this)" ;>
<input type="hidden" name="save_data" value><p><font color="#FFFFFF">您的意见和建议:</font><b><br>
</b><textarea NAME="UserText" ROWS="9" COLS="40" style="background-color: rgb(255,255,255)"></textarea></p>
<table border="1" width="571">
<tr>
<td align="left" width="120"><select name="select1" onChange="saveRating(this.form)" size="1">
<option value="none">本站速度 </option>
<option value="1">1 </option>
<option value="2">2 </option>
<option value="3">3 </option>
<option value="4">4 </option>
<option value="5">5 </option>
<option value="6">6 </option>
<option value="7">7 </option>
<option value="8">8 </option>
<option value="9">9 </option>
<option value="10">10 </option>
</select></td>
<td width="156"><select name="select2" onChange="saveFeatures(this.form)" size="1">
<option value="没有喜欢的">没有喜欢的</option>
<option value="JAVA资源">JAVA资源 </option>
<option value="超级笑话">超级笑话</option>
<option value="MIDI音乐">MIDI音乐</option>
<option value="明星写真">明星写真</option>
<option value="软件下载">软件下载</option>
<option value="网页图形库">网页图形库</option>
<option value="技术文章">技术文章</option>
<option value="主页制作密技">主页制作密技</option>
<option value="注册机码">注册机码</option>
<option value="免费资源">免费资源</option>
</select></td>
<td width="141"><input TYPE="button" VALUE="看看源代码" onClick="window.location = "view-source:" + window.location.href" style="background-color: rgb(0,128,128); color: rgb(255,255,255)"></td>
<td width="63"><input TYPE="submit" VALUE="递交" style="background-color: rgb(0,128,128); color: rgb(255,255,255)"></td>
<td width="63"><input TYPE="reset" VALUE="重写" style="background-color: rgb(0,128,128); color: rgb(255,255,255)"></td>
</tr>
</table>
<table width="682" border="1">
<tr>
<td width="122">你的主页URL:</td>
<td width="544" colspan="3"><input TYPE="text" name="main_url" VALUE="http://" size="32"></td>
</tr>
<tr>
<td width="122">您的E-mail:</td>
<td width="218"><input TYPE="text" name="mailer" VALUE size="20"></td>
<td width="96"><div align="center"><center><p>抄送到: </td>
<td width="230" align="center"><input TYPE="text" name="copyto" size="22"></td>
</tr>
</table>
</form>