<?php if(!class_exists('Template')) die('Access Denied'); $this->tpl->check('index.html', '9920d08ab495ba9c0e050b18f8d2156d', 1362377073); ?>
<!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="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="none" />
<title>酒店预订网管理系统</title>
<link type="text/css" href="<?php echo MY_THEMEDIR; ?>images/layout.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/jquery.js"></script>
</head>

<body>
<div id="bodymain">
<!-- 头部开始 -->
<?php include $this->tpl->getfile('inc/header'); ?>
<!-- 主体开始 -->
<div id="user_content">
<table width="100%" border="0">
<tr>
<td width="156" valign="top">
<?php include $this->tpl->getfile('inc/lead_home'); ?>
</td>
<td valign="top">
<div id="main_user">
<div class="main_user_bg"><div class="main_user_bg1_right"></div></div>
<div class="user_con">
<h2>业绩概况</h2>
<!--
<div class="todayinfo">
<div class="todayinfo1">今日已提交：<span class="f_14b_f00">0</span> 个订单　　总收入：<span class=f_14b_f00>1193.00</span> 元　　已结算：<span class="f_14b_f00">1000.00</span> 元　　账户余额：<span class=f_14b_f00>181.00</span> 元</div>
<div id="todaytips">今日要入住<strong> 0</strong>&nbsp;个订单，<a href="order">查看详情</a></div>
<div class="todayinfo2">下次结算时间：<em>2010-11-16</em></div>
</div>
-->
<div id="O_HotelRoomOrderCount">
<table class="user_table user_table2" border="0" cellSpacing="0" cellPadding="0" width="100%">
<tbody>
<!--
<tr>
<td style="text-align:right" colSpan="7"><input class="newbutton02" title="您需要通过更新数据获得最新的报表" onClick="window.Box.location='/user/saledata.asp';this.value='更新中...数据量较大请耐心等候';this.disabled=true;" value=" 更新业绩（最后更新于2010-11-4 19:47:13） " type="button" name="submit"></td>
</tr>
-->
<tr>
<th width="14%">查看</th>
<th width="14%">提交订单数</th>
<th width="14%">已入住订单数</th>
<th width="14%">处理成功率</th>
<th width="14%">订单总金额</th>
<th width="14%">需返现总金额</th>
<th width="14%">利润总金额</th>
</tr>

<tr>
<td>今天</td>
<td><?php echo $today['orderTotalNum']; ?></td>
<td><?php echo $today['orderSuccessTotalNum']; ?></td>
<td><?php echo $today['orderSuccessPercen']; ?>%</td>
<td><?php echo $today['orderSuccessTotalPrice']; ?></td>
<td><?php echo $today['orderSuccessTotalReturn']; ?></td>
<td><?php echo $today['totalPrice']; ?></td>
</tr>

<tr>
<td>昨天</td>
<td><?php echo $yesterday['orderTotalNum']; ?></td>
<td><?php echo $yesterday['orderSuccessTotalNum']; ?></td>
<td><?php echo $yesterday['orderSuccessPercen']; ?>%</td>
<td><?php echo $yesterday['orderSuccessTotalPrice']; ?></td>
<td><?php echo $yesterday['orderSuccessTotalReturn']; ?></td>
<td><?php echo $yesterday['totalPrice']; ?></td>
</tr>

<tr>
<td>七天</td>
<td><?php echo $week['orderTotalNum']; ?></td>
<td><?php echo $week['orderSuccessTotalNum']; ?></td>
<td><?php echo $week['orderSuccessPercen']; ?>%</td>
<td><?php echo $week['orderSuccessTotalPrice']; ?></td>
<td><?php echo $week['orderSuccessTotalReturn']; ?></td>
<td><?php echo $week['totalPrice']; ?></td>
</tr>

<tr>
<td>本月</td>
<td><?php echo $month['orderTotalNum']; ?></td>
<td><?php echo $month['orderSuccessTotalNum']; ?></td>
<td><?php echo $month['orderSuccessPercen']; ?>%</td>
<td><?php echo $month['orderSuccessTotalPrice']; ?></td>
<td><?php echo $month['orderSuccessTotalReturn']; ?></td>
<td><?php echo $month['totalPrice']; ?></td>
</tr>

<tr>
<td>上月</td>
<td><?php echo $lastmonth['orderTotalNum']; ?></td>
<td><?php echo $lastmonth['orderSuccessTotalNum']; ?></td>
<td><?php echo $lastmonth['orderSuccessPercen']; ?>%</td>
<td><?php echo $lastmonth['orderSuccessTotalPrice']; ?></td>
<td><?php echo $lastmonth['orderSuccessTotalReturn']; ?></td>
<td><?php echo $lastmonth['totalPrice']; ?></td>
</tr>

<tr>
<td>全年</td>
<td><?php echo $year['orderTotalNum']; ?></td>
<td><?php echo $year['orderSuccessTotalNum']; ?></td>
<td><?php echo $year['orderSuccessPercen']; ?>%</td>
<td><?php echo $year['orderSuccessTotalPrice']; ?></td>
<td><?php echo $year['orderSuccessTotalReturn']; ?></td>
<td><?php echo $year['totalPrice']; ?></td>
</tr>

<tr>
<td style="text-align:left" colSpan="7"><font color="#ff3300">1、客人一般是计划预订，有可能导致预订天数和实际入住天数不一样，为了让收入结果更加准确,以上数据只统计已经离店的业绩。</font><br />
<font color="#999999">2、</font><font color="#999999">今日、昨日、一周入住间页数因涉及到客人计划离店时间不确定,数据有可能发生变化. 
<br />3、因涉及到小数点的四舍五入以上数据仅供参考,以业绩详情数据为准.</font></td>
</tr>
</tbody></table>
</div>
<script type="text/javascript">
//$(function(){ $.post("<?php echo DOMAIN; echo ROOT; ?>?m=admin/order.getHomeCount",{},function(data){ $("#O_HotelRoomOrderCount").html(data); }); });
</script>
</div>
<div class="main_user_bg1"><div class="main_user_bg1_right1"></div></div></div>
</td>
</tr>
</table>
</div>
<div class="clearfloat"></div>
<?php include $this->tpl->getfile('inc/bottom'); ?>
</div>
</body>
</html>