|
|
|
<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>现游戏名称</th>
|
|
|
|
<th>结算流水类型</th>
|
|
|
|
<th>生效时间</th>
|
|
|
|
<th colspan="2">比例分成</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
<tbody>
|
|
|
|
<if condition = "empty($data)">
|
|
|
|
<tr>
|
|
|
|
<td colspan="9" class="text-center">aOh! 暂时还没有内容!</td>
|
|
|
|
</tr>
|
|
|
|
<else/>
|
|
|
|
<volist name="data" id="data">
|
|
|
|
<tr>
|
|
|
|
<td rowspan="{$data.row}">{$data.company_name}</td>
|
|
|
|
<td rowspan="{$data.row}">{$data.company_belong}</td>
|
|
|
|
<td rowspan="{$data.row}">{$data.settlement_type}</td>
|
|
|
|
<td rowspan="{$data.row}">{$data.game_type_name}</td>
|
|
|
|
<td rowspan="{$data.row}">{$data.original_package_name}</td>
|
|
|
|
<td rowspan="{$data.row}">{$data.relation_game_name}</td>
|
|
|
|
<notempty name="data['valid'][0]">
|
|
|
|
<td rowspan="{$data['sec_row'][0]}">{$data['turnover_types'][0]}</td>
|
|
|
|
<td rowspan="{$data['sec_row'][0]}">{$data['valid'][0]}</td>
|
|
|
|
<else />
|
|
|
|
<td>--</td>
|
|
|
|
<td>--</td>
|
|
|
|
</notempty>
|
|
|
|
<notempty name="data['turnover_ratios'][0][0]">
|
|
|
|
<td >{$data['turnover_ratios'][0][0]['name']|default="--"}</td>
|
|
|
|
<td >{$data['turnover_ratios'][0][0]['ratio']|showPercent}</td>
|
|
|
|
<else />
|
|
|
|
<td>--</td>
|
|
|
|
<td>--</td>
|
|
|
|
</notempty>
|
|
|
|
|
|
|
|
</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]}</td>
|
|
|
|
<td rowspan="{$data['sec_row'][$keys]}">{$valid|default="--"}</td>
|
|
|
|
<td>{$data['turnover_ratios'][$keys][0]['name']|default="--"}</td>
|
|
|
|
<td>{$data['turnover_ratios'][$keys][0]['ratio']|showPercent}</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>
|
|
|
|
|
|
|
|
<!-- <if condition="$data['row'] gt 1">-->
|
|
|
|
<!-- <foreach name="data['turnover_ratios']" item="game_ratio" key="gamekey">-->
|
|
|
|
<!-- <foreach name="game_ratio" item="game_ratio_sec" key="key">-->
|
|
|
|
<!-- <if condition="$gamekey neq 0 and $key neq 0">-->
|
|
|
|
<!-- <tr>-->
|
|
|
|
<!-- <td>{$game_ratio_sec['name']|default="--"}</td>-->
|
|
|
|
<!-- <td>{$game_ratio_sec['ratio']|showPercent}</td>-->
|
|
|
|
<!-- </tr>-->
|
|
|
|
<!-- </if>-->
|
|
|
|
<!-- </foreach>-->
|
|
|
|
<!-- </foreach>-->
|
|
|
|
<!-- </if>-->
|
|
|
|
</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>
|