Файловый менеджер - Редактировать - /home/digilove/public_html/plugins/system/ytshortcodes/shortcodes/pricing_tables/shortcode.php
Назад
<?php /* * @package YouTech Shortcodes * @author YouTech Company http://smartaddons.com/ * @copyright Copyright (C) 2015 YouTech Company * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ defined('_JEXEC') or die; $pcolumns = 3; function pricing_tablesYTShortcode($atts, $content = null ){ global $pcolumns,$type; extract(ytshortcode_atts(array( "columns" => '3', "width" => '100%', "style" => '', "type" =>'' ), $atts)); $css =''; $id = uniqid('pricing_tables_').rand().time(); $pcolumns = $columns; $class = 'yt-pricing block row col-' . $columns.' pricing-'.$style; JHtml::stylesheet(JUri::base()."plugins/system/ytshortcodes/shortcodes/pricing_tables/css/pricingtable.css",'text/css',"screen"); $css .= '#'.$id.'{width:'.$width.';}'; $doc = JFactory::getDocument(); $doc->addStyleDeclaration($css); return '<div class="'.$class.'" id="'.$id.'">' . parse_shortcode(str_replace(array("<br/>", "<br>", "<br />"), " ", $content)) . '</div>'; } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0.24 |
proxy
|
phpinfo
|
Настройка