diff --git a/admin/index.php b/admin/index.php index 7724a1a..c3cf513 100644 --- a/admin/index.php +++ b/admin/index.php @@ -2,70 +2,104 @@ $title = '后台管理'; include './head.php'; $mysqlversion=$DB->count("select VERSION()"); -function tjsj($tjname){if($tjname==''){echo '0';}else{echo $tjname;}} +function tjsj($tjname) { + if($tjname=='') { + echo '0'; + } else { + echo $tjname; + } +} ?>
-
getver($conf['version'])){echo '

'.$update['title'].'

    ';} -if($update['msg']!='') {echo $update['msg'];} -if(getver($update['version']) > getver($conf['version'])){echo $update['update_msg'];} -if($update['msg_switch'] == true || getver($update['version']) > getver($conf['version'])){echo '
';}}} ?> +if(!empty($update)) { + if($update['switch'] == true) { + if($update['msg_switch'] == true || getver($update['version']) > getver($conf['version'])) { + echo '

'.$update['title'].'

    '; + } + if($update['msg']!='') { + echo $update['msg']; + } + if(getver($update['version']) > getver($conf['version'])) { + echo $update['update_msg']; + } + if($update['msg_switch'] == true || getver($update['version']) > getver($conf['version'])) { + echo '
'; + } + } +} +?>

链接数量

-

+

-
+
-

今日访客量

-

+

-

昨日访客量

-

+

-
+
-

累计访客量

-

+

-
+
- -
- + num_rows($DB->query("SELECT * FROM `lylme_apply` WHERE `apply_status` = 0")); +if($applyrows>0) { + echo' + '; +} +?> +
@@ -76,7 +110,6 @@ if($update['msg_switch'] == true || getver($update['version']) > getver($conf['v
-
@@ -87,10 +120,7 @@ if($update['msg_switch'] == true || getver($update['version']) > getver($conf['v
-
- -

服务器信息

@@ -98,7 +128,12 @@ if($update['msg_switch'] == true || getver($update['version']) > getver($conf['v
  • PHP 版本: - +
  • MySQL 版本: @@ -123,67 +158,73 @@ if($update['msg_switch'] == true || getver($update['version']) > getver($conf['v
  • 项目地址:https://github.com/LyLme/lylme_spage -
  • - +
-
-
- + } + ; + new Chart($dashChartBarsCnt, { + type: 'bar', + data: $dashChartBarsData + } + ); + var myLineChart = new Chart($dashChartLinesCnt, { + type: 'line', + data: $dashChartLinesData, + } + ); +} +); + \ No newline at end of file