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

📄 lotourchat.htm

📁 能够实现宾馆管理的基本功能。 例如删除
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1">
<meta http-equiv="content-type" content="text/html; charset=GB2312">




<title>
	无标题页
</title><link href="lotourchat_data/css.css" type="text/css" rel="stylesheet"><link href="lotourchat_data/zxkf.css" type="text/css" rel="stylesheet">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
}
-->
</style>
</head><body>
<form name="form1" method="post" action="lotourchat.aspx?entid=15017" id="form1">
<div>
<input name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTM5ODE4MzM5MA9kFgICAw9kFgQCAQ8PFgIeBFRleHQFG+WMl+S6rOW4guWvhuS6keawtOW6k+WuvummhmRkAgYPDxYEHwAFCzEzNjgxMTc2MDgzHgdUb29sVGlwBQsxMzY4MTE3NjA4M2RkZCLFvKZxvjujDPKAESiZSBH6gmR2" type="hidden">
</div>

    <div class="nzxkf">
      <div class="rightbar">
        <p style="width: 111px;"><a href="#" target="_blank"></a><a id="ProjectName">北京市密云水库宾馆</a></p>    
        <img id="StatusPic" onclick="openwin()" src="lotourchat_data/pt_lx_btu.jpg" width="110" height="54">
        <p class="phone" style="width: 101px;"><strong>咨询电话:</strong><input name="hiddenid" id="hiddenid" style="width: 0px;" value="15017" type="hidden"><input name="chaturl" id="chaturl" style="width: 0px;" value="http://member.lotour.com/chat0/" type="hidden">
        <span id="ff"><span id="lblTel" title="13681176083">13681176083</span></span></p>
      </div>
    </div>
</form>

    
<script language="JavaScript">
			var IsOnline=1;
			function callback(result)
			{
			    var hidden=document.getElementById('hiddenid');
			    var StatusPic=document.getElementById('StatusPic');
			    var url="";
				if(result=="1")//在线
				{
				   IsOnline=1;
				   StatusPic.src="../images/pt_zx_btu.jpg";
				}
				else
				{
				   IsOnline=0;
				   StatusPic.src="../images/pt_lx_btu.jpg";
				}
			}
			function opencallback(result)
			{
			    var hidden=document.getElementById('hiddenid');
			    var StatusPic=document.getElementById('StatusPic');
			    var url="";
				if(result.value=="1")//在线
				{
				   StatusPic.src="../images/pt_zx_btu.jpg";
				   url=document.getElementById('chaturl').value+"forms/ApplyPage.aspx?entid="+hidden.value;
			 	   var newWin=window.open(url,"","toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,width=598,height=420");
			 	   newWin.focus();
				}
				else
				{
				   StatusPic.src="../images/pt_lx_btu.jpg";
				   url=document.getElementById('chaturl').value+"forms/leavewordpage.aspx?to="+hidden.value;
			 	   var newWin=window.open(url,"","toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,width=598,height=420");
			 	   newWin.focus();
				}
			}
			function openFun()
			{
			    var hidden=document.getElementById('hiddenid');
			    var StatusPic=document.getElementById('StatusPic');
			    var url="";
				if(IsOnline==1)//在线
				{
				   url=document.getElementById('chaturl').value+"forms/ApplyPage.aspx?entid="+hidden.value;
				   var newWin=window.open(url,"","toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,width=598,height=420");
			 	   newWin.focus();
				}
				else
				{
				   url=document.getElementById('chaturl').value+"forms/leavewordpage.aspx?to="+hidden.value;
			 	   var newWin=window.open(url,"","toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,width=598,height=420");
			 	   newWin.focus();
				}
			}
			function errorCallback(result)
			{
				alert("链接错误,请重试!错误代码: "+ result.value);
			}
			function openwin()
			{
			    var hidden=document.getElementById('hiddenid');
			    //          点击StatusPic时,本应调用JudgeOnline再判断在线状态的,可是这样的话在ff和ie下不能弹出聊天窗口,所以只好修改。
			    //Chat.Web.LotourChat.JudgeOnline(hidden.value,opencallback,errorCallback);	
			    openFun();
			}			
			function pageJudgeOnline(entid)
			{
			    if(window.ActiveXObject)//ie
			    {
                    oHttpReq=new ActiveXObject("MSXML2.XMLHTTP");   
                    oDoc=new ActiveXObject("MSXML2.DOMDocument");
                }
                if(window.XMLHttpRequest)//ff
                    oHttpReq=new XMLHttpRequest();
                if(document.implementation&&document.implementation.createDocument)//ff
                    oDoc=document.implementation.createDocument("","",null);
  		    oHttpReq.open("POST", document.getElementById('chaturl').value+"forms/applyCount.aspx?frompage=lotourchat&entid="+entid, false);
  		    oHttpReq.send("");
  		    var resultStr = oHttpReq.responseText;
                return resultStr;
			}
			function startTimer()
			{
				var hidden=document.getElementById('hiddenid');
				//Chat.Web.LotourChat.JudgeOnline(hidden.value,callback,errorCallback);	
				var returnstr=pageJudgeOnline(hidden.value)
				if(returnstr=="1"||returnstr=="0")
				{
				    callback(returnstr)
				}
				else
				{
				    callback("0")
				}
				window.setTimeout("startTimer()",30000);
			}
			startTimer();
</script>
   
</body></html>

⌨️ 快捷键说明

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