Pro/application/agent/view/common/header.html
2026-01-28 15:54:52 +08:00

483 lines
26 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>带梨 &gt; {$title_en}|{$title}</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.7 -->
<link rel="stylesheet" href="/static/agent/css/bootstrap.min.css">
<link rel="shortcut icon" href="{$Think.ADMIN_STATIC_DOMAIN}/static/wp.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="/static/agent/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="/static/agent/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="/static/agent/css/AdminLTE.min.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="/static/agent/css/_all-skins.min.css">
<!-- Morris chart -->
<link rel="stylesheet" href="/static/agent/css/morris.css">
<!-- jvectormap -->
<link rel="stylesheet" href="/static/agent/css/jquery-jvectormap.css">
<!-- Date Picker -->
<link rel="stylesheet" href="/static/agent/css/bootstrap-datepicker.min.css">
<!-- Daterange picker -->
<link rel="stylesheet" href="/static/agent/css/daterangepicker.css">
<!-- bootstrap wysihtml5 - text editor -->
<link rel="stylesheet" href="/static/agent/css/bootstrap3-wysihtml5.min.css">
<!-- jQuery 3 -->
<script src="/static/agent/js/jquery.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="/static/agent/js/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
$.widget.bridge('uibutton', $.ui.button);
</script>
<!-- Bootstrap 3.3.7 -->
<script src="/static/agent/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="/static/agent/js/raphael.min.js"></script>
<!-- <script src="/static/agent/js/morris.min.js"></script> -->
<!-- Sparkline -->
<script src="/static/agent/js/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="/static/agent/js/jquery-jvectormap-1.2.2.min.js"></script>
<script src="/static/agent/js/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script src="/static/agent/js/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script src="/static/agent/js/moment.min.js"></script>
<script src="/static/agent/js/daterangepicker.js"></script>
<!-- datepicker -->
<script src="/static/agent/js/bootstrap-datepicker.min.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="/static/agent/js/bootstrap3-wysihtml5.all.min.js"></script>
<!-- Slimscroll -->
<script src="/static/agent/js/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="/static/agent/js/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="/static/agent/js/adminlte.min.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<!-- <script src="/static/agent/js/dashboard.js"></script> -->
<!-- AdminLTE for demo purposes -->
<script src="/static/agent/js/demo.js"></script>
<script src="/static/agent/layer/layer.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Google Font -->
<link rel="stylesheet" href="/static/agent/css/fonts_googleapis.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="/index/index" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>D</b>L</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b></b></span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- Notifications: style can be found in dropdown.less -->
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="ion ion-tshirt-outline"></i>
</a>
<ul class="dropdown-menu">
<li class="header">请选择喜爱的颜色风格</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li>
<a href="javascript:void(0)" data-skin="skin-red"
style="display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)"
class="clearfix full-opacity-hover">
<i class="fa fa-square text-red"></i> 红色
</a>
</li>
<li>
<a href="javascript:void(0)" data-skin="skin-yellow"
style="display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)"
class="clearfix full-opacity-hover">
<i class="fa fa-square text-yellow"></i> 黄色
</a>
</li>
<li>
<a href="javascript:void(0)" data-skin="skin-green"
style="display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)"
class="clearfix full-opacity-hover">
<i class="fa fa-square text-green"></i> 绿色
</a>
</li>
<li>
<a href="javascript:void(0)" data-skin="skin-blue"
style="display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)"
class="clearfix full-opacity-hover">
<i class="fa fa-square text-blue"></i> 蓝色
</a>
</li>
<li>
<a href="javascript:void(0)" data-skin="skin-purple"
style="display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)"
class="clearfix full-opacity-hover">
<i class="fa fa-square text-purple"></i> 紫色
</a>
</li>
</ul>
</li>
</ul>
</li>
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="/static/agent/images/user2-160x160.jpg" class="user-image" alt="User Image">
<span class="hidden-xs">{$user_info.username}</span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="/static/agent/images/user2-160x160.jpg" class="img-circle" alt="User Image">
<p>{$user_info.username}<small>代理</small></p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-right">
<a href="/login/logout" class="btn btn-default btn-flat logout">退出</a>
</div>
</li>
<!-- Control Sidebar Toggle Button -->
</ul>
</li>
<li>
<a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
</li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="/static/agent/images/user2-160x160.jpg" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p>{$user_info.username}</p>
<a href="#"><i class="fa fa-circle text-success"></i> 代理</a>
</div>
</div>
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu" data-widget="tree">
<li class="header">导航</li>
<li {if $li_num eq 1}class="active"{/if}>
<a href="/index/index"><i class="fa fa-home"></i> <span>首页</span><span class="pull-right-container" {if $li_num neq 1}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span></a>
</li>
<li {if $li_num eq 2}class="active"{/if}>
<a href="/bills/index"><i class="fa fa-book"></i> <span>上下分记录</span><span class="pull-right-container" {if $li_num neq 2}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span></a>
</li>
<li {if $li_num eq 5}class="active"{/if}>
<a href="/xima/index"><i class="fa fa-file-text"></i> <span>洗码管理</span><span class="pull-right-container" {if $li_num neq 5}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span>
</a>
</li>
<li {if $li_num eq 3}class="active"{/if}>
<a href="/washcode/index"><i class="fa fa-file-text"></i> <span>洗码记录</span><span class="pull-right-container" {if $li_num neq 3}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span>
</a>
</li>
<li {if $li_num eq 4}class="active"{/if}>
<a href="/agent/index"><i class="fa fa-user-secret"></i> <span>我的下属</span><span class="pull-right-container" {if $li_num neq 4}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span></a>
</li>
<li {if $li_num eq 18}class="active"{/if}>
<a href="/agent/is_del"><i class="fa fa-user-secret"></i> <span>我的下属(已删除)</span><span class="pull-right-container" {if $li_num neq 18}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span></a>
</li>
<!--
<li {if $li_num eq 5}class="active"{/if}>
<a href="/player/index"><i class="fa fa-user"></i> <span>我的玩家</span><span class="pull-right-container" {if $li_num neq 5}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span></a>
</li>
-->
<li {if $li_num eq 7}class="active"{/if}>
<a href="/player/table_online">
<i class="fa fa-user"></i>
<span>游戏桌实时数据</span>
<span class="pull-right-container" {if $li_num neq 7}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right"></i>
</span>
</a>
</li>
<li {if $li_num eq 19}class="active"{/if}>
<a href="/player/user_online">
<i class="fa fa-user"></i>
<span>玩家实时数据</span>
<span class="pull-right-container" {if $li_num neq 19}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right"></i>
</span>
</a>
</li>
<li {if $li_num eq 6 || $li_num eq 8|| $li_num eq 9|| $li_num eq 10|| $li_num eq 11|| $li_num eq 12|| $li_num eq 14|| $li_num eq 15|| $li_num eq 16}class="active"{/if}>
<a class="heid-btn">
<i class="fa fa-calculator"></i>
<span>报表</span>
<!-- <span class="pull-right-container" ><i class="fa fa-angle-right pull-right"></i></span> -->
</a>
<div class="list-heid" style="height:0;overflow: hidden;">
<!--
<a href="/report/index" {if $li_num eq 6}style="background-color:#1e282c;color: #fff;"{/if}>
<span>总汇</span>
<span class="pull-right-container" {if $li_num neq 6}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
-->
<!-- <a href="/report/under_player" {if $li_num eq 13}style="background-color:#1e282c;color: #fff;"{/if}>
<span>直属玩家报表</span>
<span class="pull-right-container" {if $li_num neq 13}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a> -->
<a href="/report/under_agent" {if $li_num eq 14}style="background-color:#1e282c;color: #fff;"{/if}>
<span>下属报表</span>
<span class="pull-right-container" {if $li_num neq 14}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
<a href="/report/baccarat_list" {if $li_num eq 9}style="background-color:#1e282c;color: #fff;"{/if}>
<span>百家乐查询(铺流水表)</span>
<span class="pull-right-container" {if $li_num neq 9}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
<a href="/report/dt_list" {if $li_num eq 10}style="background-color:#1e282c;color: #fff;"{/if}>
<span>龙虎斗查询(铺流水表)</span>
<span class="pull-right-container" {if $li_num neq 10}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
<a href="/report/dn_list" {if $li_num eq 15}style="background-color:#1e282c;color: #fff;"{/if}>
<span>牛牛查询(铺流水表)</span>
<span class="pull-right-container" {if $li_num neq 15}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
<a href="/report/baccarat_bet" {if $li_num eq 11}style="background-color:#1e282c;color: #fff;"{/if}>
<span>百家乐注单查询</span>
<span class="pull-right-container" {if $li_num neq 11}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
<a href="/report/dt_bet" {if $li_num eq 12}style="background-color:#1e282c;color: #fff;"{/if}>
<span>龙虎斗注单查询</span>
<span class="pull-right-container" {if $li_num neq 12}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
<a href="/report/dn_bet" {if $li_num eq 16}style="background-color:#1e282c;color: #fff;"{/if}>
<span>牛牛注单查询</span>
<span class="pull-right-container" {if $li_num neq 16}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
<a href="/log/user_login" {if $li_num eq 8}style="background-color:#1e282c;color: #fff;"{/if}>
<span>玩家登录日志</span>
<span class="pull-right-container" {if $li_num neq 8}style="display: none;"{/if}>
<i class="fa fa-angle-right pull-right" style="margin-right: 6px;"></i>
</span>
</a>
</div>
</li>
<!-- <li {if $li_num eq 8}class="active"{/if}>
<a href="/log/user_login"><i class="fa fa-user"></i> <span>玩家登录日志</span><span class="pull-right-container" {if $li_num neq 8}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span></a>
</li> -->
<!-- <li {if $li_num eq 6}class="active"{/if}>
<a href="/report/index"><i class="fa fa-calculator"></i> <span>报表</span><span class="pull-right-container" {if $li_num neq 6}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span></a>
</li> -->
<!-- <li {if $li_num eq 7}class="active"{/if}>
<a href="/marketing/index"><i class="fa fa-share-alt"></i> <span>推广</span><span class="pull-right-container" {if $li_num neq 7}style="display: none;"{/if}><i class="fa fa-angle-right pull-right"></i></span></a>
</li> -->
</ul>
<style type="text/css">
..list-heid{
background-color: #324148;
}
.list-heid a{
padding: 12px 5px 12px 40px;
display: block;
}
.list-heid a:hover{
background-color:#1e282c;
color: #fff;
}
</style>
<script type="text/javascript">
$(function(){
if({$li_num} == 6 ||{$li_num} == 8 ||{$li_num} == 9 ||{$li_num} == 10 ||{$li_num} == 11 ||{$li_num} == 12||{$li_num} == 14||{$li_num} == 15||{$li_num} == 16){
var heid=true;
$(".heid-btn").parent("li").find(".list-heid").animate({height:"342px"},200);
}else{
var heid=false;
}
var heid=false;
$(".heid-btn").click(function(){
if(heid==false){
$(this).parent("li").find(".list-heid").animate({height:"342px"},200);
heid=true
}else{
$(this).parent("li").find(".list-heid").animate({height:"0"},200);
heid=false
}
})
})
</script>
</section>
<!-- /.sidebar -->
</aside>
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="control-sidebar-settings-tab">
<form method="post">
<h3 class="control-sidebar-heading" style="border-bottom:dotted 1px #444;">设置</h3>
<div class="form-group" id="changePassword">
<label class="control-sidebar-subheading">
密码
</label>
<p>
<span>******</span>
<a href="#" title="修改密码" class="text-right">
<i class="fa fa-edit pull-right" id="update_pass"></i>
</a>
</p>
<div class="box box-solid" id="change_box" style="display: none;background:none ">
<div class="form-group">
<input type="password" id="oldPswd" placeholder="输入旧密码" class="form-control">
</div>
<div class="form-group">
<input type="password" id="newPswd1" placeholder="输入新密码" class="form-control">
</div>
<div class="form-group">
<input type="password" id="newPswd2" placeholder="再次输入新密码" class="form-control">
</div>
<div class="form-group">
<button type="button" class="btn btn-primary" id="submit-new-password">保存修改</button>
</div>
</div>
</div>
<!-- /.form-group -->
<div id="customerService" class="form-group">
<label class="control-sidebar-subheading">客服</label>
</div>
<!-- /.form-group -->
<div class="form-group">
<label class="control-sidebar-subheading">版本</label>
<p>v.3.0.0</p>
</div>
<!-- /.form-group -->
<h3 class="control-sidebar-heading" style="border-bottom:dotted 1px #444;">&nbsp;</h3>
<!-- /.form-group -->
<div id="copyright" class="form-group">
<label class="control-sidebar-subheading">胜派国际娱乐有限公司</label>
<p>
"Copyright © 2018."
<br>
"All rights reserved."
</p>
</div>
</form>
</div>
<!-- /.tab-pane -->
</div>
</aside>
<script type="text/javascript">
$(function () {
// 隐藏显示修改密码框
$("#update_pass").click(function () {
$(".form-control").val("")
$("#change_box").toggle();
});
//提交修改密码
$('#submit-new-password').click(function(){
// 旧密码
var old_password = $('#oldPswd').val();
// 新密码
var new_password1 = $('#newPswd1').val();
var new_password2 = $('#newPswd2').val();
var user_id = {$user_info['id']};
//验证密码
if(old_password == '' || old_password == null){
layer.alert('请输入旧密码');
return false;
}
if(new_password1 == '' || new_password1 == null){
layer.alert('请输入新密码');
return false;
}
if(new_password1.length < 6 || new_password1.length >20){
layer.alert('密码长度必须是6到20个字符');
return false;
}
if(new_password2 == '' || new_password2 == null){
layer.alert('请再次输入新密码');
return false;
}
if(new_password1 != new_password2){
layer.alert('两次输入的密码不一致');
return false;
}
$.ajax({
url:"/common/update_password",
type:"POST",
dataType:"JSON",
data:{user_id:user_id,old_password:old_password,new_password1:new_password1,new_password2:new_password2},
success:function(data){
if(data.status == 1){
layer.alert(data.code);
}else{
layer.alert(data.code);
$('#oldPswd').val('');
$('#newPswd1').val('');
$('#newPswd2').val('');
$("#update_pass").click();
}
}
});
});
})
</script>