Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

446 řádky
19 KiB

  1. <?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:83:"/usr/share/nginx/vietnam/shop/public/../application/admin/view/dashboard/index.html";i:1618727430;s:72:"/usr/share/nginx/vietnam/shop/application/admin/view/layout/default.html";i:1618727430;s:69:"/usr/share/nginx/vietnam/shop/application/admin/view/common/meta.html";i:1618727430;s:71:"/usr/share/nginx/vietnam/shop/application/admin/view/common/script.html";i:1618727430;}*/ ?>
  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. <link rel="shortcut icon" href="/assets/img/favicon.ico" />
  10. <!-- Loading Bootstrap -->
  11. <link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  12. <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
  13. <!--[if lt IE 9]>
  14. <script src="/assets/js/html5shiv.js"></script>
  15. <script src="/assets/js/respond.min.js"></script>
  16. <![endif]-->
  17. <script type="text/javascript">
  18. var require = {
  19. config: <?php echo json_encode($config); ?>
  20. };
  21. </script>
  22. </head>
  23. <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
  24. <div id="main" role="main">
  25. <div class="tab-content tab-addtabs">
  26. <div id="content">
  27. <div class="row">
  28. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
  29. <section class="content-header hide">
  30. <h1>
  31. <?php echo __('Dashboard'); ?>
  32. <small><?php echo __('Control panel'); ?></small>
  33. </h1>
  34. </section>
  35. <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav')): ?>
  36. <!-- RIBBON -->
  37. <div id="ribbon">
  38. <ol class="breadcrumb pull-left">
  39. <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
  40. </ol>
  41. <ol class="breadcrumb pull-right">
  42. <?php foreach($breadcrumb as $vo): ?>
  43. <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
  44. <?php endforeach; ?>
  45. </ol>
  46. </div>
  47. <!-- END RIBBON -->
  48. <?php endif; ?>
  49. <div class="content">
  50. <style type="text/css">
  51. .sm-st {
  52. background: #fff;
  53. padding: 20px;
  54. -webkit-border-radius: 3px;
  55. -moz-border-radius: 3px;
  56. border-radius: 3px;
  57. margin-bottom: 20px;
  58. -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  59. box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  60. }
  61. .sm-st-icon {
  62. width: 60px;
  63. height: 60px;
  64. display: inline-block;
  65. line-height: 60px;
  66. text-align: center;
  67. font-size: 30px;
  68. background: #eee;
  69. -webkit-border-radius: 5px;
  70. -moz-border-radius: 5px;
  71. border-radius: 5px;
  72. float: left;
  73. margin-right: 10px;
  74. color: #fff;
  75. }
  76. .sm-st-info {
  77. font-size: 12px;
  78. padding-top: 2px;
  79. }
  80. .sm-st-info span {
  81. display: block;
  82. font-size: 24px;
  83. font-weight: 600;
  84. }
  85. .orange {
  86. background: #fa8564 !important;
  87. }
  88. .tar {
  89. background: #45cf95 !important;
  90. }
  91. .sm-st .green {
  92. background: #86ba41 !important;
  93. }
  94. .pink {
  95. background: #AC75F0 !important;
  96. }
  97. .yellow-b {
  98. background: #fdd752 !important;
  99. }
  100. .stat-elem {
  101. background-color: #fff;
  102. padding: 18px;
  103. border-radius: 40px;
  104. }
  105. .stat-info {
  106. text-align: center;
  107. background-color: #fff;
  108. border-radius: 5px;
  109. margin-top: -5px;
  110. padding: 8px;
  111. -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  112. box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  113. font-style: italic;
  114. }
  115. .stat-icon {
  116. text-align: center;
  117. margin-bottom: 5px;
  118. }
  119. .st-red {
  120. background-color: #F05050;
  121. }
  122. .st-green {
  123. background-color: #27C24C;
  124. }
  125. .st-violet {
  126. background-color: #7266ba;
  127. }
  128. .st-blue {
  129. background-color: #23b7e5;
  130. }
  131. .stats .stat-icon {
  132. color: #28bb9c;
  133. display: inline-block;
  134. font-size: 26px;
  135. text-align: center;
  136. vertical-align: middle;
  137. width: 50px;
  138. float: left;
  139. }
  140. .stat {
  141. white-space: nowrap;
  142. overflow: hidden;
  143. text-overflow: ellipsis;
  144. display: inline-block;
  145. margin-right: 10px;
  146. }
  147. .stat .value {
  148. font-size: 20px;
  149. line-height: 24px;
  150. overflow: hidden;
  151. text-overflow: ellipsis;
  152. font-weight: 500;
  153. }
  154. .stat .name {
  155. overflow: hidden;
  156. text-overflow: ellipsis;
  157. }
  158. .stat.lg .value {
  159. font-size: 26px;
  160. line-height: 28px;
  161. }
  162. .stat.lg .name {
  163. font-size: 16px;
  164. }
  165. .stat-col .progress {
  166. height: 2px;
  167. }
  168. .stat-col .progress-bar {
  169. line-height: 2px;
  170. height: 2px;
  171. }
  172. .item {
  173. padding: 30px 0;
  174. }
  175. </style>
  176. <div class="panel panel-default panel-intro">
  177. <div class="panel-heading">
  178. <?php echo build_heading(null, false); ?>
  179. <ul class="nav nav-tabs">
  180. <li class="active"><a href="#one" data-toggle="tab"><?php echo __('Dashboard'); ?></a></li>
  181. <li><a href="#two" data-toggle="tab"><?php echo __('Custom'); ?></a></li>
  182. </ul>
  183. </div>
  184. <div class="panel-body">
  185. <div id="myTabContent" class="tab-content">
  186. <div class="tab-pane fade active in" id="one">
  187. <div class="row">
  188. <div class="col-sm-3 col-xs-6">
  189. <div class="sm-st clearfix">
  190. <span class="sm-st-icon st-red"><i class="fa fa-users"></i></span>
  191. <div class="sm-st-info">
  192. <span><?php echo $totaluser; ?></span>
  193. <?php echo __('Total user'); ?>
  194. </div>
  195. </div>
  196. </div>
  197. <div class="col-sm-3 col-xs-6">
  198. <div class="sm-st clearfix">
  199. <span class="sm-st-icon st-violet"><i class="fa fa-book"></i></span>
  200. <div class="sm-st-info">
  201. <span><?php echo $totalviews; ?></span>
  202. <?php echo __('Total view'); ?>
  203. </div>
  204. </div>
  205. </div>
  206. <div class="col-sm-3 col-xs-6">
  207. <div class="sm-st clearfix">
  208. <span class="sm-st-icon st-blue"><i class="fa fa-shopping-bag"></i></span>
  209. <div class="sm-st-info">
  210. <span><?php echo $totalorder; ?></span>
  211. <?php echo __('Total order'); ?>
  212. </div>
  213. </div>
  214. </div>
  215. <div class="col-sm-3 col-xs-6">
  216. <div class="sm-st clearfix">
  217. <span class="sm-st-icon st-green"><i class="fa fa-cny"></i></span>
  218. <div class="sm-st-info">
  219. <span><?php echo $totalorderamount; ?></span>
  220. <?php echo __('Total order amount'); ?>
  221. </div>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="row">
  226. <div class="col-lg-8">
  227. <div id="echart" class="btn-refresh" style="height:200px;width:100%;"></div>
  228. </div>
  229. <div class="col-lg-4">
  230. <div class="card sameheight-item stats">
  231. <div class="card-block">
  232. <div class="row row-sm stats-container">
  233. <div class="col-xs-6 stat-col">
  234. <div class="stat-icon"><i class="fa fa-rocket"></i></div>
  235. <div class="stat">
  236. <div class="value"> <?php echo $todayusersignup; ?></div>
  237. <div class="name"> <?php echo __('Today user signup'); ?></div>
  238. </div>
  239. <div class="progress">
  240. <div class="progress-bar progress-bar-success" style="width: 30%"></div>
  241. </div>
  242. </div>
  243. <div class="col-xs-6 stat-col">
  244. <div class="stat-icon"><i class="fa fa-shopping-cart"></i></div>
  245. <div class="stat">
  246. <div class="value"> <?php echo $todayuserlogin; ?></div>
  247. <div class="name"> <?php echo __('Today user login'); ?></div>
  248. </div>
  249. <div class="progress">
  250. <div class="progress-bar progress-bar-success" style="width: 25%"></div>
  251. </div>
  252. </div>
  253. <div class="col-xs-6 stat-col">
  254. <div class="stat-icon"><i class="fa fa-line-chart"></i></div>
  255. <div class="stat">
  256. <div class="value"> <?php echo $todayorder; ?></div>
  257. <div class="name"> <?php echo __('Today order'); ?></div>
  258. </div>
  259. <div class="progress">
  260. <div class="progress-bar progress-bar-success" style="width: 25%"></div>
  261. </div>
  262. </div>
  263. <div class="col-xs-6 stat-col">
  264. <div class="stat-icon"><i class="fa fa-users"></i></div>
  265. <div class="stat">
  266. <div class="value"> <?php echo $unsettleorder; ?></div>
  267. <div class="name"> <?php echo __('Unsettle order'); ?></div>
  268. </div>
  269. <div class="progress">
  270. <div class="progress-bar progress-bar-success" style="width: 25%"></div>
  271. </div>
  272. </div>
  273. <div class="col-xs-6 stat-col">
  274. <div class="stat-icon"><i class="fa fa-list-alt"></i></div>
  275. <div class="stat">
  276. <div class="value"> <?php echo $sevendnu; ?></div>
  277. <div class="name"> <?php echo __('Seven dnu'); ?></div>
  278. </div>
  279. <div class="progress">
  280. <div class="progress-bar progress-bar-success" style="width: 25%"></div>
  281. </div>
  282. </div>
  283. <div class="col-xs-6 stat-col">
  284. <div class="stat-icon"><i class="fa fa-dollar"></i></div>
  285. <div class="stat">
  286. <div class="value"> <?php echo $sevendau; ?></div>
  287. <div class="name"> <?php echo __('Seven dau'); ?></div>
  288. </div>
  289. <div class="progress">
  290. <div class="progress-bar progress-bar-success" style="width: 25%"></div>
  291. </div>
  292. </div>
  293. </div>
  294. </div>
  295. </div>
  296. </div>
  297. </div>
  298. <div class="row" style="margin-top:15px;">
  299. <div class="col-lg-12">
  300. </div>
  301. <div class="col-xs-6 col-md-3">
  302. <div class="panel bg-blue">
  303. <div class="panel-body">
  304. <div class="panel-title">
  305. <span class="label label-success pull-right"><?php echo __('Real time'); ?></span>
  306. <h5><?php echo __('Category count'); ?></h5>
  307. </div>
  308. <div class="panel-content">
  309. <h1 class="no-margins">1234</h1>
  310. <div class="stat-percent font-bold text-gray"><i class="fa fa-commenting"></i> 1234</div>
  311. <small><?php echo __('Category count tips'); ?></small>
  312. </div>
  313. </div>
  314. </div>
  315. </div>
  316. <div class="col-xs-6 col-md-3">
  317. <div class="panel bg-aqua-gradient">
  318. <div class="panel-body">
  319. <div class="ibox-title">
  320. <span class="label label-info pull-right"><?php echo __('Real time'); ?></span>
  321. <h5><?php echo __('Attachment count'); ?></h5>
  322. </div>
  323. <div class="ibox-content">
  324. <h1 class="no-margins">1043</h1>
  325. <div class="stat-percent font-bold text-gray"><i class="fa fa-modx"></i> 2592</div>
  326. <small><?php echo __('Attachment count tips'); ?></small>
  327. </div>
  328. </div>
  329. </div>
  330. </div>
  331. <div class="col-xs-6 col-md-3">
  332. <div class="panel bg-purple-gradient">
  333. <div class="panel-body">
  334. <div class="ibox-title">
  335. <span class="label label-primary pull-right"><?php echo __('Real time'); ?></span>
  336. <h5><?php echo __('Article count'); ?></h5>
  337. </div>
  338. <div class="ibox-content">
  339. <div class="row">
  340. <div class="col-md-6">
  341. <h1 class="no-margins">1234</h1>
  342. <div class="font-bold"><i class="fa fa-commenting"></i>
  343. <small><?php echo __('Comment count'); ?></small>
  344. </div>
  345. </div>
  346. <div class="col-md-6">
  347. <h1 class="no-margins">6754</h1>
  348. <div class="font-bold"><i class="fa fa-heart"></i>
  349. <small><?php echo __('Like count'); ?></small>
  350. </div>
  351. </div>
  352. </div>
  353. </div>
  354. </div>
  355. </div>
  356. </div>
  357. <div class="col-xs-6 col-md-3">
  358. <div class="panel bg-green-gradient">
  359. <div class="panel-body">
  360. <div class="ibox-title">
  361. <span class="label label-primary pull-right"><?php echo __('Real time'); ?></span>
  362. <h5><?php echo __('News count'); ?></h5>
  363. </div>
  364. <div class="ibox-content">
  365. <div class="row">
  366. <div class="col-md-6">
  367. <h1 class="no-margins">5302</h1>
  368. <div class="font-bold"><i class="fa fa-commenting"></i>
  369. <small><?php echo __('Comment count'); ?></small>
  370. </div>
  371. </div>
  372. <div class="col-md-6">
  373. <h1 class="no-margins">8205</h1>
  374. <div class="font-bold"><i class="fa fa-user"></i>
  375. <small><?php echo __('Like count'); ?></small>
  376. </div>
  377. </div>
  378. </div>
  379. </div>
  380. </div>
  381. </div>
  382. </div>
  383. </div>
  384. </div>
  385. <div class="tab-pane fade" id="two">
  386. <div class="row">
  387. <div class="col-xs-12">
  388. <?php echo __('Custom zone'); ?>
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. </div>
  394. </div>
  395. <script>
  396. var Orderdata = {
  397. column: <?php echo json_encode(array_keys($paylist)); ?>,
  398. paydata: <?php echo json_encode(array_values($paylist)); ?>,
  399. createdata: <?php echo json_encode(array_values($createlist)); ?>,
  400. };
  401. </script>
  402. </div>
  403. </div>
  404. </div>
  405. </div>
  406. </div>
  407. </div>
  408. <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>
  409. </body>
  410. </html>