c41ddf8fd7243e286125ab9c6893187f.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:90:"/www/wwwroot/voicechat.lanmaonet.com/public/../application/admin/view/dashboard/index.html";i:1624866748;s:79:"/www/wwwroot/voicechat.lanmaonet.com/application/admin/view/layout/default.html";i:1622267280;s:76:"/www/wwwroot/voicechat.lanmaonet.com/application/admin/view/common/meta.html";i:1622267266;s:78:"/www/wwwroot/voicechat.lanmaonet.com/application/admin/view/common/script.html";i:1622267265;}*/ ?>
  2. <!DOCTYPE html>
  3. <html lang="<?php echo $config['language']; ?>">
  4. <head>
  5. <meta charset="utf-8">
  6. <title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  8. <meta name="renderer" content="webkit">
  9. <meta name="referrer" content="never">
  10. <link rel="shortcut icon" href="/assets/img/favicon.ico" />
  11. <!-- Loading Bootstrap -->
  12. <link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  13. <?php if(\think\Config::get('fastadmin.adminskin')): ?>
  14. <link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  15. <?php endif; ?>
  16. <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
  17. <!--[if lt IE 9]>
  18. <script src="/assets/js/html5shiv.js"></script>
  19. <script src="/assets/js/respond.min.js"></script>
  20. <![endif]-->
  21. <script type="text/javascript">
  22. var require = {
  23. config: <?php echo json_encode($config); ?>
  24. };
  25. </script>
  26. </head>
  27. <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
  28. <div id="main" role="main">
  29. <div class="tab-content tab-addtabs">
  30. <div id="content">
  31. <div class="row">
  32. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
  33. <section class="content-header hide">
  34. <h1>
  35. <?php echo __('Dashboard'); ?>
  36. <small><?php echo __('Control panel'); ?></small>
  37. </h1>
  38. </section>
  39. <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
  40. <!-- RIBBON -->
  41. <div id="ribbon">
  42. <ol class="breadcrumb pull-left">
  43. <?php if($auth->check('dashboard')): ?>
  44. <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
  45. <?php endif; ?>
  46. </ol>
  47. <ol class="breadcrumb pull-right">
  48. <?php foreach($breadcrumb as $vo): ?>
  49. <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
  50. <?php endforeach; ?>
  51. </ol>
  52. </div>
  53. <!-- END RIBBON -->
  54. <?php endif; ?>
  55. <div class="content">
  56. <style>
  57. .tab-content > .chart {
  58. padding: 10px;
  59. }
  60. </style>
  61. <div class="row">
  62. <div class="col-lg-3 col-xs-6">
  63. <!-- small box -->
  64. <div class="small-box bg-aqua">
  65. <div class="inner">
  66. <h3><?php echo $todayRechargeMoney; ?></h3>
  67. <p>今日充值</p>
  68. </div>
  69. <div class="icon">
  70. <i class="fa fa-rmb"></i>
  71. </div>
  72. <a href="user/rechargelog?ref=addtabs&createtime=<?php echo date('Y-m-d 00:00:00',time()); ?> - <?php echo date('Y-m-d 23:59:59',time()); ?>" class="btn-addtabs small-box-footer">更多 <i class="fa fa-arrow-circle-right"></i></a>
  73. </div>
  74. </div>
  75. <!-- ./col -->
  76. <div class="col-lg-3 col-xs-6">
  77. <!-- small box -->
  78. <div class="small-box bg-green">
  79. <div class="inner">
  80. <!-- <h3>53<sup style="font-size: 20px">%</sup></h3>-->
  81. <h3><?php echo $yesterdayRechargeMoney; ?></h3>
  82. <p>昨日充值</p>
  83. </div>
  84. <div class="icon">
  85. <i class="fa fa-rmb"></i>
  86. </div>
  87. <a href="user/rechargelog?ref=addtabs&createtime=<?php echo date('Y-m-d 00:00:00',strtotime('-1 day')); ?> - <?php echo date('Y-m-d 23:59:59',strtotime('-1 day')); ?>" class="btn-addtabs small-box-footer">更多 <i class="fa fa-arrow-circle-right"></i></a>
  88. </div>
  89. </div>
  90. <!-- ./col -->
  91. <div class="col-lg-3 col-xs-6">
  92. <!-- small box -->
  93. <div class="small-box bg-yellow">
  94. <div class="inner">
  95. <h3><?php echo $monthRechargeMoney; ?></h3>
  96. <p>本月充值</p>
  97. </div>
  98. <div class="icon">
  99. <i class="fa fa-rmb"></i>
  100. </div>
  101. <a href="user/rechargelog?ref=addtabs&createtime=<?php echo date('Y-m-01 00:00:00'); ?> - <?php echo date('Y-m-d 23:59:59',time()); ?>" class="btn-addtabs small-box-footer">更多 <i class="fa fa-arrow-circle-right"></i></a>
  102. </div>
  103. </div>
  104. <!-- ./col -->
  105. <div class="col-lg-3 col-xs-6">
  106. <!-- small box -->
  107. <div class="small-box bg-red">
  108. <div class="inner">
  109. <h3><?php echo $lastMonthRechargeMoney; ?></h3>
  110. <p>上月充值</p>
  111. </div>
  112. <div class="icon">
  113. <i class="fa fa-rmb"></i>
  114. </div>
  115. <a href="user/rechargelog?ref=addtabs&createtime=<?php echo date('Y-m-01 00:00:00',strtotime('-1 month')); ?> - <?php echo date('Y-m-d 23:59:59',strtotime(-date('d').'day')); ?>" class="btn-addtabs small-box-footer">更多 <i class="fa fa-arrow-circle-right"></i></a>
  116. </div>
  117. </div>
  118. <!-- ./col -->
  119. </div>
  120. <!-- /.row -->
  121. <!-- Main row -->
  122. <div class="row" style="margin-bottom:5px;">
  123. <!-- Left col -->
  124. <section class="col-lg-7 connectedSortable">
  125. <!-- Custom tabs (Charts with tabs)-->
  126. <div class="nav-tabs-custom charts-custom">
  127. <!-- Tabs within a box -->
  128. <ul class="nav nav-tabs pull-right">
  129. <li class="active"><a href="#line-chart" data-toggle="tab">折线图</a></li>
  130. <li><a href="#area-chart" data-toggle="tab">区域图</a></li>
  131. <li class="pull-left header"><i class="fa fa-inbox"></i> 销售趋势</li>
  132. </ul>
  133. <div class="tab-content no-padding">
  134. <!-- Morris chart - Sales -->
  135. <div class="chart tab-pane active" id="line-chart" style="position: relative; height: 300px;"></div>
  136. <div class="chart tab-pane" id="area-chart" style="position: relative; height: 300px;"></div>
  137. </div>
  138. </div>
  139. <div class="nav-tabs-custom charts-custom">
  140. <!-- Tabs within a box -->
  141. <ul class="nav nav-tabs pull-right">
  142. <li class="active"><a href="#pie-chart" data-toggle="tab">饼图</a></li>
  143. <li><a href="#bar-chart" data-toggle="tab">柱状图</a></li>
  144. <li class="pull-left header"><i class="fa fa-inbox"></i> 访问记录</li>
  145. </ul>
  146. <div class="tab-content no-padding">
  147. <!-- Morris chart - Sales -->
  148. <div class="chart tab-pane active" id="pie-chart" style="position: relative; height: 300px;"></div>
  149. <div class="chart tab-pane" id="bar-chart" style="position: relative; height: 300px;"></div>
  150. </div>
  151. </div>
  152. <!-- /.nav-tabs-custom -->
  153. </section>
  154. <!-- /.Left col -->
  155. <section class="col-lg-5 connectedSortable">
  156. <!-- Map box -->
  157. <div class="box box-solid bg-light-blue-gradient">
  158. <div class="box-header">
  159. <!-- tools box -->
  160. <div class="pull-right box-tools">
  161. </div>
  162. <!-- /. tools -->
  163. <i class="fa fa-map-marker"></i>
  164. <h3 class="box-title">
  165. 访客分布
  166. </h3>
  167. </div>
  168. <div class="box-body">
  169. <div id="simplebar-chart" style="height: 250px; width: 100%;"></div>
  170. </div>
  171. <!-- /.box-body-->
  172. <div class="box-footer no-border">
  173. <div class="row">
  174. <div class="col-xs-12 text-center">
  175. <div class="knob-label">统计最近一周访客的记录</div>
  176. </div>
  177. <!-- ./col -->
  178. </div>
  179. <!-- /.row -->
  180. </div>
  181. </div>
  182. <!-- /.box -->
  183. <!-- solid sales graph -->
  184. <div class="box box-solid bg-teal-gradient">
  185. <div class="box-header">
  186. <i class="fa fa-th"></i>
  187. <h3 class="box-title">订单趋势</h3>
  188. <div class="box-tools pull-right">
  189. </div>
  190. </div>
  191. <div class="box-body border-radius-none">
  192. <div class="chart" id="smoothline-chart" style="height: 250px;"></div>
  193. </div>
  194. <!-- /.box-body-->
  195. <div class="box-footer no-border">
  196. <div class="row">
  197. <div class="col-xs-12 text-center">
  198. <div class="knob-label">统计最近一周订单的趋势</div>
  199. </div>
  200. <!-- ./col -->
  201. </div>
  202. <!-- /.row -->
  203. </div>
  204. </div>
  205. <!-- /.box -->
  206. </section>
  207. <!-- right col -->
  208. </div>
  209. <!-- /.row (main row) -->
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
  217. </body>
  218. </html>