<?php
/**
 * @version		$Id: coolfeed.php 100 2012-04-14 17:42:51Z trung3388@gmail.com $
 * @copyright	JoomAvatar.com
 * @author		Nguyen Quang Trung
 * @link		http://joomavatar.com
 * @license		License GNU General Public License version 2 or later
 * @package		Avatar Dream Framework Template
 * @facebook 	http://www.facebook.com/pages/JoomAvatar/120705031368683
 * @twitter	    https://twitter.com/#!/JoomAvatar
 * @support 	http://joomavatar.com/forum/
 */

// No direct access
defined('_JEXEC') or die;

function modChrome_avatarmodule($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
		<div class="avatar-module <?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
		<?php if ($module->showtitle != 0) : ?>
			<h3 class="avatar-module-heading"><span></spam><span><?php echo $module->title; ?></span></span></h3>
		<?php endif; ?>
			<div>
				<?php echo $module->content; ?>
			</div>
		</div>
	<?php endif;
}

