Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/icagenda.zip
Назад
PK q�!]wtW� index.htmlnu &1i� <html><body></body></html>PK q�!]E�d<- <- icagenda.phpnu &1i� <?php /** * Plugin Search - iCagenda :: Search *---------------------------------------------------------------------------- * @package com_icagenda * @copyright Copyright (c)2012-2015 Cyril Rezé, Jooml!C - All rights reserved * @license GNU General Public License version 3 or later; see LICENSE.txt * @author Cyril Rezé (Lyr!C) * @link http://www.joomlic.com * * @update 3.4.2 2015-01-31 * @version 1.4 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *---------------------------------------------------------------------------- */ // No direct access to this file defined('_JEXEC') or die( 'Restricted access' ); // Require the component's router file require_once JPATH_SITE . '/components/com_icagenda/router.php'; /** * All functions need to get wrapped in class PlgSearchiCagenda */ class PlgSearchiCagenda extends JPlugin { /** * Constructor * * @access protected * @param object $subject The object to observe * @param array $config An array that holds the plugin configuration * @since 1.0 */ public function __construct(& $subject, $config) { parent::__construct($subject, $config); $this->loadLanguage(); } // Define a function to return an array of search areas. // Note the value of the array key is normally a language string function onContentSearchAreas() { $search_name = $this->params->get('search_name', JText::_('ICAGENDA_PLG_SEARCH_SECTION_EVENTS') ); if ($search_name == 'ICAGENDA_PLG_SEARCH_SECTION_EVENTS') $search_name = 'Events'; return array('icagenda' => $search_name); } // The real function has to be created. The database connection should be made. // The function will be closed with an } at the end of the file. /** * The sql must return the following fields that are used in a common display * routine: href, title, section, created, text, browsernav * * @param string Target search string * @param string mathcing option, exact|any|all * @param string ordering option, newest|oldest|popular|alpha|category * @param mixed An array if the search it to be restricted to areas, null if search all */ function onContentSearch( $text, $phrase='', $ordering='', $areas=null ) { $db = JFactory::getDBO(); $app = JFactory::getApplication(); $tag = JFactory::getLanguage()->getTag(); $user = JFactory::getUser(); $groups = implode(',', $user->getAuthorisedViewLevels()); // If the array is not correct, return it: if (is_array( $areas )) { if (!array_intersect( $areas, array_keys( $this->onContentSearchAreas() ) )) { return array(); } } // Now retrieve the plugin parameters $search_name = $this->params->get('search_name', JText::_('ICAGENDA_PLG_SEARCH_SECTION_EVENTS') ); if ($search_name == 'ICAGENDA_PLG_SEARCH_SECTION_EVENTS') $search_name = 'Events'; $search_limit = $this->params->get('search_limit', '50' ); $search_target = $this->params->get('search_target', '0' ); // Use the PHP function trim to delete spaces in front of or at the back of the searching terms $text = trim( $text ); // Return Array when nothing was filled in. if ($text == '') { return array(); } // Database part. $wheres = array(); switch ($phrase) { // Search exact case 'exact': $text = $db->Quote( '%'.$db->escape( $text, true ).'%', false ); $wheres2 = array(); $wheres2[] = 'LOWER(e.title) LIKE '.$text; $wheres2[] = 'LOWER(e.shortdesc) LIKE '.$text; $wheres2[] = 'LOWER(e.desc) LIKE '.$text; $wheres2[] = 'LOWER(e.metadesc) LIKE '.$text; $wheres2[] = 'LOWER(e.place) LIKE '.$text; $wheres2[] = 'LOWER(e.city) LIKE '.$text; $wheres2[] = 'LOWER(e.country) LIKE '.$text; $wheres2[] = 'LOWER(e.address) LIKE '.$text; $wheres2[] = 'LOWER(c.title) LIKE '.$text; $where = '(' . implode( ') OR (', $wheres2 ) . ')'; break; // Search all or any case 'all': case 'any': // Set default default: $words = explode( ' ', $text ); $wheres = array(); foreach ($words as $word) { $word = $db->Quote( '%'.$db->escape( $word, true ).'%', false ); $wheres2 = array(); $wheres2[] = 'LOWER(e.title) LIKE '.$word; $wheres2[] = 'LOWER(e.shortdesc) LIKE '.$word; $wheres2[] = 'LOWER(e.desc) LIKE '.$word; $wheres2[] = 'LOWER(e.metadesc) LIKE '.$word; $wheres2[] = 'LOWER(e.place) LIKE '.$word; $wheres2[] = 'LOWER(e.city) LIKE '.$word; $wheres2[] = 'LOWER(e.country) LIKE '.$word; $wheres2[] = 'LOWER(e.address) LIKE '.$word; $wheres2[] = 'LOWER(c.title) LIKE '.$word; $wheres[] = implode( ' OR ', $wheres2 ); } $where = '(' . implode( ($phrase == 'all' ? ') AND (' : ') OR ('), $wheres ) . ')'; break; } // Ordering of the results switch ( $ordering ) { //Alphabetic, ascending case 'alpha': $order = 'e.title ASC'; break; // Oldest first case 'oldest': $order = 'e.next ASC'; break; // Popular first case 'popular': // Newest first case 'newest': $order = 'e.next DESC'; break; // Category case 'category': $order = 'c.title ASC'; break; // Default setting: alphabetic, ascending default: $order = 'e.title ASC'; } // Section $section = $search_name; // List of Events menu Itemid Request $iC_list_menus = self::iClistMenuItemsInfo(); $nb_menu = count($iC_list_menus); $nolink = $nb_menu ? false : true; // Get User groups allowed to approve event submitted $userID = $user->id; $userLevels = $user->getAuthorisedViewLevels(); if (version_compare(JVERSION, '3.0', 'lt')) { $userGroups = $user->getAuthorisedGroups(); } else { $userGroups = $user->groups; } $groupid = JComponentHelper::getParams('com_icagenda')->get('approvalGroups', array("8")); jimport( 'joomla.access.access' ); $adminUsersArray = array(); foreach ($groupid AS $gp) { $adminUsers = JAccess::getUsersByGroup($gp, false); $adminUsersArray = array_merge($adminUsersArray, $adminUsers); } // The database query; $query = $db->getQuery(true); $query->select('e.title AS title, e.created AS created, e.next AS next, e.displaytime AS displaytime, e.desc AS text, e.id AS eventID, e.alias AS alias, c.id AS catid, e.language AS language'); $query->select($query->concatenate(array($db->Quote($section), 'c.title'), " / ").' AS section'); $query->select('"'.$search_target.'" AS browsernav'); $query->from('#__icagenda_events AS e'); $query->innerJoin('#__icagenda_category as c ON c.id = e.catid'); $query->where('c.state = 1'); // START Hack for Upcoming Filtering // $datetime_today = JHtml::date('now', 'Y-m-d H:i'); // Joomla Time Zone // $query->where('e.next >= ' . $db->q($datetime_today)); // END Hack for Upcoming Filtering $query->where('('. $where .')' . 'AND e.state = 1 AND e.access IN ('. $groups .') '); // if user logged-in has no Approval Rights, not approved events won't be displayed. if (!in_array($userID, $adminUsersArray) AND !in_array('8', $userGroups)) { $query->where(' e.approval <> 1 '); } // Filter by language. if ($app->isSite() && JLanguageMultilang::isEnabled()) { $query->where('e.language in (' . $db->quote($tag) . ',' . $db->quote('*') . ')'); } $query->order($order); // Set query $db->setQuery( $query, 0, $search_limit ); $iCevents = $db->loadObjectList(); // $limit -= count($list); // The 'output' of the displayed link. if (isset($iCevents)) { foreach($iCevents as $key => $iCevent) { // set menu link for each event (itemID) depending of category and/or language $onecat = $multicat = '0'; $link_one = $link_multi = ''; $item_catid = $iCevent->catid; $array_menus_cat_not_set = array(); foreach ($iC_list_menus AS $iCm) { $value = explode('-', $iCm); $iCmenu_id = $value['0']; $iCmenu_mcatid = $value['1']; $iCmenu_lang = $value['2']; $iCmenu_mcatid_array = !is_array ($iCmenu_mcatid) ? explode(',', $iCmenu_mcatid) : ''; if ($iCmenu_mcatid && $iCmenu_lang == $iCevent->language) { $nb_cat_filter = count($iCmenu_mcatid_array); for ($i = $iCevent->catid; in_array($i, $iCmenu_mcatid_array); $i++) { if ($nb_cat_filter == 1) { $link_one = $iCmenu_id; } elseif ($nb_cat_filter > 1) { $link_multi = $iCmenu_id; } } } else { array_push($array_menus_cat_not_set, $iCmenu_id); } } if ($link_one) { $linkid = $link_one; } elseif ($link_multi) { $linkid = $link_multi; } else { $linkid = count($array_menus_cat_not_set) ? $array_menus_cat_not_set['0'] : null; } $event_slug = empty($iCevent->alias) ? $iCevent->eventID : $iCevent->eventID . ':' . $iCevent->alias; $date_next = JHtml::date($iCevent->next, JText::_( 'DATE_FORMAT_LC3' ), null); $time_next = JHtml::date($iCevent->next, 'H:i', null); $display_time = $iCevent->displaytime ? ' ' . $time_next : ''; $iCevents[$key]->title = $iCevent->title . ' (' . $date_next . $display_time . ')'; $iCevents[$key]->href = 'index.php?option=com_icagenda&view=list&layout=event&id=' . $event_slug . '&Itemid=' . $linkid; } } // If menu item iCagenda list of events exists, returns events found. if ($nolink) { // Displays a warning that no menu item to the list of events is published. $app->enqueueMessage(JText::_( 'ICAGENDA_PLG_SEARCH_ALERT_NO_ICAGENDA_MENUITEM' ), 'warning'); } else { //Return the search results in an array return $iCevents; } } /** * Function to return all published 'List of Events' menu items * * @access public static * @param none * @return array of menu item info this way : Itemid-mcatid-lang * * @since 1.2 */ static public function iClistMenuItemsInfo() { $app = JFactory::getApplication(); // List all menu items linking to list of events $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select('m.title, m.published, m.id, m.params, m.language') ->from('`#__menu` AS m') ->where( "(link = 'index.php?option=com_icagenda&view=list') AND (published = 1)" ); $db->setQuery($query); $link = $db->loadObjectList(); $iC_list_menus = array(); foreach ($link as $iClistMenu) { $menuitemid = $iClistMenu->id; $menulang = $iClistMenu->language; if ($menuitemid) { $menu = $app->getMenu(); $menuparams = $menu->getParams( $menuitemid ); } $mcatid = $menuparams->get('mcatid'); if (is_array($mcatid)) { $mcatid = implode(',', $mcatid); } array_push($iC_list_menus, $menuitemid . '-' . $mcatid . '-' . $menulang); } return $iC_list_menus; } } PK q�!]��<� � icagenda.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?> <extension version="2.5" type="plugin" group="search" method="upgrade"> <name>ICAGENDA_PLG_SEARCH</name> <creationDate>2015-01-31</creationDate> <author>Jooml!C</author> <authorEmail>info@joomlic.com</authorEmail> <authorUrl>www.joomlic.com</authorUrl> <copyright>Copyright (c)2012-2015 Cyril Rezé, Jooml!C - All rights reserved</copyright> <license>GNU General Public License version 3 or later; see LICENSE.txt</license> <version>1.4</version> <description>ICAGENDA_PLG_SEARCH_XML_DESCRIPTION</description> <files> <filename plugin="icagenda">icagenda.php</filename> <filename>index.html</filename> </files> <languages> <language tag="en-GB">language/en-GB/en-GB.plg_search_icagenda.ini</language> <language tag="en-GB">language/en-GB/en-GB.plg_search_icagenda.sys.ini</language> <language tag="fr-FR">language/fr-FR/fr-FR.plg_search_icagenda.ini</language> <language tag="fr-FR">language/fr-FR/fr-FR.plg_search_icagenda.sys.ini</language> <language tag="it-IT">language/it-IT/it-IT.plg_search_icagenda.ini</language> <language tag="it-IT">language/it-IT/it-IT.plg_search_icagenda.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="search_name" type="text" default="" label="ICAGENDA_PLG_SEARCH_NAME_LABEL" description="ICAGENDA_PLG_SEARCH_NAME_DESC" /> <field name="search_limit" type="text" default="50" label="JFIELD_PLG_SEARCH_SEARCHLIMIT_LABEL" description="JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC" size="5" /> <field name="search_target" type="list" default="0" label="ICAGENDA_PLG_SEARCH_TARGET_LABEL" description="ICAGENDA_PLG_SEARCH_TARGET_DESC" > <option value="0">JBROWSERTARGET_PARENT</option> <option value="1">JBROWSERTARGET_NEW</option> </field> </fieldset> </fields> </config> </extension> PK ��!]i�*�< < view.html.phpnu &1i� <?php /** *------------------------------------------------------------------------------ * iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x *------------------------------------------------------------------------------ * @package com_icagenda * @copyright Copyright (c)2012-2015 Cyril Rezé, Jooml!C - All rights reserved * * @license GNU General Public License version 3 or later; see LICENSE.txt * @author Cyril Rezé (Lyr!C) * @link http://www.joomlic.com * * @version 3.5.6 2015-06-27 * @since 1.0 *------------------------------------------------------------------------------ */ // No direct access to this file defined('_JEXEC') or die(); jimport( 'joomla.filesystem.path' ); // Access check. if (JFactory::getUser()->authorise('core.admin', 'com_icagenda')) { JToolBarHelper::preferences('com_icagenda'); } /** * View class for a list of iCagenda. */ class iCagendaViewicagenda extends JViewLegacy { /** * Display the view * @since 1.0 */ public function display($tpl = null) { $document = JFactory::getDocument(); // Joomla 2.5 if (version_compare(JVERSION, '3.0', 'lt')) { JHtml::stylesheet('com_icagenda/template.j25.css', false, true); JHtml::stylesheet('com_icagenda/icagenda-back.j25.css', false, true); JHTML::_('behavior.tooltip'); JHTML::_('behavior.modal'); $document->addScript( JURI::root( true ) . '/media/com_icagenda/js/template.js' ); jimport( 'joomla.filesystem.path' ); } // Joomla 3 else { JHtml::_('behavior.modal'); } // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); parent::display($tpl); } /** * Add the page title and toolbar. * * @since 1.0 */ protected function addToolbar() { require_once JPATH_COMPONENT . '/helpers/icagenda.php'; $document = JFactory::getDocument(); $app = JFactory::getApplication(); $state = $this->get('State'); $canDo = iCagendaHelper::getActions($state->get('filter.category_id')); //JToolBarHelper::title(JText::_('COM_ICAGENDA_TITLE_ICAGENDA_IMAGE')); // Set Title if (version_compare(JVERSION, '3.0', 'lt')) { JToolBarHelper::title(JText::_('COM_ICAGENDA_TITLE_ICAGENDA_IMAGE')); } else { $logo_icagenda_url = '../media/com_icagenda/images/iconicagenda36.png'; if (file_exists($logo_icagenda_url)) { $logo_icagenda = '<img src="' . $logo_icagenda_url . '" height="36px" alt="iCagenda" />'; } else { $logo_icagenda = 'iCagenda :: ' . JText::_('COM_ICAGENDA_TITLE_ICAGENDA') . ''; } JToolBarHelper::title($logo_icagenda, 'icagenda'); } $icTitle = JText::_('COM_ICAGENDA_TITLE_ICAGENDA'); $sitename = $app->getCfg('sitename'); $title = $app->getCfg('sitename') . ' - ' . JText::_('JADMINISTRATION') . ' - iCagenda: ' . $icTitle; $document->setTitle($title); } /** * Save iCagenda Params * * Update Database * * @since 3.3.8 */ public function saveDefault($var, $name, $value) { if ($var) { $params[$name] = $value; $this->updateParams( $params ); } } /** * Update iCagenda Params * * Update Database * * @since 3.3.8 */ protected function updateParams($params_array) { // read the existing component value(s) $db = JFactory::getDbo(); $db->setQuery('SELECT params FROM #__icagenda WHERE id = "3"'); $params = json_decode( $db->loadResult(), true ); // add the new variable(s) to the existing one(s) foreach ( $params_array as $name => $value ) { $params[ (string) $name ] = $value; } // store the combined new and existing values back as a JSON string $paramsString = json_encode( $params ); $db->setQuery('UPDATE #__icagenda SET params = ' . $db->quote( $paramsString ) . ' WHERE id = "3"' ); $db->query(); } } PK ��!]�o�t � � tmpl/default.phpnu &1i� <?php /** *------------------------------------------------------------------------------ * iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x *------------------------------------------------------------------------------ * @package com_icagenda * @copyright Copyright (c)2012-2015 Cyril Rezé, Jooml!C - All rights reserved * * @license GNU General Public License version 3 or later; see LICENSE.txt * @author Cyril Rezé (Lyr!C) * @link http://www.joomlic.com * * @version 3.5.10 2015-08-15 * @since 1.0 *------------------------------------------------------------------------------ */ // No direct access to this file defined('_JEXEC') or die(); // Check Theme Packs Compatibility (to be changed to a little note button with modal) //if (class_exists('icagendaTheme')) icagendaTheme::checkThemePacks(); $user = JFactory::getUser(); $userId = $user->get('id'); $params = JComponentHelper::getParams( 'com_icagenda' ); $version = $params->get('version'); $icsys = $params->get('icsys'); $translator = JText::_('COM_ICAGENDA_TRANSLATOR'); if (version_compare(phpversion(), '5.3.10', '<')) { $JoomlaRecommended = '5.4 +'; // Get Application $app = JFactory::getApplication(); $icon_warning = (version_compare(JVERSION, '3.0', 'lt')) ? '' : '<span class="icon-warning"></span>'; $php_warning_msg = '<strong> ' . JText::sprintf('COM_ICAGENDA_YOUR_PHP_VERSION_IS', phpversion()) . '</strong><br />'; $php_warning_msg.= JText::sprintf('COM_ICAGENDA_PHP_VERSION_JOOMLA_RECOMMENDED', $JoomlaRecommended); $php_warning_msg.= ' ( ' . JText::_('IC_READMORE') . ': '; $php_warning_msg.= '<a href="http://www.joomla.org/technical-requirements.html"'; $php_warning_msg.= ' target="_blank">http://www.joomla.org/technical-requirements.html</a> )<br />'; $php_warning_msg.= JText::_('COM_ICAGENDA_PHP_VERSION_ICAGENDA_RECOMMENDATION'); $app->enqueueMessage( $icon_warning . $php_warning_msg, 'error' ); } ?> <div id="j-main-container"> <?php JHtml::_('behavior.modal'); ?> <!-- Start Content --> <div class="row-fluid icpanel"> <div class="span12"> <div class="row-fluid"> <div class="span6"> <div class="row-fluid"> <?php if ( $user->authorise('icagenda.access.categories', 'com_icagenda') ) : ?> <div class="span6" style="text-align: center"> <table> <tbody> <tr> <td colspan="2"> <h3><?php echo JText::_('COM_ICAGENDA_TITLE_CATEGORIES'); ?></h3> </td> </tr> <tr> <td> <div class="icon right"> <a href="index.php?option=com_icagenda&view=categories"> <?php if ($user->authorise('icagenda.access.categories', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/all_cats-48.png"> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_CATEGORY' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/all_cats-48.png"> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_CATEGORY' ); ?> </span> <?php endif; ?> </a> </div> </td> <td> <div class="icon left"> <a href="index.php?option=com_icagenda&view=category&layout=edit"> <?php if ($user->authorise('icagenda.access.categories', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/new_cat-48.png"> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_NEW_CATEGORY' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/new_cat-48.png"> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_NEW_CATEGORY' ); ?> </span> <?php endif; ?> </a> </div> </td> </tr> </tbody> </table> </div> <?php endif; ?> <?php if ( $user->authorise('icagenda.access.events', 'com_icagenda') ) : ?> <div class="span6" style="text-align: center"> <table> <tbody> <tr> <td colspan="2"> <h3><?php echo JText::_('COM_ICAGENDA_TITLE_EVENTS'); ?></h3> </td> </tr> <tr> <td> <div class="icon right"> <a href="index.php?option=com_icagenda&view=events"> <?php if ($user->authorise('icagenda.access.events', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/all_events-48.png"> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_EVENTS' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/all_events-48.png"> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_EVENTS' ); ?> </span> <?php endif; ?> </a> </div> </td> <td> <div class="icon left"> <a href="index.php?option=com_icagenda&view=event&layout=edit"> <?php if ($user->authorise('icagenda.access.events', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/new_event-48.png"> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_NEW_EVENT' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/new_event-48.png"> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_NEW_EVENT' ); ?> </span> <?php endif; ?> </a> </div> </td> </tr> </tbody> </table> </div> <?php endif; ?> </div> <div class="row-fluid"> <?php if ( $user->authorise('icagenda.access.registrations', 'com_icagenda') || $user->authorise('icagenda.access.newsletter', 'com_icagenda') ) : ?> <div class="span6" style="text-align: center"> <table> <tbody> <tr> <td colspan="2"> <h3><?php echo JText::_('COM_ICAGENDA_TITLE_REGISTRATION'); ?></h3> </td> </tr> <tr> <td> <div class="icon right"> <a href="index.php?option=com_icagenda&view=registrations"> <?php if ($user->authorise('icagenda.access.registrations', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/registration-48.png"> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_REGISTRATION' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/registration-48.png"> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_REGISTRATION' ); ?> </span> <?php endif; ?> </a> </div> </td> <td> <div class="icon left"> <a href="index.php?option=com_icagenda&view=mail&layout=edit"> <?php if ($user->authorise('icagenda.access.newsletter', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/newsletter-48.png"> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_NEWSLETTER' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/newsletter-48.png"> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_NEWSLETTER' ); ?> </span> <?php endif; ?> </a> </div> </td> </tr> </tbody> </table> </div> <?php endif; ?> <?php if ( $user->authorise('icagenda.access.customfields', 'com_icagenda') || $user->authorise('icagenda.access.features', 'com_icagenda') ) : ?> <div class="span6" style="text-align: center"> <table> <tbody> <tr> <td colspan="2"> <h3><?php echo JText::_('COM_ICAGENDA_ADDITIONALS_LABEL'); ?></h3> </td> </tr> <tr> <td> <div class="icon right"> <a href="index.php?option=com_icagenda&view=customfields"> <?php if ($user->authorise('icagenda.access.customfields', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/customfields-48.png" /> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_CUSTOMFIELDS' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/customfields-48.png" /> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_CUSTOMFIELDS' ); ?> </span> <?php endif; ?> </a> </div> </td> <td> <div class="icon left"> <a href="index.php?option=com_icagenda&view=features"> <?php if ($user->authorise('icagenda.access.features', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/features-48.png"> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_FEATURES' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/features-48.png"> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_FEATURES' ); ?> </span> <?php endif; ?> </a> </div> </td> </tr> </tbody> </table> </div> <?php endif; ?> </div> <div class="row-fluid"> <?php if ( $user->authorise('core.admin', 'com_icagenda') || $user->authorise('icagenda.access.themes', 'com_icagenda') ) : ?> <div class="span6" style="text-align: center"> <table> <tbody> <tr> <td colspan="2"> <h3><?php echo JText::_('COM_ICAGENDA_GLOBAL_PARAMS_LABEL'); ?></h3> </td> </tr> <tr> <td> <div class="icon right"> <?php if(version_compare(JVERSION, '3.0', 'ge')) : ?> <a href="index.php?option=com_config&view=component&component=com_icagenda&path=&return=<?php echo base64_encode(JURI::getInstance()->toString()) ?>"> <?php else : ?> <a href="index.php?option=com_config&view=component&component=com_icagenda&path=&tmpl=component" class="modal" rel="{handler: 'iframe', size: {x: 870, y: 550}}"> <?php endif; ?> <?php if ($user->authorise('core.admin', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/global_options-48.png"> <span class="iconText"> <?php echo JText::_( 'JTOOLBAR_OPTIONS' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/global_options-48.png"> <span class="iconText denied"> <?php echo JText::_( 'JTOOLBAR_OPTIONS' ); ?> </span> <?php endif; ?> </a> </div> </td> <td> <div class="icon left"> <a href="index.php?option=com_icagenda&view=themes"> <?php if ($user->authorise('icagenda.access.themes', 'com_icagenda')) : ?> <img alt="" src="../media/com_icagenda/images/themes-48.png"> <span class="iconText"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_THEMES' ); ?> </span> <?php else : ?> <img alt="<?php echo JText::_( 'JERROR_ALERTNOAUTHOR' ); ?>" src="../media/com_icagenda/images/panel_denied/themes-48.png"> <span class="iconText denied"> <?php echo JText::_( 'COM_ICAGENDA_PANEL_THEMES' ); ?> </span> <?php endif; ?> </a> </div> </td> </tr> </tbody> </table> </div> <?php endif; ?> <?php if ( $user->authorise('core.admin', 'com_icagenda') ) : ?> <div class="span6" style="text-align: center"> <table> <tbody> <tr> <td colspan="2"> <h3><?php echo JText::_('COM_ICAGENDA_PANEL_UPDATE_AND_INFOS'); ?></h3> </td> </tr> <tr> <td> <div class="icon right"> <a href="index.php?option=com_icagenda&view=info"> <img src="../media/com_icagenda/images/info-48.png"> <span class="iconText"><?php echo JText::_( 'COM_ICAGENDA_INFO' ); ?></span> </a> </div> </td> <td class="left"> <?php echo LiveUpdate::getIcon(); ?> </td> </tr> </tbody> </table> </div> <?php endif; ?> </div> <?php if ($icsys == 'core') : ?> <div class="row-fluid"> <div class="span12"> <div class="alert alert-block alert-info"> <?php if(version_compare(JVERSION, '3.0', 'ge')) : ?> <button type="button" class="close" data-dismiss="alert">×</button> <?php endif; ?> <p> </p> <div style="font-weight: bold; color: #555555;"> <p> <?php echo JText::_('COM_ICAGENDA_PANEL_FREE_VERSION') ?><br/> <?php echo JText::_('COM_ICAGENDA_PANEL_PRO_VERSION') ?>: <?php echo JText::_('COM_ICAGENDA_PANEL_PRO_MODULE_IC_EVENT_LIST') ?> </p> </div> <div style="display:none;"> <div id="loadDiv" style="background-color:#F4F4F4;"> <table style="width:600px; height:350px;" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="text-align: center; height:140px;" rowspan="1" colspan="3"> <img src="../media/com_icagenda/images/iconicagenda48.png" alt="" /> </td> </tr> <tr> <td style="text-align: right; width: 280px; height:60px;"> <form action="https://secure.shareit.com/shareit/checkout.html?PRODUCT[300582128]=1&stylefrom=300582128" method="post" target="_blank"> <input type="submit" class="btn" width="120px" value="<?php echo JText::_( 'COM_ICAGENDA_PURCHASE_1_YEAR' ); ?>" /> </form> </td> <td style="width: 40px; height:60px;"> </td> <td style="width: 280px; height:60px;"> <form action="https://secure.shareit.com/shareit/checkout.html?PRODUCT[300579672]=1&stylefrom=300579672" method="post" target="_blank"> <input type="submit" class="btn" value="<?php echo JText::_( 'COM_ICAGENDA_PURCHASE_UNLIMITED' ); ?>" /> </form> </td> </tr> <tr> <td style="text-align: center; height:50px;" colspan="3"> <a href="http://www.joomlic.com/extensions/icagenda" alt ="<?php echo JText::_( 'COM_ICAGENDA_INFO' ); ?>" target="_blank"><?php echo JText::_( 'COM_ICAGENDA_VERSIONS_COMPARISON' ); ?></a> </td> </tr> <tr> <td style="text-align: center;" rowspan="1" colspan="3"> <div> <p> <img src="../media/com_icagenda/images/payment/icon_cca.gif" alt="" border="0"/> <img src="../media/com_icagenda/images/payment/icon_pal.gif" alt="" border="0"/> <img src="../media/com_icagenda/images/payment/icon_wtr.gif" alt="" border="0"/> <img src="../media/com_icagenda/images/payment/icon_chk.gif" alt="" border="0"/> </p> </div> <div> <img src="../media/com_icagenda/images/payment/shareit_ani.gif" alt="" border="0"/> </div> </td> </tr> </tbody> </table> </div> </div> <p> </p> <div> <p style="text-align: center;"> <a href="#loadDiv" class="modal" rel="{size: {x: 600, y: 350}}"> <input type="submit" class="btn" value="<?php echo JText::_( 'COM_ICAGENDA_PURCHASE' ); ?>" /> </a> <!--a href="http://www.joomlic.com/extensions/icagenda" alt ="<?php echo JText::_( 'COM_ICAGENDA_INFO' ); ?>" target="_blank"> <?php echo JText::_( 'COM_ICAGENDA_INFO' ); ?> </a--> </p> <p style="text-align: center; font-size:11px;"> <a href="http://www.joomlic.com/extensions/icagenda" alt ="<?php echo JText::_( 'COM_ICAGENDA_INFO' ); ?>" target="_blank"><?php echo JText::_( 'COM_ICAGENDA_VERSIONS_COMPARISON' ); ?></a> </p> </div> </div> </div><!--end span12--> </div><!--end row--> <?php endif; ?> </div><!--end span 6--> <div class="span1"> </div><!--end span 1--> <div class="span5"> <div class="span12"> <?php $db = JFactory::getDbo(); $query = $db->getQuery(true); //$query->select('version AS icv, releasedate AS icd')->from('#__icagenda')->where('id = 1'); //$query->select('version AS icv, releasedate AS icd')->from('#__icagenda')->where('id = 2'); $query->select('version AS icv, releasedate AS icd, params AS icp')->from('#__icagenda')->where('id = 3'); $db->setQuery($query); $release = $db->loadObject()->icv; $date = $db->loadObject()->icd; $icp = json_decode( $db->loadObject()->icp, true ); if ($icsys == 'pro') { $app = JFactory::getApplication(); $welcome_pro = $app->input->get('welcome', ''); // Get Current URL $thisURL = JURI::getInstance()->toString(); $return_cp = 'index.php?option=com_icagenda'; if ($welcome_pro == -1) { $this->saveDefault($welcome_pro, 'msg_procp', '-1'); $app->enqueueMessage(JText::_('COM_ICAGENDA_WELCOME_HIDE_SUCCESS'), 'message'); $app->redirect($return_cp); } elseif ($welcome_pro == 1) { $this->saveDefault($welcome_pro, 'msg_procp', '1'); // $app->enqueueMessage(JText::_('COM_ICAGENDA_WELCOME_SHOW_SUCCESS'), 'message'); $app->redirect($return_cp); } $options_link = version_compare(JVERSION, '3.0', 'ge') ? ' : <a href="index.php?option=com_config&view=component&component=com_icagenda&path=&return=' . base64_encode(JURI::getInstance()->toString()) . '#pro">' . JText::_('JTOOLBAR_OPTIONS') . '</a>' : '.'; ?> <?php if ($icp['msg_procp'] == -1) : ?> <a class="hasTooltip" href="<?php echo JRoute::_($thisURL.'&welcome=1') ?>" data-original-title="Clear" data-toggle="tooltip" title="<?php echo JText::_('COM_ICAGENDA_WELCOME_RELOAD_DESC') ?>"> <div class="btn btn-mini"><?php echo JText::_('COM_ICAGENDA_WELCOME_RELOAD'); ?></div> </a> <?php else : ?> <?php $app->enqueueMessage('<h2>' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME', 'iCagenda PRO') . '</h2>' . '<p>' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME_PRO_ACCOUNT_INFO', 'iCagenda PRO', '<a href="http://pro.joomlic.com" target="_blank">pro.joomlic.com</a>') . '</p>' . '<p>' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME_PRO_NOTIFICATION_EMAILS', 'info(at)joomlic.com') . '</p>' . '<p>' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME_PRO_NOTIFICATION_EMAILS_FIRST', 'Pro JoomliC') . '<br />' . JText::_('COM_ICAGENDA_PRO_WELCOME_PRO_NOTIFICATION_EMAILS_SECOND') . '<br />' . JText::_('COM_ICAGENDA_PRO_WELCOME_PRO_CHECK_YOUR_EMAIL') . '</p>' . '<p>' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME_PRO_FIRST_LOGIN_1', '<a href="http://pro.joomlic.com" target="_blank">pro.joomlic.com</a>') . '<br />' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME_PRO_FIRST_LOGIN_2', '<a href="http://pro.joomlic.com" target="_blank">pro.joomlic.com</a>') . '<br />' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME_PRO_OPTIONS', $options_link) . '</p>' . '<p>' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME_PRO_ID_1', 'iCagenda PRO') . '</p>' . '<p>' . JText::_('COM_ICAGENDA_PRO_WELCOME_CONTACT') . '<br />' . JText::sprintf('COM_ICAGENDA_PRO_WELCOME_SUPPORT', '<a href="http://pro.joomlic.com/support" target="_blank">Pro Ticket System</a>') . '</p>' . '<p><small><strong>' . JText::_('COM_ICAGENDA_PRO_WELCOME_NOTE') . '</strong></small></p>' . '<div style="text-align:center">' . '<a class="hasTooltip" href="' . JRoute::_($thisURL.'&welcome=-1') . '" data-original-title="Clear" data-toggle="tooltip" title="' . JText::_('COM_ICAGENDA_WELCOME_SHOW_SUCCESS_DESC') . '">' . '<div class="btn btn-inverse btn-small">' . JText::_('IC_HIDE_THIS_MESSAGE') . '</div>' . '</a>' . '</div>' , 'message'); ?> <?php endif; ?> <?php } ?> <div style="float:right; padding:0px 0px 0px 20px;"> <img src="../media/com_icagenda/images/logo_icagenda.png" alt="logo_icagenda" /> </div> <div> <h2 style="font-size:2em;"> <b style="color:#cc0000;">iC</b><b style="color: #666666;">agenda<sup style="font-size:0.6em">™</sup></b><?php echo $version;?> </h2> </div> <div> <h4> <?php echo JText::_('COM_ICAGENDA_COMPONENT_DESC') ?> </h4> </div> <div class="small"> <?php echo JText::_('COM_ICAGENDA_FEATURES_BACKEND') ?><br /> <?php echo JText::_('COM_ICAGENDA_FEATURES_FRONTEND') ?> </div> <div> </div> <div style="font-size:0.9em" class="blockbtn"> <?php echo JText::_('COM_ICAGENDA_PANEL_VERSION');?>: <b><?php echo $release ;?></b> | <?php echo JText::_('COM_ICAGENDA_PANEL_DATE');?>: <b><?php echo $date ;?></b> <?php JHtml::_('behavior.modal'); ?> <div style="display:none;"> <div id="icagenda-changelog"> <?php require_once dirname(__FILE__).'/color.php'; echo iCagendaUpdateLogsColoriser::colorise(JPATH_COMPONENT_ADMINISTRATOR.'/CHANGELOG.php'); ?> </div> </div> <a href="#icagenda-changelog" class="btn modal"><?php echo JText::_('COM_ICAGENDA_PANEL_UPDATE_LOGS') ?></a> <?php // rel="{size: {x: 800, y: 350}}" ?> </div> <br/> <?php $urlposter = '../media/com_icagenda/images/video_poster_icagenda.jpg'; ?> <div> </div> <div> </div> <div onclick="thevid=document.getElementById('thevideo'); thevid.style.display='block'; this.style.display='none'"> <img style="cursor: pointer;" src="<?php echo $urlposter; ?>" alt="" width="100%" /> </div> <div id="thevideo" style="display: none;"> <?php jimport('joomla.application.component.helper'); // Import component helper library $icagendaParams = JComponentHelper::getParams('com_icagenda'); $icfolder = $icagendaParams->get('icsys'); ?> <iframe src="http://www.joomlic.com/_icagenda/<?php echo $icfolder; ?>/tutorial_video_cp.html" frameborder="0" width="100%" height="340" scrolling="no"></iframe> </div> <div style="color:#333; margin-top: 5px; font-size: 0.8em;"> © <?php echo date("Y"); ?> <?php echo JText::_('COM_ICAGENDA_VIDEO_TUTORIALS');?> - Giuseppe Bosco (giusebos) | <a href="http://www.newideasproject.com/" target="_blank">www.newideasproject.com</a> </div> <div style="color:#333; margin-top: 5px; font-size: 0.8em; line-height:14px; height:30px;"> <a href="http://www.youtube.com/user/iCagenda" target="_blank"><img src="../media/com_icagenda/images/youtube_iCagenda.png" alt="" style="vertical-align:bottom;" /></a> : <a href="http://www.youtube.com/user/iCagenda" target="_blank"><?php echo JText::_('COM_ICAGENDA_VIDEO_TUTORIALS');?></a> </div> <div> </div> </div> </div> </div> </div> </div> <div class="row-fluid"> <div class="span12"> <div class="row-fluid"> <div class="span12"> <h3>40 <?php echo JText::_('COM_ICAGENDA_PANEL_TRANSLATION_PACKS');?></h3> <p> <?php if(version_compare(JVERSION, '3.0', 'lt')) { $iCtag = '::'; } else { $iCtag = '<br>'; } ?> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Arabic (Unitag) <?php echo $iCtag;?><?php echo $translator;?>: haneen2013, fkinanah " > <img src="../media/mod_languages/images/ar.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Basque (Spain) <?php echo $iCtag;?><?php echo $translator;?>: Bizkaitarra " > <img src="../media/mod_languages/images/eu_es.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Bulgarian (Bulgaria) <?php echo $iCtag;?><?php echo $translator;?>: bimbongr " > <img src="../media/mod_languages/images/bg.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Catalan (Spain) <?php echo $iCtag;?><?php echo $translator;?>: Mussool, Figuerolero, riquib " > <img src="../media/mod_languages/images/ca.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Chinese (China) <?php echo $iCtag;?><?php echo $translator;?>: Foxyman " > <img src="../media/mod_languages/images/zh.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Chinese (Taiwan) <?php echo $iCtag;?><?php echo $translator;?>: jedi, hkce, rowdytang " > <img src="../media/mod_languages/images/tw.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Croatian (Croatia) <?php echo $iCtag;?><?php echo $translator;?>: Davor Čolić, komir " > <img src="../media/mod_languages/images/hr.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Czech (Czech Republic) <?php echo $iCtag;?><?php echo $translator;?>: Bong " > <img src="../media/mod_languages/images/cz.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Danish (Denmark) <?php echo $iCtag;?><?php echo $translator;?>: olewolf.dk, hvitnov, torbenspetersen, poulfrom, AhmadHamid " > <img src="../media/mod_languages/images/dk.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Dutch (Netherlands) <?php echo $iCtag;?><?php echo $translator;?>: Molenwal1, AnneM, Mario Guagliardo, wfvdijk, Walldorff " > <img src="../media/mod_languages/images/nl.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" English (United Kingdom) <?php echo $iCtag;?><?php echo $translator;?>: Lyr!C " > <img src="../media/mod_languages/images/en.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" English (United States) <?php echo $iCtag;?><?php echo $translator;?>: Lyr!C " > <img src="../media/mod_languages/images/us.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Esperanto <?php echo $iCtag;?><?php echo $translator;?>: Anita_Dagmarsdotter, Amema " > <img src="../media/mod_languages/images/eo.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Estonian (Estonia) <?php echo $iCtag;?><?php echo $translator;?>: Eraser, Reijo " > <img src="../media/mod_languages/images/et.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Finnish (Finland) <?php echo $iCtag;?><?php echo $translator;?>: Kai Metsävainio " > <img src="../media/mod_languages/images/fi.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" French (France) <?php echo $iCtag;?><?php echo $translator;?>: Lyr!C " > <img src="../media/mod_languages/images/fr.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" German (Germany) <?php echo $iCtag;?><?php echo $translator;?>: grisuu, mPino, Wasilis, bmbsbr, chuerner, Proton_11, keraM " > <img src="../media/mod_languages/images/de.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Greek (Greece) <?php echo $iCtag;?><?php echo $translator;?>: E.Gkana-D.Kontogeorgis (elinag), rinenweb, kost36, mbini, Wasilis " > <img src="../media/mod_languages/images/el.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Hungarian (Hungary) <?php echo $iCtag;?><?php echo $translator;?>: Halilaci, magicf, Cerbo, mester93 " > <img src="../media/mod_languages/images/it.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Italian (Italy) <?php echo $iCtag;?><?php echo $translator;?>: Giuseppe Bosco (giusebos) " > <img src="../media/mod_languages/images/it.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Japanese (Japan) <?php echo $iCtag;?><?php echo $translator;?>: nagata, taimai908 " > <img src="../media/mod_languages/images/ja.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Latvian (Latvia) <?php echo $iCtag;?><?php echo $translator;?>: kredo9 " > <img src="../media/mod_languages/images/lv.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Lithuanian (Lithuania) <?php echo $iCtag;?><?php echo $translator;?>: ahxoohx " > <img src="../media/mod_languages/images/lt.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Luxembourgish (Luxembourg) <?php echo $iCtag;?><?php echo $translator;?>: Superjhemp " > <img src="../media/mod_languages/images/icon-16-language.png" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Macedonian (Macedonia) <?php echo $iCtag;?><?php echo $translator;?>: Strumjan (Ilija Iliev) " > <img src="../media/mod_languages/images/mk.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Norwegian Bokmål (Norway) <?php echo $iCtag;?><?php echo $translator;?>: Rikard Tømte Reitan " > <img src="../media/mod_languages/images/no.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Persian (Iran) <?php echo $iCtag;?><?php echo $translator;?>: Arash Rezvani (al3n.nvy) " > <img src="../media/mod_languages/images/fa_ir.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Polish (Poland) <?php echo $iCtag;?><?php echo $translator;?>: mbsrz, KISweb, gienio22, traktor, niewidzialny " > <img src="../media/mod_languages/images/pl.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Portuguese (Brazil) <?php echo $iCtag;?><?php echo $translator;?>: Carosouza, alxaraujo " > <img src="../media/mod_languages/images/pt_br.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Portuguese (Portugal) <?php echo $iCtag;?><?php echo $translator;?>: LFGM, macedorl, horus68, helfer " > <img src="../media/mod_languages/images/pt.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Romanian (Romania) <?php echo $iCtag;?><?php echo $translator;?>: hat, mester93 " > <img src="../media/mod_languages/images/ro.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Russian (Russia) <?php echo $iCtag;?><?php echo $translator;?>: nshash, MSV " > <img src="../media/mod_languages/images/ru.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Serbian (latin) <?php echo $iCtag;?><?php echo $translator;?>: Nenad Mihajlović " > <img src="../media/mod_languages/images/sr.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Slovak (Slovakia) <?php echo $iCtag;?><?php echo $translator;?>: ischindl, J.Ribarszki " > <img src="../media/mod_languages/images/sk.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Slovenian (Slovenia) <?php echo $iCtag;?><?php echo $translator;?>: erbi (Ervin Bizjak) " > <img src="../media/mod_languages/images/sl.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Spanish (Spain) <?php echo $iCtag;?><?php echo $translator;?>: elerizo, mPino, albertodg, adolf64, Goncatín, virem1, leoxordonez, claugardia, sterroso " > <img src="../media/mod_languages/images/es.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Swedish (Sweden) <?php echo $iCtag;?><?php echo $translator;?>: Rickard Norberg (metska), Amema, kricke " > <img src="../media/mod_languages/images/sv.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Thai (Thailand) <?php echo $iCtag;?><?php echo $translator;?>: rattanachai.ha " > <img src="../media/mod_languages/images/th.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Turkish (Turkey) <?php echo $iCtag;?><?php echo $translator;?>: harikalarkutusu, farukzeynep, kemalokmen " > <img src="../media/mod_languages/images/tr.gif" border="0" alt="Tooltip"/> </span> <span rel="tooltip" data-placement="right" class="editlinktip hasTip" title=" Ukrainian (Ukraine) <?php echo $iCtag;?><?php echo $translator;?>: Vlad Shuh (slv54) " > <img src="../media/mod_languages/images/uk.gif" border="0" alt="Tooltip"/> </span> </p> </div> </div> </div> </div> <div class="row-fluid"> <div class="span12"> <table style="width: 100%; border: 0px;"> <tbody> <tr> <td> <a href="http://icagenda.joomlic.com/resources/translations" target="_blank" class="btn"> <?php echo JText::_('COM_ICAGENDA_PANEL_TRANSLATION_PACKS_DONWLOAD');?> </a> </td> <td style="text-align:right; vertical-align: bottom;"> <a href='http://www.joomlic.com/forum/icagenda' target="_blank" class="btn"> <?php echo JText::_('COM_ICAGENDA_PANEL_HELP_FORUM'); ?> </a> </td> </tr> </tbody> </table> </div> </div> <hr> <div class="row-fluid"> <div class="span12"> <div class="row-fluid"> <div class="span9"> Copyright ©2012-<?php echo date("Y"); ?> joomlic.com - <?php echo JText::_('COM_ICAGENDA_PANEL_COPYRIGHT');?> <a href="http://extensions.joomla.org/extensions/calendars-a-events/events/events-management/22013" target="_blank">Joomla! Extensions Directory</a>. <br /> <br /> </div> <div class="span3" style="text-align: right"> <a href='http://www.joomlic.com' target='_blank'> <img src="../media/com_icagenda/images/logo_joomlic.png" alt="" border="0"/> </a> <br /> <i><b><?php echo JText::_('COM_ICAGENDA_PANEL_SITE_VISIT');?> <a href='http://www.joomlic.com' target='_blank'>www.joomlic.com</a></b></i> </div> </div> </div> </div> </div> PK ��!]wtW� tmpl/index.htmlnu &1i� <html><body></body></html>PK ��!]ԲE� � tmpl/color.phpnu &1i� <?php /** *------------------------------------------------------------------------------ * iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x *------------------------------------------------------------------------------ * @package com_icagenda * @copyright Copyright (c)2012-2015 Cyril Rezé, Jooml!C - All rights reserved * * @license GNU General Public License version 3 or later; see LICENSE.txt * @author Cyril Rezé (Lyr!C) * @link http://www.joomlic.com * * @version 3.3.8 2014-07-04 * @since 1.0 *------------------------------------------------------------------------------ */ // No direct access to this file defined('_JEXEC') or die(); class iCagendaUpdateLogsColoriser { public static function colorise($file, $onlyLast = false) { $ret = ''; $lines = @file($file); if(empty($lines)) return $ret; array_shift($lines); foreach($lines as $line) { $line = trim($line); if(empty($line)) continue; $type = substr($line,0,1); switch($type) { case '=': continue; break; case ':': $ret .= "\t".'<div style="font-size:8pt;">Legend'.$line."</div>\n"; break; case '?': $ret .= "<div class=\"ic-message-info\">".trim(substr($line,2))."</div>\n"; break; case '!': $ret .= "\t".'<li class="ic-bold ic-important"><div class="ic-box-16 ic-box-important">!</div>' . htmlentities(trim(substr($line,2))) . "</li>\n"; break; case '1': $ret .= "\t".'<li class="ic-changelog-important-sub"><span></span> '.trim(substr($line,2))."</li>\n"; break; case '+': $ret .= "\t".'<li class="ic-added"><div class="ic-box-16 ic-box-added">+</div>' . htmlentities(trim(substr($line,2))) . "</li>\n"; break; case '-': $ret .= "\t".'<li class="ic-removed"><div class="ic-box-16 ic-box-removed">-</div>' . htmlentities(trim(substr($line,2))) . "</li>\n"; break; case '~': $ret .= "\t".'<li class="ic-changed"><div class="ic-box-16 ic-box-changed">~</div>' . htmlentities(trim(substr($line,2))) . "</li>\n"; break; case '#': $ret .= "\t".'<li class="ic-fixed"><div class="ic-box-16 ic-box-fixed">#</div>' . htmlentities(trim(substr($line,2))) . "</li>\n"; break; // case 'H': // $ret .= "\t".'<li class="ic-fixed"><div class="ic-box-16 ic-box-fixed">#</div><div class="ic-box ic-box-removed">HIGH</div> ' // . htmlentities(trim(substr($line,2))) . "</li>\n"; // break; case '*': $ret .= "\t".'<h4 class="ic-changelog">' . htmlentities(trim(substr($line,2))) . "</h4>\n"; break; case '$': $ret .= "</ul>"; $ret .= "<h3 class=\"ic-changelog-pro\"> " . substr($line,2) . " <SUP>[ PRO Testing ]</SUP></h3>\n"; $ret .= "<ul class=\"ic-changelog\">\n"; break; // End case ';': $ret .= "</ul>"; break; default: if(!empty($ret)) { $ret .= "</ul>"; if($onlyLast) return $ret; } if(!$onlyLast) $ret .= "<h3 class=\"ic-changelog\"> $line</h3>\n"; $ret .= "<ul class=\"ic-changelog\">\n"; break; } } return $ret; } } PK q�!]wtW� index.htmlnu &1i� PK q�!]E�d<- <- T icagenda.phpnu &1i� PK q�!]��<� � �- icagenda.xmlnu &1i� PK ��!]i�*�< < �5 view.html.phpnu &1i� PK ��!]�o�t � � E tmpl/default.phpnu &1i� PK ��!]wtW� ^� tmpl/index.htmlnu &1i� PK ��!]ԲE� � �� tmpl/color.phpnu &1i� PK ��
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка