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

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

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