Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
3 lars 1
<?
2
	function showTopSeller()
3
	{
4
		$template = loadTemplates($_SESSION['INI']['TEMPLATE']['topSeller']);
5
 
6
		if ($topSellerItem=getTopSeller())
7
		{
8
			$topSellerItem["itemImage"] = templateContent($topSellerItem, $template["itemImage"]);
9
 
10
			$topSellerItem["Lieferstatus"] = templateContent
11
									(
12
										array("LieferstatusText" => $topSellerItem["LieferstatusText"]),
13
										$template["lieferstatus".$topSellerItem["LieferstatusValue"]]
14
									);
15
 
16
			echo
17
				templateContent
18
				(
19
					array
20
					(
21
						"topSellerItem" => templateContent
22
											(
23
												$topSellerItem,
24
												$template["topSellerItem"]
25
											)
26
					),
27
					$template["topSellerContainer"]
28
				);
29
		}
30
		else
31
		{
32
			return false;
33
		}
34
	}
35
?>