commit 10886745bbab728a5cdd1c7f796c0d44ed763fff
parent 589b9f54052c109cbf2d8d7aef8166ac4e72f71f
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 23 Nov 2014 20:05:07 +0100
fixed structure of accentbox
Diffstat:
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/themes/accentbox/index.php b/themes/accentbox/index.php
@@ -49,7 +49,7 @@ if (!$empty){
?>
<div id="page">
<div class="content">
- <article class="article">
+
<?php
$x = 1;
if ($empty){
@@ -59,18 +59,19 @@ if (!$empty){
include('../../core/config/connect.db.inc.php');
echo "
<div id='content_box'>
- <div class='post excerpt'>
- <header>
+ <article class='article'>
+ <div class='post excerpt'>
+ <header>
<div class='bubble'><a href='#'>4</a></div>
- <h2 class='title'>
- <a href='index.php?id=$id' rel='bookmark'> $post_title </a>
- </h2>
- <div class='post-info'>
- <span class='theauthor'><a href='#' rel='author'>$post_author</a></span>
- <time>$post_date</time>
- <span class='thecategory'><a href='#' rel='category tag'>$post_categrory</a></span></br>
- </div>
- </header>
+ <h2 class='title'>
+ <a href='index.php?id=$id' rel='bookmark'> $post_title </a>
+ </h2>
+ <div class='post-info'>
+ <span class='theauthor'><a href='#' rel='author'>$post_author</a></span>
+ <time>$post_date</time>
+ <span class='thecategory'><a href='#' rel='category tag'>$post_categrory</a></span></br>
+ </div>
+ </header>
<div class='post-content image-caption-format-1'>
<a href='#' rel='nofollow' id='featured-thumbnail'>
<div class='featured-thumbnail'><img src='images/2457315858_32ffd98aec_n-150x150.jpg' class='attachment-featured wp-post-image' height='150' width='150'><div>
@@ -83,11 +84,12 @@ if (!$empty){
$id = $id+1;
next_id();
echo "
- <div class='pnavigation2'>
- <div class='nav-previous left'><a href='#'><span class='meta-nav'>←</span> Older posts</a></div>
- <div class='nav-next right'></div>
- </div>
- </div>
+ <div class='pnavigation2'>
+ <div class='nav-previous left'><a href='#'><span class='meta-nav'>←</span> Older posts</a></div>
+ <div class='nav-next right'></div>
+ </div>
+ </div>
+ </article>
";
}
@@ -95,8 +97,9 @@ if (!$empty){
include('../../core/backend/blog/posts.php');
echo "
<div id='content_box'>
- <div class='post excerpt'>
- <header>
+ <article class='article'>
+ <div class='post excerpt'>
+ <header>
<div class='bubble'><a href='#'>4</a></div>
<h2 class='title'>
<a href='index.php?id=$id' rel='bookmark'> $post_title </a>
@@ -106,24 +109,23 @@ if (!$empty){
<time>$post_date</time>
<span class='thecategory'><a href='#' rel='category tag'>$post_categrory</a></span></br>
</div>
- </header>
- <div class='post-content image-caption-format-1'>
- <a href='#' rel='nofollow' id='featured-thumbnail'>
- <div class='featured-thumbnail'><img src='images/2457315858_32ffd98aec_n-150x150.jpg' class='attachment-featured wp-post-image' height='150' width='150'><div>
- </a>
- $post_text_short</br>
- </div>
- </div>
+ </header>
+ <div class='post-content image-caption-format-1'>
+ <a href='#' rel='nofollow' id='featured-thumbnail'>
+ <div class='featured-thumbnail'><img src='images/2457315858_32ffd98aec_n-150x150.jpg' class='attachment-featured wp-post-image' height='150' width='150'><div>
+ </a>
+ $post_text_short</br>
+ </div>
+ </div>
<div class='pnavigation2'>
<div class='nav-previous left'><a href='#'><span class='meta-nav'>←</span> Older posts</a></div>
<div class='nav-next right'></div>
</div>
</div>
+ </article>
";
}
?>
-
- </article>
<?php
include('templates/page_navigation.php');