<?php /* Smarty version 2.6.18, created on 2007-10-12 23:51:25
         compiled from file:/home/virtual/site37/fst/var/www/html/blog/templates/default/comments.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'makeFilename', 'file:/home/virtual/site37/fst/var/www/html/blog/templates/default/comments.tpl', 3, false),array('modifier', 'default', 'file:/home/virtual/site37/fst/var/www/html/blog/templates/default/comments.tpl', 15, false),array('modifier', 'escape', 'file:/home/virtual/site37/fst/var/www/html/blog/templates/default/comments.tpl', 21, false),array('modifier', 'formatTime', 'file:/home/virtual/site37/fst/var/www/html/blog/templates/default/comments.tpl', 24, false),array('modifier', 'sprintf', 'file:/home/virtual/site37/fst/var/www/html/blog/templates/default/comments.tpl', 27, false),array('function', 'cycle', 'file:/home/virtual/site37/fst/var/www/html/blog/templates/default/comments.tpl', 3, false),)), $this); ?>
<?php $_from = $this->_tpl_vars['comments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['comments'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['comments']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['comment']):
        $this->_foreach['comments']['iteration']++;
?>
    <a id="c<?php echo $this->_tpl_vars['comment']['id']; ?>
"></a>
    <div id="serendipity_comment_<?php echo $this->_tpl_vars['comment']['id']; ?>
" class="serendipity_comment serendipity_comment_author_<?php echo serendipity_makeFilename($this->_tpl_vars['comment']['author']); ?>
 <?php if ($this->_tpl_vars['entry']['author'] == $this->_tpl_vars['comment']['author']): ?>serendipity_comment_author_self<?php endif; ?> <?php echo smarty_function_cycle(array('values' => "comment_oddbox, comment_evenbox"), $this);?>
" style="padding-left: <?php echo $this->_tpl_vars['comment']['depth']*20; ?>
px">
        <div class="serendipity_commentBody">
        <?php if ($this->_tpl_vars['comment']['body'] == 'COMMENT_DELETED'): ?>
            <?php echo @COMMENT_IS_DELETED; ?>

        <?php else: ?>
            <?php echo $this->_tpl_vars['comment']['body']; ?>

        <?php endif; ?>
        </div>
        <div class="serendipity_comment_source">
            <a class="comment_source_trace" href="#c<?php echo $this->_tpl_vars['comment']['id']; ?>
">#<?php echo $this->_tpl_vars['comment']['trace']; ?>
</a>
            <span class="comment_source_author">
            <?php if ($this->_tpl_vars['comment']['email']): ?>
                <a href="mailto:<?php echo $this->_tpl_vars['comment']['email']; ?>
"><?php echo smarty_modifier_default(@$this->_tpl_vars['comment']['author'], @ANONYMOUS); ?>
</a>
            <?php else: ?>
                <?php echo smarty_modifier_default(@$this->_tpl_vars['comment']['author'], @ANONYMOUS); ?>

            <?php endif; ?>
            </span>
            <?php if ($this->_tpl_vars['comment']['url']): ?>
                (<a class="comment_source_url" href="<?php echo $this->_tpl_vars['comment']['url']; ?>
" title="<?php echo smarty_modifier_escape($this->_tpl_vars['comment']['url']); ?>
"><?php echo @HOMEPAGE; ?>
</a>)
            <?php endif; ?>
            <?php echo @ON; ?>

            <span class="comment_source_date"><?php echo serendipity_smarty_formatTime($this->_tpl_vars['comment']['timestamp'], @DATE_FORMAT_SHORT); ?>
</span>

            <?php if ($this->_tpl_vars['entry']['is_entry_owner']): ?>
                (<a class="comment_source_ownerlink" href="<?php echo $this->_tpl_vars['comment']['link_delete']; ?>
" onclick="return confirm('<?php echo sprintf(@COMMENT_DELETE_CONFIRM, $this->_tpl_vars['comment']['id'], $this->_tpl_vars['comment']['author']); ?>
');"><?php echo @DELETE; ?>
</a>)
            <?php endif; ?>
            <?php if ($this->_tpl_vars['entry']['allow_comments'] && $this->_tpl_vars['comment']['body'] != 'COMMENT_DELETED'): ?>
                (<a class="comment_reply" href="#serendipity_CommentForm" id="serendipity_reply_<?php echo $this->_tpl_vars['comment']['id']; ?>
" onclick="document.getElementById('serendipity_replyTo').value='<?php echo $this->_tpl_vars['comment']['id']; ?>
'; <?php echo $this->_tpl_vars['comment_onchange']; ?>
"><?php echo @REPLY; ?>
</a>)
                <div id="serendipity_replyform_<?php echo $this->_tpl_vars['comment']['id']; ?>
"></div>
            <?php endif; ?>
        </div>
    </div>
<?php endforeach; else: ?>
    <div class="serendipity_center nocomments"><?php echo @NO_COMMENTS; ?>
</div>
<?php endif; unset($_from); ?>