%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/root/var/www/html/old/plugins/system/yt/includes/site/elements/ |
Upload File : |
<?php /*------------------------------------------------------------------------ # Yt Mega News II - Version 1.0 # Copyright (C) 2009-2011 The YouTech JSC. All Rights Reserved. # @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Author: The YouTech JSC # Websites: http://www.smartaddons.com -------------------------------------------------------------------------*/ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); if (class_exists('JElement')){ class JElementListThumbnailMode extends JElement { var $_name = 'Yt Thumbnail Modes'; var $_mode = array('none', 'center', 'fill', 'fit', 'stretch'); function fetchElement($name, $value, &$node, $control_name){ $html = ""; if (count($this->_mode)>0){ $html = '<select class="inputbox" id="' . $control_name . $name .'" name="' . $control_name . '[' . $name . ']" style="width:132px;">'; foreach ($this->_mode as $mode){ $selected = $mode == $value ? 'selected="selected"' : ''; $html .= '<option value="' . $mode . '" ' . $selected . '>' . JText::_(ucfirst($mode)) . '</option>'; } $html .= '<select>'; } $html .= "<br>" . "<div class=\"yt_description\" style=\"padding: 5px 0 0 0;\"> <img src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAUUAAIALAAAAAABAAEAAAICVAEAOw==\" alt=\"Youtech Thumbnail Modes\" style=\"background:url(http://www.smartaddons.com/thumbmode.png) no-repeat;width:400px; height: 60px;\"/> </div>"; return $html; } } } if (class_exists('JFormField')){ class JFormFieldListThumbnailMode extends JFormField { var $_name = 'Yt Thumbnail Modes'; var $_mode = array('none', 'center', 'fill', 'fit', 'stretch'); function getInput(){ $html = ""; if (count($this->_mode)>0){ $html = '<select class="inputbox" id="' . $this->id .'" name="' . $this->name . '" style="width:132px;">'; foreach ($this->_mode as $mode){ $selected = $mode == $this->value ? 'selected="selected"' : ''; $html .= '<option value="' . $mode . '" ' . $selected . '>' . JText::_(ucfirst($mode)) . '</option>'; } $html .= '<select>'; } $html .= "<br>" . "<div class=\"yt_description\" style=\"padding: 5px 0 0 0;\"> <img src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAUUAAIALAAAAAABAAEAAAICVAEAOw==\" alt=\"Youtech Thumbnail Modes\" style=\"background:url(http://www.smartaddons.com/thumbmode.png) no-repeat;width:400px; height: 60px;\"/> </div>"; return $html; } } }