Unnamed
public text v1 · immutablefor ($i=1; $i<=count($bc); $i++) {
$item = OOArticle::getArticleById($bc[$i]);
if ($i<=count($bc)) {
$bcarray[] = '<a href="'.rex_geturl($item->getId()).'">'.$item->getName().'</a>';
}
else {
$bcarray[] = '<span>'.$item->getName().'</span>';
}
}