Current File : /home/pacjaorg/wpt.pacja.org/km/modules/mod_djclassifieds_user_avatar/tmpl/default.php
<?php
/**
 * @version 1.0
 * @package DJ Classifieds User Avatar Module
 * @subpackage DJ Classifieds Component
 * @copyright Copyright (C) 2019 DJ-Extensions.com LTD, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://design-joomla.eu
 * @author email contact@design-joomla.eu
 * @developer Łukasz Ciastek - lukasz.ciastek@design-joomla.eu
 *
 *
 * DJ Classifieds is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * DJ Classifieds is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with DJ Classifieds. If not, see <http://www.gnu.org/licenses/>.
 *
 */

defined ('_JEXEC') or die('Restricted access');
if($user->id){
	
	$menu_profileedit_link='index.php?option=com_djclassifieds&view=profileedit';
	if($menu_profileedit_itemid){
		$menu_profileedit_link .= '&Itemid='.$menu_profileedit_itemid->id;
	}



	?>
	<div class="djcf_user_avatar">
		<div class="djcf_user_avatar_in">
		<?php 
			if($profile['img']){
				echo '<img class="djcf_user_avatar_img" src="'.JURI::base(true).$profile['img']->path.$profile['img']->name.'_th.'.$profile['img']->ext.'" />';
			}else{
				echo '<img class="djcf_user_avatar_img" style="width:'.$par->get('prof_smallth_width','50').'px" src="'.JURI::base(true).'/'.DJClassifiedsTheme::getImgAssetPath('default_profile.png').'" />';	
			}			
			?>
			<?php if($params->get('change_photo_link','1')) { ?>
			<p>
				<a class="djcf_user_avatar_link" href="<?php echo JRoute::_($menu_profileedit_link); ?>" >
				<?php echo JText::_('MOD_DJCLASSIFIEDS_USER_AVATAR_CHANGE_PHOTO'); ?>
				</a>
			</p>
			<?php } ?>
		</div>
	</div>	
	
<?php } ?>
	 
Site is undergoing maintenance

PACJA Events

Maintenance mode is on

Site will be available soon. Thank you for your patience!