PageRenderTime 57ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/baser/plugins/blog/views/elements/blog_comment.php

https://github.com/hashing/basercms
PHP | 37 lines | 16 code | 1 blank | 20 comment | 3 complexity | a3cf8b99703b4d4b3e6854614f2fd768 MD5 | raw file
Possible License(s): MIT
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * [PUBLISH] ブログコメント単記事
  5. *
  6. * Ajax でも利用される
  7. *
  8. * PHP versions 5
  9. *
  10. * baserCMS : Based Website Development Project <http://basercms.net>
  11. * Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
  12. *
  13. * @copyright Copyright 2008 - 2012, baserCMS Users Community
  14. * @link http://basercms.net baserCMS Project
  15. * @package baser.plugins.blog.views
  16. * @since baserCMS v 0.1.0
  17. * @version $Revision$
  18. * @modifiedby $LastChangedBy$
  19. * @lastmodified $Date$
  20. * @license http://basercms.net/license/index.html
  21. */
  22. ?>
  23. <?php if(!empty($dbData)): ?>
  24. <?php if($dbData['status']): ?>
  25. <div class="comment" id="Comment<?php echo $dbData['no'] ?>">
  26. <span class="comment-name">
  27. <?php if($dbData['url']): ?>
  28. <?php echo $bcBaser->link($dbData['name'], $dbData['url'], array('target' => '_blank')) ?>
  29. <?php else: ?>
  30. <?php echo $dbData['name'] ?>
  31. <?php endif ?>
  32. </span><br />
  33. <span class="comment-message"><?php echo nl2br($dbData['message']) ?></span>
  34. </div>
  35. <?php endif ?>
  36. <?php endif ?>