예제 #1
0
			<?php 
    echo $comment->body;
    ?>
		</div>
		
		<div class="comment_meta">
			<div class="meta">
				 by:<a href="/profile/<?php 
    echo $comment->owner->username;
    ?>
"><?php 
    echo $comment->owner->username;
    ?>
</a>
				 - <?php 
    echo forum::timeago($comment->created);
    ?>
			</div>
			<?php 
    if ($owner == $comment->owner->id) {
        ?>
				<div class="owner_actions"><a href="<?php 
        echo url::site("{$this->page_name}/edit/comment/{$comment->id}");
        ?>
" class="forum_load_main">edit</a> - <a href="#" class="forum_load_main">delete</a></div>
			<?php 
    }
    ?>
		</div>
		<div class="clearboth"></div>
	</div>			
예제 #2
0
    echo $post->forum_cat_post_comment->owner->username;
    ?>
</a>
				in <a href="<?php 
    echo url::site("{$this->page_name}/category/{$post->url}");
    ?>
" class="forum_load_main"><?php 
    echo $post->name;
    ?>
</a>
				 <?php 
    echo forum::timeago($post->forum_cat_post_comment->created);
    ?>
				<span>
				<em>last active</em> <?php 
    echo forum::timeago($post->last_active);
    ?>
				</span>
			</div>
		</div>
		
	</div>
	
	<div class="post_comment" id="preview_<?php 
    echo $post->id;
    ?>
"><?php 
    echo $post->forum_cat_post_comment->body;
    ?>
</div>
<?php