<?php

/**
 *
 * @copyright  2012 izend.org
 * @version    4
 * @link       http://www.izend.org
 */
?>
<?php if ($vote_total > 0 or !$nomore): ?>
<?php if (!$nomore): ?>
<form class="vote" action="" method="post">
<?php else: ?>
<div class="vote">
<?php endif; ?>
<?php if ($vote_total > 0): ?>
<?php require_once 'countformat.php'; ?>
<span class="count" title="<?php echo number_format($vote_total, 0, '.', ','); ?> recommendation<?php if ($vote_total > 1): ?>s<?php endif; ?>"><?php echo count_format($vote_total, '.', ','); ?></span>
<?php endif; ?>
<?php if ($nomore): ?>
<span class="plusone"></span>
<?php else: ?>
<input type="hidden" name="vote_id" value="<?php echo $content_id; ?>" />
<input type="hidden" name="vote_type" value="<?php echo $content_type; ?>" />
<input type="submit" class="plusone" name="vote_plusone" value="+1" title="Recommend" />
<?php endif; ?>
<?php if (!$nomore): ?>
</form>
<?php else: ?>
</div>
<?php endif; ?>
<?php endif; ?>
