Да я б с радостью просто гнал, но не пашет. вот код с начала файла и до этого момента
<?php
/**
* @package AdsManager
* @copyright Copyright (C) 2010-2013 JoomPROD.com. All rights reserved.
* @license GNU/GPL
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
?>
<script type="text/javascript">
function tableOrdering( order, dir, task )
{
var form = document.adminForm;
form.filter_order.value = order;
form.filter_order_Dir.value = dir;
document.adminForm.submit( task );
}
</script>
<?php
$conf= $this->conf;
?>
<?php if ($conf->display_inner_pathway == 1) { ?>
<div class="adsmanager_pathway breadcrumb">
<?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="'.$this->baseurl.'components/com_adsmanager/images/arrow.png" alt="arrow" /> ';
}
if (isset($this->pathlist[0]))
$pathway .= '<a href="'.$this->pathlist[0]->link.'">'.$this->pathlist[0]->text.'</a>';
echo $pathway;
?>
</div>
<?php } ?>
<h1 class="contentheading">
<?php
if ($this->list_img != "") {
echo '<img class="imgheading" src="'.$this->list_img.'" alt="'.$this->list_img.'" />';
}
echo JText::_($this->list_name);
if ($this->conf->show_rss == 1)
{
if (isset($this->listuser))
$linkrss = TRoute::_("index.php?option=com_adsmanager&view=list&format=feed&user=".$this->listuser);
else
$linkrss = TRoute::_("index.php?option=com_adsmanager&view=list&format=feed&catid=".$this->catid);
echo '<a href="'.$linkrss.'" target="_blank"><img class="imgheading" src="'.$this->baseurl.'components/com_adsmanager/images/rss.png" alt="rss" /></a>';
}
?>
</h1>
<script type="text/JavaScript">
function adjustStyle() {
var cla = 'b',
width = parseInt($(window).width());
if(width < 640) cla = 'xs';
else if(width >= 460 && width < 690) cla = 's';
else if(width >= 690 && width < 963) cla = '';
else if(width >= 963 && width < 1680) cla = 'm';
$("#wsize").prop('className', cla + '_top_subcats clear');
}
$(function() {
adjustStyle();
$(window).resize(adjustStyle);
});
</script>
<div id="wsize" class="">
<div class="adsmanager_subcats clearfix">
<?php foreach($this->subcats as $key => $subcat) {
$subcat->link = TRoute::_('index.php?option=com_adsmanager&view=list&catid='.$subcat->id);
/*if ($key != 0)
echo ' | ';*/
echo "<ul id='ulsize' class='ulcol'>";
echo '<li>';
echo '<a href="'.$subcat->link.'">'.'<div>'.$subcat->name.'</div>'.'</a>';
echo '</li>';
echo "</ul>";
}
?>
</div>
</div>
Смотри с 57 строки