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

📄 send_info_win.htm

📁 朝阳网络办公系统 网络办公OA系统源码 免费网络办公自动化
💻 HTM
字号:
<html><head> 
<title>朝阳办公自动化系统通信工具</title> 
<meta http-equiv="Content-Type" content="text/html;charset=gb2312"> 
<meta http-equiv="Content-Language" content="zh-CN"> 
<link rel="stylesheet" type="text/css" href="style.css">
<SCRIPT LANGUAGE=javascript FOR=document EVENT=onkeyup> 
<!-- 
document_onkeyup(); 
//--> 
</SCRIPT> 
<script language=javascript> 
 function document_onkeyup() { 
 if ((event.altKey==true && event.keyCode==83) || (event.ctrlKey==true && event.keyCode==13)) 
 	{	 
 		if (check_form()) 
 		document.form.submit(); 
 	} 
 else if (event.altKey==true && event.keyCode==67) 
 	window.close(); 
 else if (event.altKey==true && event.keyCode==68) 
 	listhistory();
 } 
  
 function check_form() 
 { 
 	if (form.info.value=="") 
 		{ 
 			alert("不能发送空信息!"); 
 			form.info.focus(); 
 			return(false); 
 		} 
 	if (form.info.value.length>100) 
 		{ 
 			alert("发送信息太长,不能超过100个汉字!"); 
 			form.info.focus(); 
 			return(false); 
 		} 
 	if (form.info.value.indexOf("$")!=-1 || form.info.value.indexOf("|")!=-1 ) 
 		{ 
 			alert("信息中不能含有$,|字符!"); 
 			form.info.focus(); 
 			return(false); 
 		} 
 	form.send.disabled=true; 
 	window.moveTo(1100,700); 
	opener.parent.history.value=form.backinfo.value+escape(form.info.value)+"|"+opener.parent.history.value;
 	return(true); 
 } 

var winflag;
winflag=0;
function listhistory()
{
if (winflag==0)
{
	window.resizeTo(365,473);
	winflag=1;
}
else
{
	window.resizeTo(365,273);
	winflag=0;
}
disp_history();
}

function disp_history()
{
var i,infodim,infstr,number,infostr,re,info;
if (opener.parent.history.value!="")
{
infostr=opener.parent.history.value;
number=window.name;
window("historywin").document.open();
window("historywin").document.write("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"><style type=\"text/css\">");
window("historywin").document.write("<!--div{  font-family: \"宋体\"; font-size: 9pt;}--></style></head><body>");
if (infostr.length!="")
{
	infodim=infostr.split("|");
	for (i in infodim)
	{
		if (infodim[i]!="")
		{
			infstr=infodim[i].split("$");
			if (infstr[0]==number || infstr[1]==number)
			{
				info=unescape(infstr[5]);
				re=/</g;
				info=info.replace(re,"&lt;");
				re=/>/g;
				info=info.replace(re,"&gt;");
				re=/\r\n/g;
				info=info.replace(re,"<br>");
				window("historywin").document.write("<div align=\"left\"><font color=\"#0000ee\">"+infstr[2]+"---"+infstr[4]+"</font><br>"+info+"</div>");
			}
		}
	}
}
window("historywin").document.write("</body></html>");
window("historywin").document.close();
}
}
 </script> 
 <SCRIPT language=javascript>
<!--
if (window.Event) 
 document.captureEvents(Event.MOUSEUP); 
 
function nocontextmenu() {
 event.cancelBubble = true
 event.returnvalue = false;
 return false;
}
 
function norightclick(e) {
 if (window.Event) {
 if (e.which == 2 || e.which == 3)
  return false;
 } else if (event.button == 2 || event.button == 3) {
  event.cancelBubble = true
  event.returnvalue = false;
  return false;
 } 
}
 
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick;   // for all others
//-->
</SCRIPT>
 </head>   
 <body bgcolor="#ffffff" leftmargin="0" topmargin="0"> 
 	 <input id="winnumber" name="winnumber" type="hidden" >
 <form method="post" name="form" action="writesendinfo.asp" onsubmit="return check_form()"> 
 	 <input id="backinfo" name="backinfo" type="hidden" >
 <table border="0" cellpadding="0" cellspacing="0" width="354" bgcolor="#e7e7e7"> 
   <tr> 
    <td><IMG border=0 height=1 src="../qqpic/info/spacer.gif" width=2></td> 
    <td><IMG border=0 height=1 src="../qqpic/info/spacer.gif" width=77></td> 
    <td><IMG border=0 height=1 src="../qqpic/info/spacer.gif" width=85></td> 
    <td><IMG border=0 height=1 src="../qqpic/info/spacer.gif" width=154></td> 
    <td><IMG border=0 height=1 src="../qqpic/info/spacer.gif" width=17></td> 
    <td><IMG border=0 height=1 src="../qqpic/info/spacer.gif" width=17></td> 
    <td><IMG border=0 height=1 src="../qqpic/info/spacer.gif" width=2></td> 
    <td><IMG border=0 height=1 src="../qqpic/info/spacer.gif" width=1></td> 
   </tr> 
  
   <tr> 
    <td colspan="7"><IMG border=0 height=2 name=porm_r1_c1 src="../qqpic/info/porm_r1_c1.gif" width=354></td> 
    <td><IMG border=0 height=2 src="../qqpic/info/spacer.gif" width=1></td> 
   </tr> 
   <tr> 
    <td rowspan="5"><IMG border=0 height=240 name=porm_r2_c1 src="../qqpic/info/porm_r2_c1.gif" width=2></td> 
    <td><IMG border=0 height=16 name=porm_r2_c2 src="../qqpic/info/title.gif" width=77></td> 
    <td colspan="2" width="239" height="16" bgcolor="#bdbebd"> 
    </td> 
    <td width="17" height="16" bgcolor="#bdbebd"> 
    </td> 
    <td width="17" height="16" bgcolor="#bdbebd"> 
     <p align="center"><IMG border=0 height=11 src="../qqpic/Close.gif" width=11></p> 
    </td> 
    <td rowspan="5"><IMG border=0 height=240 name=porm_r2_c7 src="../qqpic/info/porm_r2_c7.gif" width=2></td> 
    <td><IMG border=0 height=16 src="../qqpic/info/spacer.gif" width=1></td> 
   </tr> 
   <tr> 
    <td colspan="5" width="350" height="26"> 
     <table border="1" cellpadding="0" cellspacing="0" width="100%" height="100%" bordercolorlight="#000000" bordercolordark="#ffffff"> 
       <tr> 
         <td width="100%" id="listinfo" name="listinfo"> 
           <p align="center"> 
 <script language="javascript"> 
 document.write(""+opener.parent.username.value+"在"+opener.parent.sitename.value+"发送信息"); 
 </script> 
 		   </p> 
         </td> 
       </tr> 
     </table> 
    </td> 
    <td><IMG border=0 height=26 src="../qqpic/info/spacer.gif" width=1></td> 
   </tr> 
   <tr> 
    <td colspan="2" width="162" height="40"> 
     <table border="1" cellpadding="0" cellspacing="0" width="100%" bordercolorlight="#000000" height="100%" bordercolordark="#ffffff"> 
       <tr> 
         <td width="100%" height="40" valign="center"> 
           <p align="left">请输入信息<br>
                请按Alt+Ctrl+S键发送信息</p> 
         </td> 
       </tr> 
     </table> 
    </td> 
    <td colspan="3" width="188" height="40" valign="center"> 
	<img src="../qqpic/logo.gif" border="0" width="180" height="40">
	</td> 
    <td><IMG border=0 height=40 src="../qqpic/info/spacer.gif" width=1></td> 
   </tr> 
   <tr> 
    <td colspan="5" width="350" height="131" valign="top"> 
    <p align="left"><TEXTAREA cols=42 name=info rows=5 style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; HEIGHT: 131px; WIDTH: 350px"></TEXTAREA></p> 
    </td> 
    <td><IMG border=0 height=131 src="../qqpic/info/spacer.gif" width=1></td> 
   </tr> 
   <tr> 
    <td colspan="5" width="350" height="27">&nbsp;<input type="button" onclick="listhistory()" value="对话记录[D]" style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; HEIGHT: 20px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="submit" value="发 送[S]" name="send" style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; HEIGHT: 20px">&nbsp;&nbsp;<input type="button" value="关 闭[C]" name="close" onclick="window.close();" style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; HEIGHT: 20px"></td>  
    <td><IMG border=0 height=27 src="../qqpic/info/spacer.gif" width=1></td>  
   </tr>  
 </table>  
 <IFRAME name="historywin" frameBorder=1 scrolling="yes" marginwidth=1 marginheight=1 height="200" src="" width="355" bgcolor="#8482C6"></IFRAME> 
 </form>
 <script language=javascript>  
 form.backinfo.value=window.name+"$"+opener.parent.usersessionid.value+"$"+opener.parent.sitename.value+"$"+opener.parent.siteurl.value+"$"+opener.parent.username.value+"$";
 form.info.focus();
 </script>  
 </body>  
 </html>  
  

⌨️ 快捷键说明

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