<?php
$product = Mage::getModel(‘catalog/product’);
$attributes = Mage::getResourceModel(‘eav/entity_attribute_collection’)->
setEntityTypeFilter($product->getResource()->getTypeId())->addFieldToFilter(‘attribute_code’, ‘your_clothes_brand’); // custome attribute code
$attribute = $attributes->getFirstItem()->setEntity($product->getResource());
$manufacturers = $attribute->getSource()->getAllOptions(false);
?>
<ul>
<?php foreach ($manufacturers as $manufacturer): ?>
<li><a href=”http://<?php echo $_SERVER[‘HTTP_HOST’];?>/catalogsearch/advanced/result/?manufacturer[]=<?php echo $manufacturer[‘value’] ?>”><?php echo $manufacturer[‘label’] ?></a></li>
<?php endforeach; ?>