Exemple #1
0
$script='jQuery.noConflict();jQuery(document).ready(function() {
				jQuery( "#ri-grid" ).gridrotator( {
					rows		: '.$rrows.',
					columns		: '.$count.',
					animType	: "'.$animType.'",
					animSpeed	: 1000,
					interval	: '.$interval.',
					preventClick	: '.$preventClick.',
					maxStep		: '.$maxStep.'
				} );
			});';
if(count($rows)>0)
{
	$document->addScriptDeclaration( $script);	
}
$itemId = modAwdwallmembersHelper::getComItemId();
$app = JFactory::getApplication('site');
$config =  $app->getParams('com_awdwall');
$template 		= $config->get('temp', 'default');
$image=$template."51.png";
$integration=$params->get('integration',2);
?>
<div id="ri-grid" class="ri-grid ri-grid-size-2">
    <ul>
<?php
$i=0;
foreach($rows as $row)
{
	$url = JRoute::_('index.php?option=com_comprofiler&view=userprofile&user='******'&Itemid=445', false);
	$avatar =AwdwallHelperUser::getBigAvatar51( $row->user_id);
	$pos = strrpos($avatar, $image);
<?php
/**
 * @package    JomWALL -Joomla
 * @subpackage 
 * @link http://www.AWDsolution.com
 * @license        GNU/GPL http://www.gnu.org/copyleft/gpl.html
 * Shows the avatar of jomwall user
 */
 
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
if(!defined('DS')){
define('DS',DIRECTORY_SEPARATOR);
}
error_reporting(1);

// Include the syndicate functions only once
require_once(JPATH_SITE . DS . 'components'.DS.'com_awdwall'. DS . 'helpers' . DS . 'user.php');
require_once( dirname(__FILE__).DS.'helper.php' );
 
$rows = modAwdwallmembersHelper::getMembers( $params );
require( JModuleHelper::getLayoutPath( 'mod_awdwallmembers' ) );
?>