-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.php
executable file
·71 lines (54 loc) · 1.47 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
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<?php get_header(); ?>
<body>
<div class="container">
<div class="ocpsoft-toparea">
<?php include 'navbar.php';?>
</div>
<div class="ocpsoft-middlearea">
<div class="ocpsoft-middlearea-shadow-top">
<div class="ocpsoft-middlearea-shadow-bottom">
<div class="posts">
<?php if (!have_posts()) : ?>
<?php the_error_page(); ?>
<?php else: ?>
<?php include 'moreposts.php';?>
<div class="row-fluid">
<div class="span8 post-outer">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="post-title">
<div class="post-title-text">
<h1>
<?php the_title(); ?>
</h1>
</div>
</div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p align="center">
<?php next_posts_link('« Previous Entries') ?>
<?php previous_posts_link('Next Entries »') ?>
</p>
<?php else : ?>
<?php the_error_page(); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php include 'moreposts.php';?>
<?php endif;?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>
</div>
</body>
</html>