public static function getLabel($date, $sales, $featured)
{
$label = array();
$new = $hot = $feat = '';
$c = 1;
$label['new'] = self::renderNewIcon($date, $c);
if ($label['new'] != '') {
$c++;
}
$label['hot'] = self::renderHotIcon($sales, $c);
if ($label['hot'] != '') {
$c++;
}
$label['feat'] = self::renderFeaturedIcon($featured, $c);
$label['cssthumbnail'] = '';
$label['cssthumbnail2'] = 'img-thumbnail';
if ($c > 1) {
$label['cssthumbnail'] = 'b-thumbnail';
$label['cssthumbnail2'] = '';
}
return $label;
}