127 lines
4.6 KiB
PHP
127 lines
4.6 KiB
PHP
|
|
<?php /* Smarty version 2.6.26, created on 2020-04-18 12:42:53
|
|||
|
|
compiled from gong/adm.tpl */ ?>
|
|||
|
|
<?php if ($this->_tpl_vars['union_ok']): ?>
|
|||
|
|
<style>
|
|||
|
|
.button_hui {background:#999999;}
|
|||
|
|
.huan_li li {float:left;list-style:none;margin-right:20px;}
|
|||
|
|
</style>
|
|||
|
|
<div class="xb-ef xlh-30 xta-c xfs-14"><EFBFBD><EFBFBD><EFBFBD>ӹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա</div>
|
|||
|
|
<div class="xmt-10">
|
|||
|
|
<table>
|
|||
|
|
<tr>
|
|||
|
|
<td width="60" align=right><EFBFBD><EFBFBD>ϷID</td>
|
|||
|
|
<td><input type="number" class="input" maxlength="6" style="width:80px;" id="gids" value=""></td>
|
|||
|
|
<td><input type="radio" name="open" value="1" checked> <EFBFBD>ɿ<EFBFBD><EFBFBD><EFBFBD> <input type="radio" name="open" value="0"> <EFBFBD><EFBFBD><EFBFBD>ܿ<EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
|
<td><input type="hidden" id="unionid" value="<?php echo $this->_tpl_vars['userinfo']['UnionID']; ?>
|
|||
|
|
">
|
|||
|
|
<input type="button" class="button" value="<EFBFBD><EFBFBD><EFBFBD>ӻ<EFBFBD>Ա" style="width:70px;" onclick="union_edit('join');"></td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
<div class="xb-ef xlh-30 xta-c xfs-14 xmt-10"><EFBFBD><EFBFBD><EFBFBD>᷿<EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD></div>
|
|||
|
|
<div class="xmt-10">
|
|||
|
|
<table>
|
|||
|
|
<tr>
|
|||
|
|
<td width="60" align=right><EFBFBD><EFBFBD><EFBFBD>᷿<EFBFBD><EFBFBD></td>
|
|||
|
|
<td><font class="xc-red"><b><?php echo $this->_tpl_vars['union']['UnionCard']; ?>
|
|||
|
|
<EFBFBD><EFBFBD></b></font></td>
|
|||
|
|
<td class="xc-ccc">һ<EFBFBD><EFBFBD>ת<EFBFBD>빫<EFBFBD>᷿<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td width="60" align=right><EFBFBD>ҵķ<EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
|
<td><input type="number" class="input" maxlength="6" style="width:80px;" id="fang" value="<?php echo $this->_tpl_vars['userinfo']['InsureScore']; ?>
|
|||
|
|
"></td>
|
|||
|
|
<td><input type="button" class="button" value="<EFBFBD>ҵķ<EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>빫<EFBFBD>᷿<EFBFBD><EFBFBD>" style="width:150px;" onclick="union_tit('fang');"></td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|||
|
|
<div class="xb-ef xlh-30 xta-c xfs-14 xmt-10"><EFBFBD><EFBFBD><EFBFBD>ֳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>
|
|||
|
|
<div class="xmt-10">
|
|||
|
|
<div class="xfr">
|
|||
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|||
|
|
<input type="button" class="button button_hui" value="<EFBFBD>رջ<EFBFBD><EFBFBD>ֳ<EFBFBD>" style="width:70px;" onclick="huan_open();">
|
|||
|
|
<?php else: ?>
|
|||
|
|
<input type="button" class="button" value="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֳ<EFBFBD>" style="width:70px;" onclick="huan_open();">
|
|||
|
|
<?php endif; ?>
|
|||
|
|
</div>
|
|||
|
|
<div class="xfl xlh-30"><EFBFBD><EFBFBD><EFBFBD>ֳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>л<EFBFBD><EFBFBD>ֲַſ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӻ<EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>뵽<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD></div>
|
|||
|
|
<div class="clear"></div>
|
|||
|
|
<div id="huan_nr"></div>
|
|||
|
|
</div>
|
|||
|
|
<?php endif; ?>
|
|||
|
|
<div class="xb-ef xlh-30 xta-c xfs-14 xmt-10"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD></div>
|
|||
|
|
<div class="xmt-10">
|
|||
|
|
<table>
|
|||
|
|
<tr>
|
|||
|
|
<td width="60" align=right><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
|
<td><input type="text" class="input" maxlength="6" style="width:80px;" id="cname" value="<?php echo $this->_tpl_vars['union']['UnionName']; ?>
|
|||
|
|
"></td>
|
|||
|
|
<td class="xc-ccc"><EFBFBD><EFBFBD><EFBFBD>磺<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ׯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>齫</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td width="60" align=right></td>
|
|||
|
|
<td><input type="button" class="button" value="<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ" style="width:70px;" onclick="union_edit('edit');"></td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
<?php endif; ?>
|
|||
|
|
<div class="clear"></div>
|
|||
|
|
<script>
|
|||
|
|
function huan_content(kid,tys){
|
|||
|
|
$.get("/gong/index.php", {
|
|||
|
|
ty : 'huan',
|
|||
|
|
md5 : md5,
|
|||
|
|
gameid : gid,
|
|||
|
|
kid : kid,
|
|||
|
|
tys : tys
|
|||
|
|
}, function(data, status) {
|
|||
|
|
$("#huan_nr").html(data);
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|||
|
|
huan_content(0,0);
|
|||
|
|
<?php endif; ?>
|
|||
|
|
function huan(title,kid,ty,v){
|
|||
|
|
var conf = [];
|
|||
|
|
conf['limit'] = ['<27><><EFBFBD><EFBFBD><EFBFBD>볡','<27><>',['100','200','300','500','800','1000']];
|
|||
|
|
conf['score'] = ['<27><>Ϸ<EFBFBD><CFB7><EFBFBD><EFBFBD>','<27><>',['1','2','3','5','10','20']];
|
|||
|
|
conf['gold'] = ['ÿ<>ŷ<EFBFBD><C5B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><>',['2','3','5','6','8','10']];
|
|||
|
|
var html = "<div class='in'>";
|
|||
|
|
html += '<div class="xlh-25 xfs-14"><b>'+title+'</b> '+conf[ty][0]+' <font color="#999"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1></font></div><div class="huan_li xfs-14"><ul>';
|
|||
|
|
for(var i=0;i<conf[ty][2].length;i++){
|
|||
|
|
html += '<li onclick="huan_xz('+kid+',\''+ty+'\','+conf[ty][2][i]+');" ';
|
|||
|
|
if(conf[ty][2][i] == v){
|
|||
|
|
html += ' class="xc-red"';
|
|||
|
|
}
|
|||
|
|
html += '>'+conf[ty][2][i]+''+conf[ty][1]+'</li>';
|
|||
|
|
}
|
|||
|
|
html += '</ul></div></div>';
|
|||
|
|
layer.open({
|
|||
|
|
type: 1
|
|||
|
|
,content: html
|
|||
|
|
,anim: 'bottom'
|
|||
|
|
,style: 'position:fixed; left:0; bottom:0; width:100%; height:80px; border: none; -webkit-animation-duration: .5s; animation-duration: .5s;'
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
function huan_xz(kid,ty,va){
|
|||
|
|
var obj = {ty:'huan',kid:kid,tys:ty,va:va,gameid:gid};
|
|||
|
|
layer.open({type:2,shade:false});
|
|||
|
|
$.get('/gong/cl.php', obj, function(data, status) {
|
|||
|
|
layer.closeAll();
|
|||
|
|
if(data == 'ok'){
|
|||
|
|
huan_content(kid,ty);
|
|||
|
|
}else{
|
|||
|
|
layer.open({content:data,style: 'width:220px;',btn: '<27><>֪<EFBFBD><D6AA><EFBFBD><EFBFBD>'});
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
function huan_open(){
|
|||
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|||
|
|
union_tit("goldopen",0,"<EFBFBD>رջ<EFBFBD><EFBFBD>ֳ<EFBFBD><EFBFBD><EFBFBD><br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݽ<EFBFBD><DDBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>գ<EFBFBD>");
|
|||
|
|
<?php else: ?>
|
|||
|
|
union_tit("goldopen",0,"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֳ<EFBFBD><EFBFBD><EFBFBD><br><3E>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>л<EFBFBD><D0BB>ַ<EFBFBD><br><3E><><EFBFBD>ַ<EFBFBD><D6B7>뵽<EFBFBD><EBB5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>");
|
|||
|
|
<?php endif; ?>
|
|||
|
|
}
|
|||
|
|
layer.closeAll();
|
|||
|
|
</script>
|