Exemplo n.º 1
0
    ?>
      <?php 
}
?>
      <?php 
/*<a href="<?php echo TRoute::_("index.php?option=com_adsmanager&view=list".$urloptions."&order=orderdir=ASC");?>"><img src="<?php echo $this->baseurl ?>administrator/images/sort_asc.png" alt="+" /></a>
  <a href="<?php echo TRoute::_("index.php?option=com_adsmanager&view=list".$urloptions."&order=orderdir=DESC");?>"><img src="<?php echo $this->baseurl ?>administrator/images/sort_desc.png" alt="-" /></a>
  */
?>
      </th>
    </tr>
<?php 
foreach ($this->contents as $content) {
    $linkTarget = TRoute::_("index.php?option=com_adsmanager&view=details&id=" . $content->id . "&catid=" . $content->catid);
    if (function_exists('getContentClass')) {
        $classcontent = getContentClass($content, "list");
    } else {
        $classcontent = "";
    }
    ?>
   
    <tr class="adsmanager_table_description <?php 
    echo $classcontent;
    ?>
 trcategory_<?php 
    echo $content->catid;
    ?>
"> 
        <td>
                <h4 class="no-margin-top">
                    <?php 
Exemplo n.º 2
0
<?php

/**
 * @package		AdsManager
 * @copyright	Copyright (C) 2010-2014 Juloa.com. All rights reserved.
 * @license		GNU/GPL
 */
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
foreach ($this->contents as $key => $content) {
    if ($key == 0) {
        $this->loadScriptImage($this->conf->image_display);
    }
    if (function_exists('getContentClass')) {
        $classcontent = getContentClass($content, "details");
    } else {
        $classcontent = "";
    }
    ?>
   
    <div class="<?php 
    echo $classcontent;
    ?>
 adsmanager_ads">
    <div class="adsmanager_top_ads">	
        <h2>
        <?php 
    if (isset($this->fDisplay[1])) {
        foreach ($this->fDisplay[1] as $field) {
            $c = $this->field->showFieldValue($content, $field);
            if ($c !== "" && $c !== null) {
Exemplo n.º 3
0
<div class="juloawrapper">
<?php 
if ($conf->display_inner_pathway == 1) {
    ?>
<div class="breadcrumb row-fluid">
<?php 
    $pathway = "";
    $nb = count($this->pathlist);
    for ($i = $nb - 1; $i > 0; $i--) {
        $pathway .= '<a href="' . $this->pathlist[$i]->link . '">' . $this->pathlist[$i]->text . '</a>';
        $pathway .= ' <img src="' . getImagePath('arrow.png') . '" alt="arrow" /> ';
    }
    $pathway .= '<a href="' . $this->pathlist[0]->link . '">' . $this->pathlist[0]->text . '</a>';
    echo $pathway;
    if (function_exists('getContentClass')) {
        $classcontent = getContentClass($this->content, "details");
    } else {
        $classcontent = "";
    }
    ?>
   
</div>
<?php 
}
echo $this->content->event->onContentBeforeDisplay;
if (@$conf->print == 1) {
    ?>
<div class="text-right">
<?php 
    if (JRequest::getInt('print', 0) == 1) {
        echo TTools::print_screen();
Exemplo n.º 4
0
<?php
/**
 * @package		AdsManager
 * @copyright	Copyright (C) 2010-2014 Juloa.com. All rights reserved.
 * @license		GNU/GPL
 */
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
?>
<div class="row-fluid">
    <?php 
    foreach($this->contents as $content){
    $linkTarget = TRoute::_( "index.php?option=com_adsmanager&view=details&id=".$content->id."&catid=".$content->catid);
    if (function_exists('getContentClass')) 
        $classcontent = " ".getContentClass($content,"grid");
    else
        $classcontent = "";
    
    //icon flag
    $iconflag = false;
    $iconText = '';
    if (($this->conf->show_new == true)&&($this->isNewcontent($content->date_created,$this->conf->nbdays_new))) {
            $iconText .= "<span class='iconflag'><img alt='new' src='".$this->baseurl."components/com_adsmanager/images/new.gif' /> ";
        $iconflag = true;
    }
    if (($this->conf->show_hot == true)&&($content->views >= $this->conf->nbhits)) {
        if ($iconflag == false)
                $iconText .= "<span class='iconflag'>";
        $iconText .= "<img alt='hot' src='".$this->baseurl."components/com_adsmanager/images/hot.gif' />";
        $iconflag = true;
    }