Beispiel #1
0
                        $styleval = "font-weight:bold;";
                    }
                    if ($keyval["art_color"] != '') {
                        $styleval .= "color:" . $keyval["art_color"];
                    }
                    if ($styleval != '') {
                        $info[$akey]["Arr"][$keykey]["art_style"] = 'style="' . $styleval . '"';
                    }
                }
            }
        }
        $GLOBALS['Templ']->assign('webtitle', $webtitle);
        $GLOBALS['Templ']->assign('nowaddress', $nowaddress);
        $GLOBALS['Templ']->assign('info', $info);
        $GLOBALS['Templ']->display('artindex_tpl.html', $cache_id);
    }
}
$Art = new Art();
if ($GLOBALS['Webur']->getval["act"] == 'list') {
    $Art->infolist();
} else {
    if ($GLOBALS['Webur']->getval["type"] == 'search') {
        $Art->infolist();
    } else {
        if (intval($GLOBALS['Webur']->getval["idval"]) != '') {
            $Art->detail();
        } else {
            $Art->index();
        }
    }
}