<?php
if ($list) {
    ?>
        <div class="col-lg-12 no-padding">
            <h4 style="color: #7aa93c;margin-top: 0px;"><?php echo $view['translator']->trans("Popular Categories"); ?></h4>
        </div>
        <div class="col-lg-12 no-padding">
            <?php
            foreach ($list as $value1) {
                $url = $view['router']->generate('view_categories', array('id' => $value1->getId(), 'title' => Market\ZodacoBundle\System::_reString($view['translator']->trans($value1->getShortTitle()))), true);
                ?>
                <div style="font-size: 13px;color: #fff; margin-bottom: 5px;"><a style="color: #999;" href="<?php echo $url; ?>"><?php echo $view['translator']->trans($value1->getShortTitle()) ?></a></div>
                    <?php
                }
                ?>
        </div>
    <?php
}
?>