Files
wnmj-normal/GonghuiWeb/www/m/gong/main.tpl
2026-03-03 13:56:44 +08:00

131 lines
7.2 KiB
Smarty
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--{if $union}-->
<!--{if $info}-->
<div class="xlh-25">
<div class="xfr">
<!--{if $union_a.UnionGoldOpen}--><font class="xc-999">欢乐分:</font><font color="#ff00ff"><!--{$gold|number_format}--></font><!--{/if}-->
<font class="xc-999">消费房卡:</font><!--{$union_hit|number_format}--><font class="xc-999">人数:</font><!--{$union_a.People|number_format}-->人
</div>
<font class="xc-999">公会名称:</font><!--{$union_a.UnionName}-->
</div>
<table width="100%">
<tr class="xlh-25">
<td align="center" class="xb-ef">排名</td>
<td align="center" colspan=2 class="xb-ef" onclick="loadnr('main','<!--{$union_a.UnionID}-->')">成员</td>
<!--{if $userinfo.UserID == $union_a.UserID}-->
<td align="center" class="xb-ef" onclick="loadnr('main','<!--{$union_a.UnionID}-->','qx')">开房<!--{if $GG.sort=='qx'}-->↑<!--{/if}--></td>
<!--{/if}-->
<!--{if $union_a.UnionGoldOpen}-->
<td align="center" class="xb-ef" onclick="loadnr('main','<!--{$union_a.UnionID}-->','gold')">欢乐分<!--{if $GG.sort=='gold'}-->↑<!--{/if}--></td>
<!--{else}-->
<td align="center" class="xb-ef" onclick="loadnr('main','<!--{$union_a.UnionID}-->','yx')">游戏<!--{if $GG.sort=='yx'}-->↑<!--{/if}--></td>
<!--{/if}-->
<td align="center" class="xb-ef" onclick="loadnr('main','<!--{$union_a.UnionID}-->')">等级</td>
<td align="center" width="95" class="xb-ef" onclick="loadnr('main','<!--{$union_a.UnionID}-->','log')">最近登录<!--{if $GG.sort=='log'}-->↑<!--{/if}--></td>
</tr>
<!--{section name=loop loop=$info}-->
<!--{assign var="i" value=$smarty.section.loop.rownum}-->
<tr <!--{if $info[loop].UserID == $userinfo.UserID}-->class="hy_bj"<!--{elseif $i%2==0}-->class="xb-ef"<!--{/if}-->>
<td class="hy_pm" <!--{if $smarty.section.loop.rownum == 1}--> style="color:red;font-weight:bolder;"
<!--{elseif $smarty.section.loop.rownum < 4}--> style="color:#ff9900;font-weight:bolder;"
<!--{/if}-->><!--{$smarty.section.loop.rownum}--></td>
<!--{if $userinfo.UserID == $union_a.UserID && $union_a.UserID!=$info[loop].UserID}-->
<td width="30" class="hy_img" onclick="union_tit('out',<!--{$info[loop].UserID}-->,'<img src=\'<!--{$info[loop].HeadHttp}-->\' width=\'50\'><br><!--{$info[loop].NickName}--><br>踢出公会?','<!--{$union_a.UnionID}-->');">
<!--{else}-->
<td width="30" class="hy_img">
<!--{/if}-->
<img src="<!--{$info[loop].HeadHttp|default:"/m/img/toux.jpg"}-->"></td>
<td><div class="gh-name"><!--{$info[loop].NickName}--></div>
<!--{if $union_ok}--><font class="xc-999"><!--{$info[loop].GameID}--></font><!--{/if}-->
<!--{if $info[loop].Gender==1}-->男<!--{else}--><font color=#996600>女<!--{/if}--></font></td>
<!--{if $userinfo.UserID == $union_a.UserID}-->
<td align=center <!--{if $userinfo.UserID == $union_a.UserID}-->onclick="loadnr('main','<!--{$union_a.UnionID}-->','open-<!--{$info[loop].UnionMemberID}-->')"<!--{/if}-->><!--{if $info[loop].UnionOpen ==1}--><font color=#090>Yes<!--{else}--><font color=#ccc>No<!--{/if}--></font></td>
<!--{/if}-->
<!--{if $union_a.UnionGoldOpen}-->
<td align=right onclick="loadnr('mgold','<!--{$union_a.UnionID}-->','<!--{$info[loop].UserID}-->');"><font color="#ff00ff"><!--{$info[loop].UnionMemberGold|number_format}--></font>&nbsp;</td>
<!--{else}-->
<td align=right><!--{$info[loop].PlayCount|number_format}-->&nbsp;</td>
<!--{/if}-->
<td align=right><!--{gradetit GradeArr=$GradeArr gjf=$info[loop].Grade}-->&nbsp;<br><font class="xc-ccc"><!--{$info[loop].Grade}--></font>&nbsp;</td>
<td align="right"><!--{timename time=$info[loop].LastDate duan=1}-->&nbsp;</td>
</tr>
<!--{/section}-->
</table>
<!--{else}-->
<div class="xlh-25">注意公会房卡少于50张将不能公会开房请多注意房卡消耗情况。</div>
<table width="100%">
<tr class="xlh-25">
<td align="center" colspan=2 class="xb-ef">会长</td>
<td align="center" class="xb-ef">公会名称</td>
<td align="center" class="xb-ef">欢乐分</td>
<td align="center" class="xb-ef">人数</td>
<td align="center" width="50" class="xb-ef">开房</td>
<td align="center" width="50" class="xb-ef">退出</td>
</tr>
<!--{section name=loop loop=$data}-->
<!--{assign var="i" value=$smarty.section.loop.rownum}-->
<tr <!--{if $data[loop].UserID == $userinfo.UserID}-->class="hy_bj"<!--{elseif $i%2==0}-->class="xb-ef"<!--{/if}-->
<!--{if $data[loop].UserID == $userinfo.UserID}-->
onclick="loadnr('main','<!--{$data[loop].UnionID}-->')"
<!--{/if}-->>
<td width="30" class="hy_img"><img src="<!--{$data[loop].HeadHttp|default:"/m/img/toux.jpg"}-->"></td>
<td><div class="gh-name">&nbsp;<!--{$data[loop].NickName}--></div>
&nbsp;<font class="xc-999"><!--{$data[loop].GameID}--></font></td>
<td>&nbsp;<!--{$data[loop].UnionName}--><!--{if $data[loop].UnionGoldOpen}--><br>&nbsp;<font color="#ff0000">欢乐场</font><!--{/if}--></td>
<td align=right><b><!--{$data[loop].UnionMemberGold}--></b>&nbsp;</td>
<td align=right><!--{$data[loop].People|number_format}--> 人&nbsp;
<!--{if $data[loop].UserID == $userinfo.UserID}-->
<br><!--{if $data[loop].UnionCard > 50}--><font color="#CC0000"><!--{$data[loop].UnionCard}--><!--{else}--><font color="#ff0000">少于50张<!--{/if}-->房卡</font>&nbsp;
<!--{/if}--></td>
<td align=center><!--{if $data[loop].UnionOpen ==1}-->有<!--{else}--><font class="xc-999">无</font><!--{/if}--></td>
<!--{if $data[loop].UserID == $userinfo.UserID}-->
<td align=center>-</td>
<!--{else}-->
<td align=center onclick="union_tit('out',<!--{$data[loop].UID}-->,'','<!--{$data[loop].UnionID}-->');">退出</td>
<!--{/if}-->
</tr>
<!--{/section}-->
</table>
<!--{/if}-->
</div>
<!--{else}-->
<div class="xlh-25">
<!--{if $userinfo.SpreaderID}-->
1、群主创建公会最少需要80张房卡转入公会房卡。<br>
2、公会成员开房不需要房卡不是同一公会的人进入不了游戏<br>
3、公会房卡必须保持在50张以上否则开不了房间。<br>
<!--{else}-->
1、请联系群主加入公会。<br>
2、公会开房不需要房卡。<br>
3、不是同一公会的人进入不了游戏。<br>
<font color=#999>如需代理创建公会请加微信queyi88</font>
<!--{/if}-->
</div>
<!--{if $userinfo.SpreaderID}-->
<div>
<div class="xb-ef xlh-25 xta-c xfs-14 xmt-10">创建公会</div>
<div class="xmt-10">
<form method="post" id="Daform" onsubmit="return union_add();" language="JavaScript" >
<table>
<tr>
<td width="60" align=right>公会名称</td>
<td><input type="text" name="uname" class="input" maxlength="6" style="width:80px;"></td>
<td class="xc-ccc">例如:聚闲庄、友谊麻将等等</td>
</tr>
<tr>
<td width="60" align=right>转入房卡</td>
<td><input type="number" name="ucard" class="input" style="width:80px;" value="100"></td>
<td class="xc-ccc">最少80张创建成功自动送50张房卡</td>
</tr>
<tr>
<td width="60" align=right></td>
<td><input type="submit" class="button" value="创建公会" style="width:92px;"></td>
</tr>
</form>
</table>
<div>
<!--{/if}-->
<!--{/if}-->
<div class="clear"></div>
<script>
layer.closeAll();
</script>