Example #1
0
        echo $C->SITE_URL . $c->comment_user->username;
        ?>
" class="user" title="<?php 
        echo htmlspecialchars($c->comment_user->fullname);
        ?>
"><?php 
        echo $c->comment_user->username;
        ?>
</a></div>
				<p class="message"><?php 
        echo nl2br($c->parse_text());
        ?>
</p>
				<div class="meta" style="padding-left:3px;">
					<?php 
        echo post::parse_date($c->comment_date);
        ?>
					<?php 
        echo post::parse_api($c->comment_api_id);
        ?>
				</div>
			</div>
			<hr />
		<?php 
    }
    ?>
		<?php 
    if ($D->cnum_pages > 1 && $D->cpg > 1 && $D->cpg < $D->cnum_pages) {
        ?>
			<div id="backnext">
				<a href="<?php 
Example #2
0
</a>
			<?php 
} else {
    ?>
			<a href="<?php 
    echo $D->p->permalink;
    ?>
#comments" class="comments"><?php 
    echo $this->lang($D->p->post_commentsnum == 1 ? 'singlepost_ftr_comments_1' : 'singlepost_ftr_comments_mr', array('#NUM#' => $D->p->post_commentsnum));
    ?>
</a>
			<?php 
}
?>
			&middot; <a href="<?php 
echo $D->p->permalink;
?>
" title="<?php 
echo $this->lang('singlepost_ftr_permalink');
?>
"><?php 
echo post::parse_date($D->p->post_date);
?>
</a>
			<?php 
echo post::parse_api($D->p->post_api_id);
?>
		</div>
	</div>
<?php 
$this->load_template('mobile/footer.php');