| <?php |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ?> |
| |
| <div class="block"> |
| <h2 class="articleTitle"><span><?php articles::articleTitle() ?></span></h2> |
| <p class="articleDate"><?php tpl::lang('Published on') ?> <?php articles::articleDate() ?></p> |
| <p class="articleVote"><?php articles::articleVoteLabel()?></p> |
| <p class="articleVoteImg"> |
| <?php articles::articleVote('<span class="star1">%s</span> <span class="star2">%s</span> <span class="star3">%s</span> <span class="star4">%s</span> <span class="star5">%s</span>') ; ?> |
| </p> |
| <div class="box"> |
| <div class="inbox articleContent"> |
| <?php articles::articleContent() ?> |
| </div> |
| </div> |
| </div> |
| |
| <?php |
| if (articles::articleOpenComments()) : ?> |
| <p class="addLinkTop"><a href="<?php tpl::url('forums') ?>post.php?tid=<?php articles::articleTid() ?>"><?php tpl::lang('Write a comment') ?></a></p> |
| |
| <div class="block"> |
| <h2><span><a href="#" onclick="openClose('commentsBox',0,''); return false;"><?php articles::articleNumComment() ?></a></span></h2> |
| <div class="box" id="commentsBox"> |
| <div class="inbox"> |
| |
| <?php |
| if (articles::hasComments()) : ?> |
| |
| <?php |
| while ($comments->fetch()) : ?> |
| <div class="comment"><h3 class="comment_infos"><?php tpl::lang('Comment by') ?> <a href="<?php tpl::url('forums') ?>profile.php?id=<?php articles::commentUid() ?>" title="<?php tpl::lang('See profile of') ?> <?php articles::commentAuthor() ?>"><?php articles::commentAuthor() ?></a> - <?php articles::commentDate() ?></h3> |
| <?php articles::commentMessage() ?></div> |
| <?php endwhile; ?> |
| |
| <?php |
| else : ?> |
| <p><?php tpl::lang('No comment') ?></p> |
| <?php endif; ?> |
| </div> |
| </div> |
| </div> |
| |
| <p class="addLinkBottom"><a href="<?php tpl::url('forums') ?>post.php?tid=<?php articles::articleTid() ?>"><?php tpl::lang('Write a comment') ?></a></p> |
| |
| <?php endif; ?> |