Call all Custom Attribute’s as in a list

<?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://&lt;?php echo $_SERVER[‘HTTP_HOST’];?>/catalogsearch/advanced/result/?manufacturer[]=<?php echo $manufacturer[‘value’] ?>”><?php echo $manufacturer[‘label’] ?></a></li>

<?php endforeach; ?>