Katalog
if ((isset($_GET['clanek'])) and ($_GET['clanek']=='vts')) { print " - O VIKAN transport system";}
if ((isset($_GET['clanek'])) and ($_GET['clanek']=='udrzba')) { print " - Údržba náčiní";}
if ((isset($_GET['clanek'])) and ($_GET['clanek']=='cisteni')) { print " - Čištění náčiní";}
if ((isset($_GET['clanek'])) and ($_GET['clanek']=='jak_na_to')) { print " - Jak objednávat";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='pr_kartace')) { print " - Průtočné kartáče";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='r_kartace')) { print " - Ruční kartáče";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='raf_kartace')) { print " - Kartáče na čištění ráfků";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='myti_skel')) { print " - Náčiní na mytí skel";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='pr_nasady')) { print " - Průtočné násady";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='npr_nasady')) { print " - Neprůtočné násady";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='smetaky')) { print " - Smetáky";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='mikrovlakno')) { print " - Výrobky z mikrovlákna";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='stetce')) { print " - Sady štětců";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='snih')) { print " - Lopaty a smetáky na sníh";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='pistole')) { print " - Vodní pistole";}
if ((isset($_GET['kat'])) and ($_GET['kat']=='doplnky')) { print " - Věšáky a doplňky";}
?>
|
Košík | Jak objednat
if ((isset($_GET['clanek'])) And ($_GET['clanek']=='vts'))
{
print "
";
include('vts.php');
print "
";
}
elseif
((isset($_GET['clanek'])) And ($_GET['clanek']=='udrzba'))
{
print "
";
include('udrzba.php');
}
elseif
((isset($_GET['clanek'])) And ($_GET['clanek']=='cisteni'))
{
print "
";
include('cisteni.php');
}
elseif
((isset($_GET['clanek'])) And ($_GET['clanek']=='jak_na_to'))
{
print "
";
include('jak_na_to.php');
}
else
{
$limit = "";
$where = " where (katalog.kod_prod like 't%') ";
if (isset($_GET['kat'])) {$where = " where (katalog.kod_prod like 't%') and kategorie='".$_GET['kat']."' ";}
if ((isset($_GET['vyraz']))AND ($_GET['vyraz']!=''))
{$where = " where katalog.kod_prod like 't%' and ((katalog.kod_prod like 't%".$_GET['vyraz']."%') OR (katalog.nazev like '%".$_GET['vyraz']."%') OR (katalog.text like '%".$_GET['vyraz']."%')) group by katalog.kod_prod ";}
if ((isset($_GET['kod']))AND ($_GET['kod']!=''))
{$where = " where (katalog.kod_prod='".$_GET['kod']."') group by katalog.kod_prod ";}
if (isset($_GET['offset'])){$offset = $_GET['offset'];}
else {$offset=0;}
print "