Відвідано: » mod_junewsultra.php
<?php /* * ================================================================ RAXO All-mode * ---------------------------------------------------------------- * @version 1.0 * @package Joomla! 1.5.x * @subpackage mod_raxo_allmode * @copyright Copyright (C) 2009 RAXO Development Group * @license Creative Commons Attribution-Noncommercial No Derivative Works 3.0 License * @link http://raxo.org * ================================================================ */ // no direct access defined('_JEXEC') or die('Restricted access'); // Block name $nametext = trim($params->get('name_text', '')); $namelink = trim($params->get('name_link', '')); // Include the syndicate functions only once require_once (dirname(__FILE__).DS.'helper.php'); $list = modRaxo_Allmode::getList($params); if (!count($list)) { return; } $template = str_replace('.php', '', $params->def('template', 'default.php')); $layoutpath = JModuleHelper::getLayoutPath('mod_raxo_allmode', $template ); if( file_exists($layoutpath) ) { require($layoutpath); } else { echo JText::_("<strong>Template <span style=\"color: green;\">$template</span> do is not found!</strong><br />Please, upload new template to <em>modules/mod_raxo_allmode/tmpl</em> folder or select other template from back-end!"); } ?>