| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Old Sites/moke/components/com_imageads/views/default/ |
Upload File : |
<?php
/**
* @version $Id: view.html.php
* @package ImageAds
* @author Andrey Sokolnikov <aasfalcon@gmail.com>
* @copyright (C) 2011 Emergination, LLC. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// import view base class
jimport('joomla.application.component.view');
/**
* HTML View class for start page
*
* @package ImageAds
*/
class imageadsViewDefault extends JView
{
/**
* Execute and display a template script
*
* @param string $tpl The name of the template file to parse
*/
function display($tpl = null)
{
$params = JComponentHelper::getParams(IA_OPTION);
$this->assign('link_newad', imageadsHelper::getFullUrl(
'index.php?option='.IA_OPTION.'&view=newad'));
$this->assign('description_html', $params->get('description_html'));
parent::display($tpl);
}
}