Browse Source

修改页脚

wqg 3 weeks ago
parent
commit
6e49ec0c7a
1 changed files with 16 additions and 2 deletions
  1. 16 2
      usr/themes/default/footer.php

+ 16 - 2
usr/themes/default/footer.php

@@ -5,8 +5,22 @@
 </div><!-- end #body -->
 
 <footer id="footer" role="contentinfo">
-    &copy; <?php echo date('Y'); ?> <a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a>.
-    <?php _e('由 <a href="https://typecho.org">Typecho</a> 强力驱动'); ?>.
+<a href="https://foreverblog.cn/go.html" target="_blank" > <img src="https://img.foreverblog.cn/logo_en_default.png" alt="" style="width:auto;height:16px;margin-bottom: 5px;"> </a></br>
+			
+<a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener" title="开往-友链接力">
+    <img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120">
+</a></br>
+    &copy; <?php echo date('Y'); ?> 
+    
+   
+    <?php if ($this->user->hasLogin()): ?>
+        <a href="<?php $this->options->adminUrl(); ?>"><?php _e('进入后台'); ?>
+        (<?php $this->user->screenName(); ?>)</a>.
+        <a href="<?php $this->options->logoutUrl(); ?>"><?php _e('退出'); ?></a>
+        <?php else: ?>
+        <a href="<?php $this->options->adminUrl('login.php'); ?>"><?php _e('登录'); ?></a>
+    <?php endif; ?>
+     <?php _e('POWER BY <a href="https://typecho.org">TYPECHO</a>'); ?>.
 </footer><!-- end #footer -->
 
 <?php $this->footer(); ?>