Example #1
0
<?php

defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
JHtml::_('behavior.tooltip');
if (method_exists('JHtml', 'core')) {
    JHtml::core();
} else {
    JHtml::_('behavior.framework');
}
Artx::load("Artx_Content");
$component = new ArtxContent($this, $this->params);
$article = $component->article('category', $this->item, $this->item->params);
$params = $article->getArticleViewParameters();
if (strlen($article->title)) {
    $params['header-text'] = $this->escape($article->title);
    if (strlen($article->titleLink)) {
        $params['header-link'] = $article->titleLink;
    }
}
// Change the order of ""if"" statements to change the order of article metadata header items.
if (strlen($article->created)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->createdDateInfo($article->created) . "</span>";
}
if (strlen($article->modified)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->modifiedDateInfo($article->modified) . "</span>";
}
if (strlen($article->published)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->publishedDateInfo($article->published) . "</span>";
}
if (strlen($article->author)) {
Example #2
0
<?php

defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
require_once dirname(dirname(dirname(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'functions.php';
Artx::load("Artx_Content");
$component = new ArtxContent($this, $this->params);
echo $component->beginPageContainer('archive');
?>
<form id="adminForm" action="<?php 
echo JRoute::_('index.php');
?>
" method="post">
    <?php 
ob_start();
?>
    <fieldset class="filters">
    <legend class="hidelabeltxt"><?php 
echo JText::_('JGLOBAL_FILTER_LABEL');
?>
</legend>
    <div class="filter-search">
        <?php 
if ($this->params->get('filter_field') != 'hide') {
    ?>
        <label class="filter-search-lbl" for="filter-search"><?php 
    echo JText::_('COM_CONTENT_' . $this->params->get('filter_field') . '_FILTER_LABEL') . '&#160;';
    ?>
</label>
        <input type="text" name="filter-search" id="filter-search" value="<?php 
    echo $this->escape($this->filter);
Example #3
0
<?php

defined('_JEXEC') or die;
Artx::load("Artx_Content");
$component = new ArtxContent($this, $this->params);
$article = $component->article('featured', $this->item, $this->item->params);
$params = $article->getArticleViewParameters();
if (strlen($article->title)) {
    $params['header-text'] = $this->escape($article->title);
    if (strlen($article->titleLink)) {
        $params['header-link'] = $article->titleLink;
    }
}
// Change the order of ""if"" statements to change the order of article metadata header items.
if (strlen($article->created)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->createdDateInfo($article->created) . "</span>";
}
if (strlen($article->modified)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->modifiedDateInfo($article->modified) . "</span>";
}
if (strlen($article->published)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->publishedDateInfo($article->published) . "</span>";
}
if (strlen($article->author)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postauthoricon\">" . $article->authorInfo($article->author, $article->authorLink) . "</span>";
}
if ($article->printIconVisible) {
    $params['metadata-header-icons'][] = $article->printIcon();
}
if ($article->emailIconVisible) {
    $params['metadata-header-icons'][] = $article->emailIcon();
Example #4
0
<?php

defined('_JEXEC') or die;
require_once dirname(dirname(dirname(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'functions.php';
if ('artisteer' == JFactory::getApplication()->getTemplate(true)->params->get('blogLayoutType')) {
    require 'art_blog.php';
    return;
}
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
Artx::load("Artx_Content");
$view = new ArtxContent($this, $this->params);
echo $view->beginPageContainer('blog-featured');
if (strlen($view->pageHeading)) {
    echo $view->pageHeading();
}
$leadingcount = 0;
if (!empty($this->lead_items)) {
    echo '<div class="items-leading">';
    foreach ($this->lead_items as $item) {
        echo '<div class="leading-' . $leadingcount . ($item->state == 0 ? ' system-unpublished' : '') . '">';
        $this->item = $item;
        echo $this->loadTemplate('item');
        echo '</div>';
        $leadingcount++;
    }
    echo '</div>';
}
$introcount = count($this->intro_items);
$counter = 0;
if (!empty($this->intro_items)) {
    foreach ($this->intro_items as $key => $item) {
Example #5
0
<?php

defined('_JEXEC') or die;
require_once dirname(dirname(dirname(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'functions.php';
if ('artisteer' == JFactory::getApplication()->getTemplate(true)->params->get('blogLayoutType')) {
    require 'art_blog.php';
    return;
}
Artx::load("Artx_Content");
$view = new ArtxContent($this, $this->params);
echo $view->beginPageContainer('blog');
ob_start();
if ($this->params->get('show_category_title', 1) || strlen($this->params->get('page_subheading'))) {
    echo '<h2>';
    echo $this->escape($this->params->get('page_subheading'));
    if ($this->params->get('show_category_title') && strlen($this->category->title)) {
        echo '<span class="subheading-category">' . $this->category->title . '</span>';
    }
    echo '</h2>';
}
if ($this->params->def('show_description', 1) || $this->params->def('show_description_image', 1)) {
    echo '<div class="category-desc">';
    if ($this->params->get('show_description_image') && $this->category->getParams()->get('image')) {
        echo '<img src="' . $this->category->getParams()->get('image') . '" alt="" />';
    }
    if ($this->params->get('show_description') && $this->category->description) {
        echo JHtml::_('content.prepare', $this->category->description, '', 'com_content.category');
    }
    echo '</div>';
}
echo artxPost(array('header-text' => $view->pageHeading, 'content' => ob_get_clean()));
Example #6
0
<?php

defined('_JEXEC') or die;
require_once dirname(dirname(dirname(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'functions.php';
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
Artx::load("Artx_Content");
$component = new ArtxContent($this, $this->params);
$article = $component->article('article', $this->item, $this->item->params, array('print' => $this->print));
echo $component->beginPageContainer('item-page');
if (strlen($article->pageHeading)) {
    echo $component->pageHeading($article->pageHeading);
}
$params = $article->getArticleViewParameters();
if (strlen($article->title)) {
    $params['header-text'] = $this->escape($article->title);
    if (strlen($article->titleLink)) {
        $params['header-link'] = $article->titleLink;
    }
}
// Change the order of ""if"" statements to change the order of article metadata header items.
if (strlen($article->created)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->createdDateInfo($article->created) . "</span>";
}
if (strlen($article->modified)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->modifiedDateInfo($article->modified) . "</span>";
}
if (strlen($article->published)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postdateicon\">" . $article->publishedDateInfo($article->published) . "</span>";
}
if (strlen($article->author)) {
    $params['metadata-header-icons'][] = "<span class=\"dd-postauthoricon\">" . $article->authorInfo($article->author, $article->authorLink) . "</span>";
Example #7
0
<?php

defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
require_once dirname(dirname(dirname(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'functions.php';
Artx::load("Artx_Content");
$component = new ArtxContent($this, $this->params);
?>
<ul id="archive-items">
<?php 
foreach ($this->items as $i => $item) {
    ?>
    <li class="row<?php 
    echo $i % 2;
    ?>
">
<?php 
    $article = $component->article('archive', $item, $this->params);
    $params = $article->getArticleViewParameters();
    if (strlen($article->title)) {
        $params['header-text'] = $this->escape($article->title);
        if (strlen($article->titleLink)) {
            $params['header-link'] = $article->titleLink;
        }
    }
    // Change the order of ""if"" statements to change the order of article metadata header items.
    if (strlen($article->hits)) {
        $params['metadata-header-icons'][] = $article->hitsInfo($article->hits);
    }
    // Build article content
    $content = '';