$hlasky[hometitle]

$hlasky[gettingstarted]

\n"; $dbnavrat = mysql_query("SELECT * FROM t_site_banner WHERE position='homebtn' AND visible='1' AND (lang='$jazyk' OR lang='all') ORDER BY alt"); while($dbhodnota = mysql_fetch_array($dbnavrat)){ $img = $server.$dbhodnota["image"]; $alt = uprav($dbhodnota["alt"]); $url = uprav($dbhodnota["url"]); $title = uprav($dbhodnota["title"]); if ($url != ""){ if (substr($url,0,4) != "http"){$url = $server.$url;} $tmp = "$tmp"; } echo "

$alt

\n"; } echo "
\n"; $img1 = $img2 = ""; $dbnavrat = mysql_query("SELECT image FROM t_site_banner WHERE position='homeright' AND visible='1' AND (lang='$jazyk' OR lang='all') ORDER BY alt LIMIT 2"); while($dbhodnota = mysql_fetch_array($dbnavrat)){ if ($img1 == ""){$img1 = $dbhodnota["image"];}else{$img2 = $dbhodnota["image"];} } $styl = "overflow:hidden;margin-top:20px;display:block;text-align:left;padding:10px;font-size:12px;font-weight:bold;"; if ($img1 != ""){ $styl .= "background:url(".$server."$img1) top left no-repeat;"; $pole = getimagesize($img1); $styl .= "width:".$pole[0]."px;height:".$pole[1]."px;"; } echo "

$hlasky[hometitleright1]

$hlasky[hometitleright1text]

$hlasky[startdesignnow]

"; $styl = "overflow:hidden;margin-top:20px;display:block;text-align:left;padding:10px;font-size:12px;font-weight:bold;"; if ($img2 != ""){ $styl .= "background:url(".$server."$img2) top left no-repeat;"; $pole = getimagesize($img2); $styl .= "width:".$pole[0]."px;height:".$pole[1]."px;"; } echo "

$hlasky[hometitleright2]

$hlasky[hometitleright2text]

$hlasky[createmyshop]

"; echo "
"; include "page_foot.php"; ?>