-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
70 lines (69 loc) · 3.16 KB
/
header.php
File metadata and controls
70 lines (69 loc) · 3.16 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
<?php
/*
Template Name:iSingle
Description:瑾忆博客
Version:1.0
Author:瑾忆
Author Url:http://www.drlog.pw
Sidebar Amount:0
*/
if(!defined('EMLOG_ROOT')) {exit('error!');}
require_once View::getView('module');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><?php echo $site_title; ?> - <?php echo $site_key; ?> - <?php echo $site_description; ?></title>
<meta name="keywords" content="<?php echo $site_key; ?>" />
<meta name="description" content="<?php echo $site_description; ?>" />
<meta name="generator" content="emlog" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="<?php echo TEMPLATE_URL; ?>images/tx.png">
<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" />
<link type="<?php echo TEMPLATE_URL; ?>images/tx.jpg" href="<?php echo TEMPLATE_URL; ?>images/tx.jpg" rel="shortcut icon">
<link rel="stylesheet" type="text/css" href="<?php echo TEMPLATE_URL; ?>main.css">
<script src="<?php echo TEMPLATE_URL; ?>js/jquery.min.js"></script>
<script src="<?php echo TEMPLATE_URL; ?>js/jquery.pjax.min.js"></script>
<script src="<?php echo BLOG_URL; ?>include/lib/js/common_tpl.js" type="text/javascript"></script>
<script src="<?php echo TEMPLATE_URL; ?>js/view-image.min.js"></script>
<?php doAction('index_head'); ?>
</head>
<body>
<div class="content">
<header class="header">
<div class="menu"><ul>
<?php blog_navi();?>
</ul></div>
</header>
<div class="pjax">
<div class="about-me" style="background-image: url(<?php if($logid): ?><?php echo getpostimagetop($logid); ?><?php else:?><?php echo _g('topimg');?><?php endif; ?>)">
<div class="bg-fixed">
</div>
<div id="settingTheme">
<i class="iconfont icon-menu"></i>
</div>
</div>
<div class="contents">
<div class="profile">
<?php if($logid): ?>
<div class="info">
<h1><?php echo $log_title; ?></h1>
<p><?php echo gmdate('Y-n-j', $date);?> / <?php echo $views; ?> 次阅读 <?php editflg($logid,$author); ?></p>
</div>
<?php elseif($tws):?>
<div class="info">
<h1>微语<span class="online">在线:<?php echo floor((time()-strtotime(""._g('webtime').""))/86400); ?> 天</span></h1>
</div>
<?php else:?>
<img alt="" src="<?php echo _g("tximg");?>" class="avatar avatar-450 photo" height="450" width="450">
<div class="info">
<h1>Single<span class="online">在线:<?php echo floor((time()-strtotime(""._g('webtime').""))/86400); ?> 天</span></h1>
<p><?php echo widget_search($title); ?></p>
</div>
<?php endif; ?>
</div>