diff options
| author | outtime <i@timewk.cn> | 2019-12-19 14:00:44 +0800 |
|---|---|---|
| committer | outtime <i@timewk.cn> | 2019-12-19 14:00:44 +0800 |
| commit | ac788031c593bd89e283e24b00d2331927a1cc88 (patch) | |
| tree | 689855a6179c2c449720b592cd14ca2df9380fcc | |
| parent | 10a300457816273792bf5df22bfb1a907650a956 (diff) | |
🔧Fixï¼šä¿®æ£æœ‰å…³è¹¦è·¶é¢œæ–‡å—的问题
| -rw-r--r-- | includes/footer.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/footer.php b/includes/footer.php index 6b9b26e..754d25d 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -5,7 +5,10 @@ <div class="footer-info footer-dark"> <?php echo $this->options->build_time?"记录已延ç»äº† <span id=\"build-time\"></span>":""; - if($faces=$this->options->anime_face)$faces = "<span class=\"anime-face\">".$faces[rand(0,count($faces))]."</span>"; + if($faces=$this->options->anime_face){ + $faces = explode("&&",$faces); + $faces = "<span class=\"anime-face\">".$faces[rand(0,count($faces))]."</span>"; + } if($faces && $this->options->build_time)echo $faces; ?>; <p class="copyright">© <?php echo date('Y'); ?> <a href="<?php $this->options->SiteUrl(); ?>"><?php $this->options->title(); ?></a> All rights reserved.<br /> |
