Files
wnmj/GonghuiWeb/www/m/gh/adm.tpl

119 lines
4.2 KiB
Smarty
Raw Normal View History

2026-02-24 09:25:17 +08:00
<!--{if $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"><3E><><EFBFBD>ӹ<EFBFBD><D3B9><EFBFBD><EFBFBD><EFBFBD>Ա</div>
<div class="xmt-10">
<table>
<tr>
<td width="60" align=right><3E><>Ϸ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> <20>ɿ<EFBFBD><C9BF><EFBFBD> <input type="radio" name="open" value="0"> <20><><EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD></td>
<td><input type="hidden" id="unionid" value="<!--{$userinfo.UnionID}-->">
<input type="button" class="button" value="<22><><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"><3E><><EFBFBD>᷿<EFBFBD><E1B7BF>ת<EFBFBD><D7AA></div>
<div class="xmt-10">
<table>
<tr>
<td width="60" align=right><3E><><EFBFBD>᷿<EFBFBD><E1B7BF></td>
<td><font class="xc-red"><b><!--{$union.UnionCard}--> <20><></b></font></td>
<td class="xc-ccc">һ<><D2BB>ת<EFBFBD><EFBFBD>᷿<EFBFBD><E1B7BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA></td>
</tr>
<tr>
<td width="60" align=right><3E>ҵķ<D2B5><C4B7><EFBFBD></td>
<td><input type="number" class="input" maxlength="6" style="width:80px;" id="fang" value="<!--{$userinfo.InsureScore}-->"></td>
<td><input type="button" class="button" value="<22>ҵķ<D2B5><C4B7><EFBFBD>ת<EFBFBD><EFBFBD>᷿<EFBFBD><E1B7BF>" style="width:150px;" onclick="union_tit('fang');"></td>
</tr>
</table>
</div>
<div class="xb-ef xlh-30 xta-c xfs-14 xmt-10"><3E><><EFBFBD>ֳ<EFBFBD><D6B3><EFBFBD><EFBFBD><EFBFBD></div>
<div class="xmt-10">
<div class="xfr">
<!--{if $union.UnionGoldOpen}-->
<input type="button" class="button button_hui" value="<22>رջ<D8B1><D5BB>ֳ<EFBFBD>" style="width:70px;" onclick="huan_open();">
<!--{else}-->
<input type="button" class="button" value="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֳ<EFBFBD>" style="width:70px;" onclick="huan_open();">
<!--{/if}-->
</div>
<div class="xfl xlh-30"><3E><><EFBFBD>ֳ<EFBFBD><D6B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>л<EFBFBD><D0BB>ֲַſ<D6B2><C5BF><EFBFBD><EFBFBD><EFBFBD>Ϸ<EFBFBD><CFB7><EFBFBD><EFBFBD><EFBFBD>ӻ<EFBFBD><D3BB>ַ<EFBFBD><D6B7><EFBFBD><EBB5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD></div>
<div class="clear"></div>
<div id="huan_nr"></div>
</div>
<div class="xb-ef xlh-30 xta-c xfs-14 xmt-10"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>޸<EFBFBD></div>
<div class="xmt-10">
<table>
<tr>
<td width="60" align=right><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
<td><input type="text" class="input" maxlength="6" style="width:80px;" id="cname" value="<!--{$union.UnionName}-->"></td>
<td class="xc-ccc"><3E><><EFBFBD><EFBFBD><E7A3BA><EFBFBD><EFBFBD>ׯ<EFBFBD><D7AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>齫</td>
</tr>
<tr>
<td width="60" align=right></td>
<td><input type="button" class="button" value="<22>޸<EFBFBD><DEB8><EFBFBD>Ϣ" style="width:70px;" onclick="union_edit('edit');"></td>
</tr>
</table>
</div>
<!--{/if}-->
<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);
});
}
<!--{if $union.UnionGoldOpen}-->
huan_content(0,0);
<!--{/if}-->
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'] = ['ÿ<><C3BF><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(){
<!--{if $union.UnionGoldOpen}-->
union_tit("goldopen",0,"<22>رջ<D8B1><D5BB>ֳ<EFBFBD><D6B3><EFBFBD><br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݽ<EFBFBD><DDBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>գ<EFBFBD>");
<!--{else}-->
union_tit("goldopen",0,"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֳ<EFBFBD><D6B3><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>");
<!--{/if}-->
}
layer.closeAll();
</script>