?>
		<input name="brand" class="text" type="text"/><input class="submit" type="submit" value="" />
		<?php 
    $this->endWidget();
    ?>
	</div>
</div>
<ul class="cat_filter">
	<?php 
    foreach ($brands as $id => $brand) {
        if ($c > 9) {
            break;
        }
        ?>
	<li><a href="<?php 
        echo Yii::app()->createUrl('category/all', Controller::getCategoryParams()) . '?brand=' . $brand;
        ?>
"><?php 
        if (trim(Yii::app()->request->getParam('brand')) == trim($brand)) {
            echo "<strong>" . $brand . "</strong>";
        } else {
            echo $brand;
        }
        ?>
</a></li>
	<?php 
        $c++;
    }
    ?>
	<?php 
    //echo CHtml::checkBoxList('brands', array(), $brands, array('template'=>'<li class="category">{input} {label}</li>', 'container'=>'', 'separator'=>''));