AAAAPK?\V index.htmlnuW+A PK?\) .htaccessnuW+A Order allow,deny Deny from all PK?\q# tmpl/default.phpnuW+A
params->get('show_page_heading')!=0) : ?>

escape($this->params->get('page_heading')); ?>

lead_items)) : ?>
lead_items as &$item) : ?>
item = &$item; echo $this->loadTemplate('item'); ?>
intro_items)); $counter=0; ?> intro_items)) : ?> intro_items as $key => &$item) : ?> columns) +1; $row = $counter / $this->columns ; if ($rowcount==1) : ?>
"> item = &$item; echo $this->loadTemplate('item'); ?>
columns) or ($counter ==$introcount)): ?>
link_items)) : ?>
loadTemplate('links'); ?>
params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1)) : ?>
PK?\ VR/R/tmpl/default.xmlnuW+A
PK?\zPPtmpl/default_links.phpnuW+A

    link_items as &$item) : ?>
  1. title; ?>
PK?\)tmpl/.htaccessnuW+A Order allow,deny Deny from all PK?\Vtmpl/index.htmlnuW+A PK?\!ctmpl/default_item.phpnuW+Aitem->params; $images = json_decode($this->item->images); $canEdit = $this->item->params->get('access-edit'); ?> item->state == 0 || strtotime($this->item->publish_up) > strtotime(JFactory::getDate())) : ?>
get('show_title')) : ?>

get('link_titles') && $params->get('access-view')) : ?> escape($this->item->title); ?> escape($this->item->title); ?>

get('show_print_icon') || $params->get('show_email_icon') || $canEdit) : ?> get('show_intro')) : ?> item->event->afterDisplayTitle; ?> item->event->beforeDisplayContent; ?> get('show_author')) or ($params->get('show_category')) or ($params->get('show_create_date')) or ($params->get('show_modify_date')) or ($params->get('show_publish_date')) or ($params->get('show_parent_category')) or ($params->get('show_hits'))) : ?>
get('show_parent_category') && $this->item->parent_id != 1) : ?>
escape($this->item->parent_title); $url = '' . $title . ''; ?> get('link_parent_category') and $this->item->parent_slug) : ?>
get('show_category')) : ?>
escape($this->item->category_title); $url = ''.$title.'';?> get('link_category') and $this->item->catslug) : ?>
get('show_create_date')) : ?>
item->created, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_modify_date')) : ?>
item->modified, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_publish_date')) : ?>
item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_author') && !empty($this->item->author )) : ?>
item->author; ?> item->created_by_alias ? $this->item->created_by_alias : $author);?> item->contactid ) && $params->get('link_author') == true):?> item->contactid), $author)); ?>
get('show_hits')) : ?>
item->hits); ?>
get('show_author')) or ($params->get('show_category')) or ($params->get('show_create_date')) or ($params->get('show_modify_date')) or ($params->get('show_publish_date')) or ($params->get('show_parent_category')) or ($params->get('show_hits'))) : ?>
image_intro) and !empty($images->image_intro)) : ?> float_intro)) ? $params->get('float_intro') : $images->float_intro; ?>
image_intro_caption): echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"'; endif; ?> src="image_intro); ?>" alt="image_intro_alt); ?>"/>
item->introtext; ?> get('show_readmore') && $this->item->readmore) : if ($params->get('access-view')) : $link = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); else : $menu = JFactory::getApplication()->getMenu(); $active = $menu->getActive(); $itemId = $active->id; $link1 = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId); $returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); $link = new JURI($link1); $link->setVar('return', base64_encode(urlencode($returnURL))); endif; ?>

get('access-view')) : echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE'); elseif ($readmore = $this->item->alternative_readmore) : echo $readmore; if ($params->get('show_readmore_title', 0) != 0) : echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit')); endif; elseif ($params->get('show_readmore_title', 0) == 0) : echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE'); else : echo JText::_('COM_CONTENT_READ_MORE'); echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit')); endif; ?>

item->state == 0 || strtotime($this->item->publish_up) > strtotime(JFactory::getDate())) : ?>
item->event->afterDisplayContent; ?> PK?\Œ metadata.xmlnuW+A PK?\TO view.feed.phpnuW+AgetParams(); $feedEmail = $app->getCfg('feed_email', 'author'); $siteEmail = $app->getCfg('mailfrom'); $doc->link = JRoute::_('index.php?option=com_content&view=featured'); // Get some data from the model JRequest::setVar('limit', $app->getCfg('feed_limit')); $categories = JCategories::getInstance('Content'); $rows = $this->get('Items'); foreach ($rows as $row) { // strip html from feed item title $title = $this->escape($row->title); $title = html_entity_decode($title, ENT_COMPAT, 'UTF-8'); // Compute the article slug $row->slug = $row->alias ? ($row->id . ':' . $row->alias) : $row->id; // Url link to article $link = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catid, $row->language)); // Get row fulltext $db = JFactory::getDBO(); $query = 'SELECT' .$db->quoteName('fulltext'). 'FROM #__content WHERE id ='.$row->id; $db->setQuery($query); $row->fulltext = $db->loadResult(); $description = ($params->get('feed_summary', 0) ? $row->introtext.$row->fulltext : $row->introtext); $author = $row->created_by_alias ? $row->created_by_alias : $row->author; // Load individual item creator class $item = new JFeedItem(); $item->title = $title; $item->link = $link; $item->date = $row->publish_up; $item_category = $categories->get($row->catid); $item->category = array(); $item->category[] = JText::_('JFEATURED'); // All featured articles are categorized as "Featured" for ($item_category = $categories->get($row->catid); $item_category !== null; $item_category = $item_category->getParent()) { if ($item_category->id > 1) { // Only add non-root categories $item->category[] = $item_category->title; } } $item->author = $author; if ($feedEmail == 'site') { $item->authorEmail = $siteEmail; } elseif ($feedEmail === 'author') { $item->authorEmail = $row->author_email; } // Add readmore link to description if introtext is shown, show_readmore is true and fulltext exists if (!$params->get('feed_summary', 0) && $params->get('feed_show_readmore', 0) && $row->fulltext) { $description .= '

'.JText::_('COM_CONTENT_FEED_READMORE').'

'; } // Load item description and add div $item->description = '
'.$description.'
'; // Loads item info into rss array $doc->addItem($item); } } } PK?\^0ww view.html.phpnuW+Aget('State'); $items = $this->get('Items'); $pagination = $this->get('Pagination'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseWarning(500, implode("\n", $errors)); return false; } $params = &$state->params; // PREPARE THE DATA // Get the metrics for the structural page layout. $numLeading = $params->def('num_leading_articles', 1); $numIntro = $params->def('num_intro_articles', 4); $numLinks = $params->def('num_links', 4); // Compute the article slugs and prepare introtext (runs content plugins). foreach ($items as $i => & $item) { $item->slug = $item->alias ? ($item->id . ':' . $item->alias) : $item->id; $item->catslug = ($item->category_alias) ? ($item->catid . ':' . $item->category_alias) : $item->catid; $item->parent_slug = ($item->parent_alias) ? ($item->parent_id . ':' . $item->parent_alias) : $item->parent_id; // No link for ROOT category if ($item->parent_alias == 'root') { $item->parent_slug = null; } $item->event = new stdClass(); $dispatcher = JDispatcher::getInstance(); // Old plugins: Ensure that text property is available if (!isset($item->text)) { $item->text = $item->introtext; } JPluginHelper::importPlugin('content'); $results = $dispatcher->trigger('onContentPrepare', array ('com_content.featured', &$item, &$this->params, 0)); // Old plugins: Use processed text as introtext $item->introtext = $item->text; $results = $dispatcher->trigger('onContentAfterTitle', array('com_content.featured', &$item, &$item->params, 0)); $item->event->afterDisplayTitle = trim(implode("\n", $results)); $results = $dispatcher->trigger('onContentBeforeDisplay', array('com_content.featured', &$item, &$item->params, 0)); $item->event->beforeDisplayContent = trim(implode("\n", $results)); $results = $dispatcher->trigger('onContentAfterDisplay', array('com_content.featured', &$item, &$item->params, 0)); $item->event->afterDisplayContent = trim(implode("\n", $results)); } // Preprocess the breakdown of leading, intro and linked articles. // This makes it much easier for the designer to just interogate the arrays. $max = count($items); // The first group is the leading articles. $limit = $numLeading; for ($i = 0; $i < $limit && $i < $max; $i++) { $this->lead_items[$i] = &$items[$i]; } // The second group is the intro articles. $limit = $numLeading + $numIntro; // Order articles across, then down (or single column mode) for ($i = $numLeading; $i < $limit && $i < $max; $i++) { $this->intro_items[$i] = &$items[$i]; } $this->columns = max(1, $params->def('num_columns', 1)); $order = $params->def('multi_column_order', 1); if ($order == 0 && $this->columns > 1) { // call order down helper $this->intro_items = ContentHelperQuery::orderDownColumns($this->intro_items, $this->columns); } // The remainder are the links. for ($i = $numLeading + $numIntro; $i < $max; $i++) { $this->link_items[$i] = &$items[$i]; } //Escape strings for HTML output $this->pageclass_sfx = htmlspecialchars($params->get('pageclass_sfx')); $this->assignRef('params', $params); $this->assignRef('items', $items); $this->assignRef('pagination', $pagination); $this->assignRef('user', $user); $this->_prepareDocument(); parent::display($tpl); } /** * Prepares the document */ protected function _prepareDocument() { $app = JFactory::getApplication(); $menus = $app->getMenu(); $title = null; // Because the application sets a default page title, // we need to get it from the menu item itself $menu = $menus->getActive(); if ($menu) { $this->params->def('page_heading', $this->params->get('page_title', $menu->title)); } else { $this->params->def('page_heading', JText::_('JGLOBAL_ARTICLES')); } $title = $this->params->get('page_title', ''); if (empty($title)) { $title = $app->getCfg('sitename'); } elseif ($app->getCfg('sitename_pagetitles', 0) == 1) { $title = JText::sprintf('JPAGETITLE', $app->getCfg('sitename'), $title); } elseif ($app->getCfg('sitename_pagetitles', 0) == 2) { $title = JText::sprintf('JPAGETITLE', $title, $app->getCfg('sitename')); } $this->document->setTitle($title); if ($this->params->get('menu-meta_description')) { $this->document->setDescription($this->params->get('menu-meta_description')); } if ($this->params->get('menu-meta_keywords')) { $this->document->setMetadata('keywords', $this->params->get('menu-meta_keywords')); } if ($this->params->get('robots')) { $this->document->setMetadata('robots', $this->params->get('robots')); } // Add feed links if ($this->params->get('show_feed_link', 1)) { $link = '&format=feed&limitstart='; $attribs = array('type' => 'application/rss+xml', 'title' => 'RSS 2.0'); $this->document->addHeadLink(JRoute::_($link . '&type=rss'), 'alternate', 'rel', $attribs); $attribs = array('type' => 'application/atom+xml', 'title' => 'Atom 1.0'); $this->document->addHeadLink(JRoute::_($link . '&type=atom'), 'alternate', 'rel', $attribs); } } } PK?\V index.htmlnuW+APK?\) Y.htaccessnuW+APK?\q# tmpl/default.phpnuW+APK?\ VR/R/; tmpl/default.xmlnuW+APK?\zPP:tmpl/default_links.phpnuW+APK?\)c=tmpl/.htaccessnuW+APK?\V >tmpl/index.htmlnuW+APK?\!c~>tmpl/default_item.phpnuW+APK?\Œ [metadata.xmlnuW+APK?\TO d\view.feed.phpnuW+APK?\^0ww Whview.html.phpnuW+APK a