20
This commit is contained in:
@@ -54,18 +54,28 @@
|
||||
<div class="login-header text-center">
|
||||
<a href="javascript:;" style="font-size: 22px;display: flex;align-items: center;justify-content: center;"> <img alt="{$title}" src="{$logo}" width="32" class="m-r-5" />{$title}</a>
|
||||
</div>
|
||||
<ul class="nav nav-tabs nav-justified">
|
||||
<li class="active"><a data-toggle="tab" href="#otop_login">OTOP登录</a></li>
|
||||
<li class="nav-item"><a data-toggle="tab" href="#passowrd_login">密码登录</a></li>
|
||||
</ul>
|
||||
<form action="{:url('account/login')}" method="post" id="loginform" valid>
|
||||
<div class="form-group has-feedback feedback-left">
|
||||
<span class="mdi mdi-account form-control-feedback" aria-hidden="true"></span>
|
||||
<input type="text" placeholder="请输入您的用户名" class="form-control" name="username" id="username" data-rule="required" data-msg="请输入您的用户名"/>
|
||||
</div>
|
||||
<!-- <div class="form-group has-feedback feedback-left">
|
||||
<span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
|
||||
<input type="password" placeholder="请输入密码" class="form-control" id="password" name="password" data-rule="required;password" />
|
||||
</div> -->
|
||||
<div class="form-group has-feedback feedback-left">
|
||||
<span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
|
||||
<input type="code" placeholder="请输入OTOP验证码" class="form-control" id="code" name="code" data-rule="required;length(4)" data-msg="请输入OTOP验证码" />
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade active in" id="otop_login">
|
||||
<div class="form-group has-feedback feedback-left">
|
||||
<span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
|
||||
<input type="code" placeholder="请输入OTOP验证码" class="form-control" id="code" name="code" data-rule="required(#otop_login.active);length(4)" data-msg="请输入OTOP验证码" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="passowrd_login">
|
||||
<div class="form-group has-feedback feedback-left">
|
||||
<span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
|
||||
<input type="password" placeholder="请输入密码" class="form-control" id="password" name="password" data-rule="required(#passowrd_login.active);password" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{if Config('site.admin_login_captcha')}
|
||||
<div class="form-group has-feedback feedback-left row">
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
<p class="h6 text-white m-t-0">7日内充值</p>
|
||||
<p class="h3 text-white m-b-0 fa-1-5x"><?=$day7_user_recharge_sum?></p>
|
||||
</div>
|
||||
<div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i
|
||||
class="mdi mdi-account fa-1-5x"></i></span> </div>
|
||||
<div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i class="mdi mdi-account fa-1-5x"></i></span> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -32,8 +31,7 @@
|
||||
<p class="h6 text-white m-t-0">总充值</p>
|
||||
<p class="h3 text-white m-b-0 fa-1-5x"><?=$recharge_total?></p>
|
||||
</div>
|
||||
<div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i
|
||||
class="mdi mdi-arrow-down-bold fa-1-5x"></i></span> </div>
|
||||
<div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i class="mdi mdi-arrow-down-bold fa-1-5x"></i></span> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -45,8 +43,7 @@
|
||||
<p class="h6 text-white m-t-0">总提现</p>
|
||||
<p class="h3 text-white m-b-0 fa-1-5x"><?=$withdrawl_total?></p>
|
||||
</div>
|
||||
<div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i
|
||||
class="mdi mdi-arrow-up-bold fa-1-5x"></i></span> </div>
|
||||
<div class="pull-left"> <span class="img-avatar img-avatar-48 bg-translucent"><i class="mdi mdi-arrow-up-bold fa-1-5x"></i></span> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -90,28 +87,24 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>渠道商数</td>
|
||||
<td>
|
||||
<?php
|
||||
echo \app\model\User::where('group_id',1)->count('id');
|
||||
?>
|
||||
</td>
|
||||
<td>用户总数</td>
|
||||
<td><?php echo \app\model\User::count('id');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>用户余额总和</td>
|
||||
<td>{$user_money_total}</td>
|
||||
<td>VIP用户数</td>
|
||||
<td><?php echo \app\model\User::where('role_id',2)->count('id');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SVIP1用户数</td>
|
||||
<td><?php echo \app\model\User::where('role_id',3)->count('id');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SVIP2用户数</td>
|
||||
<td><?php echo \app\model\User::where('role_id',4)->count('id');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>用户积分总和</td>
|
||||
<td>{$user_score_total}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>调研币总和</td>
|
||||
<td><?php echo \app\model\User::sum('currency1');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>待分配总和</td>
|
||||
<td><?php echo \app\model\User::sum('currency7');?></td>
|
||||
<td><?php echo \app\model\User::sum('score');?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -132,49 +125,24 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>问卷成交个数</td>
|
||||
<td>
|
||||
<?php $system_question_total = cache('system_question_total');echo $system_question_total;?>
|
||||
</td>
|
||||
<td>操作系统</td>
|
||||
<td>{$os}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>预计支出泡沫</td>
|
||||
<td>
|
||||
<?php $system_question_cha_total = 0;echo $system_question_cha_total;?>
|
||||
</td>
|
||||
<td>workerman</td>
|
||||
<td>{$workerman_version}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>总沉淀金额</td>
|
||||
<td>
|
||||
<?php
|
||||
$system_role_buy_amount_total = cache('system_role_buy_amount_total');
|
||||
$system_role_buy_reward_total = cache('system_role_buy_reward_total');
|
||||
$system_role_buy_residual_total = $system_role_buy_amount_total - $system_role_buy_reward_total;
|
||||
echo $system_role_buy_residual_total;
|
||||
?>
|
||||
|
||||
</td>
|
||||
<td>webman</td>
|
||||
<td>{$webman_version}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>实际泡沫</td>
|
||||
<td>
|
||||
<?php
|
||||
$cha = $system_question_cha_total - $system_role_buy_residual_total;
|
||||
if($cha>0){
|
||||
echo '<span class="text-danger">'.$cha.'</span>';
|
||||
}else{
|
||||
echo '<span class="text-success">'.$cha.'</span>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td>php</td>
|
||||
<td>{$php_version}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td></td>
|
||||
<td>MySQL</td>
|
||||
<td>{$mysql_version}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user