-
Notifications
You must be signed in to change notification settings - Fork 110
/
page.php
58 lines (57 loc) · 2.2 KB
/
page.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
<?php
get_header();
the_post();
?>
<div class="layui-container" id="main">
<div class="blog-title"><img class="toobar-icon" src="<?php echo getImgDir('folder.ico') ?>"
alt=""><?php /*bloginfo('name');*/
echo bloginfo('name') ?>
<div class="post-title"> - <?php the_title(); ?></div>
<div class="close"><i class="layui-icon layui-icon-close"></i>
</div>
</div>
<div class="toolbar">
<div class="layui-row">
<div class="obj_menu_header">
<?php get_nav_menu_obj(); ?>
</div>
</div>
<div class="layui-row">
<div class="layui-col-md1 <?php get_self_adaption_css()?>">
<div class="toobar-col"><i class="fa fa-arrow-left" aria-hidden="true"
onclick="javascript :history.back(-1)"></i>
<i class="fa fa-arrow-right" aria-hidden="true" onclick="javascript :history.forward()"></i>
<i class="fa fa-arrow-up" aria-hidden="true"></i></div>
</div>
<div class="layui-col-md9 layui-col-xs-12 layui-col-sm-12">
<div class="toolbar-url"><img class="toobar-icon" src="<?php echo getImgDir('folder.ico') ?>"
alt=""><span>
<a href="//<?php echo $_SERVER['SERVER_NAME']; ?>">本网站</a></span>
><span><?php the_title() ?></span>
</div>
</div>
<div class="layui-col-md2 <?php get_self_adaption_css()?>">
<?php get_search_obj(); ?>
</div>
</div>
</div>
<div class="layui-row content">
<div class="layui-col-md2 sidebar <?php get_self_adaption_css() ?>">
<?php get_sidebar(); ?>
</div>
<div class="layui-col-md10 post-content">
<div class="post-content-content">
<?php the_content(); ?>
</div>
<div class="post-content-comments">
<?php
comments_template();
?>
</div>
</div>
</div>
</div>
<?php get_footer() ?>
<?php wp_footer(); ?>
</body>
</html>