mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 12:36:23 +05:30
[TASK] update composer
This commit is contained in:
parent
3c6936349f
commit
a685bcf91b
116 changed files with 4837 additions and 8167 deletions
|
|
@ -1,22 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link href='<?php echo site_url() ?>favicon.ico' rel='icon' type='image/x-icon'/>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" user-scalable="no" />
|
||||
<title>Search results not found! - <?php echo blog_title() ?></title>
|
||||
<link href="<?php echo site_url() ?>themes/clean/css/style.css" rel="stylesheet" />
|
||||
<!-- Include the Open Sans font -->
|
||||
<link href="//fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin,cyrillic-ext" rel="stylesheet" />
|
||||
<link href='<?php echo site_url() ?>favicon.ico' rel='icon' type='image/x-icon'/>
|
||||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" user-scalable="no"/>
|
||||
<title>Search results not found! - <?php echo blog_title() ?></title>
|
||||
<link href="<?php echo site_url() ?>themes/clean/css/style.css" rel="stylesheet"/>
|
||||
<!-- Include the Open Sans font -->
|
||||
<link href="//fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin,cyrillic-ext" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="center message">
|
||||
<h1>Search results not found!</h1>
|
||||
<div class="search">
|
||||
<?php echo search() ?>
|
||||
</div>
|
||||
<p>Please search again, or would you like to try our <a href="<?php echo site_url() ?>">homepage</a> instead?</p>
|
||||
</div>
|
||||
<div class="center message">
|
||||
<h1>Search results not found!</h1>
|
||||
|
||||
<div class="search">
|
||||
<?php echo search() ?>
|
||||
</div>
|
||||
<p>Please search again, or would you like to try our <a href="<?php echo site_url() ?>">homepage</a> instead?</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,19 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link href='<?php echo site_url() ?>favicon.ico' rel='icon' type='image/x-icon'/>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" user-scalable="no" />
|
||||
<title>404 Not Found - <?php echo blog_title() ?></title>
|
||||
<link href="<?php echo site_url() ?>themes/clean/css/style.css" rel="stylesheet" />
|
||||
<!-- Include the Open Sans font -->
|
||||
<link href="//fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin,cyrillic-ext" rel="stylesheet" />
|
||||
<link href='<?php echo site_url() ?>favicon.ico' rel='icon' type='image/x-icon'/>
|
||||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" user-scalable="no"/>
|
||||
<title>404 Not Found - <?php echo blog_title() ?></title>
|
||||
<link href="<?php echo site_url() ?>themes/clean/css/style.css" rel="stylesheet"/>
|
||||
<!-- Include the Open Sans font -->
|
||||
<link href="//fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin,cyrillic-ext" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="center message">
|
||||
<h1>This page doesn't exist!</h1>
|
||||
<p>Would you like to try our <a href="<?php echo site_url() ?>">homepage</a> instead?</p>
|
||||
</div>
|
||||
<div class="center message">
|
||||
<h1>This page doesn't exist!</h1>
|
||||
|
||||
<p>Would you like to try our <a href="<?php echo site_url() ?>">homepage</a> instead?</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,40 +1,45 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<?php echo $head_contents ?>
|
||||
<link href="<?php echo site_url() ?>themes/clean/css/style.css" rel="stylesheet" />
|
||||
<link href="//fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin,cyrillic-ext" rel="stylesheet" />
|
||||
<?php if (publisher()):?><link href="<?php echo publisher() ?>" rel="publisher" /><?php endif;?>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<?php echo $head_contents ?>
|
||||
<link href="<?php echo site_url() ?>themes/clean/css/style.css" rel="stylesheet"/>
|
||||
<link href="//fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin,cyrillic-ext" rel="stylesheet"/>
|
||||
<?php if (publisher()): ?>
|
||||
<link href="<?php echo publisher() ?>" rel="publisher" /><?php endif; ?>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="<?php echo $bodyclass; ?>" itemscope="itemscope" itemtype="http://schema.org/Blog">
|
||||
<div class="hide">
|
||||
<meta content="<?php echo blog_title() ?>" itemprop="name"/>
|
||||
<meta content="<?php echo blog_description() ?>" itemprop="description"/>
|
||||
</div>
|
||||
<?php if(facebook()) { echo facebook();} ?>
|
||||
<?php if(login()) { toolbar();} ?>
|
||||
<aside>
|
||||
<?php if(is_index()) {?>
|
||||
<h1 class="blog-title"><a rel="home" href="<?php echo site_url() ?>"><?php echo blog_title() ?></a></h1>
|
||||
<?php } else {?>
|
||||
<h2 class="blog-title"><a rel="home" href="<?php echo site_url() ?>"><?php echo blog_title() ?></a></h2>
|
||||
<?php } ?>
|
||||
<div class="search">
|
||||
<?php echo search() ?>
|
||||
</div>
|
||||
<div class="social"><?php echo social() ?></div>
|
||||
<div class="menu"><?php echo menu() ?></div>
|
||||
<div class="recent"><h3>Recent Posts</h3><?php echo recent() ?></div>
|
||||
<div class="archive"><?php echo archive_list()?></div>
|
||||
<div class="tagcloud"><?php echo tag_cloud()?></div>
|
||||
<div class="copyright"><?php echo copyright() ?></div>
|
||||
</aside>
|
||||
<section id="content">
|
||||
<?php echo content()?>
|
||||
</section>
|
||||
<?php if (analytics()):?><?php echo analytics() ?><?php endif;?>
|
||||
<div class="hide">
|
||||
<meta content="<?php echo blog_title() ?>" itemprop="name"/>
|
||||
<meta content="<?php echo blog_description() ?>" itemprop="description"/>
|
||||
</div>
|
||||
<?php if (facebook()) {
|
||||
echo facebook();
|
||||
} ?>
|
||||
<?php if (login()) {
|
||||
toolbar();
|
||||
} ?>
|
||||
<aside>
|
||||
<?php if (is_index()) { ?>
|
||||
<h1 class="blog-title"><a rel="home" href="<?php echo site_url() ?>"><?php echo blog_title() ?></a></h1>
|
||||
<?php } else { ?>
|
||||
<h2 class="blog-title"><a rel="home" href="<?php echo site_url() ?>"><?php echo blog_title() ?></a></h2>
|
||||
<?php } ?>
|
||||
<div class="search">
|
||||
<?php echo search() ?>
|
||||
</div>
|
||||
<div class="social"><?php echo social() ?></div>
|
||||
<div class="menu"><?php echo menu() ?></div>
|
||||
<div class="recent"><h3>Recent Posts</h3><?php echo recent() ?></div>
|
||||
<div class="archive"><?php echo archive_list() ?></div>
|
||||
<div class="tagcloud"><?php echo tag_cloud() ?></div>
|
||||
<div class="copyright"><?php echo copyright() ?></div>
|
||||
</aside>
|
||||
<section id="content">
|
||||
<?php echo content() ?>
|
||||
</section>
|
||||
<?php if (analytics()): ?><?php echo analytics() ?><?php endif; ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,58 +1,63 @@
|
|||
<?php if (!empty($breadcrumb)):?><div class="breadcrumb"><?php echo $breadcrumb ?></div><?php endif;?>
|
||||
<?php $i = 0; $len = count($posts);?>
|
||||
<?php foreach($posts as $p):?>
|
||||
<?php
|
||||
if ($i == 0) {
|
||||
$class = 'post first';
|
||||
}
|
||||
elseif ($i == $len - 1) {
|
||||
$class = 'post last';
|
||||
}
|
||||
else {
|
||||
$class = 'post';
|
||||
}
|
||||
$i++;
|
||||
?>
|
||||
<div class="<?php echo $class ?>" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
|
||||
<div class="main">
|
||||
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url?>"><?php echo $p->title ?></a></h2>
|
||||
<div class="date">
|
||||
<?php if (!empty($p->feature)){?>
|
||||
<div class="featured-image">
|
||||
<a href="<?php echo $p->url?>"><img src="<?php echo $p->feature; ?>" alt="<?php echo $p->title ?>"/></a>
|
||||
<?php if (!empty($breadcrumb)): ?>
|
||||
<div class="breadcrumb"><?php echo $breadcrumb ?></div><?php endif; ?>
|
||||
<?php $i = 0;
|
||||
$len = count($posts); ?>
|
||||
<?php foreach ($posts as $p): ?>
|
||||
<?php
|
||||
if ($i == 0) {
|
||||
$class = 'post first';
|
||||
} elseif ($i == $len - 1) {
|
||||
$class = 'post last';
|
||||
} else {
|
||||
$class = 'post';
|
||||
}
|
||||
$i++;
|
||||
?>
|
||||
<div class="<?php echo $class ?>" itemprop="blogPost" itemscope="itemscope"
|
||||
itemtype="http://schema.org/BlogPosting">
|
||||
<div class="main">
|
||||
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></h2>
|
||||
|
||||
<div class="date">
|
||||
<?php if (!empty($p->feature)) { ?>
|
||||
<div class="featured-image">
|
||||
<a href="<?php echo $p->url ?>"><img src="<?php echo $p->feature; ?>"
|
||||
alt="<?php echo $p->title ?>"/></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if (!empty($p->video)) { ?>
|
||||
<div class="featured-video">
|
||||
<iframe src="https://www.youtube.com/embed/<?php echo $p->video; ?>" width="560" height="315"
|
||||
frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<span itemprop="datePublished"><?php echo date('d F Y', $p->date) ?></span> - Posted in
|
||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
||||
<span itemprop="author"><a href="<?php echo $p->authorurl ?>"><?php echo $p->author ?></a></span>
|
||||
<?php
|
||||
if (disqus_count()) { ?> - <span><a href="<?php echo $p->url ?>#disqus_thread">Comments</a></span>
|
||||
<?php } elseif (facebook()) { ?> -
|
||||
<a href="<?php echo $p->url ?>#comments"><span><fb:comments-count
|
||||
href=<?php echo $p->url ?>></fb:comments-count> Comments</span></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="teaser-body" itemprop="articleBody">
|
||||
<?php echo get_thumbnail($p->body) ?>
|
||||
<?php echo get_teaser($p->body, $p->url) ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if (!empty($p->video)){?>
|
||||
<div class="featured-video">
|
||||
<iframe src="https://www.youtube.com/embed/<?php echo $p->video; ?>" width="560" height="315" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<?php }?>
|
||||
<span itemprop="datePublished"><?php echo date('d F Y', $p->date)?></span> - Posted in
|
||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
||||
<span itemprop="author"><a href="<?php echo $p->authorurl ?>"><?php echo $p->author ?></a></span>
|
||||
<?php
|
||||
if (disqus_count()) {?> - <span><a href="<?php echo $p->url?>#disqus_thread">Comments</a></span>
|
||||
<?php } elseif (facebook()){ ?> -
|
||||
<a href="<?php echo $p->url ?>#comments"><span><fb:comments-count href=<?php echo $p->url ?>></fb:comments-count> Comments</span></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="teaser-body" itemprop="articleBody">
|
||||
<?php echo get_thumbnail($p->body)?>
|
||||
<?php echo get_teaser($p->body, $p->url)?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach;?>
|
||||
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])):?>
|
||||
<div class="pager">
|
||||
<?php if (!empty($pagination['prev'])):?>
|
||||
<span><a href="?page=<?php echo $page-1?>" class="pagination-arrow newer" rel="prev">Newer</a></span>
|
||||
<?php endif;?>
|
||||
<?php if (!empty($pagination['next'])):?>
|
||||
<span><a href="?page=<?php echo $page+1?>" class="pagination-arrow older" rel="next">Older</a></span>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php if (disqus_count()):?>
|
||||
<?php echo disqus_count() ?>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])): ?>
|
||||
<div class="pager">
|
||||
<?php if (!empty($pagination['prev'])): ?>
|
||||
<span><a href="?page=<?php echo $page - 1 ?>" class="pagination-arrow newer" rel="prev">Newer</a></span>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($pagination['next'])): ?>
|
||||
<span><a href="?page=<?php echo $page + 1 ?>" class="pagination-arrow older" rel="next">Older</a></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if (disqus_count()): ?>
|
||||
<?php echo disqus_count() ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -1,58 +1,73 @@
|
|||
<?php if (!empty($breadcrumb)):?><div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php echo $breadcrumb ?></div><?php endif;?>
|
||||
<?php if(login()) { echo tab($p);} ?>
|
||||
<?php if (!empty($breadcrumb)): ?>
|
||||
<div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php echo $breadcrumb ?></div><?php endif; ?>
|
||||
<?php if (login()) {
|
||||
echo tab($p);
|
||||
} ?>
|
||||
<div class="post" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
|
||||
<div class="main">
|
||||
<a name="more"></a>
|
||||
<h1 class="title-post" itemprop="name"><?php echo $p->title ?></h1>
|
||||
<div class="date">
|
||||
<?php if (!empty($p->feature)){?>
|
||||
<div class="featured-image">
|
||||
<a href="<?php echo $p->url?>"><img src="<?php echo $p->feature; ?>" alt="<?php echo $p->title ?>"/></a>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if (!empty($p->video)){?>
|
||||
<div class="featured-video">
|
||||
<iframe src="https://www.youtube.com/embed/<?php echo $p->video; ?>" width="560" height="315" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<?php }?>
|
||||
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this day"><?php echo date('d F Y', $p->date)?></a></span> - Posted in
|
||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
||||
<span itemprop="author"><a href="<?php echo $p->authorurl ?>"><?php echo $p->author ?></a></span> -
|
||||
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
||||
</div>
|
||||
<div class="post-body" itemprop="articleBody">
|
||||
<?php echo $p->body; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="separator">→</div>
|
||||
<div class="share-box">
|
||||
<?php echo $authorinfo ?>
|
||||
<div class="share">
|
||||
<h4>Share this post</h4>
|
||||
<a class="twitter" target="_blank" href="https://twitter.com/share?url=<?php echo $p->url ?>&text=<?php echo $p->title?>">Twitter</a>
|
||||
<a class="facebook" target="_blank" href="https://www.facebook.com/sharer.php?u=<?php echo $p->url ?>&t=<?php echo $p->title?>">Facebook</a>
|
||||
<a class="googleplus" target="_blank" href="https://plus.google.com/share?url=<?php echo $p->url ?>">Google+</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo get_related($p->tag)?>
|
||||
<div id="comments" class="comments border">
|
||||
<?php if (facebook()):?>
|
||||
<div class="fb-comments" data-href="<?php echo $p->url ?>" data-numposts="<?php echo config('fb.num') ?>" data-colorscheme="<?php echo config('fb.color') ?>"></div>
|
||||
<?php endif;?>
|
||||
<?php if (disqus()):?>
|
||||
<div id="disqus_thread"></div>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<div class="postnav">
|
||||
<?php if (!empty($next)):?>
|
||||
<span><a href="<?php echo ($next['url']);?>" class="pagination-arrow newer" rel="next"><?php echo ($next['title']);?></a></span>
|
||||
<?php endif;?>
|
||||
<div class="main">
|
||||
<a name="more"></a>
|
||||
|
||||
<?php if (!empty($prev)):?>
|
||||
<span><a href="<?php echo ($prev['url']); ?>" class="pagination-arrow older" rel="prev"><?php echo ($prev['title']); ?></a></span>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<?php if (disqus()):?>
|
||||
<?php echo disqus($p->title, $p->url) ?>
|
||||
<?php endif;?>
|
||||
<h1 class="title-post" itemprop="name"><?php echo $p->title ?></h1>
|
||||
|
||||
<div class="date">
|
||||
<?php if (!empty($p->feature)) { ?>
|
||||
<div class="featured-image">
|
||||
<a href="<?php echo $p->url ?>"><img src="<?php echo $p->feature; ?>"
|
||||
alt="<?php echo $p->title ?>"/></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if (!empty($p->video)) { ?>
|
||||
<div class="featured-video">
|
||||
<iframe src="https://www.youtube.com/embed/<?php echo $p->video; ?>" width="560" height="315"
|
||||
frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>"
|
||||
title="Show all posts made on this day"><?php echo date('d F Y', $p->date) ?></a></span>
|
||||
- Posted in
|
||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
||||
<span itemprop="author"><a href="<?php echo $p->authorurl ?>"><?php echo $p->author ?></a></span> -
|
||||
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
||||
</div>
|
||||
<div class="post-body" itemprop="articleBody">
|
||||
<?php echo $p->body; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="separator">→</div>
|
||||
<div class="share-box">
|
||||
<?php echo $authorinfo ?>
|
||||
<div class="share">
|
||||
<h4>Share this post</h4>
|
||||
<a class="twitter" target="_blank"
|
||||
href="https://twitter.com/share?url=<?php echo $p->url ?>&text=<?php echo $p->title ?>">Twitter</a>
|
||||
<a class="facebook" target="_blank"
|
||||
href="https://www.facebook.com/sharer.php?u=<?php echo $p->url ?>&t=<?php echo $p->title ?>">Facebook</a>
|
||||
<a class="googleplus" target="_blank"
|
||||
href="https://plus.google.com/share?url=<?php echo $p->url ?>">Google+</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo get_related($p->tag) ?>
|
||||
<div id="comments" class="comments border">
|
||||
<?php if (facebook()): ?>
|
||||
<div class="fb-comments" data-href="<?php echo $p->url ?>" data-numposts="<?php echo config('fb.num') ?>"
|
||||
data-colorscheme="<?php echo config('fb.color') ?>"></div>
|
||||
<?php endif; ?>
|
||||
<?php if (disqus()): ?>
|
||||
<div id="disqus_thread"></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="postnav">
|
||||
<?php if (!empty($next)): ?>
|
||||
<span><a href="<?php echo($next['url']); ?>" class="pagination-arrow newer"
|
||||
rel="next"><?php echo($next['title']); ?></a></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($prev)): ?>
|
||||
<span><a href="<?php echo($prev['url']); ?>" class="pagination-arrow older"
|
||||
rel="prev"><?php echo($prev['title']); ?></a></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if (disqus()): ?>
|
||||
<?php echo disqus($p->title, $p->url) ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,40 +1,44 @@
|
|||
<?php if (!empty($breadcrumb)):?><div class="breadcrumb"><?php echo $breadcrumb ?></div><?php endif;?>
|
||||
<div class="profile-wrapper" itemprop="accountablePerson" itemscope="itemscope">
|
||||
<div class="profile" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="Person">
|
||||
<h1 class="title-post" itemprop="name"><?php echo $name ?></h1>
|
||||
<div class="bio" itemprop="description"><?php echo $bio ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="post-index">Posts by this author</h2>
|
||||
<?php if(!empty($posts)) {?>
|
||||
<ul class="post-list">
|
||||
<?php $i = 0; $len = count($posts);?>
|
||||
<?php foreach($posts as $p):?>
|
||||
<?php
|
||||
if ($i == 0) {
|
||||
$class = 'item first';
|
||||
}
|
||||
elseif ($i == $len - 1) {
|
||||
$class = 'item last';
|
||||
}
|
||||
else {
|
||||
$class = 'item';
|
||||
}
|
||||
$i++;
|
||||
?>
|
||||
<li class="<?php echo $class;?>">
|
||||
<span><a href="<?php echo $p->url?>"><?php echo $p->title ?></a></span> on <span><?php echo date('d F Y', $p->date)?></span> - Posted in <span><?php echo $p->tag ?></span>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])):?>
|
||||
<div class="pager">
|
||||
<?php if (!empty($pagination['prev'])):?>
|
||||
<span><a href="?page=<?php echo $page-1?>" class="pagination-arrow newer" rel="prev">Newer</a></span>
|
||||
<?php endif;?>
|
||||
<?php if (!empty($pagination['next'])):?>
|
||||
<span><a href="?page=<?php echo $page+1?>" class="pagination-arrow older" rel="next">Older</a></span>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php } else { echo 'No posts found!'; }?>
|
||||
<?php if (!empty($breadcrumb)): ?>
|
||||
<div class="breadcrumb"><?php echo $breadcrumb ?></div><?php endif; ?>
|
||||
<div class="profile-wrapper" itemprop="accountablePerson" itemscope="itemscope">
|
||||
<div class="profile" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="Person">
|
||||
<h1 class="title-post" itemprop="name"><?php echo $name ?></h1>
|
||||
|
||||
<div class="bio" itemprop="description"><?php echo $bio ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="post-index">Posts by this author</h2>
|
||||
<?php if (!empty($posts)) { ?>
|
||||
<ul class="post-list">
|
||||
<?php $i = 0;
|
||||
$len = count($posts); ?>
|
||||
<?php foreach ($posts as $p): ?>
|
||||
<?php
|
||||
if ($i == 0) {
|
||||
$class = 'item first';
|
||||
} elseif ($i == $len - 1) {
|
||||
$class = 'item last';
|
||||
} else {
|
||||
$class = 'item';
|
||||
}
|
||||
$i++;
|
||||
?>
|
||||
<li class="<?php echo $class; ?>">
|
||||
<span><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></span> on
|
||||
<span><?php echo date('d F Y', $p->date) ?></span> - Posted in <span><?php echo $p->tag ?></span>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])): ?>
|
||||
<div class="pager">
|
||||
<?php if (!empty($pagination['prev'])): ?>
|
||||
<span><a href="?page=<?php echo $page - 1 ?>" class="pagination-arrow newer" rel="prev">Newer</a></span>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($pagination['next'])): ?>
|
||||
<span><a href="?page=<?php echo $page + 1 ?>" class="pagination-arrow older" rel="next">Older</a></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php } else {
|
||||
echo 'No posts found!';
|
||||
} ?>
|
||||
|
|
@ -1,10 +1,14 @@
|
|||
<?php if (!empty($breadcrumb)):?><div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php echo $breadcrumb ?></div><?php endif;?>
|
||||
<?php if(login()) { echo tab($p);} ?>
|
||||
<?php if (!empty($breadcrumb)): ?>
|
||||
<div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php echo $breadcrumb ?></div><?php endif; ?>
|
||||
<?php if (login()) {
|
||||
echo tab($p);
|
||||
} ?>
|
||||
<div class="post" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
|
||||
<div class="main">
|
||||
<h1 class="title-post" itemprop="name"><?php echo $p->title ?></h1>
|
||||
<div class="post-body" itemprop="articleBody">
|
||||
<?php echo $p->body; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main">
|
||||
<h1 class="title-post" itemprop="name"><?php echo $p->title ?></h1>
|
||||
|
||||
<div class="post-body" itemprop="articleBody">
|
||||
<?php echo $p->body; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue