The template does not render the variables I have pasted the weird stuff below I didn't paste the whole template the problem I believe is in the top Thanks anyone for help
<?php $v129018710851384329941iterator = $posts; $v129018710851384329941incr = 0; $v129018710851384329941loop = new stdClass(); $v129018710851384329941loop->length = count($v129018710851384329941iterator); $v129018710851384329941loop->index = 1; $v129018710851384329941loop->index0 = 1; $v129018710851384329941loop->revindex = $v129018710851384329941loop->length; $v129018710851384329941loop->revindex0 = $v129018710851384329941loop->length - 1; ?><?php foreach ($v129018710851384329941iterator as $post) { ?><?php $v129018710851384329941loop->first = ($v129018710851384329941incr == 0); $v129018710851384329941loop->index = $v129018710851384329941incr + 1; $v129018710851384329941loop->index0 = $v129018710851384329941incr; $v129018710851384329941loop->revindex = $v129018710851384329941loop->length - $v129018710851384329941incr; $v129018710851384329941loop->revindex0 = $v129018710851384329941loop->length - ($v129018710851384329941incr + 1); $v129018710851384329941loop->last = ($v129018710851384329941incr == ($v129018710851384329941loop->length - 1)); ?> <?php if (((($v129018710851384329941loop->index) % 2) != 0)) { ?> <div class="row"> <!-- content --> <div class="content clearfix">
<!-- post list -->
<div class="postlist">
<div class="col-sm-6">
<!-- post item wide -->
<div class="post-item-wide">
<div class="inner">
<div class="post_title">
<h2><a href="#"><?php echo $post->title; ?></a></h2>
</div>
<div class="post-image">
<div class="badge badge-new"></div>
<img src="image?id=<?php echo $post->frontimage; ?>" alt="" />
</div>
<div class="post-meta-top">
Posted <span class="post-date"><?php echo $post->postdate; ?></span>
by <span class="post-author"><?php echo $post->author; ?></span>
</div>
<div class="post-descr">
<p><?php echo $post->fronttext; ?></p>
</div>
<div class="post-meta-bot post-meta-links">
<div class="post-meta-likes">
<a href="Likes?id=<?php echo $post->id; ?>&type=post" class="post-like"><?php echo $post->likes; ?>  likes</a>
<a href="#" class="post-comm"><?php echo $post->comments; ?></a>