?? replymessage.asp
字號:
<!--#include file="../head.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script Language="JavaScript">
function check()
{
if (trim(form1.messageTitle.value)=="") {
alert("主題不能為空!");
form1.messageTitle.focus();
return (false);
}
if (trim(form1.messageContent.value)=="") {
alert("主要內(nèi)容不能為空!");
form1.messageContent.focus();
return (false);
}
else
document.form1.submit();
}
//-->
function trim(inputString) {
if (typeof inputString != "string") { return inputString; }
var retValue = inputString;
var ch = retValue.substring(0, 1);
while (ch == " ") {
//檢查字符串開始部分的空格
retValue = retValue.substring(1, retValue.length);
ch = retValue.substring(0, 1);
}
ch = retValue.substring(retValue.length-1, retValue.length);
while (ch == " ") {
//檢查字符串結(jié)束部分的空格
retValue = retValue.substring(0, retValue.length-1);
ch = retValue.substring(retValue.length-1, retValue.length);
}
while (retValue.indexOf(" ") != -1) {
//將文字中間多個相連的空格變?yōu)橐粋€空格
retValue = retValue.substring(0, retValue.indexOf(" ")) + retValue.substring(retValue.indexOf(" ")+1, retValue.length);
}
return retValue;
}
//-->
</script>
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle width=150>
<SCRIPT LANGUAGE='JavaScript' SRC='../images/left.js' TYPE='text/javascript'></script>
<TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle width=150
background=../images/leftmanu_bg.gif>
<TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD width=150
background=../images/leftmanu_topbg.gif><IMG height=30
src="../images/leftmanu_top.gif"
width=150></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD class=leftmenu1
onclick="location.href='../index.asp'"><IMG
height=18 src="../images/leftmanu_home.gif" width=16
align=absMiddle> 商務(wù)助手首頁</TD></TR><TR>
<TD class=leftmenu1
onclick=javascript:menu_display(table1,img1);><IMG id=img1
height=16 src="../images/fold_2.gif" width=16
align=absMiddle> 發(fā)布商業(yè)信息</TD></TR>
<TBODY id=table1><!-- 正常情況下 -->
<!-- 正常情況下 -->
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../tradeinfo/edit.asp">商業(yè)信息</A> </TD>
</TR><!-- 正常情況下 --> <TR>
<TD class=leftmenu2><IMG src="../images/plus.gif">
<A
class=linkstyle2
href="../productshow/edit.asp">產(chǎn)品目錄</A></TD>
</TR><!-- 正常情況下 --><TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../modify/modify_mine.asp">展會信息</A> </TD>
</TR>
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../corporation/company_edit.asp">公司介紹</A></TD>
</TR><!-- 正常情況下 -->
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../bizre/index.asp">商貿(mào)通檔案</A></TD>
</TR></TBODY>
<TBODY>
<TR>
<TD class=leftmenu1 onclick=menu_display(table2,img2)><IMG
id=img2 height=16 src="../images/fold_2.gif" width=16
align=absMiddle> 查看商業(yè)往來</TD></TR>
<TBODY id=table2><!-- 正常情況下 -->
<TR>
<TD class=leftmenu4 height=29>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr>
<td>
<img src="../images/minus.gif" width="9" height="9" id="imga" onclick="javascript:showhide(offer,imga);" onMouseOver="this.style.cursor='hand'"> <a href="javascript:showhide(offer,imga);" class="linkstyle2" >留言信息</a>
</td>
</tr>
<tbody id="offer" style=display:"">
<tr>
<td> <img src="../images/minus.gif">
<a href="sendnewmessage.asp" class="linkstyle3">發(fā)新留言</a>
<img src="../images/now.gif" width="12" height="9" align="absmiddle">
</tr>
<tr>
<td> <img src="../images/minus.gif">
<a href="sendmessagelist.asp" class="linkstyle2">發(fā)出的留言</a>
</tr>
<tr>
<td> <img src="../images/minus.gif">
<a href="receivemessagelist.asp" class="linkstyle2">收到的留言</a></td>
</td>
</tr>
</tbody>
</table>
</TD>
</TR><!-- 正常情況下 -->
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../myemail/index.asp">我關(guān)注的商機(jī)</A></TD>
</TR><!-- 正常情況下 -->
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../myfriend/index.asp">我的商業(yè)伙伴</A> </TD>
</TR><TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../trust/index.asp">會員評價</A> </TD>
</TR></TBODY>
<TR>
<TD class=leftmenu1 onclick=menu_display(table3,img3)><IMG
id=img3 height=16 src="../images/fold_2.gif" width=16
align=absMiddle> 我的會員資料</TD>
</TR>
<TBODY id=table3><!-- 正常情況下 -->
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../modify/modify_info.asp">修改注冊信息</A> </TD>
</TR><!-- 正常情況下 -->
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../modify/modify_pass.asp">修改密碼</A> </TD>
</TR><!-- 正常情況下 -->
<TD class=leftmenu1 onclick=menu_display(table4,img4)><IMG
id=img4 height=16 src="../images/fold_1.gif" width=14
align=absMiddle> 我的自助網(wǎng)站</TD>
</TR>
<TBODY id=table4 style="DISPLAY: none">
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../corporation/webmod.asp">網(wǎng)站模板選擇</A></TD>
</TR>
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../corporation/cimg_add.asp?id=<%=session("id")%>">上傳公司圖片</A> </TD>
</TR>
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../feedback/contact_edit.asp?id=<%=session("id")%>">客戶反饋管理</A></TD>
</TR>
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../work/work.asp">發(fā)布招聘信息</A></TD>
</TR>
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../work/edit.asp">管理招聘信息</A></TD>
</TR>
<TR>
<TD class=leftmenu2><IMG src="../images/plus.gif"> <A
class=linkstyle2
href="../../companyweb.asp">瀏覽我的網(wǎng)站</A></TD>
</TR></TBODY>
<TBODY>
<TR>
<TD class=leftmenu1
onclick="javascript:window.open('../../help/index.html')"><IMG
id=img5 src="../images/leftmenu_help.gif"
align=absMiddle> 幫助</TD></TR></TBODY></TABLE>
<IMG height=6
src="../images/leftmanu_bottom.gif" width=150><BR><BR>
<!--#include file="../guestsubmit.asp"-->
<BR><BR></TD></TR>
</TABLE><BR><BR><BR></TD>
<TD
style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(i../mages/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff"
vAlign=top align=middle width=628>
<TABLE cellSpacing=0 cellPadding=0 width=628 border=0>
<TBODY>
<TR>
<TD width=459><IMG height=30
src="../images/leftmanu_top1.gif" width=459></TD>
<TD vAlign=top width=141
background=../images/top_nav_bg2.gif></TD>
<TD width=28><IMG height=30 src="../images/top_nav_5.gif"
width=28></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width=578 border=0>
<TBODY>
<TR>
<TD><IMG height=32 src="../images/sendmessage.gif" width=578
border=0></TD>
</TR></TBODY></TABLE>
<%
if Chkrequest(request("id")) then
id=request("id")
else
response.redirect ("../../login/chklogin.asp?login=4")
response.end
end if
sql="select getprice.sendcid,getprice.title,corporation.* from getprice,corporation where getprice.id="&id&" and corporation.id=getprice.sendcid"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write"暫無任何信息"
else
%>
<FORM name=form1 action="savereplymessage.asp" method=post>
<input type=hidden value=<%=rs("sendcid")%> name=mycid>
<TABLE width=578 border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD bgColor=#efefef>
<TABLE cellSpacing=1 cellPadding=4 width=578 border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD align=right bgColor=#ffffff><B>發(fā)送給:</B></TD>
<TD><%=rs("qymc")%></TD></TR>
<TR bgColor=#ffffff>
<TD align=right bgColor=#ffffff><B>主題:</B></TD>
<TD><INPUT maxLength=60 size=60 value=回復(fù):“<%=rs("title")%>”
name=messageTitle> </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top align=right bgColor=#ffffff><B>主要內(nèi)容:</B></TD>
<TD><TEXTAREA name=messageContent rows=10 cols=60></TEXTAREA> </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top align=right> </TD>
<TD vAlign=top><INPUT type=checkbox CHECKED value=true
name=sendEmail>發(fā)到對方的電子郵箱中<BR><INPUT type=checkbox disabled CHECKED value=1
name=sendMessage>
發(fā)到對方的“我收到的留言”中<BR>
<INPUT type=checkbox
CHECKED value=true name=saveSendMessage>
保存到我的“我發(fā)出的留言”中<BR>
<INPUT
type=checkbox CHECKED value=true
name=sendContact>發(fā)送我的聯(lián)系方式<BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
<TABLE width=578 border=0 cellPadding=0 cellSpacing=0 bgColor=#ffffff>
<TBODY>
<TR>
<TD align=left><div align="center"><A
href="../modify/modify_info.asp"
target=_blank>檢查我的聯(lián)系信息是否有誤</A></div></TD></TR></TBODY></TABLE><BR>
<TABLE width=300 border=0 align="center" cellPadding=4 cellSpacing=0>
<TBODY>
<TR align=middle>
<TD noWrap><INPUT type=button value=" 發(fā)送 " name=sendButton onClick="check()">
</TD>
<TD noWrap><INPUT type=reset value=" 重填 " name=resetButton>
</TD></TR></TBODY></TABLE></FORM>
<%end if%>
</TABLE><IMG
height=10 src="../images/bottom.gif" width=778><BR>
<!--#include file="../end.asp"-->
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -