forked from Zisbusy/Akina-for-Typecho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.php
112 lines (112 loc) · 4.29 KB
/
home.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
/**
* 自定义首页模板
*
* @package index
*/
?>
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit;
define("THEME_URL", $this->options->themeUrl);
if(!empty(Helper::options()->CDNURL)){
$theurl = Helper::options()->CDNURL.'/AkinaCDN/';
}else{
$theurl = THEME_URL.'/';
}
define("theurl",$theurl);
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title itemprop="name"><?php $this->options->title(); ?>-<?php $this->options->sub() ?></title>
<link rel="canonical" href="<?php $this->options ->siteUrl(); ?>" />
<link rel="shortcut icon" href="<?php echo theurl; ?>images/favicon.ico">
<link rel="stylesheet" href="<?php echo theurl; ?>css/style.css" type="text/css" />
<style type="text/css">body {background: #181717 !important;}::-webkit-scrollbar-track{background-color: #181717;}</style>
</head>
<body class="home page-template page-template-welcome page-template-welcome-php page page-id-7 logged-in">
<div class="welcome-wrapper">
<header id="we-header">
<div class="we-branding">
<div class="wesite-title">
<a href="<?php $this->options ->siteUrl(); ?>" ><img src="<?php echo theurl; ?>images/akina.png"></a>
</div>
<div class="wesite-des">
<p><?php $this->options->title(); ?>-<?php $this->options->sub() ?></p>
</div>
</div>
<div class="admin-login">
<a href="<?php $this->options->adminUrl(); ?>"><span></span><?php if($this->user->hasLogin()): ?>已登陆<?php else: ?>LOGIN<?php endif; ?></a>
</div>
</header>
<ul class="we-content">
<li class="we-menu1">
<a href="<?php $this->options ->siteUrl(); ?>blog"><span class="we-home we-icon"></span>
<span class="we-title wtitle">HOME</span>
<span class="sub-text">It's Welcome Page</span>
<div class="bottom-line"></div>
</a>
</li>
<li class="we-menu2">
<a href="<?php $this->options ->siteUrl(); ?>about.html"><span class="we-about we-icon"></span>
<span class="we-title wtitle">about</span>
<span class="sub-text">who im i</span>
<div class="bottom-line"></div>
</a>
</li>
<li class="we-menu3">
<a href="<?php $this->options ->siteUrl(); ?>links.html"><span class="we-links we-icon"></span>
<span class="we-title wtitle">links</span>
<span class="sub-text">hi! friends</span>
<div class="bottom-line"></div>
</a>
</li>
<li class="we-menu4">
<a href="<?php $this->options ->siteUrl(); ?>archives.html"><span class="we-archives we-icon"></span>
<span class="we-title wtitle">archives</span>
<span class="sub-text">all my posts</span>
<div class="bottom-line"></div>
</a>
</li>
<li class="we-menu5">
<a href="<?php $this->options ->siteUrl(); ?>message.html"><span class="we-youset we-icon"></span>
<span class="we-title wtitle">message</span>
<span class="sub-text">Leave a message for me</span>
<div class="bottom-line"></div>
</a>
</li>
</ul>
</div>
<div class="author-box">
<div class="we-avatar">
<div class="header-tou" >
<a href="<?php $this->options ->siteUrl(); ?>"><img src="//q.qlogo.cn/g?b=qq&nk=<?php $this->options->QQ();?>&s=100"></a>
</div>
</div>
<div class="author-content">
<div class="we-visible">
<p>Hello</p>
<ul>
<li>My friends !</li>
<li>Welcome to !</li>
<li>My blog !</li>
<li>Thanks !</li>
</ul>
</div>
</div>
</div>
<div class="we-footer">
<div class="we-info">Copyright © 2019 by <a href="<?php $this->options ->siteUrl(); ?>" target="_blank" rel="nofollow"><?php $this->options->title() ?></a> . All rights reserved. <span class="sep"> | </span>Theme: <a href="https://zhebk.cn/Web/Akina.html" target="_blank" rel="nofollow" rel="designer">Akina For Typecho</a>.
<div class="we-footertext">
<p><a href="http://www.miibeian.gov.cn" target="_blank" rel="nofollow"><?php $this->options->ICP();?></a></p>
</div>
</div>
</div>
<script type="text/javascript">
if (!!window.ActiveXObject || "ActiveXObject" in window) { //is IE?
alert('请抛弃万恶的IE系列浏览器吧。');
}
</body>