Files
OMS/app/taoexlib/view/admin/info.html
2026-01-04 19:08:31 +08:00

84 lines
3.4 KiB
HTML

<!--
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="tableform">
<table border="0" cellspan="0" colspan="0" style="background: none repeat scroll 0 0 #EAEEF4;">
<tr>
<td width="25%">
<table border="0" cellspan="0" colspan="0">
<tr>
<td width="40%" align="right">ShopEx通行证Id:</td>
<td width="60%" align="left"><{$account['entid']}></td>
</tr>
</table>
</td>
<td width="25%">
<table border="0" cellspan="0" colspan="0">
<tr>
<td width="40%" align="right">Email:</td>
<td width="60%" align="left"><{$account['email']}></td>
</tr>
</table>
</td>
<td width="25%">
<table border="0" cellspan="0" colspan="0">
<tr>
<td width="40%" align="right">状态:</td>
<td width="60%" align="left"><{if $info['res'] == 'fail'}><{$info['info']}><{elseif $info['info']->account_info->active == 1}>正常<{else}>未激活<{/if}></td>
</tr>
</table>
</td>
<td width="25%">
<form action="<{link app='taoexlib' ctl='admin_account' act='unbind'}>" method="post" id="enterpriseUnbind">
<{button type="button" label="解除绑定" id="unbind"}>
</form>
</td>
</tr>
<{ if $info['res'] == 'succ'}>
<tr>
<td width="25%">
<table border="0" cellspan="0" colspan="0">
<tr>
<td width="40%" align="right">当月可用短信:</td>
<td width="60%" align="left"><{$info['info']->month_residual}>条</td>
</tr>
</table>
</td>
<td width="25%">
<table border="0" cellspan="0" colspan="0">
<tr>
<td width="40%" align="right">全部可用短信:</td>
<td width="60%" align="left"><{if $info['info']->all_residual<$warningnumber}><font style="color:#FF0000; font-weight:bold;">还剩<{$info['info']->all_residual}>条,尽快充值!</font><{else}><{$info['info']->all_residual}>条<{/if}></td>
</tr>
</table>
</td>
<td width="25%">&nbsp;</td>
<td width="25%">&nbsp;</td>
</tr>
<{/if }>
</table>
</div>
<script type="text/javascript">
(function(){
var _form = $('enterpriseUnbind');
var btn =$('unbind');
btn.addEvent('click',function(){
_form.fireEvent('submit',{stop:$empty});
});
})();
</script>