123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527 |
- {include file="public/header" /}
- <div class="page welcome">
- <!--
- <div class="fixed-bar">
- <div class="item-title">
- <div class="subject">
- <h3>{$Think.lang.ds_welcome}</h3>
- <h5></h5>
- </div>
- {include file="public/admin_items" /}
- </div>
- </div>
- -->
- <ul class="info-message">
- {if $version_message}
- <li>{$version_message}</li>
- {/if}
- </ul>
- <div class="title">{$Think.lang.dashboard_base_info}</div>
- <div class="info-total">
- <ul>
- <li>
- <a href="{:url('Member/member')}">
- <div class="p_header bg-79BAD0">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_member_des}</div>
- <div class="p_num" id="statistics_member">0</div>
- </div>
- </a>
- </li>
- <li>
- <a href="{:url('Store/store')}">
- <div class="p_header bg-EC7E7F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_store_des}</div>
- <div class="p_num" id="statistics_store">0</div>
- </div>
- </a>
- </li>
- <li>
- <a href="{:url('Goods/index')}">
- <div class="p_header bg-86CE86">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_total_goods}</div>
- <div class="p_num" id="statistics_goods">0</div>
- </div>
- </a>
- </li>
- <li>
- <a href="{:url('Order/index')}">
- <div class="p_header bg-E9BB5F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_trade_des}</div>
- <div class="p_num" id="statistics_order">0</div>
- </div>
- </a>
- </li>
- <li>
- <a href="{:url('Operation/setting')}">
- <div class="p_header bg-6CCDA5">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_stat_des}</div>
- </div>
- </a>
- </li>
- </ul>
- </div>
- <div class="title">{$Think.lang.dashboard_dealt}</div>
- <div class="info-statistical clearfix">
- <!--会员-->
- <div class="info-panel">
- <div class="mt">{$Think.lang.ds_member}</div>
- <div class="mc">
- <ul>
- <li class="none">
- <a href="{:url('Member/member')}">
- <div class="p_header bg-79BAD0">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_new_add}</div>
- <div class="p_num" id="statistics_week_add_member">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Predeposit/pdcash_list')}">
- <div class="p_header bg-EC7E7F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_predeposit_get}</div>
- <div class="p_num" id="statistics_cashlist">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('MemberAuth/index')}">
- <div class="p_header bg-86CE86">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_member_auth}</div>
- <div class="p_num" id="statistics_member_auth">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Mallconsult/index')}">
- <div class="p_header bg-86CE86">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.ds_mall_consult}</div>
- <div class="p_num" id="statistics_mall_consult">0</div>
- </div>
- </a>
- </li>
- </ul>
- </div>
- </div>
- <!--店铺-->
- <div class="info-panel">
- <div class="mt">{$Think.lang.ds_store}</div>
- <div class="mc">
- <ul>
- <li class="none">
- <a href="{:url('Store/store_joinin')}">
- <div class="p_header bg-86CE86">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_store_new}</div>
- <div class="p_num" id="statistics_store_joinin">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Store/store_bind_class_applay_list',['state'=>0])}">
- <div class="p_header bg-E9BB5F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_category_apply}</div>
- <div class="p_num" id="statistics_store_bind_class_applay">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Store/reopen_list',['storereopen_state'=>1])}">
- <div class="p_header bg-79BAD0">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_reopen_apply}</div>
- <div class="p_num" id="statistics_store_reopen_applay">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Store/store',['store_state'=>'expired'])}">
- <div class="p_header bg-EC7E7F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_expired}</div>
- <div class="p_num" id="statistics_store_expired">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Store/store',['store_state'=>'expire'])}">
- <div class="p_header bg-9C6CCD">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_expire}</div>
- <div class="p_num" id="statistics_store_expire">0</div>
- </div>
- </a>
- </li>
- </ul>
- </div>
- </div>
- <!--商品-->
- <div class="info-panel">
- <div class="mt">{$Think.lang.ds_goods}</div>
- <div class="mc">
- <ul>
- <li class="none">
- <a href="{:url('Goods/index')}">
- <div class="p_header bg-E9BB5F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_new_add}</div>
- <div class="p_num" id="statistics_week_add_product">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Goods/index',['type'=>'waitverify','search_verify'=>10])}">
- <div class="p_header bg-79BAD0">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_goods_waitverify}</div>
- <div class="p_num" id="statistics_product_verify">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Inform/inform_list')}">
- <div class="p_header bg-EC7E7F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_inform}</div>
- <div class="p_num" id="statistics_inform_list">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Brand/brand_apply')}">
- <div class="p_header bg-9C6CCD">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_brnad_applay}</div>
- <div class="p_num" id="statistics_brand_apply">0</div>
- </div>
- </a>
- </li>
- </ul>
- </div>
- </div>
- <!--交易-->
- <div class="info-panel">
- <div class="mt">{$Think.lang.ds_trade}</div>
- <div class="mc">
- <ul>
- <li class="none">
- <a href="{:url('Refund/refund_manage')}">
- <div class="p_header bg-86CE86">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.order_refund}</div>
- <div class="p_num" id="statistics_refund">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Returnmanage/return_manage')}">
- <div class="p_header bg-EC7E7F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.order_return}</div>
- <div class="p_num" id="statistics_return">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Vrrefund/refund_manage')}">
- <div class="p_header bg-86CE86">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.ds_vrrefund}</div>
- <div class="p_num" id="statistics_vr_refund">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Complain/complain_new_list')}">
- <div class="p_header bg-79BAD0">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_complain}</div>
- <div class="p_num" id="statistics_complain_new_list">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Complain/complain_handle_list')}">
- <div class="p_header bg-6C93CD">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_complain_handle}</div>
- <div class="p_num" id="statistics_complain_handle_list">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Bill/show_statis',['bill_state'=>'3'])}">
- <div class="p_header bg-6CCDA5">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_pay_billno}</div>
- <div class="p_num" id="dashboard_wel_pay_billno">0</div>
- </div>
- </a>
- </li>
- </ul>
- </div>
- </div>
- <!--营销-->
- <div class="info-panel">
- <div class="mt">{$Think.lang.ds_operation}</div>
- <div class="mc">
- <ul>
- <li class="none">
- <a href="{:url('Groupbuy/index')}">
- <div class="p_header bg-E9BB5F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_groupbuy}</div>
- <div class="p_num" id="dashboard_wel_groupbuy">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Pointorder/pointorder_list',['porderstate'=>'waitship'])}">
- <div class="p_header bg-6CCDA5">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_point_order}</div>
- <div class="p_num" id="dashboard_wel_point_order">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Voucher/index')}">
- <div class="p_header bg-6CCDA5">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_voucher}</div>
- <div class="p_num" id="dashboard_wel_voucher">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Promotionpintuan/index')}">
- <div class="p_header bg-EC7E7F">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_pintuan}</div>
- <div class="p_num" id="dashboard_wel_pintuan">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Promotionmansong/index')}">
- <div class="p_header bg-79BAD0">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_mansong}</div>
- <div class="p_num" id="dashboard_wel_mansong">0</div>
- </div>
- </a>
- </li>
- <li class="none">
- <a href="{:url('Promotionpresell/index')}">
- <div class="p_header bg-6CCDA5">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_presell}</div>
- <div class="p_num" id="dashboard_wel_presell">0</div>
- </div>
- </a>
- </li>
-
- <!--
- <li class="none">
- <a href="{:url('Chain/index',['sign'=>'verify'])}">
- <div class="p_header bg-9C6CCD">
- <i class="iconfont"></i>
- </div>
- <div class="p_content">
- <div class="p_text">{$Think.lang.dashboard_wel_chain}</div>
- <div class="p_num" id="dashboard_wel_chain">0</div>
- </div>
- </a>
- </li>
- -->
- </ul>
- </div>
- </div>
- </div>
- <div class="title">{$Think.lang.dashboard_weekly_overview}</div>
- <div class="info-chart">
- <div class="week">
- <ul class="tab">
- <li class="active">{$Think.lang.dashboard_member_growth}</li>
- <li>{$Think.lang.dashboard_goods_growth}</li>
- <li>{$Think.lang.dashboard_store_growth}</li>
- <li>{$Think.lang.dashboard_order_growth}</li>
- </ul>
- <div class="tab-content">
- <div class="content show">
- <div id="stat_json_week_member" class="w100pre close_float" style="height:300px"></div>
- </div>
- <div class="content">
- <div id="stat_json_week_goods" class="w100pre close_float" style="height:300px"></div>
- </div>
- <div class="content">
- <div id="stat_json_week_store" class="w100pre close_float" style="height:300px"></div>
- </div>
- <div class="content">
- <div id="stat_json_week_order" class="w100pre close_float" style="height:300px"></div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- $(function() {
- $(".info-chart .week li").each(function(index) {
- $(this).click(function() {
- $("li.active").removeClass("active"); //注意这里
- $(this).addClass("active"); //注意这里
- $(".tab-content>div.show").removeClass("show");
- $(".tab-content>div").eq(index).addClass("show");
- });
- })
- });
- </script>
-
- <div class="title">{$Think.lang.dashboard_wel_sys_info}</div>
- <div class="info-system">
- <table cellpadding="0" cellspacing="0" class="system_table">
- <tbody>
- <tr>
- <td class="gray_bg">{$Think.lang.dashboard_wel_thinkphp_version}</td>
- <td>{$statistics['tp_version']}</td>
- <td class="gray_bg">{$Think.lang.dashboard_wel_class_library_file_suffix}</td>
- <td>.php</td>
- </tr>
- <tr>
- <td class="gray_bg">{$Think.lang.dashboard_wel_server_os}</td>
- <td>{$statistics['os']}</td>
- <td class="gray_bg">{$Think.lang.dashboard_wel_server_domain_ip}:</td>
- <td>{$statistics.domain} [ {$statistics.ip} ]</td>
- </tr>
- <tr>
- <td class="gray_bg">WEB {$Think.lang.dashboard_wel_server}</td>
- <td>{$statistics['web_server']}</td>
- <td class="gray_bg">PHP {$Think.lang.dashboard_wel_version}</td>
- <td>{$statistics['php_version']}</td>
- </tr>
- <tr>
- <td class="gray_bg">MYSQL {$Think.lang.dashboard_wel_version}</td>
- <td>{$statistics['sql_version']}</td>
- <td class="gray_bg">GD {$Think.lang.dashboard_wel_version}:</td>
- <td>{$statistics.gdinfo}</td>
- </tr>
- <tr>
- <td class="gray_bg">{$Think.lang.dashboard_wel_file_uplode_limit}:</td>
- <td>{$statistics.fileupload}</td>
- <td class="gray_bg">{$Think.lang.dashboard_wel_max_occupied_memory}:</td>
- <td>{$statistics.memory_limit}</td>
- </tr>
- <tr>
- <td class="gray_bg">{$Think.lang.dashboard_wel_max_ex_time}:</td>
- <td>{$statistics.max_ex_time}</td>
- <td class="gray_bg">{$Think.lang.dashboard_wel_safe_mode}:</td>
- <td>{$statistics.safe_mode}</td>
- </tr>
- <tr>
- <td class="gray_bg">Zlib{$Think.lang.dashboard_wel_support}:</td>
- <td>{$statistics.zlib}</td>
- <td class="gray_bg">Curl{$Think.lang.dashboard_wel_support}:</td>
- <td>{$statistics.curl}</td>
- </tr>
- </tbody>
- </table>
- </div>
- <script src="{$Think.PLUGINS_SITE_ROOT}/highcharts/highcharts.js"></script>
- <script type="text/javascript">
- var normal = [];
- 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'];
- $(document).ready(function () {
- $.getJSON("{:url('Dashboard/statistics')}", function (data) {
- $.each(data, function (k, v) {
- $("#statistics_" + k).html(v);
- if (v != 0 && $.inArray(k, work) !== -1) {
- $("#statistics_" + k).parent().parent().parent().removeClass('none').addClass('high');
- } else if (v == 0 && $.inArray(k, normal) !== -1) {
- $("#statistics_" + k).parent().parent().parent().removeClass('normal').addClass('none');
- }
- });
- });
- });
- $('#stat_json_week_member').highcharts({$stat_json_week_member|raw});
- $('#stat_json_week_goods').highcharts({$stat_json_week_goods|raw});
- $('#stat_json_week_store').highcharts({$stat_json_week_store|raw});
- $('#stat_json_week_order').highcharts({$stat_json_week_order|raw});
- </script>
- </div>
|