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

📄 sendmsg.asp

📁 OFFICE办公自动化
💻 ASP
字号:

<!--#include file="dbconn.asp"-->
<!--#include file="inc_function.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>bicq</title>
<link rel="stylesheet" href="images/forum.css" type="text/css">
<script language="javascript">
<!--
function document_onkeydown() {
if(event.ctrlKey && window.event.keyCode==78)
  {
  
     window.alert ("欢迎使用B-ICQ")

  }
}

//-->
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=document EVENT=onkeydown>
<!--
 document_onkeydown()
//-->
</SCRIPT>
<script src="js/js.js" type="text/javascript"></script>

<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function window_onload() {

 window.resizeTo(370, 200);
	
}

function window_onresize() {
 window.resizeTo(370, 200);


}
//检查发送对象是否为空
function check_form(){
if(PostTopic.touser.value==""){
	window.alert ("提示\n\n发送对象不能为空\n\n请先填写!")
   PostTopic.touser.focus ()
   return false
}else if(PostTopic.touser.value=="<%=session("icqusername")%>"){
	window.alert ("提示\n\n发送对象不能是自己\n\n请重新填写!")
   PostTopic.touser.focus ()
   return false
}else{

return true
}


}

function Message_onfocus() {
check_form()
}

//-->
</SCRIPT>
</head>
<BODY   oncontextmenu=self.event.returnValue=false  bgColor=buttonface leftMargin=0 topMargin=0 
 onload="return window_onload()" onresize="return window_onresize()">
<table width="100%" cellspacing="0" cellpadding="0" align=center>
<form action="sendMsg_action.asp" name=PostTopic  
  method=post>
  
  <tr bgcolor=buttonface>
      <td height="25" nowrap><b><font color="#003366">发送给: </font></b> 
        <input  size="10" maxlength=20 style="BACKGROUND-COLOR: #d4d0c8; 

BORDER-BOTTOM-STYLE: solid; BORDER-LEFT-STYLE: solid; BORDER-RIGHT-STYLE: solid; BORDER-TOP-STYLE: solid" 
      name="touser" 
     >
       <marquee  scrollamount=4  onmouseover="this.stop()" onmouseout="this.start()"> <b><font color="#cc0000"  >(按ALT+S或者CTRL+ENTER发送) </font></b></marquee></td>
        <td align="right" class="coolButton"  height="25"> 
       </td> 
                                                                                 
    <tr> <td vAlign="top"  colspan="2" align="middle"><table border="0" width="100%" cellspacing="0" cellpadding="0">                                              
        <tr>   <td width="100%"><TEXTAREA    cols=44 name=Message onkeydown=presskey() rows=8 style="BORDER-BOTTOM: #ffffff 1px groove; BORDER-LEFT: #ffffff 1px groove; BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT-SIZE: 9pt; OVERFLOW: auto; WIDTH: 100%" wrap=hard onfocus="return Message_onfocus()"><%=answer%></TEXTAREA></td>  </tr>   
      </table>                                                                            
      </td>                                                                              
    </tr>    
    
                                                                         
    <tr>                                                                            
      <td bgColor="#d4d0c8" colSpan="2" align="middle" height="27" width="766" >      
<input type="submit" value="发送消息"   name="B3" onclick="javascript:return check(this.form)" accessKey="s">  
<input type="button" value="取消" name="B2" onclick="javascript:window.close()">   
 <input type="reset" value="重写" name="B1">        
      </td>                                                                                
    </tr>                                                                  
      </form>
   
 </table>                                                  

</BODY>               
</html>   

⌨️ 快捷键说明

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