Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit ac91a82

Browse files
authored
Add files via upload
1 parent b35d9c5 commit ac91a82

26 files changed

Lines changed: 2053 additions & 0 deletions

404.php

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<html>
2+
<head>
3+
<link rel="stylesheet" href="<?php $this->options->themeUrl('css/404-style.css'); ?>">
4+
<style>body{
5+
background-color: #e7eff5;
6+
font-family: ziti;
7+
}
8+
@font-face {
9+
font-family: ziti;
10+
font-weight: 700;
11+
font-style: normal;
12+
font-display: swap;
13+
src: url('<?php $this->options->themeUrl('css/ziti.ttf'); ?>');
14+
}</style>
15+
<meta charset="utf-8" />
16+
<title>404-not-found</title>
17+
</head>
18+
<body>
19+
<div class="backgound">
20+
<img src="<?php $this->options->themeUrl('img/404.png'); ?>" >
21+
<!-- <div class="http-code">
22+
23+
</div> -->
24+
</div>
25+
<div class="mod-first">
26+
<div class="left">
27+
<img src="<?php $this->options->themeUrl('img/wu.png'); ?>" >
28+
<h2>发生错误</h2>
29+
<ol>
30+
<li><div class="li-border">可能是您打开了错误链接</div></li>
31+
<li>可能是您打开的页面处于维护状态</li>
32+
<li>可能是您打开的页面已经被删除</li>
33+
<li>可能是您的浏览器缓存问题导致</li>
34+
</ol>
35+
</div>
36+
<div class="right">
37+
<img src="<?php $this->options->themeUrl('img/content.png'); ?>" >
38+
<h1 class="content">联系方式</h1>
39+
<div class="content-span1"><span>邮箱:qine@qine.ltd</span></div>
40+
<div class="content-span2"><span>QQ群聊:108036667</span></div>
41+
<div class="content-span3"><span>GitHub:zc1351856278</span></div>
42+
<!-- <?php $this->options->title() ?> -->
43+
</div>
44+
<div class="top">
45+
<img src="<?php $this->options->themeUrl('img/gps.png'); ?>" >
46+
<h1 class="GPS">网站导航</h1>
47+
<div class="gps-line-first"><span><a href="https://www.baidu.com/" >百度搜索</a></span></div>
48+
<div class="gps-line-second"><span><a href="https://www.google.com.hk/" >谷歌搜索</a><span></div>
49+
<div class="gps-line-third"><span><a href="https://www.idkzr.com/" >青益云记</a><span></div>
50+
<div class="gps-line-fouth"><span><a href="https://www.yuhenm.com/" >StarYuhen</a><span></div>
51+
</div>
52+
<div class="bottom">
53+
<img src="<?php $this->options->themeUrl('img/text.png'); ?>" >
54+
<h1 class="news">最新文章</h1>
55+
<div id="news-post"><?php
56+
$this->widget('Widget_Contents_Post_Recent','pageSize=5')->parse('<li><a href="{permalink}">{title}</a></li>');
57+
?></div>
58+
</div>
59+
60+
61+
</div>
62+
<!-- 下面主要是移动端内容 -->
63+
<div class="mobile-all">
64+
<div class="mobile-first">
65+
<h1 class="mobile-news">最新文章</h1>
66+
<div class="mobile-news-post"><?php
67+
$this->widget('Widget_Contents_Post_Recent','pageSize=8')->parse('<li><a href="{permalink}">{title}</a></li>');
68+
?></div>
69+
</div>
70+
</div>
71+
<div class="nar-ber">
72+
<!-- 请务必打开伪静态,反则请将下方../index.php修改成网站实际链接 -->
73+
<a href="../index.php">回到首页</a>
74+
</div>
75+
76+
</body>
77+
</html>

comments-lite.php

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php function threadedComments($comments, $options) {
2+
$commentClass = '';
3+
if ($comments->authorId) {
4+
if ($comments->authorId == $comments->ownerId) {
5+
$commentClass .= ' comment-by-author';
6+
} else {
7+
$commentClass .= ' comment-by-user';
8+
}
9+
}
10+
11+
$commentLevelClass = $comments->levels > 0 ? ' comment-child' : ' comment-parent';
12+
?>
13+
14+
<li id="li-<?php $comments->theId(); ?>" class="comment-body<?php
15+
if ($comments->levels > 0) {
16+
echo ' comment-child';
17+
$comments->levelsAlt(' comment-level-odd', ' comment-level-even');
18+
} else {
19+
echo ' comment-parent';
20+
}
21+
$comments->alt(' comment-odd', ' comment-even');
22+
echo $commentClass;
23+
?>">
24+
<div id="<?php $comments->theId(); ?>">
25+
<div class="comment-author">
26+
<?php $comments->gravatar('40', ''); ?>
27+
<cite class="fn"><?php $comments->author(); ?></cite>
28+
</div>
29+
<div class="comment-meta">
30+
<a href="<?php $comments->permalink(); ?>"><?php $comments->date('Y-m-d H:i'); ?></a>
31+
<span class="comment-reply"><?php $comments->reply(); ?></span>
32+
</div>
33+
<?php $comments->content(); ?>
34+
</div>
35+
<?php if ($comments->children) { ?>
36+
<div class="comment-children">
37+
<?php $comments->threadedComments($options); ?>
38+
</div>
39+
<?php } ?>
40+
</li>
41+
<?php } ?>

comments.php

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
2+
<div class="comments">
3+
<div id="comments-padding">
4+
<!-- 判断设置是否允许对当前文章进行评论 -->
5+
<?php if($this->allow('comment')): ?>
6+
7+
<h4 id="response"><?php $this->commentsNum('评论 (%d)'); ?></h4>
8+
9+
<!-- 输入表单开始 -->
10+
<form method="post" action="<?php $this->commentUrl() ?>" id="comment_form">
11+
12+
<!-- 如果当前用户已经登录 -->
13+
<?php if($this->user->hasLogin()): ?>
14+
<!-- 显示当前登录用户的用户名以及登出连接 -->
15+
<p style="margin-left: 5rem;"><?php $this->user->screenName(); ?></a>.</p>
16+
17+
<!-- 若当前用户未登录 -->
18+
<?php else: ?>
19+
<div class="comments-3-text">
20+
<p><label>昵称*&nbsp;:&nbsp;</label><input type="text" name="author" class="text" size="35" value="<?php $this->remember('author'); ?>" /></p>
21+
<p><label>邮箱*&nbsp;:&nbsp;</label><input type="text" name="mail" class="text" size="35" value="<?php $this->remember('mail'); ?>" /></p>
22+
<p><label>网站链接(可不填)&nbsp;:&nbsp;</label><input type="text" name="url" class="text" size="35" value="<?php $this->remember('url'); ?>" /></p>
23+
</div>
24+
<?php endif; ?>
25+
26+
<!-- 输入要回复的内容 -->
27+
<div class="talk-content">
28+
<p><textarea class="text" rows="10" cols="50" name="text"><?php $this->remember('text'); ?></textarea></p>
29+
<!-- <p><textarea type="text" name="text" size="35" value="<?php $this->remember('text'); ?>" /></p> -->
30+
31+
<p><input type="submit" value="发送" class="submit" /></p>
32+
</div>
33+
</form>
34+
<!-- <?php endif; ?><div class="talk-list">
35+
36+
<ol style=" display: flex;
37+
flex-wrap: wrap;" id="comment_list">
38+
<?php $this->comments()->to($comments); ?>
39+
<?php while($comments->next()): ?>
40+
<li id="list-talk-list">
41+
<div class="comment_data">
42+
43+
<strong><?php $comments->author(); ?></strong>
44+
<?php $comments->date('Y-m-d '); ?>
45+
</div>
46+
<div class="comment_body"><?php $comments->content(); ?></div>
47+
</li>
48+
<?php $comments->pageNav('« 前一页', '后一页 »'); ?>
49+
50+
<?php endwhile; ?>
51+
</ol>
52+
</div> -->
53+
<div class="talk-list">
54+
<?php $this->need("comments-lite.php");?></div>
55+
</div>
56+
57+
</div>

0 commit comments

Comments
 (0)