Server : LiteSpeed System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : alsaif ( 1057) PHP Version : 7.4.33 Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/alsaif/public_html/components/com_phocagallery/views/user/tmpl/ |
<?php
/*
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
* @component Phoca Gallery
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');
echo '<div id="phocagallery-user">'.$this->t['iepx'];
?><h4><?php echo JText::_( 'COM_PHOCAGALLERY_USER' ); ?></h4>
<table>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_USER');?>:</strong></td>
<td><?php echo $this->t['user']?></td>
</tr>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_USERNAME');?>:</strong></td>
<td><?php echo $this->t['username']?></td>
</tr>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_MAIN_CATEGORY');?>:</strong></td>
<td><?php echo $this->t['usermaincategory']?></td>
</tr>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_NUMBER_OF_SUBCATEGORIES');?>:</strong></td>
<td><?php echo $this->t['usersubcategory'] . ' ('.JText::_('COM_PHOCAGALLERY_MAX').': '.$this->t['usersubcatcount'].', '.JText::_('COM_PHOCAGALLERY_SPACE_LEFT').': '.$this->t['usersubcategoryleft'].')'; ?></td>
</tr>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_NUMBER_OF_IMAGES');?>:</strong></td>
<td><?php echo $this->t['userimages']; ?></td>
</tr>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_USED_SPACE');?>:</strong></td>
<td><?php echo $this->t['userimagesspace']. ' ('.JText::_('COM_PHOCAGALLERY_MAX').': '.$this->t['userimagesmaxspace'].', '.JText::_('COM_PHOCAGALLERY_SPACE_LEFT').': '.$this->t['userimagesspaceleft'].')'; ?></td>
</tr>
</table><?php
if ($this->t['enableuploadavatar'] == 1) {
?><p> </p>
<h4><?php
echo JText::_( 'COM_PHOCAGALLERY_UPLOAD_AVATAR' ).' [ '. JText::_( 'COM_PHOCAGALLERY_MAX_SIZE' ).': '.$this->t['uploadmaxsizeread'].','
.' '.JText::_('COM_PHOCAGALLERY_MAX_RESOLUTION').': '. $this->t['uploadmaxreswidth'].' x '.$this->t['uploadmaxresheight'].' px ]';
?></h4>
<form onsubmit="return OnUploadSubmitUserPG();" action="<?php echo htmlspecialchars($this->t['actionamp']) . $this->session->getName().'='.$this->session->getId(); ?>&<?php echo JSession::getFormToken();?>=1&viewback=user" id="uploadForm" method="post" enctype="multipart/form-data">
<table>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_AVATAR');?>:</strong></td>
<td><?php echo $this->t['useravatarimg']?></td>
</tr>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_APPROVED');?>:</strong></td>
<td><?php
if ($this->t['useravatarapproved'] == 1) {
//echo Joomla\CMS\HTML\HTMLHelper::_('image', $this->t['pi'].'icon-publish.png', JText::_('COM_PHOCAGALLERY_APPROVED'));
echo PhocaGalleryRenderFront::renderIcon('publish', $this->t['pi'].'icon-publish.png', JText::_('COM_PHOCAGALLERY_APPROVED'));
} else {
//echo Joomla\CMS\HTML\HTMLHelper::_('image', $this->t['pi'].'icon-unpublish.png', JText::_('COM_PHOCAGALLERY_NOT_APPROVED'));
echo PhocaGalleryRenderFront::renderIcon('unpublish', $this->t['pi'].'icon-unpublish.png', JText::_('COM_PHOCAGALLERY_NOT_APPROVED'));
}
?></td>
</tr>
<tr>
<td><strong><?php echo JText::_('COM_PHOCAGALLERY_FILENAME');?>:</strong></td>
<td>
<input type="file" id="file-upload" name="Filedata" />
<button class="btn btn-primary" id="file-upload-submit"><i class="icon-upload icon-white"></i> <?php echo JText::_('COM_PHOCAGALLERY_START_UPLOAD') ?></button>
<span id="upload-clear"></span>
</td>
</tr>
</table>
<ul class="upload-queue" id="upload-queue">
<li style="display: none" ></li>
</ul>
<?php echo Joomla\CMS\HTML\HTMLHelper::_( 'form.token' ); ?>
<input type="hidden" name="task" value="uploadavatar"/>
<input type="hidden" name="tab" value="<?php echo $this->t['currenttab']['user'];?>" />
<input type="hidden" name="controller" value="user" />
<input type="hidden" name="viewback" value="user" />
<input type="hidden" name="view" value="user"/>
<input type="hidden" name="Itemid" value="<?php echo $this->itemId ?>"/>
</form>
<?php /*<div id="loading-label-user" style="text-align:center"><?php echo Joomla\CMS\HTML\HTMLHelper::_('image', $this->t['pi'].'icon-switch.gif', '') . ' '. JText::_('COM_PHOCAGALLERY_LOADING'); ?></div>*/
echo '<div id="loading-label-user" style="text-align:center"><div class="ph-lds-ellipsis"><div></div><div></div><div></div><div></div></div><div>'. JText::_('COM_PHOCAGALLERY_LOADING') . '</div></div>';
}
echo '</div>';
?>