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/components/com_jfusion/views/web/ |
Upload File : |
<?php /** * @package JFusion * @subpackage Views * @author JFusion development team * @copyright Copyright (C) 2008 JFusion. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ // no direct access defined ( '_JEXEC' ) or die ( 'Restricted access' ); /** * load the JFusion framework */ jimport ( 'joomla.application.component.view' ); require_once (JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_jfusion' . DS . 'models' . DS . 'model.frameless.php'); /** * Class that handles the frameless integration * @package JFusion */ class jfusionViewWeb extends JView { /** * @param null $tpl * * @return mixed */ function display($tpl = null) { $jname = JRequest::getVar ( 'Itemid' ); $data = JFusionFrameless::initData($jname,false); $result = JFusionFrameless::displayContent($data); if (!$result) return false; if (isset ( $data->style )) { $this->assignRef ( 'style', $data->style ); } // Output the body if (isset ( $data->body )) { $this->assignRef ( 'body', $data->body ); } parent::display ( $tpl ); return true; } }