<!--#include file="include/conn.asp"-->
<!--#include file="menu.asp"-->
<%
If session("userid")="" Then Call Alert("对不起你没有登录！","UserAcct.asp") :w.e
If OrderFangId="" Then w.a "参数错误！":w.e
If session("orderid")="" Then w.a "参数错误！":w.e
Set v= oConn.Execute("SELECT top 1 * FROM [LstNewsInfo] where Id ="&session("orderid"))
Set vv= oConn.Execute("SELECT top 1 * FROM [LstRoom] where Id ="&OrderFangId)
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><%=sWeb("WebTitle")%>_<%=sWeb("WebUrl")%></title>
<meta name="keywords" content="<%=sWeb("WebKeyWord")%>" />
<meta name="description" content="<%=sWeb("WebDescription")%>" />
<meta name="author" content="<%=sWeb("WebAuthor")%>" />
<meta name="copyright" content="<%=sWeb("WebCopyright")%>" />
<meta content="all" name="robots" />
<link rel="shortcut icon" href="favicon.ico" />
<link type="text/css" href="/css/global.css" rel="stylesheet" />
<link type="text/css" href="/css/style.css" rel="stylesheet" />
<link type="text/css" href="/css/user.css" rel="stylesheet" />
<link type="text/css" href="/css/time.css" rel="stylesheet" />
<script src="/JavaScript/jquery-1.8.3.js" type="text/javascript"></script>
<script src="/JavaScript/user.js"></script>
<script src="/JavaScript/time.js"></script>
<script type="text/javascript">
function DateDiff(sDate1,sDate2)
{ 
    var arrDate,objDate1,objDate2,intDays;
    arrDate=sDate1.split("-");
    objDate1=new Date(arrDate[1]+'-'+arrDate[2]+'-'+arrDate[0]);
    arrDate=sDate2.split("-");
    objDate2=new Date(arrDate[1] + '-'+arrDate[2]+'-'+arrDate[0]);
    intDays=parseInt(Math.abs(objDate1-objDate2)/1000/60/60/24);
    return intDays;
}
function difftime(){
var kkk = document.getElementById('OrderKtime').value;
var jjj = document.getElementById('OrderJtime').value;
var nnn = document.getElementById('OrderRen').value;
document.getElementById('IsDay').innerHTML=DateDiff(kkk,jjj);
document.getElementById('ZongJia').innerHTML=(DateDiff(kkk,jjj))*(nnn)*(<%=vv("roomMoney")%>);
document.getElementById('OrderZMoney').value=(DateDiff(kkk,jjj))*(nnn)*(<%=vv("roomMoney")%>);
document.getElementById('IsNum').innerHTML=nnn;
}
</script>
<style>
.input{border:1px #ddd solid;}
</style>
</head>
<body>
<%Call Tophhh()%>
<%Call TopMenu()%>
<%w.r "/Lstalone.asp?TT=12&SS=59"%>
<%Call ShowEnd()%>
<!-------提示信息------>
<div id="opencontid" class="opencontone MiaoIn05s bottomInDown">
	<div class="stitlesx">
		<h1>提示信息<span id="miao" class="fbai">3</span></h1>
		<div class="mores"><a href="##" onclick="document.getElementById('opencontid').style.display='none';document.getElementById('openbgid').style.display='none'"><font size="" color="#ff0000">关闭</font></a></div>
	</div>
	<div class="sconts f16 fyahei fred" id="errmessage"></div>
</div> 
<div id="openbgid" class="openbgone"></div>
</body>
</html>