Пример #1
0
</th>
           <th width="100" align="left" class="dt_heading"><?php 
echo JText::_('DT_ACCESS_LEVEL');
?>
</th>
           <th width="25" align="left" class="dt_heading"><?php 
echo JText::_('DT_STATUS');
?>
</th>
           <th colspan="2" width="50" class="dt_heading"><?php 
echo JText::_('DT_REORDER');
?>
</th>
           <th width="20" class="dt_heading"><?php 
echo JText::_('DT_ORDER');
echo DtHtml::order($rows);
?>
</th>
           <th width="20" align="left" class="dt_heading"><?php 
echo JText::_('DT_DELETE');
?>
</th>
	</tr>

	<?php 
$k = 0;
for ($i = 0, $n = count($rows); $i < $n; $i++) {
    $row =& $rows[$i];
    $link1 = 'index.php?option=com_dtregister&task=edit&controller=category&hidemainmenu=1&id=' . $row->categoryId . '&Itemid=' . $Itemid;
    $link2 = 'index.php?option=com_dtregister&task=delete&controller=category&hidemainmenu=1&id=' . $row->categoryId . '&Itemid=' . $Itemid;
    $color = $row->color != "" ? 'style="background-color:' . $row->color . ';"' : '';