AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/awebpaca/visitevirtuelle/administrator/components/com_ovacomposer/views/item/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/awebpaca/visitevirtuelle/administrator/components/com_ovacomposer/views/item/view.html.php
<?php
/**
 * @version     $Id$
 * @author      OvaTheme
 * @package     Joomla.Site
 * @subpackage  com_ovacomposer
 * @copyright   Copyright (C) 2013 OvaTheme. All rights reserved.
 * @license     License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.
 */

defined('_JEXEC') or die;


class OvaComposerViewItem extends JViewLegacy{

	protected $form;
	protected $item;
	protected $state;

	public function display($tpl = null){

		$doc = JFactory::getDocument();
		
		if($this->getLayout()=='edit'){
			// Get Item Id
			$this->id=JRequest::getVar('id',0);
			// Get Form for edit of joomla	
			$this->form = $this->get('Form');
			// Get Item model	
			$model=$this->getModel();

			// Add Style And JS
			$this->url = JURI::root().'administrator/components/com_ovacomposer/assets/';
			$doc->addStyleSheet($this->url.'css/jquery-ui.css');
			$doc->addStyleSheet($this->url.'css/stylesheet.css');

			// Get all element Type of ovacomposer
			$this->item = $model->getOvaType();

			// Get All Module that installed
			$this->listModule = $model->getListModule();

			// Get config of a page in ovacomposer
			$this->configpage = $model->getConfig($this->id);
			if($this->configpage==null){
				$this->configpage = json_decode('{"id":"","class":"","fullwidth":"1"}');
			}else{
				$this->configpage = json_decode($this->configpage);
			}
			
			// Get Design
			$this->design = $model->getDesign($this->id);
			// Get Name
			$this->name="";
			$this->name= $model->getPageName($this->id);
			// Get keyword
			$this->keyword = $model->getPageKeyword($this->id);
			// Get Description
			$this->description = $model->getPageDescription($this->id);
			// Get Robots
			$this->robots = $model->getPageRobots($this->id);
			// Get Author
			$this->author = $model->getPageAuthor($this->id);
		}

		// Display toolbar to action
		JToolbarHelper::title(JText::_('COM_OVACOMPOSER'));
		JToolbarHelper::apply('item.save');
		JToolbarHelper::cancel('item.cancel');

		parent::display($tpl);
	}
	
}

Anon7 - 2022
AnonSec Team