>
|
|
0 ) {
if (strpos($array[$i]['acode'], ",") >0 ) {
$det_qcode= explode(",", $array[$i]['acode']);
$sep="";
$max=(count($det_qcode)>$limite)?$limite:count($det_qcode);
for ($e=0;$e<$max;$e++) {
echo $sep.HtmlInput::card_detail($det_qcode[$e]);
$sep=" , ";
}
if ($max < count($det_qcode)) {
echo "...";
}
} else {
echo HtmlInput::card_detail($array[$i]['acode']);
}
}
?>
|