|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>游戏登陆列表|----软件管理平台</title>
|
|
|
|
<link href="http://admin.vlcms.com/Public/icon.ico" type="image/x-icon" rel="shortcut icon">
|
|
|
|
<script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
|
|
|
|
<script src="__STATIC__/table2excel.js"></script>
|
|
|
|
</head>
|
|
|
|
<style>
|
|
|
|
html {
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div style="margin:auto;font-size: 16px;color: red;line-height: 3;padding: 20px;">
|
|
|
|
导出进行中。。。<br />
|
|
|
|
如果导出成功你也可以手动关闭此页面
|
|
|
|
</div>
|
|
|
|
<table border="1" id="exporttable" style="opacity: 0;">
|
|
|
|
<!-- 表头 -->
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>游戏类型</th>
|
|
|
|
<th>现包名</th>
|
|
|
|
<th>原包名</th>
|
|
|
|
<th>公司类型</th>
|
|
|
|
<th>结算流水类型</th>
|
|
|
|
<th colspan="2">比例分成</th>
|
|
|
|
<th>生效时间</th>
|
|
|
|
<th>操作人</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
<tbody>
|
|
|
|
<if condition = "empty($data)">
|
|
|
|
<tr>
|
|
|
|
<td colspan="16" class="text-center">aOh! 暂时还没有内容!</td>
|
|
|
|
</tr>
|
|
|
|
<else/>
|
|
|
|
<volist name="data" id="data">
|
|
|
|
<tr>
|
|
|
|
<td rowspan="{$data.row}">{$data.game_type_name}</td>
|
|
|
|
<td rowspan="{$data.row}">{$data.relation_game_name}</td>
|
|
|
|
<td rowspan="{$data.row}">{$data.original_package_name}</td>
|
|
|
|
<td rowspan="{$data.row}">{$data.company_belong}</td>
|
|
|
|
<notempty name="data['turnover_ratios'][0][0]">
|
|
|
|
<td rowspan="{$data['sec_row'][0]}">{$data['turnover_types'][0]|default="--"}</td>
|
|
|
|
<td >{$data['turnover_ratios'][0][0]['name']|default="--"}</td>
|
|
|
|
<td >{$data['turnover_ratios'][0][0]['ratio']|showPercent}</td>
|
|
|
|
<td rowspan="{$data['sec_row'][0]}">{$data['valid'][0]|default="--"}</td>
|
|
|
|
<else />
|
|
|
|
<td>--</td>
|
|
|
|
<td>--</td>
|
|
|
|
<td>--</td>
|
|
|
|
<td>--</td>
|
|
|
|
</notempty>
|
|
|
|
<td rowspan="{$data.row}">{$data.admin_name}</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<foreach name="data['valid']" item="valid" key="keys">
|
|
|
|
<if condition="$keys gt 0">
|
|
|
|
<tr>
|
|
|
|
<td rowspan="{$data['sec_row'][$keys]}">{$data['turnover_types'][$keys]|default="无"}</td>
|
|
|
|
<td>{$data['turnover_ratios'][$keys][0]['name']|default="--"}</td>
|
|
|
|
<td>{$data['turnover_ratios'][$keys][0]['ratio']|showPercent}</td>
|
|
|
|
<td rowspan="{$data['sec_row'][$keys]}">{$valid|default="--"}</td>
|
|
|
|
</tr>
|
|
|
|
<foreach name="data['turnover_ratios'][$keys]" item="game_ratio" key="gamekey">
|
|
|
|
<if condition="$gamekey gt 0">
|
|
|
|
<tr>
|
|
|
|
<td>{$game_ratio['name']|default="--"}</td>
|
|
|
|
<td>{$game_ratio['ratio']|showPercent}</td>
|
|
|
|
</tr>
|
|
|
|
</if>
|
|
|
|
</foreach>
|
|
|
|
<else/>
|
|
|
|
<foreach name="data['turnover_ratios'][$keys]" item="game_ratio" key="gamekey">
|
|
|
|
<if condition="$gamekey gt 0">
|
|
|
|
<tr>
|
|
|
|
<td>{$game_ratio['name']|default="--"}</td>
|
|
|
|
<td>{$game_ratio['ratio']|showPercent}</td>
|
|
|
|
</tr>
|
|
|
|
</if>
|
|
|
|
</foreach>
|
|
|
|
</if>
|
|
|
|
</foreach>
|
|
|
|
</volist>
|
|
|
|
</if>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$(function () {
|
|
|
|
$("#exporttable").table2excel({
|
|
|
|
filename: "游戏分成比例模板.xls", // do include extension
|
|
|
|
preserveColors: false // set to true if you want background colors and font colors preserved
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|