From f4f58ce579e046e5f65290898847ff9329e995fb Mon Sep 17 00:00:00 2001 From: owen <446825985@qq.com> Date: Mon, 24 Apr 2023 00:45:54 +0800 Subject: [PATCH] 20230424 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加公安备案 --- footer.php | 25 +++++++++++++++++-------- inc/frame/config/framework.config.php | 7 ++++++- style.css | 2 +- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/footer.php b/footer.php index 0cd6528..be92350 100644 --- a/footer.php +++ b/footer.php @@ -1,16 +1,26 @@ +if ( ! defined( 'ABSPATH' ) ) { exit; } +$_icp = ''; +if(io_get_option('icp')){ + $_icp .= '' . io_get_option('icp') . ' '; +} +if ($police_icp = io_get_option('police_icp')) { + if (preg_match('/\d+/', $police_icp, $arr)) { + $_icp .= ' ' . $police_icp . ' '; + } +} +?>