summaryrefslogtreecommitdiff
path: root/includes/header.php
diff options
context:
space:
mode:
author阔落 <45323514+BigCoke233@users.noreply.github.com>2019-03-24 18:02:47 +0800
committerGitHub <noreply@github.com>2019-03-24 18:02:47 +0800
commit4353a0f3f12ca253285e3edf9f2206e526f112ce (patch)
treeefd983701eeba6622028563048927aa848d239e8 /includes/header.php
parent107e63005d013dd3caea541c921dcf8be415014e (diff)
Add files via upload
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/includes/header.php b/includes/header.php
new file mode 100644
index 0000000..f9a06d0
--- /dev/null
+++ b/includes/header.php
@@ -0,0 +1,35 @@
+<header>
+ <div id="top"></div>
+ <!-- 导航栏 -->
+ <nav class="navbar navbar-default navbar-fixed-top" id="nav">
+ <Div class="container-fluid">
+ <div class="nav-logo">
+ <span class="nav-logo-icon">
+ <i class="<?php $this->options->IndexIcon(); ?> mobile-none"></i>
+ </span>
+ <span class="nav-logo-indexname mobile-none">
+ <?php $this->options->IndexName(); ?>
+ </span>
+ </div>
+
+ <div class="nav-content">
+ <ul class="nav navbar-nav">
+ <?php if($this->options->custom_nav && $this->options->custom_nav!='') :?>
+ <?php $this->options->custom_nav() ?>
+ <?php else: ?>
+ <?php $this->widget('Widget_Contents_Page_List')
+ ->parse('<li><a href="{permalink}"><i class="fa fa-paper-plane" aria-hidden="true"></i> {title}</a></li>'); ?>
+ <li><a href="<?php $this->options->SiteUrl(); ?>"><i class="fa fa-home" aria-hidden="true"></i> 首页</a></li>
+ <?php endif; ?>
+ </ul>
+ </div>
+ </div>
+ </nav>
+
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <!-- 能偷懒不写样式为什么不用br? -->
+</header> \ No newline at end of file