singlePostView.inc 695 B

12345678
  1. <?php
  2. $humanReadableTime = new HumanReadableTime();
  3. ?>
  4. <div class="post" id="post<?=$postData['post_id']?>">
  5. <a class="<?=($postData['new_content'] ? "newPost" : "")?>" href="/?a=post&id=<?=$postData['post_id']?>&t=<?=$postData['topic_id']?>"><?=$postData['post_name']?></a>
  6. <div class="postByline">submitted <?=$humanReadableTime->formatString($postData['timestamp'])?> by <a href="/?a=user&id=<?=$postData['user_id']?>"><?=$postData['user_display_name']?></a> to <a href="?a=topic&id=<?=$postData['topic_id']?>"><?=$postData['topic_display_name']?></a> <span class="commentCount"><a href="/?a=post&id=<?=$postData['post_id']?>&t=<?=$postData['topic_id']?>">comments</a></span>
  7. </div>
  8. </div>