<?php if(!class_exists('Template')) die('Access Denied'); $this->tpl->check('appMoney.html', 'df2062a5810a0b29cff465ef29704d38', 1362382063); ?>
<?php if($action=='list') { ?>
<!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" />
<link type="text/css" href="<?php echo MY_THEMEDIR; ?>images/win.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/jquery.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/common/viewMode.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/order/appMoneyList.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_order'); ?>
</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">
<div id="topFont">
<div class="left">会员提现列表</div>
<div class="right">
<input type="hidden" id="O_Type" value="list" />
<input type="hidden" id="currentStatus" />
<select id="simpleSearch"> 
<option value="memberAccount" selected>会员账号</option>
<option value="bank">银行名称</option>
<option value="name">开户名</option>
<option value="contact">联系人</option>
<option value="phone">联系电话</option>
</select>
<input id="simpleSearchKey" type="text" />&nbsp;
<button id="O_SimpleSearchBtn" class="searchbutton" type="button">快捷搜索</button>
</div>
</div>
<div class="todayinfoListTop">
<div class="todayinfo1"><span id="O_Count"></span>　<span id="O_Flush">正在加载数据...</span></div>
</div>
<span id="mainlist">
<?php include $this->tpl->getfile('inc/list_appMoney'); ?>
</span>
</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>
<!-- 加一个半透明层 --> 
<div id="doing"></div>
<!-- 浏览信息 -->
<?php include $this->tpl->getfile('inc/win_view'); ?>
<!-- 修改信息 -->
<?php include $this->tpl->getfile('inc/win_update'); ?>
</body>
</html>
<?php } elseif ($action=='info') { ?>
<table cellSpacing="0" cellPadding="0" width="566px" border="0">
<tbody>
<tr>
<td style="width:15%;white-space:nowrap;" align="right">会员账号：</td>
<td style="width:35%;white-space:nowrap;"><?php echo $memberAccount; ?> (<?php echo $memberType; ?>)</td>
<td align="right">状态：</td>
<td style="width:35%"><span class="f_14b_f00"><?php echo $status; ?></span></td></tr>
<tr>
<td align="right">提现金额：</td>
<td colspan="3"><?php echo $value; ?> 元</td></tr>
<tr>
<td align="right">银行名称：</td>
<td colspan="3"><?php echo $bank; ?></td></tr>
<tr>
<td align="right">开户名：</td>
<td><?php echo $name; ?></td>
<td style="width:15%;white-space:nowrap;" align="right">银行账号：</td>
<td><?php echo $account; ?></td></tr>
<tr>
<td align="right">联系人：</td>
<td><?php echo $contact; ?></td>
<td align="right">联系电话：</td>
<td><?php echo $phone; ?></td></tr>
<tr>
<td align="right">备注：</td>
<td colspan="3"><?php echo $remark; ?></td></tr>
</tbody></table>
<?php } elseif ($action=='add') { ?>
<table cellSpacing="0" cellPadding="0" width="566px" border="0">
<tbody>
<tr>
<td style="width:15%;white-space:nowrap;" align="right">会员账号：</td>
<td colspan="3">
<input type="radio" id="O_BookType_0" name="O_BookType" value="普通会员" onclick="changeType(this);" checked /><label for="O_BookType_0" style="cursor:pointer;">会员</label> <input type="radio" id="O_BookType_1" name="O_BookType" value="分销会员" onclick="changeType(this);" /><label for="O_BookType_1" style="cursor:pointer;">分销</label>
<select id="O_Member">
<option value="">==普通会员==</option>
<?php if(is_array($member)) foreach($member as $v) { ?>
<option value="<?php echo $v['id']; ?>"><?php echo $v['account']; ?></option>
<?php } ?>
</select> <span class="red">*</span></td></tr>
<tr>
<td align="right">账户余额：</td>
<td colspan="3"><span id="balance">0</span> 元</td></tr>
<tr>
<td align="right">提现金额：</td>
<td colspan="3"><input id="O_Money" type="text" class="common_txt" style="width:55px;" maxlength="50" /> 元</td></tr>
<tr>
<td align="right">银行名称：</td>
<td colspan="3"><input id="O_Bank" type="text" class="common_txt" maxlength="50" /></td></tr>
<tr>
<td align="right">开户名：</td>
<td><input id="O_Name" type="text" class="common_txt" maxlength="50" /></td>
<td style="width:15%;white-space:nowrap;" align="right">银行账号：</td>
<td><input id="O_Account" type="text" class="common_txt" maxlength="50" /></td></tr>
<tr>
<td align="right">联系人：</td>
<td style="width:35%;white-space:nowrap;"><input id="O_Contact" type="text" class="common_txt" maxlength="50" /></td>
<td align="right">联系电话：</td>
<td style="width:35%;white-space:nowrap;"><input id="O_Phone" type="text" class="common_txt" maxlength="50" /></td></tr>
<tr>
<td align="right">备注：</td>
<td colspan="3"><textarea id="O_Remark" rows="4" cols="55"></textarea></td></tr>
<tr>
<td align="right">当前状态：</td>
<td colspan="3"><input type="radio" name="O_Status" value="审核中" id="O_Status_0" checked /><label for="O_Status_0" style="cursor:pointer;">审核中</label> <input type="radio" name="O_Status" value="待支付" id="O_Status_1" /><label for="O_Status_1" style="cursor:pointer;">待支付</label> <input type="radio" name="O_Status" value="已支付" id="O_Status_2" /><label for="O_Status_2" style="cursor:pointer;">已支付</label></td></tr>
</tbody></table>
<?php } elseif ($action=='update') { ?>
<table cellSpacing="0" cellPadding="0" width="566px" border="0">
<tbody>
<tr>
<td style="width:15%;white-space:nowrap;" align="right">会员账号：</td>
<td style="width:35%;white-space:nowrap;"><?php echo $memberAccount; ?> (<?php echo $memberType; ?>)</td>
<td align="right">状态：</td>
<td style="width:35%"><span class="f_14b_f00"><?php echo $status; ?></span></td></tr>
<tr>
<td style="width:15%;white-space:nowrap;" align="right">账户余额：</td>
<td colspan="3"><?php echo $balance; ?>+<?php echo $value; ?> 元<input id="O_ID" type="hidden" value="<?php echo $id; ?>" /><input id="O_Balance" type="hidden" value="<?php echo $balance+$value; ?>" /></td></tr>
<tr>
<td align="right">提现金额：</td>
<td colspan="3"><input id="O_Money" type="text" class="common_txt" value="<?php echo $value; ?>" style="width:55px;" maxlength="50" /> 元</td></tr>
<tr>
<td align="right">银行名称：</td>
<td colspan="3"><input id="O_Bank" type="text" class="common_txt" value="<?php echo $bank; ?>" maxlength="50" /></td></tr>
<tr>
<td align="right">开户名：</td>
<td><input id="O_Name" type="text" class="common_txt" value="<?php echo $name; ?>" maxlength="50" /></td>
<td style="width:15%;white-space:nowrap;" align="right">银行账号：</td>
<td><input id="O_Account" type="text" class="common_txt" value="<?php echo $account; ?>" maxlength="50" /></td></tr>
<tr>
<td align="right">联系人：</td>
<td style="width:35%;white-space:nowrap;"><input id="O_Contact" type="text" class="common_txt" value="<?php echo $contact; ?>" maxlength="50" /></td>
<td align="right">联系电话：</td>
<td style="width:35%;white-space:nowrap;"><input id="O_Phone" type="text" class="common_txt" value="<?php echo $phone; ?>" maxlength="50" /></td></tr>
<tr>
<td align="right">备注：</td>
<td colspan="3"><textarea id="O_Remark" rows="4" cols="55"><?php echo $remark; ?></textarea></td></tr>
</tbody></table>
<?php } elseif ($action=='updateStatus') { ?>
<table cellSpacing="0" cellPadding="0" width="566px" border="0">
<tbody>
<tr>
<td align="right">会员账号：</td>
<td colspan="3"><?php echo $memberAccount; ?> (<?php echo $memberType; ?>)</td></tr>
<tr>
<td align="right">提现金额：</td>
<td colspan="3"><?php echo $value; ?> 元</td></tr>
<tr>
<td style="width:15%;white-space:nowrap;" align="right">银行名称：</td>
<td colspan="3"><?php echo $bank; ?></td></tr>
<tr>
<td align="right">开户名：</td>
<td style="width:35%;white-space:nowrap;"><?php echo $name; ?></td>
<td align="right">银行账号：</td>
<td style="width:35%;white-space:nowrap;"><?php echo $account; ?></td></tr>
<tr>
<td align="right">联系人：</td>
<td><?php echo $contact; ?></td>
<td style="width:15%;white-space:nowrap;" align="right">联系电话：</td>
<td><?php echo $phone; ?></td></tr>
<tr>
<td align="right">备注：</td>
<td colspan="3"><?php echo $remark; ?></td></tr>
<tr style="background:#ffc;">
<td align="right">当前状态：</td>
<td colspan="3">
<input id="O_ID" type="hidden" value="<?php echo $id; ?>" />
<input type="radio" name="O_Status" value="已取消" id="O_Status_0"<?php if($status=='已取消') { ?> checked<?php } ?> /><label for="O_Status_0" style="cursor:pointer;"<?php if($status=='已取消') { ?> class="f_14b_f00"<?php } ?>>已取消</label>
<input type="radio" name="O_Status" value="审核中" id="O_Status_1"<?php if($status=='审核中') { ?> checked<?php } ?> /><label for="O_Status_1" style="cursor:pointer;"<?php if($status=='审核中') { ?> class="f_14b_f00"<?php } ?>>审核中</label>
<input type="radio" name="O_Status" value="待支付" id="O_Status_2"<?php if($status=='待支付') { ?> checked<?php } ?> /><label for="O_Status_2" style="cursor:pointer;"<?php if($status=='待支付') { ?> class="f_14b_f00"<?php } ?>>待支付</label>
<input type="radio" name="O_Status" value="已支付" id="O_Status_3"<?php if($status=='已支付') { ?> checked<?php } ?> /><label for="O_Status_3" style="cursor:pointer;"<?php if($status=='已支付') { ?> class="f_14b_f00"<?php } ?>>已支付</label></td></tr>
</tbody></table>
<?php } ?>