Вот как выглядит страница, поле с категорией в самом низу:
http://ma-auto.ru/index.php?option=com_ncatalogues&view=objects&Itemid=60и код default/list_categories.php:
-----------
print '<div class="ncatalogues_categories">';
if(count($categorys)>0)
{
$i=0;
foreach($categorys as $category_)
{
if($i%2==0) print '<div style="clear:both;"></div>';
print '<div class="ncatalogues_category">';
$link = JRoute::_( "index.php?option=com_ncatalogues&view=objects&type=".$type."&Itemid=".$Itemid."&category=".$category_->id);
if(!empty($category_->image)&&file_exists(JPATH_SITE.DS."images/com_ncatalogues/image/category/thumb_".$category_->image ))
print "<center><div class='table vbottom' style='width:150px;'>
<div class='tr'>
<div class='td'>
<a href='".$link."' >
<img src='".$url."images/com_ncatalogues/image/category/thumb_".$category_->image."'>
</a>
</div>
</div>
</div></center>" ;
else
print "<center><div class='table vbottom' style='width:150px;'>
<div class='tr'>
<div class='td'>
<a href='".$link."' >
<img src='".$url."components/com_ncatalogues/images/no_photo.gif'>
</a>
</div>
</div>
</div></center>";
print "<div class='ncatalogues_maincategory'><a href='".$link."' >".$category_->title."</a></div>";
print '</div>';
$i++;
}
}
print '</div>';
?><div style="clear:both;"></div>
категория "Запчасти" так же отображается
list_objects.php
копирую код со страницы сайта - в Dreamweaver страница корректно отображается.
Не вижу ошибку или не понимаю в чем она.
Что исправить?