Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web236/html/components/com_xmovie/views/main/ |
Current File : //var/www/web236/html/components/com_xmovie/views/main/view.html.php |
<?php /* * @package Joomla 3.0 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * * @component XMovie Component * @copyright Copyright (C) Dana Harris optikool.com * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ defined('_JEXEC') or die('Restricted access'); jimport('joomla.application.component.view'); if (!class_exists('JViewLegacy')) { class_alias('JView', 'JViewLegacy'); } JTable::addIncludePath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_xmovie'.DS.'tables'); class XMovieViewMain extends JViewLegacy { protected $cparams; protected $params; protected $subcat; protected $state; protected $items; protected $category; protected $categories; protected $pagination; protected $div_width; protected $main_itemid; public function display($tpl = null) { $document = JFactory::getDocument(); $app = JFactory::getApplication(); $this->cparams = $this->get('ConfigParams'); $this->params = $app->getParams(); $this->subcat = $this->get('SubCategories'); $this->state = $this->get('State'); $this->items = $this->get('Items'); $this->category = $this->get('Category'); $this->children = $this->get('Children'); $this->parent = $this->get('Parent'); $this->pagination = $this->get('Pagination'); $this->main_itemid = $this->get('MainItemId'); $levels = JFactory::getUser()->getAuthorisedViewLevels(); if ($this->category->access && !in_Array($this->category->access, $levels)) { } $display_layout = $this->params->get('display_view_main'); $document->addStyleSheet(JURI::base(true).'/components/com_xmovie/css/'.$display_layout.'-style.css'); if ($this->params->get('display_view_cat') == 'cat_column' || $this->params->get('display_view_main') == 'column') { $d_layout = 'column'; $document->addStyleSheet(JURI::base(true).'/components/com_xmovie/css/'.$d_layout.'-style.css'); } if ($this->params->get('display_view_cat') == 'cat_list' || $this->params->get('display_view_main') == 'list') { $d_layout = 'list'; $document->addStyleSheet(JURI::base(true).'/components/com_xmovie/css/'.$d_layout.'-style.css'); } $this->div_width_cat = round(12 / intval($this->params->get('cat_num_row', 4))); $this->div_width_mov = round(12 / intval($this->params->get('mov_per_row', 4))); $browser = MovieHelper::getBrowserType(); if ($browser['browser'] == 'IE') { //$this->div_width_cat = $this->div_width_cat - 1; //$this->div_width_mov = $this->div_width_mov - 1; } if ($this->cparams->get('enable_rss')) { $feed = JURI::root()."index.php?option=com_xmovie&view=rss&id=&Itemid={$this->main_itemid}&format=feed"; $rss = array( 'type' => 'application/rss+xml', 'title' => 'RSS 1.0'); $atom = array( 'type' => 'application/atom+xml', 'title' => 'Atom'); $document->addHeadLink(JRoute::_($feed.'&type=rss'), 'alternate', 'rel', $rss); $document->addHeadLink(JRoute::_($feed.'&type=atom'), 'alternate', 'rel', $atom); } parent::display($tpl); } }
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare