예제 #1
0
파일: viewPost.php 프로젝트: postman0/1chan
						<?php 
    }
    ?>
						</span>
					</div>
				</div>
				<div class="l-comments-wrap">
					<?php 
    if ($post['comments'] > 0) {
        ?>
					<?php 
        foreach ($comments as $comment) {
            ?>

					<div class="b-comment<?php 
            TemplateHelper::isNewComment($comment) and print " m-new";
            ?>
" id="comment_<?php 
            echo $comment['id'];
            ?>
">
						<div class="b-comment_b-info">
							<?php 
            echo TemplateHelper::date('d M Y @ H:i', $comment['created_at']);
            ?>
, <a href="#<?php 
            echo $comment['id'];
            ?>
">№</a><a href="javascript://" class="js-paste-link" name="<?php 
            echo $comment['id'];
            ?>