| 14 |
eval(()) |
/modules/cms/classes/cms_controller.php |
388 |
| 13 |
Cms_Controller->evalWithException('?> <div class="post underline gBorder">
<div class="row">
<div class="span6point5"></div>
<div class="span16 offsetpoint5">
<h1><a href="<?php echo root_url('blog/post/'.$post->url_title); ?>"><?php echo h($post->title); ?></a></h1>
</div>
</div>
<div class="row">
<div class="span6point5 align-right">
<p class="date"><strong><?php echo $post->published_date->format('%e %B %Y'); ?></strong></p>
<p class="categories">
<? foreach($post->categories as $i=>$category): ?><a href="<?= root_url('blog/category/'.$category->url_name); ?>"><?= $category->name; ?></a><?= $i == $post->categories->count - 1 ? '' : ', '; ?><?php endforeach; ?>
</p>
</div>
<div class="span16 offsetpoint5">
<?= $post->content ?>
</div>
</div>
</div>', 'CMS partial', 'blog:post', array(0)) |
/modules/cms/classes/cms_controller.php |
1040 |
| 12 |
Cms_Controller->render_partial('blog:post') |
/modules/cms/classes/cms_controller.php(388) : eval()'d code |
7 |
| 11 |
eval(()) |
/modules/cms/classes/cms_controller.php |
388 |
| 10 |
Cms_Controller->evalWithException('?><section class="snippet" style="background:#eaeaea; padding-top:30px; padding-bottom:15px; margin:0px;">
<div class="container narrow">
<h1 class="underline gBorder text-center" style="font-size:40px; line-height:48px; margin-bottom:30px;">Part-on Tools Blog</h1>
<div class="row">
<div class="span30">
<?php $this->render_partial('blog:post'); ?>
<?php $this->render_partial('blog:comments'); ?>
</div>
</div>
<? $posts = Blog_Post::create()->where('id <> ? and is_published = ?',array($post->id,1))->order('published_date desc');
$pagination = $posts->paginate($this->request_param(0, 1)-1, 20);
$posts = $posts->find_all(); ?>
<div class="row">
<div id="blogposts" class="masonry">
<? if($posts):?>
<?php foreach($posts as $post): ?>
<div class="span10 box masonry-brick blogpost">
<div class="blog-border">
<?php if($post->video){ ?>
<div class="img"><?php echo $post->video; ?></div>
<?php }else{ ?>
<a class="img" href="<?php echo root_url('blog/post/'.$post->url_title); ?>">
<? if($post->featuredimages[0]): ?>
<img src="<?php echo $post->featuredimages[0]->getThumbnailPath(300, 'auto', false); ?>" />
<? endif;?>
</a>
<?php } ?>
<div class="blog-padding">
<a href="<?php echo root_url('blog/post/'.$post->url_title); ?>">
<h3><?php echo h($post->title); ?></h3>
</a>
<p><?php echo h($post->description); ?></p>
<a href="<?php echo root_url('blog/post/'.$post->url_title); ?>">
<p class="bloglink orange">Read More <i class="icon-arrow-right"></i></p>
</a>
</div>
<div class="clearfix blogpost-footer">
<div class="date">
<span><i class="icon-calendar"></i> <?=isset($post->published_date)?$post->published_date->format('%e %b %Y'):null;?></span>
</div>
<div class="share">
<a class="addthis_button" addthis:url="<?php echo 'https://www.part-on.co.uk/blog/post/'.$post->url_title; ?>" addthis:title="{title}" href="http://www.addthis.com/bookmark.php?v=300&pubid=ra-50b382182ff79a88">Share this post</a>
</div>
</div>
</div>
</div>
<?php endforeach; ?>
<? endif;?>
</div>
</div>
</div>
</section>', 'CMS page', 'Product Review | FAR RAC171 Rivet Tool') |
/modules/cms/classes/cms_controller.php |
628 |
| 9 |
Cms_Controller->eval_page_content(()) |
/modules/cms/classes/cms_controller.php |
202 |
| 8 |
Cms_Controller->open(object(Cms_Page), array(1) [0 => 'product-review-far-rac171-rivet-tool']) |
/controllers/application.php |
72 |
| 7 |
Application->On404(()) |
/phproad/modules/phpr/classes/phpr_controller.php |
170 |
| 6 |
Phpr_Controller->executeAction('On404', array(0)) |
/phproad/modules/phpr/classes/phpr_controller.php |
84 |
| 5 |
Phpr_Controller->_run('On404', array(0)) |
/phproad/modules/phpr/classes/phpr_response.php |
64 |
| 4 |
Phpr_Response->open404(()) |
/phproad/modules/phpr/classes/phpr_response.php |
37 |
| 3 |
Phpr_Response->open('/blog/post/product-review-far-rac171-rivet-tool') |
/phproad/system/phproad.php |
31 |
| 2 |
include('/var/www/vhosts/part-on.co.uk/httpdocs/phproad/system/phproad.php') |
/boot.php |
114 |
| 1 |
require_once('/var/www/vhosts/part-on.co.uk/httpdocs/boot.php') |
/index.php |
3 |