-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
96 lines (92 loc) · 4.03 KB
/
header.php
File metadata and controls
96 lines (92 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php
/*
Template Name:beginning
Description:简洁优雅,多种布局,个人介绍,金v闪亮你的自媒体之路 <br /> 提交bug: http://zhangziheng.com/play/451.html
Version:1.0.0
Author:jaeheng
Author Url:http://zhangziheng.com
Sidebar Amount:1
*/
if (!defined('EMLOG_ROOT')) exit('error!');
require_once View::getView('module');
require_once View::getView('config');
?>
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="keywords" content="<?php echo $site_key; ?>" />
<meta name="description" content="<?php echo $site_description; ?>" />
<meta name="generator" content="emlog" />
<title><?php echo $site_title; ?></title>
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo BLOG_URL; ?>rss.php" />
<link rel="stylesheet" href="//at.alicdn.com/t/font_5erwxi32ywlv7vi.css">
<link rel="stylesheet" href="<?php echo TEMPLATE_URL; ?>dist/css/style.css?version=v1.0.0">
<link rel="stylesheet" href="<?php echo TEMPLATE_URL; ?>common.css?version=v1.0.0">
<link href="<?php echo BLOG_URL; ?>admin/editor/third-party/SyntaxHighlighter/shCoreDefault.css" rel="stylesheet"
type="text/css" />
<script src="<?php echo BLOG_URL; ?>admin/editor/third-party/SyntaxHighlighter/shCore.js"></script>
<script src="<?php echo BLOG_URL; ?>admin/editor/ueditor.parse.min.js"></script>
<script src="<?php echo BLOG_URL; ?>include/lib/js/common_tpl.js" type="text/javascript"></script>
</head>
<body>
<!--[if lte IE 8]>
<div id="browsehappy" style="text-align:center;background:#ff0;">您正在使用的浏览器版本过低,请<a href="http://browsehappy.com/" target="_blank"><strong>升级您的浏览器</strong></a>,获得最佳的浏览体验!</div>
<![endif]-->
<?php doAction('index_head'); ?>
<!--头部区域-->
<header id="header" class="header">
<div class="container">
<a href="<?php echo BLOG_URL; ?>" class="avatar">
<div class="img"><img src="<?php echo TEMPLATE_URL; ?>dist/images/logo.png" alt="头像"></div>
<i class="gold-v"></i>
</a>
<div class="userinfo">
<h1 class="username">
<?php echo $blogname; ?>
<a href="<?php echo $config['weibo_url'];?>" target="_blank"><img src="<?php echo TEMPLATE_URL; ?>/dist/images/weibo_48_48.png" alt="weibo"></a>
</h1>
<h3 class="userdesc"><?php echo $bloginfo; ?></h3>
<?php
$systemInfo = getSystemInfo();
?>
<ul class="count">
<li class="item">
<div class="num"><?php echo $systemInfo['articelNum'];?></div>
文章
</li>
<li class="item">
<div class="num"><?php echo $systemInfo['viewNum'];?></div>
阅读量
</li>
<li class="item">
<div class="num"><?php echo $systemInfo['commentsNum'];?></div>
留言
</li>
</ul>
</div>
<div class="third-entry">
<img src="<?php echo TEMPLATE_URL; ?>dist/images/payme.png" alt="wechat">
<p>关注微信公众号</p>
</div>
</div>
</header>
<!--头部区域 /-->
<!--导航-->
<div class="menu-box">
<div class="container">
<a href="javascript:;" class="icon-menu toggle-open" data-target="menu">
<i class="icon-menu-item"></i>
<i class="icon-menu-item"></i>
<i class="icon-menu-item"></i>
</a>
<?php blog_navi();?>
<form action="<?php echo BLOG_URL; ?>index.php" method="get" class="pull-right search" id="search-form">
<input type="search" name="keyword" class="input" value="<?php echo $keyword;?>" placeholder="search..." />
</form>
</div>
</div>
<!--导航 /-->