welcome.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. {include file="public/header" /}
  2. <div class="page welcome">
  3. <!--
  4. <div class="fixed-bar">
  5. <div class="item-title">
  6. <div class="subject">
  7. <h3>{$Think.lang.ds_welcome}</h3>
  8. <h5></h5>
  9. </div>
  10. {include file="public/admin_items" /}
  11. </div>
  12. </div>
  13. -->
  14. <ul class="info-message">
  15. {if $version_message}
  16. <li>{$version_message}</li>
  17. {/if}
  18. </ul>
  19. <div class="title">{$Think.lang.dashboard_base_info}</div>
  20. <div class="info-total">
  21. <ul>
  22. <li>
  23. <a href="{:url('Member/member')}">
  24. <div class="p_header bg-79BAD0">
  25. <i class="iconfont">&#xe667;</i>
  26. </div>
  27. <div class="p_content">
  28. <div class="p_text">{$Think.lang.dashboard_wel_member_des}</div>
  29. <div class="p_num" id="statistics_member">0</div>
  30. </div>
  31. </a>
  32. </li>
  33. <li>
  34. <a href="{:url('Store/store')}">
  35. <div class="p_header bg-EC7E7F">
  36. <i class="iconfont">&#xe6ec;</i>
  37. </div>
  38. <div class="p_content">
  39. <div class="p_text">{$Think.lang.dashboard_wel_store_des}</div>
  40. <div class="p_num" id="statistics_store">0</div>
  41. </div>
  42. </a>
  43. </li>
  44. <li>
  45. <a href="{:url('Goods/index')}">
  46. <div class="p_header bg-86CE86">
  47. <i class="iconfont">&#xe732;</i>
  48. </div>
  49. <div class="p_content">
  50. <div class="p_text">{$Think.lang.dashboard_wel_total_goods}</div>
  51. <div class="p_num" id="statistics_goods">0</div>
  52. </div>
  53. </a>
  54. </li>
  55. <li>
  56. <a href="{:url('Order/index')}">
  57. <div class="p_header bg-E9BB5F">
  58. <i class="iconfont">&#xe69c;</i>
  59. </div>
  60. <div class="p_content">
  61. <div class="p_text">{$Think.lang.dashboard_wel_trade_des}</div>
  62. <div class="p_num" id="statistics_order">0</div>
  63. </div>
  64. </a>
  65. </li>
  66. <li>
  67. <a href="{:url('Operation/setting')}">
  68. <div class="p_header bg-6CCDA5">
  69. <i class="iconfont">&#xe704;</i>
  70. </div>
  71. <div class="p_content">
  72. <div class="p_text">{$Think.lang.dashboard_wel_stat_des}</div>
  73. </div>
  74. </a>
  75. </li>
  76. </ul>
  77. </div>
  78. <div class="title">{$Think.lang.dashboard_dealt}</div>
  79. <div class="info-statistical clearfix">
  80. <!--会员-->
  81. <div class="info-panel">
  82. <div class="mt">{$Think.lang.ds_member}</div>
  83. <div class="mc">
  84. <ul>
  85. <li class="none">
  86. <a href="{:url('Member/member')}">
  87. <div class="p_header bg-79BAD0">
  88. <i class="iconfont">&#xe667;</i>
  89. </div>
  90. <div class="p_content">
  91. <div class="p_text">{$Think.lang.dashboard_wel_new_add}</div>
  92. <div class="p_num" id="statistics_week_add_member">0</div>
  93. </div>
  94. </a>
  95. </li>
  96. <li class="none">
  97. <a href="{:url('Predeposit/pdcash_list')}">
  98. <div class="p_header bg-EC7E7F">
  99. <i class="iconfont">&#xe6f3;</i>
  100. </div>
  101. <div class="p_content">
  102. <div class="p_text">{$Think.lang.dashboard_wel_predeposit_get}</div>
  103. <div class="p_num" id="statistics_cashlist">0</div>
  104. </div>
  105. </a>
  106. </li>
  107. <li class="none">
  108. <a href="{:url('MemberAuth/index')}">
  109. <div class="p_header bg-86CE86">
  110. <i class="iconfont">&#xe6ea;</i>
  111. </div>
  112. <div class="p_content">
  113. <div class="p_text">{$Think.lang.dashboard_wel_member_auth}</div>
  114. <div class="p_num" id="statistics_member_auth">0</div>
  115. </div>
  116. </a>
  117. </li>
  118. <li class="none">
  119. <a href="{:url('Mallconsult/index')}">
  120. <div class="p_header bg-86CE86">
  121. <i class="iconfont">&#xe750;</i>
  122. </div>
  123. <div class="p_content">
  124. <div class="p_text">{$Think.lang.ds_mall_consult}</div>
  125. <div class="p_num" id="statistics_mall_consult">0</div>
  126. </div>
  127. </a>
  128. </li>
  129. </ul>
  130. </div>
  131. </div>
  132. <!--店铺-->
  133. <div class="info-panel">
  134. <div class="mt">{$Think.lang.ds_store}</div>
  135. <div class="mc">
  136. <ul>
  137. <li class="none">
  138. <a href="{:url('Store/store_joinin')}">
  139. <div class="p_header bg-86CE86">
  140. <i class="iconfont">&#xe6ec;</i>
  141. </div>
  142. <div class="p_content">
  143. <div class="p_text">{$Think.lang.dashboard_wel_store_new}</div>
  144. <div class="p_num" id="statistics_store_joinin">0</div>
  145. </div>
  146. </a>
  147. </li>
  148. <li class="none">
  149. <a href="{:url('Store/store_bind_class_applay_list',['state'=>0])}">
  150. <div class="p_header bg-E9BB5F">
  151. <i class="iconfont">&#xe652;</i>
  152. </div>
  153. <div class="p_content">
  154. <div class="p_text">{$Think.lang.dashboard_wel_category_apply}</div>
  155. <div class="p_num" id="statistics_store_bind_class_applay">0</div>
  156. </div>
  157. </a>
  158. </li>
  159. <li class="none">
  160. <a href="{:url('Store/reopen_list',['storereopen_state'=>1])}">
  161. <div class="p_header bg-79BAD0">
  162. <i class="iconfont">&#xe731;</i>
  163. </div>
  164. <div class="p_content">
  165. <div class="p_text">{$Think.lang.dashboard_wel_reopen_apply}</div>
  166. <div class="p_num" id="statistics_store_reopen_applay">0</div>
  167. </div>
  168. </a>
  169. </li>
  170. <li class="none">
  171. <a href="{:url('Store/store',['store_state'=>'expired'])}">
  172. <div class="p_header bg-EC7E7F">
  173. <i class="iconfont">&#xe70c;</i>
  174. </div>
  175. <div class="p_content">
  176. <div class="p_text">{$Think.lang.dashboard_wel_expired}</div>
  177. <div class="p_num" id="statistics_store_expired">0</div>
  178. </div>
  179. </a>
  180. </li>
  181. <li class="none">
  182. <a href="{:url('Store/store',['store_state'=>'expire'])}">
  183. <div class="p_header bg-9C6CCD">
  184. <i class="iconfont">&#xe70c;</i>
  185. </div>
  186. <div class="p_content">
  187. <div class="p_text">{$Think.lang.dashboard_wel_expire}</div>
  188. <div class="p_num" id="statistics_store_expire">0</div>
  189. </div>
  190. </a>
  191. </li>
  192. </ul>
  193. </div>
  194. </div>
  195. <!--商品-->
  196. <div class="info-panel">
  197. <div class="mt">{$Think.lang.ds_goods}</div>
  198. <div class="mc">
  199. <ul>
  200. <li class="none">
  201. <a href="{:url('Goods/index')}">
  202. <div class="p_header bg-E9BB5F">
  203. <i class="iconfont">&#xe732;</i>
  204. </div>
  205. <div class="p_content">
  206. <div class="p_text">{$Think.lang.dashboard_wel_new_add}</div>
  207. <div class="p_num" id="statistics_week_add_product">0</div>
  208. </div>
  209. </a>
  210. </li>
  211. <li class="none">
  212. <a href="{:url('Goods/index',['type'=>'waitverify','search_verify'=>10])}">
  213. <div class="p_header bg-79BAD0">
  214. <i class="iconfont">&#xe732;</i>
  215. </div>
  216. <div class="p_content">
  217. <div class="p_text">{$Think.lang.dashboard_wel_goods_waitverify}</div>
  218. <div class="p_num" id="statistics_product_verify">0</div>
  219. </div>
  220. </a>
  221. </li>
  222. <li class="none">
  223. <a href="{:url('Inform/inform_list')}">
  224. <div class="p_header bg-EC7E7F">
  225. <i class="iconfont">&#xe747;</i>
  226. </div>
  227. <div class="p_content">
  228. <div class="p_text">{$Think.lang.dashboard_wel_inform}</div>
  229. <div class="p_num" id="statistics_inform_list">0</div>
  230. </div>
  231. </a>
  232. </li>
  233. <li class="none">
  234. <a href="{:url('Brand/brand_apply')}">
  235. <div class="p_header bg-9C6CCD">
  236. <i class="iconfont">&#xe6b0;</i>
  237. </div>
  238. <div class="p_content">
  239. <div class="p_text">{$Think.lang.dashboard_wel_brnad_applay}</div>
  240. <div class="p_num" id="statistics_brand_apply">0</div>
  241. </div>
  242. </a>
  243. </li>
  244. </ul>
  245. </div>
  246. </div>
  247. <!--交易-->
  248. <div class="info-panel">
  249. <div class="mt">{$Think.lang.ds_trade}</div>
  250. <div class="mc">
  251. <ul>
  252. <li class="none">
  253. <a href="{:url('Refund/refund_manage')}">
  254. <div class="p_header bg-86CE86">
  255. <i class="iconfont">&#xe6f3;</i>
  256. </div>
  257. <div class="p_content">
  258. <div class="p_text">{$Think.lang.order_refund}</div>
  259. <div class="p_num" id="statistics_refund">0</div>
  260. </div>
  261. </a>
  262. </li>
  263. <li class="none">
  264. <a href="{:url('Returnmanage/return_manage')}">
  265. <div class="p_header bg-EC7E7F">
  266. <i class="iconfont">&#xe6f3;</i>
  267. </div>
  268. <div class="p_content">
  269. <div class="p_text">{$Think.lang.order_return}</div>
  270. <div class="p_num" id="statistics_return">0</div>
  271. </div>
  272. </a>
  273. </li>
  274. <li class="none">
  275. <a href="{:url('Vrrefund/refund_manage')}">
  276. <div class="p_header bg-86CE86">
  277. <i class="iconfont">&#xe654;</i>
  278. </div>
  279. <div class="p_content">
  280. <div class="p_text">{$Think.lang.ds_vrrefund}</div>
  281. <div class="p_num" id="statistics_vr_refund">0</div>
  282. </div>
  283. </a>
  284. </li>
  285. <li class="none">
  286. <a href="{:url('Complain/complain_new_list')}">
  287. <div class="p_header bg-79BAD0">
  288. <i class="iconfont">&#xe6b4;</i>
  289. </div>
  290. <div class="p_content">
  291. <div class="p_text">{$Think.lang.dashboard_wel_complain}</div>
  292. <div class="p_num" id="statistics_complain_new_list">0</div>
  293. </div>
  294. </a>
  295. </li>
  296. <li class="none">
  297. <a href="{:url('Complain/complain_handle_list')}">
  298. <div class="p_header bg-6C93CD">
  299. <i class="iconfont">&#xe6b4;</i>
  300. </div>
  301. <div class="p_content">
  302. <div class="p_text">{$Think.lang.dashboard_wel_complain_handle}</div>
  303. <div class="p_num" id="statistics_complain_handle_list">0</div>
  304. </div>
  305. </a>
  306. </li>
  307. <li class="none">
  308. <a href="{:url('Bill/show_statis',['bill_state'=>'3'])}">
  309. <div class="p_header bg-6CCDA5">
  310. <i class="iconfont">&#xe74d;</i>
  311. </div>
  312. <div class="p_content">
  313. <div class="p_text">{$Think.lang.dashboard_wel_pay_billno}</div>
  314. <div class="p_num" id="dashboard_wel_pay_billno">0</div>
  315. </div>
  316. </a>
  317. </li>
  318. </ul>
  319. </div>
  320. </div>
  321. <!--营销-->
  322. <div class="info-panel">
  323. <div class="mt">{$Think.lang.ds_operation}</div>
  324. <div class="mc">
  325. <ul>
  326. <li class="none">
  327. <a href="{:url('Groupbuy/index')}">
  328. <div class="p_header bg-E9BB5F">
  329. <i class="iconfont">&#xe732;</i>
  330. </div>
  331. <div class="p_content">
  332. <div class="p_text">{$Think.lang.dashboard_wel_groupbuy}</div>
  333. <div class="p_num" id="dashboard_wel_groupbuy">0</div>
  334. </div>
  335. </a>
  336. </li>
  337. <li class="none">
  338. <a href="{:url('Pointorder/pointorder_list',['porderstate'=>'waitship'])}">
  339. <div class="p_header bg-6CCDA5">
  340. <i class="iconfont">&#xe6b7;</i>
  341. </div>
  342. <div class="p_content">
  343. <div class="p_text">{$Think.lang.dashboard_wel_point_order}</div>
  344. <div class="p_num" id="dashboard_wel_point_order">0</div>
  345. </div>
  346. </a>
  347. </li>
  348. <li class="none">
  349. <a href="{:url('Voucher/index')}">
  350. <div class="p_header bg-6CCDA5">
  351. <i class="iconfont">&#xe727;</i>
  352. </div>
  353. <div class="p_content">
  354. <div class="p_text">{$Think.lang.dashboard_wel_voucher}</div>
  355. <div class="p_num" id="dashboard_wel_voucher">0</div>
  356. </div>
  357. </a>
  358. </li>
  359. <li class="none">
  360. <a href="{:url('Promotionpintuan/index')}">
  361. <div class="p_header bg-EC7E7F">
  362. <i class="iconfont">&#xe73f;</i>
  363. </div>
  364. <div class="p_content">
  365. <div class="p_text">{$Think.lang.dashboard_wel_pintuan}</div>
  366. <div class="p_num" id="dashboard_wel_pintuan">0</div>
  367. </div>
  368. </a>
  369. </li>
  370. <li class="none">
  371. <a href="{:url('Promotionmansong/index')}">
  372. <div class="p_header bg-79BAD0">
  373. <i class="iconfont">&#xe704;</i>
  374. </div>
  375. <div class="p_content">
  376. <div class="p_text">{$Think.lang.dashboard_wel_mansong}</div>
  377. <div class="p_num" id="dashboard_wel_mansong">0</div>
  378. </div>
  379. </a>
  380. </li>
  381. <li class="none">
  382. <a href="{:url('Promotionpresell/index')}">
  383. <div class="p_header bg-6CCDA5">
  384. <i class="iconfont">&#xe6b9;</i>
  385. </div>
  386. <div class="p_content">
  387. <div class="p_text">{$Think.lang.dashboard_wel_presell}</div>
  388. <div class="p_num" id="dashboard_wel_presell">0</div>
  389. </div>
  390. </a>
  391. </li>
  392. <!--
  393. <li class="none">
  394. <a href="{:url('Chain/index',['sign'=>'verify'])}">
  395. <div class="p_header bg-9C6CCD">
  396. <i class="iconfont">&#xe676;</i>
  397. </div>
  398. <div class="p_content">
  399. <div class="p_text">{$Think.lang.dashboard_wel_chain}</div>
  400. <div class="p_num" id="dashboard_wel_chain">0</div>
  401. </div>
  402. </a>
  403. </li>
  404. -->
  405. </ul>
  406. </div>
  407. </div>
  408. </div>
  409. <div class="title">{$Think.lang.dashboard_weekly_overview}</div>
  410. <div class="info-chart">
  411. <div class="week">
  412. <ul class="tab">
  413. <li class="active">{$Think.lang.dashboard_member_growth}</li>
  414. <li>{$Think.lang.dashboard_goods_growth}</li>
  415. <li>{$Think.lang.dashboard_store_growth}</li>
  416. <li>{$Think.lang.dashboard_order_growth}</li>
  417. </ul>
  418. <div class="tab-content">
  419. <div class="content show">
  420. <div id="stat_json_week_member" class="w100pre close_float" style="height:300px"></div>
  421. </div>
  422. <div class="content">
  423. <div id="stat_json_week_goods" class="w100pre close_float" style="height:300px"></div>
  424. </div>
  425. <div class="content">
  426. <div id="stat_json_week_store" class="w100pre close_float" style="height:300px"></div>
  427. </div>
  428. <div class="content">
  429. <div id="stat_json_week_order" class="w100pre close_float" style="height:300px"></div>
  430. </div>
  431. </div>
  432. </div>
  433. </div>
  434. <script type="text/javascript">
  435. $(function() {
  436. $(".info-chart .week li").each(function(index) {
  437. $(this).click(function() {
  438. $("li.active").removeClass("active"); //注意这里
  439. $(this).addClass("active"); //注意这里
  440. $(".tab-content>div.show").removeClass("show");
  441. $(".tab-content>div").eq(index).addClass("show");
  442. });
  443. })
  444. });
  445. </script>
  446. <div class="title">{$Think.lang.dashboard_wel_sys_info}</div>
  447. <div class="info-system">
  448. <table cellpadding="0" cellspacing="0" class="system_table">
  449. <tbody>
  450. <tr>
  451. <td class="gray_bg">{$Think.lang.dashboard_wel_thinkphp_version}</td>
  452. <td>{$statistics['tp_version']}</td>
  453. <td class="gray_bg">{$Think.lang.dashboard_wel_class_library_file_suffix}</td>
  454. <td>.php</td>
  455. </tr>
  456. <tr>
  457. <td class="gray_bg">{$Think.lang.dashboard_wel_server_os}</td>
  458. <td>{$statistics['os']}</td>
  459. <td class="gray_bg">{$Think.lang.dashboard_wel_server_domain_ip}:</td>
  460. <td>{$statistics.domain} [ {$statistics.ip} ]</td>
  461. </tr>
  462. <tr>
  463. <td class="gray_bg">WEB {$Think.lang.dashboard_wel_server}</td>
  464. <td>{$statistics['web_server']}</td>
  465. <td class="gray_bg">PHP {$Think.lang.dashboard_wel_version}</td>
  466. <td>{$statistics['php_version']}</td>
  467. </tr>
  468. <tr>
  469. <td class="gray_bg">MYSQL {$Think.lang.dashboard_wel_version}</td>
  470. <td>{$statistics['sql_version']}</td>
  471. <td class="gray_bg">GD {$Think.lang.dashboard_wel_version}:</td>
  472. <td>{$statistics.gdinfo}</td>
  473. </tr>
  474. <tr>
  475. <td class="gray_bg">{$Think.lang.dashboard_wel_file_uplode_limit}:</td>
  476. <td>{$statistics.fileupload}</td>
  477. <td class="gray_bg">{$Think.lang.dashboard_wel_max_occupied_memory}:</td>
  478. <td>{$statistics.memory_limit}</td>
  479. </tr>
  480. <tr>
  481. <td class="gray_bg">{$Think.lang.dashboard_wel_max_ex_time}:</td>
  482. <td>{$statistics.max_ex_time}</td>
  483. <td class="gray_bg">{$Think.lang.dashboard_wel_safe_mode}:</td>
  484. <td>{$statistics.safe_mode}</td>
  485. </tr>
  486. <tr>
  487. <td class="gray_bg">Zlib{$Think.lang.dashboard_wel_support}:</td>
  488. <td>{$statistics.zlib}</td>
  489. <td class="gray_bg">Curl{$Think.lang.dashboard_wel_support}:</td>
  490. <td>{$statistics.curl}</td>
  491. </tr>
  492. </tbody>
  493. </table>
  494. </div>
  495. <script src="{$Think.PLUGINS_SITE_ROOT}/highcharts/highcharts.js"></script>
  496. <script type="text/javascript">
  497. var normal = [];
  498. var work = ['week_add_member', 'week_add_product','store_joinin', 'store_bind_class_applay', 'store_reopen_applay', 'store_expired', 'store_expire', 'brand_apply', 'cashlist', 'member_auth', 'groupbuy_verify_list', 'points_order', 'complain_new_list', 'complain_handle_list', 'product_verify', 'inform_list', 'refund', 'return', 'vr_refund', 'cms_article_verify', 'cms_picture_verify', 'circle_verify', 'check_billno', 'pay_billno', 'mall_consult', 'chain', 'offline'];
  499. $(document).ready(function () {
  500. $.getJSON("{:url('Dashboard/statistics')}", function (data) {
  501. $.each(data, function (k, v) {
  502. $("#statistics_" + k).html(v);
  503. if (v != 0 && $.inArray(k, work) !== -1) {
  504. $("#statistics_" + k).parent().parent().parent().removeClass('none').addClass('high');
  505. } else if (v == 0 && $.inArray(k, normal) !== -1) {
  506. $("#statistics_" + k).parent().parent().parent().removeClass('normal').addClass('none');
  507. }
  508. });
  509. });
  510. });
  511. $('#stat_json_week_member').highcharts({$stat_json_week_member|raw});
  512. $('#stat_json_week_goods').highcharts({$stat_json_week_goods|raw});
  513. $('#stat_json_week_store').highcharts({$stat_json_week_store|raw});
  514. $('#stat_json_week_order').highcharts({$stat_json_week_order|raw});
  515. </script>
  516. </div>