Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?
        function showTopSeller()
        {
                $template = loadTemplates($_SESSION['INI']['TEMPLATE']['topSeller']);
        
                if ($topSellerItem=getTopSeller())
                {
                        $topSellerItem["itemImage"] = templateContent($topSellerItem, $template["itemImage"]);
                        
                        $topSellerItem["Lieferstatus"] = templateContent
                                                                        (
                                                                                array("LieferstatusText" => $topSellerItem["LieferstatusText"]),
                                                                                $template["lieferstatus".$topSellerItem["LieferstatusValue"]]
                                                                        );
                                                                        
                        echo
                                templateContent
                                (
                                        array
                                        (
                                                "topSellerItem" => templateContent
                                                                                        (
                                                                                                $topSellerItem,
                                                                                                $template["topSellerItem"]
                                                                                        )
                                        ),
                                        $template["topSellerContainer"]
                                );
                }
                else
                {
                        return false;
                }
        }
?>