NexusLeads Webshell
NexusLeads


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alsaif/public_html/components/com_phocagallery/views/user/tmpl/default.php
<?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');

Joomla\CMS\HTML\HTMLHelper::_('jquery.framework', false);
$document	= JFactory::getDocument();
// jQuery(\'input[type=file]\').click(function(){
$document->addScriptDeclaration(
'jQuery(document).ready(function(){
	jQuery(\'.phfileuploadcheckcat\').click(function(){
	if( !jQuery(\'#filter_catid_image\').val() || jQuery(\'#filter_catid_image\').val() == 0) { 
		alert(\''.JText::_('COM_PHOCAGALLERY_PLEASE_SELECT_CATEGORY', true).'\'); return false;
	} else {
		return true;
	}
})});'
);

echo '<div id="phocagallery-ucp" class="pg-ucp-view'.$this->params->get( 'pageclass_sfx' ).'">'. "\n";

$heading = '';
if ($this->params->get( 'page_title' ) != '') {
	$heading .= $this->params->get( 'page_title' );
}

if ($this->t['showpageheading'] != 0) {
	if ( $heading != '') {
	    echo '<h1>'
	        .$this->escape($heading)
			.'</h1>';
	}
}
$tab = 0;
switch ($this->t['tab']) {
	case 'up':
		$tab = 1;
	break;

	case 'cc':
	default:
		$tab = 0;
	break;
}

echo '<div>&nbsp;</div>';

if ($this->t['displaytabs'] > 0) {
	//echo '<div id="phocagallery-pane">';

	$tabItems = array();
	phocagalleryimport('phocagallery.render.rendertabs');
	$tabs = new PhocaGalleryRenderTabs();
	echo $tabs->startTabs();

	$tabItems[0] = array('id' => 'user', 'title' => JText::_('COM_PHOCAGALLERY_USER'), 'image' => 'user', 'icon' => 'user');
	$tabItems[1] = array('id' => 'category', 'title' => $this->t['categorycreateoredithead'], 'image' => 'folder-small', 'icon' => 'category');
	$tabItems[2] = array('id' => 'subcategories', 'title' => JText::_('COM_PHOCAGALLERY_SUBCATEGORIES'), 'image' => 'subcategories', 'icon' => 'subcategory');
	$tabItems[3] = array('id' => 'images', 'title' => JText::_('COM_PHOCAGALLERY_IMAGES'), 'image' => 'images', 'icon' => 'image');

	$tabs->setActiveTab(isset($tabItems[$this->t['tab']]['id']) ? $tabItems[$this->t['tab']]['id'] : 0);
	echo $tabs->renderTabsHeader($tabItems);

	echo $tabs->startTab('user');
	echo $this->loadTemplate('user');
	echo $tabs->endTab();

	echo $tabs->startTab('category');
	echo $this->loadTemplate('category');
	echo $tabs->endTab();

	echo $tabs->startTab('subcategories');
	echo $this->loadTemplate('subcategories');
	echo $tabs->endTab();

	echo $tabs->startTab('images');
	echo $this->loadTemplate('images');
	echo $tabs->endTab();

	echo $tabs->endTabs();

	/*
	echo Joomla\CMS\HTML\HTMLHelper::_('tabs.start', 'config-tabs-com_phocagallery-user', array('useCookie'=>1, 'startOffset'=> $this->t['tab']));
	echo Joomla\CMS\HTML\HTMLHelper::_('tabs.panel', PhocaGalleryRenderFront::renderIcon('user', $this->t['pi'].'icon-user.png', '') . '&nbsp;'.JText::_('COM_PHOCAGALLERY_USER'), 'user' );
	echo $this->loadTemplate('user');

	echo Joomla\CMS\HTML\HTMLHelper::_('tabs.panel', PhocaGalleryRenderFront::renderIcon('category', $this->t['pi'].'icon-folder-small.png', '') . '&nbsp;'.$this->t['categorycreateoredithead'], 'category' );
	echo $this->loadTemplate('category');

	echo Joomla\CMS\HTML\HTMLHelper::_('tabs.panel', PhocaGalleryRenderFront::renderIcon('subcategory', $this->t['pi'].'icon-subcategories.png', ''). '&nbsp;'.JText::_('COM_PHOCAGALLERY_SUBCATEGORIES'), 'subcategories' );
	echo $this->loadTemplate('subcategories');

	echo Joomla\CMS\HTML\HTMLHelper::_('tabs.panel', PhocaGalleryRenderFront::renderIcon('image', $this->t['pi'].'icon-images.png', ''). '&nbsp;'.JText::_('COM_PHOCAGALLERY_IMAGES'), 'images' );
	echo $this->loadTemplate('images');

	echo Joomla\CMS\HTML\HTMLHelper::_('tabs.end');*/
	//echo '</div>';
}
echo '<div>&nbsp;</div>';
echo PhocaGalleryUtils::getExtInfo();
echo '</div>';
?>

NexusLeads