-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathheader.php
77 lines (71 loc) · 3.2 KB
/
header.php
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
<?php
/*
Template Name:DYBLOG
Description:扁平化盒子主题,博客专属主题!作者:DYBOY
Version:1.1
Author:DYBOY
Author Url:https://blog.dyboy.cn
Sidebar Amount:0
*/
if(!defined('EMLOG_ROOT')) {exit('Hacker!');}
require_once View::getView('dy_config');
require_once View::getView('module');
require_once View::getView('function');
?>
<!DOCTYPE html>
<html>
<head lang="zh-CN">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
<title><?php echo $site_title; ?></title>
<meta name="keywords" content="<?php echo $site_key; ?>" />
<meta name="description" content="<?php echo $site_description; ?>" />
<meta name="generator" content="DYBOY" />
<!-- 外部样式 -->
<link href="<?php echo TEMPLATE_URL; ?>images/favicon.ico" rel="shortcut icon">
<link href="<?php echo TEMPLATE_URL; ?>style/main.css" rel="stylesheet" />
<!-- 链接信息 -->
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php echo BLOG_URL; ?>xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="<?php echo BLOG_URL; ?>wlwmanifest.xml" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo BLOG_URL; ?>rss.php" />
<!--[if lt IE 9]>
<script src="//cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<?php doAction('index_head'); ?>
<?php doAction('baidu_xz_echo',$logid, $log_title, $log_content, $date); ?>
</head>
<body>
<!-- 导航栏 -->
<div id="dyblog_pjax">
<header>
<div id="header" class="header bg-white">
<div class="navbar-container">
<a href="<?php echo BLOG_URL; ?>" class="navbar-logo">
<img src="<?php echo TEMPLATE_URL.'images/logo.png'; ?>" alt="<?php echo $blogname; ?>" title="<?php echo $bloginfo;?>" />
</a>
<div class="navbar-menu">
<?php blog_navi();?>
</div>
<!-- 搜索 -->
<a href="<?php echo BLOG_URL.'search.html' ?>" class="navbar-search">
<span class="icon-search"></span>
</a>
<!-- 移动端 -->
<div class="navbar-mobile-menu" >
<div class="burger">
<div class="x"></div>
<div class="y"></div>
<div class="z"></div>
</div>
<ul class="bar">
<?php mobile_blog_navi();?>
</ul>
</div>
</div>
</div>
</header>