"; require "slider/slider.php"; $nadpis = "nadpis".$lang; $text = "text".$lang; $textd = "textd".$lang; //banery male echo "
"; if ($pomocne[seznam]==1){ echo "

".$_SESSION[v1598lang][l19]."

"; $result1 = mysql_query("SELECT id, nadpis, text, idstr, url, druh, soubor, diskuse, descr FROM clanky$lang WHERE datum > (SELECT DATE_SUB(NOW(), INTERVAL $pomocne[interv] DAY)) AND kos = '0' AND new = '1' ORDER BY datum DESC LIMIT 3"); $i=1; while ($row1 = mysql_fetch_assoc($result1)) { if ($row1[druh] == "soub") echo "$row1[nadpis] "; else echo "$row1[nadpis] "; echo "
"; $textnews = strip_tags(str_replace("=\"../files", "=\"../../files", $row1[text])); $textnews = html_entity_decode($textnews, ENT_QUOTES, 'UTF-8'); $textnews = substr($textnews, 0, 145); $slov = substr_count("$textnews", " ") - 1; $textnews = explode(" ","$textnews"); echo "$textnews[0] "; for ($z = 1; $z <= $slov; $z++){ echo "$textnews[$z] ";} echo " 
"; $i++; } echo"
"; } $result1 = mysql_query("SELECT id, nadpis, text, idstr, url, druh, soubor, descr FROM clanky$lang WHERE datum > (SELECT DATE_SUB(NOW(), INTERVAL $pomocne[interv] DAY)) AND kos = '0' AND baner = '1' ORDER BY datum DESC"); while ($row1 = mysql_fetch_assoc($result1)) { echo"
"; if ($row1[druh] == "soub") { echo "

$row1[nadpis]

"; if (file_exists ("fota/$row1[id]/fotkahlm.jpg")){ echo "$row1[nadpis]";} } else { echo "

$row1[nadpis]

"; if (file_exists ("fota/$row1[id]/fotkahlm.jpg")){ echo "$row1[nadpis]";} } echo"
"; $textnews = strip_tags(str_replace("=\"../files", "=\"../../files", $row1[text])); $textnews = html_entity_decode($textnews, ENT_QUOTES, 'UTF-8'); $textnews = substr($textnews, 0, 290); $slov = substr_count("$textnews", " ") - 1; $textnews = explode(" ","$textnews"); echo "$textnews[0] "; for ($z = 1; $z <= $slov; $z++){ echo "$textnews[$z] ";} echo " 
"; } echo "
"; echo "
"; if ($pomocne[$nadpis]) echo "

$pomocne[$nadpis]

"; echo "$pomocne[$text]"; //echo ""; echo "
"; echo"
"; /* //kategorie vypis echo "
"; $sqlmain = "SELECT DISTINCT kateg.id, kateg.kateg$lang, kateg.url$lang FROM kateg JOIN shop ON kateg.id=shop.kateg WHERE shop.kos='0' AND $sklad2 ORDER BY kateg.kategpor ASC"; $resultmain = mysql_query($sqlmain); while ($row = mysql_fetch_assoc($resultmain)) { echo "
"; $sql = "SELECT DISTINCT druh.id, druh.druh$lang, druh.url$lang FROM druh JOIN shop ON druh.id=shop.druh WHERE shop.kos='0' AND $sklad2 AND shop.kateg=$row[id] ORDER BY druh.druhpor ASC limit 4"; $result1 = mysql_query($sql); while ($row2 = mysql_fetch_assoc($result1)) { echo "".$row2["druh".$lang]."
"; }if (mysql_num_rows($result1)>=4) echo "Další..."; echo "
"; } echo "
"; //naposledy vas zajimalo if ($_COOKIE["v1598zaj"]){ echo "

Naposledy Vás zajímalo:

"; $jednacok = explode(",", $_COOKIE["v1598zaj"]); $pocet = substr_count ($_COOKIE["v1598zaj"], ","); for ($i = $pocet; $i >= 0; $i--){ $result2 = mysql_query("SELECT * FROM shop WHERE id = '$jednacok[$i]' AND kos = '0' $sklad1"); while ($row2 = mysql_fetch_assoc($result2)) { $cestaprodukt = cestaprodukt($lang, $row2[kateg], $row2[druh], $row2[urceni], $row2[typ], $row2[znacka], $row2[velikost], $row2[akce], $row2[url.$lang]); echo " "; } } //echo ""; echo"
"; } //Hlavní strana -nové položky $shexres = mysql_query("SELECT id FROM struktura WHERE shop = 1 AND lang like '%$lang%'"); if (mysql_num_rows($shexres) > 0) { $shokatexist=1; $shokatcest = $_SESSION[v1598lang][l143]; } $shexres = mysql_query("SELECT id FROM struktura WHERE shop = 2 AND lang like '%$lang%'"); if (mysql_num_rows($shexres) > 0){ if ($shokatexist!=1) { $shokatexist=2; $shokatcest = $_SESSION[v1598lang][l144]; } } */ if ($shokatexist){ echo "

".$_SESSION[v1598lang][l159].":

"; $result3 = mysql_query("SELECT id FROM kateg"); while ($row3 = mysql_fetch_assoc($result3)) { $result31 = mysql_query("SELECT * FROM shop WHERE kateg = '$row3[id]' AND kos = '0' $sklad2 ORDER BY datum DESC LIMIT 0, 8"); while ($row31 = mysql_fetch_assoc($result31)) { $cestaprodukt = cestaprodukt($lang, $row31[kateg], $row31[druh], $row31[urceni], $row31[typ], $row31[znacka], $row31[velikost], $row31[akce], $row31[url.$lang]); $mvypocet++; echo " "; } } echo "
"; } /* //echo ""; if ($pomocne[seznam]==1){ echo "

".$_SESSION[v1598lang][l22]."

"; echo "
"; $result1 = mysql_query("SELECT id, nadpis, text, idstr, url, druh, soubor, diskuse, descr, DATE_FORMAT(datum,'%d.%m.%Y %k:%i')as datum FROM clanky$lang WHERE datum > (SELECT DATE_SUB(NOW(), INTERVAL $pomocne[interv] DAY)) AND kos = '0' AND new = '1' ORDER BY datum DESC"); while ($row1 = mysql_fetch_assoc($result1)) { navigacepol($row1[idstr], $_SESSION[v1598lang][l23], $lang, $cesta, $cestalang); echo"
"; polozkahp($row1[id], $row1[nadpis], $row1[descr], $row1[druh], $row1[datum], $row1[soubor], $_SESSION[v1598lang][l3], $cesta, $cestalang, $row1[url], $row1[diskuse]); } echo "
";} echo "
$pomocne[$textd]
"; */ } //konec uvodni stranky else { echo "
"; require "leva.php"; if ($_GET[diskuse]) { require "diskuse.php"; } unset ($_SESSION["v1598newuser"]); echo "
"; //drobeckovka /* if ($_GET[idstr]) {navigace ($_GET[idstr], $_SESSION[v1598nastshop][jmeno], $_SESSION[v1598lang][l4], $_SESSION[v1598lang][l24], $lang, $cestalang);} if ($id or $_GET[id]){ if ($_GET[id]) $id = $_GET[id]; $result = mysql_query("SELECT * FROM clanky$lang WHERE id = '$id'"); while ($row = mysql_fetch_assoc($result)) { if (!$_GET[idstr]) navigace ($row[idstr], $_SESSION[v1598nastshop][jmeno], $_SESSION[v1598lang][l4], $_SESSION[v1598lang][l24], $lang, $cestalang);}} if (!$id and !$_GET[id] and !$_GET[idstr]){ echo "
"; echo "".$_SESSION[v1598nastshop][jmeno]." > "; if ($shokat == 1) echo $_SESSION[v1598lang][l143]." > "; if ($shokat == 2) echo $_SESSION[v1598lang][l144]." > "; echo "$nadpshopnavi
"; } */ //konec drobeckovky //kosik /* if ($shokat==1 or $_SESSION["v1598kosik"]){ if (!$_POST[objednat]) { $celcena = 0; echo " "; if ($_SESSION["v1598kosik"]) { echo " ".$_SESSION[v1598lang][l195].": ".$_SESSION["v1598kosik"][polozek]."  ".$_SESSION[v1598lang][l196]." ".$_SESSION[v1598lang][l61].": ".$_SESSION["v1598kosik"][celcena].",- kosik "; } else echo " ".$_SESSION[v1598lang][l167]." kosik "; require "jscript/php/nahledkosik.php"; echo " "; } } */ echo"
"; if ($_SESSION["v1598hlaska"]) { echo "

$_SESSION[v1598hlaska]

"; unset ($_SESSION[v1598hlaska]); } if ($_SESSION[v1598upruser]){ unset ($_SESSION[v1598upruser]); } //zpracovani jednotlive polozky je v hlavicce kvuli pouziti headeru pri nahledu polozky soub if ($_GET[idstr]) { $result = mysql_query("SELECT nazev$lang, archiv, level FROM struktura WHERE id = '$_GET[idstr]'"); while ($row = mysql_fetch_assoc($result)) { $nazevkapit = $row['nazev'.$lang]; $archiv = $row[archiv]; $level = $row[level]; } $vysledek = mysql_query("SELECT id, nadpis, url, druh, datum, soubor, textnews, diskuse FROM clanky$lang WHERE idstr = '$_GET[idstr]' AND kos = '0' ORDER BY datum DESC"); if (mysql_num_rows($vysledek) < 1){ echo "

$nazevkapit

"; $sql = "SELECT id, level, nazev$lang, url$lang, shop, lang, prava2 FROM struktura WHERE level like '$level"."_%' order by level asc"; $result = mysql_query($sql); echo "
"; while ($row = mysql_fetch_assoc($result)) { if (!preg_match("/$lang/", $row[lang]) or $custprava < $row[prava2] ) $struktzakaz2 = $row['level']; if (!preg_match("/^($struktzakaz2)/", $row[level]) or $struktzakaz2=='' ){ if ($row[shop]==1 or $row[shop]==2) {echo "

".$row["nazev".$lang]."

";} else echo "

".$row["nazev".$lang]."

"; } } echo "
"; } if (mysql_num_rows($vysledek) > 1){ echo "

$nazevkapit

"; echo "
"; while ($radek = mysql_fetch_assoc($vysledek)) { polozka($radek[id], $radek[nadpis], $radek[druh], $radek[datum], $radek[soubor], $_SESSION[v1598lang][l3], $cesta, $cestalang, $radek[url], $radek[diskuse]); }}} if (($_GET[akce]!="shopnahled" and $id and !$_POST[objednat]) or ($_GET[akce]!="shopnahled" and $ids and !$_POST[objednat]) or ($_GET[akce]!="shopnahled" and $_GET[id] and !$_POST[objednat]) or ($_GET[akce]!="shopnahled" and ($_GET[kateg] or $_GET[druh] or $_GET[urceni] or $_GET[typ] or $_GET[znacka] or $_GET[velikost] or $_GET[vse] or $_GET[akceh])) or $shokat){ if ($_GET[id]) $id = $_GET[id]; $result = mysql_query("SELECT * FROM clanky$lang WHERE id = '$id' AND kos = '0'"); while ($row = mysql_fetch_assoc($result)) { if ($row[druh]== "txt1"){ if (file_exists ("fota/$row[id]/fotkahl.jpg")){ echo "";} echo "

$row[nadpis]

"; if (file_exists ("fota/$row[id]/fotkatxt1.jpg")) echo ""; echo str_replace("=\"../files", "=\"../../files", $row[text]); } if ($row[druh] == "txto" or $row[druh] == "news" or $row[druh] == "fgt" or $row[druh] == "tiskat" ){ if ($_GET[akce] != "nahled"){ if (preg_match("/l/i", $googler)){ echo"
"; $sql = mysql_query("SELECT google2 FROM google WHERE id ='1'") or die ("necte"); while ($zaz = mysql_fetch_array($sql)){ echo "$zaz[google2]"; } echo "
"; } if (file_exists ("fota/$row[id]/fotkahl.jpg")){ echo "";} echo "

$row[nadpis]

"; if (preg_match("/s/i", $googler)){ echo "
"; $sql = mysql_query("SELECT google3 FROM google WHERE id ='1'") or die ("necte"); while ($zaz = mysql_fetch_array($sql)){ echo "$zaz[google3]"; } echo "
"; echo "
$row[text]
"; } else echo "
".str_replace("=\"../files", "=\"../../files", $row[text])."
"; $druh = $row[druh]; //promenna druh pro volbu v pravem sloupci if ($row[druh] == "tiskat"){ $restiskat = mysql_query("SELECT * FROM katalogy WHERE kos = '0'"); while ($rowtiskat = mysql_fetch_assoc($restiskat)) { echo "".$rowtiskat["nazev".$lang].""; }} if ($row[druh] == "fgt"){ echo "
"; for ($i = 1; $i <= 25; $i++){ $popis = "popis". $i; $fotka = "fotka". $i; if (file_exists ("fota/$row[id]/$fotka.jpg")){ echo ($p++ %4)? "" : "
"; echo "
"; if ($row[$popis]) echo "
$row[$popis]
"; echo "
"; echo ($p %4)? "" : "
"; } } echo ($p %4)? "
" : ""; echo "
"; } }} //kontaktni formular if ($row[form] == "1") {echo "

".$_SESSION[v1598lang][l140]." ".$_SESSION[v1598lang][l84].":
"; if (preg_match("/ kfmail/i", $_SESSION[v1598chybadresa])) echo "Položka není zadána správně!
"; echo "

"; echo "

".$_SESSION[v1598lang][l140]." ".$_SESSION[v1598lang][l141].":
"; if (preg_match("/ kfdotaz/i", $_SESSION[v1598chybadresa])) echo "Položka není zadána správně!
"; echo "

kontrolní kód

Opište kontrolní kód:
"; if (preg_match("/ captcha/i", $_SESSION[v1598chybadresa])) echo "Špatně opsaný kontrolní kód".$_SESSION[v1598chybadresa]."
"; echo "

"; echo"
"; unset ($_SESSION[v1598chybadresa]); unset ($_SESSION[v1598kf]); } if ($row[diskuse] == "1") echo "".$_SESSION[v1598lang][l39].""; //if ($row[diskuse] == "1") echo "$ldiskvstup"; } //sekce shopu - hlavní strana if (file_exists ("shop.php") and (!$_GET[kateg] and !$_GET[druh] and !$_GET[urceni] and !$_GET[typ] and !$_GET[znacka] and !$_GET[velikost] and !$_GET[produkt] and !$_GET[akceh] and !$_GET[vse]) and $shokat) { if ($shokat==1){ if (file_exists ("zdroje/fotoshmain.jpg")){ echo "";} echo "

".$pomocne[nadpish.$lang]."

"; echo "
".str_replace("=\"../files", "=\"../../files", $pomocne[textsh.$lang])."
"; require "slidermalysh3.php"; require "slidermalysh4.php"; //require "slidermalysh1.php"; require "slidermalysh2.php"; } if ($shokat==2){ if (file_exists ("zdroje/fotokatmain.jpg")){ echo "";} echo "

".$pomocne[nadpiskat.$lang]."

"; echo "
".str_replace("=\"../files", "=\"../../files", $pomocne[textkat.$lang])."
"; require "slidermalysh1.php"; require "slidermalysh2.php"; } } //sekce shopu if (file_exists ("shop.php") and ($_GET[kateg] or $_GET[druh] or $_GET[urceni] or $_GET[typ] or $_GET[znacka] or $_GET[velikost] or $_GET[produkt] or $_GET[akceh] or $_GET[vse])) { // $nadpshop a $prikazakl je v hlavičce if ($shokat == 1) $prikaz = "SELECT * FROM shop WHERE kos = '0' $sklad1 AND shop='1' AND langsh$lang = '1' ".$prikazakl; if ($shokat == 2) $prikaz = "SELECT * FROM shop WHERE kos = '0' AND katalog='1' AND langsh$lang = '1' ".$prikazakl; if (!$_GET[produkt]){ if (file_exists ("fota/kateg/$idkateg.jpg") and !$_GET[druh] and !$_GET[urceni] and !$_GET[typ] and !$_GET[znacka] and !$_GET[velikost] and !$_GET[akceh]) echo ""; echo "

"; echo $nadpshopk; if ($nadpshopk == "") echo "Kompletní sortiment shopu"; echo "

"; if ($druhtexth and $kategtexth and !$_GET[urceni] and !$_GET[typ] and !$_GET[znacka] and !$_GET[velikost] and !$_GET[akceh]) echo "
$druhtexth
"; if ($kategtexth and !$_GET[druh] and !$_GET[urceni] and !$_GET[typ] and !$_GET[znacka] and !$_GET[velikost] and !$_GET[akceh]) echo "
$kategtexth
"; //menu razeni shopu if (($_GET[kateg] or $_GET[druh] or $_GET[urceni] or $_GET[typ] or $_GET[znacka] or $_GET[velikost] or $_GET[akceh]) and !$_GET[produkt] ){ if (!$_SESSION[v1598polozek]) $_SESSION[v1598polozek]=24; if (!$_SESSION[v1598razeni]) $_SESSION[v1598razeni]="kus"; if (!$_SESSION[v1598razeniad]) $_SESSION[v1598razeniad]="desc"; echo " "; } //pokud nechci strankovat s promennou $_GET[strana] je nutne vzhodit nasledujici radek a o dva radky dal nahradit promennou strana cislem 1 a zaktivnit if. Nasledne je treba upravit shopzprac.php ale to neni nutne. Pozor na parametr [QSA,L] v .htaccess. if (!$_GET[strana]) {$strana = 1; unset ($_SESSION[v1598shoplimit]);} else $strana = $_GET[strana]; if ($_SESSION[v1598shoplimit][cesta] != $nadpshopd) unset ($_SESSION[v1598shoplimit]); //if (!$_SESSION[v1598shoplimit]) $_SESSION[v1598shoplimit]= array ("limit" => $strana, "cesta" => $nadpshopd); if ($_SESSION[v1598polozek] !="vse" ) $limit = "LIMIT ".(($_SESSION[v1598shoplimit][limit]-1)*$_SESSION[v1598polozek]).", ".$_SESSION[v1598polozek]; $prikaz1 = "SELECT * FROM shop WHERE kos = '0' $sklad AND langsh$lang = '1' ".$prikazakl; $result1 = mysql_query($prikaz1); $ppol = mysql_num_rows($result1); if ($_SESSION[v1598razeni]=="kus") $prikaz = "SELECT shop.*, objzbozi.idshop, sum(objzbozi.kus) as kuscelk from shop left join objzbozi on shop.id=objzbozi.idshop WHERE shop.kos = '0' $sklad2".$prikazakl." group by objzbozi.idshop, shop.id order by kuscelk ".$_SESSION[v1598razeniad]." $limit"; else $prikaz = $prikaz." ORDER BY ".$_SESSION[v1598razeni]." ".$_SESSION[v1598razeniad]." $limit"; $result = mysql_query($prikaz); if (mysql_num_rows($result) < 1) echo "

Nenalezena žádná položka. Začněte s výběrem znovu v horním menu.

"; echo "
"; while ($row = mysql_fetch_assoc($result)) { $cestaprodukt = cestaprodukt($lang, $row[kateg], $row[druh], $row[urceni], $row[typ], $row[znacka], $row[velikost], $row[akce], $row[url.$lang]); echo "
"; if ($row[akce]==1){ echo "
".$_SESSION[v1598lang][l164]."
";} if ($row[akce]==2){ echo "
".$_SESSION[v1598lang][l165]."
";} if ($row[akce]==3){ echo "
".$_SESSION[v1598lang][l166]."
";} echo ""; echo "
"; echo "
"; $textnews = strip_tags($row[text.$lang]); $textnews = html_entity_decode($textnews, ENT_QUOTES, 'UTF-8'); if ($shokat==1) $znaku = 80; else $znaku = 150; $textnews = substr($textnews, 0, $znaku); $slov = substr_count("$textnews", " ") - 1; $textnews = explode(" ","$textnews"); echo "$textnews[0] "; for ($i = 1; $i <= $slov; $i++){ echo "$textnews[$i] ";} echo "...
"; if ($shokat==1 and $row[akce]!=1) echo"
".cenabal($row[acena], $row[balks]).",-
"; if ($shokat == 1 and $row[akce]==1) echo"
".cenabal($row[sleva], $row[balks]).",-
"; echo"
"; } echo"
"; if ($_SESSION[v1598polozek]!="vse"){ $stran = $ppol / $_SESSION[v1598polozek]; $stran = ceil ($stran); if ($stran > 1) { echo "
"; if ($_SESSION[v1598shoplimit][limit] > 1) echo "<< ".$_SESSION[v1598lang][l169]."    "; for ($i = 1; $i <= $stran; $i++){ if ($i == $_SESSION[v1598shoplimit][limit]) echo "$i  "; else echo "$i  "; } if ($_SESSION[v1598shoplimit][limit] < $stran )echo "   ".$_SESSION[v1598lang][l168]." >> "; echo "
"; }} if ($druhtextd) echo "
$druhtextd
"; if ($kategtextd) echo "
$kategtextd
"; } } } if ($_GET[akce]=="mapa"){ echo "

".$_SESSION[v1598lang][l16]."

"; echo "
    "; $zanorenidef = "1"; $result = mysql_query('SELECT * FROM struktura ORDER BY level asc'); while ($row = mysql_fetch_array($result)) { $zanoreni = substr_count ($row['level'], "."); $zan = $zanoreni - $zanorenidef; if ($zan == 1) echo "
      "; if ($zan != 1 and $dalsi) echo ""; if ($zan == -1) echo "
    "; if ($zan == -2) echo "
"; if ($zan == -3) echo ""; if ($zan == -4) echo ""; if ($zan == -5) echo ""; echo "
  • "; echo "".$row['nazev'.$lang]; $zanorenidef = $zanoreni; $dalsi = 1; } $zanoreni = 1; $zan = $zanoreni - $zanorenidef; echo ""; echo "
  • "; if ($zan == -1) echo ""; if ($zan == -2) echo ""; if ($zan == -3) echo ""; if ($zan == -4) echo ""; if ($zan == -5) echo ""; echo ""; $zanorenidef = $zanoreni; echo "".$_SESSION[v1598lang][l2]."
    "; echo "".$_SESSION[v1598lang][l1]."

    "; echo "Zboží v shopu:

    "; $cestalangsh = "https://".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\')."/".$_SESSION[v1598lang][langzk]."/".$_SESSION[v1598lang][l143]."/"; $result1 = mysql_query("SELECT id, url$lang, kateg, nadpis$lang, druh, urceni, typ, znacka, velikost, akce FROM shop WHERE kos = '0' AND shop = 1 $sklad1 AND langsh$lang = '1' ORDER BY `druh` asc"); while ($row1 = mysql_fetch_array($result1)) { $cestaprodukt = cestaprodukt($lang, $row1[kateg], $row1[druh], $row1[urceni], $row1[typ], $row1[znacka], $row1[velikost], $row1[akce], $row1[url.$lang]); echo "".$row1[nadpis.$lang]."
    "; } echo "
    Položky v katalogu:

    "; $cestalangsh = "https://".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\')."/".$_SESSION[v1598lang][langzk]."/".$_SESSION[v1598lang][l144]."/"; $result1 = mysql_query("SELECT id, url$lang, kateg, nadpis$lang, druh, urceni, typ, znacka, velikost, akce FROM shop WHERE kos = '0' AND katalog= 1 AND langsh$lang = '1' ORDER BY `druh` asc"); while ($row1 = mysql_fetch_array($result1)) { $cestaprodukt = cestaprodukt($lang, $row1[kateg], $row1[druh], $row1[urceni], $row1[typ], $row1[znacka], $row1[velikost], $row1[akce], $row1[url.$lang]); echo "".$row1[nadpis.$lang]."
    "; } } /*if ($_GET[akce]=="vyhledat"){ echo "

    ".$_SESSION[v1598lang][l12]."

    "; echo "

    ".$_SESSION[v1598lang][l13].":

    "; echo "
    ";} */ if ($_POST[vyhledat]){require ("vyhledat.php");} if ($_GET[akce]=="nahled"){ $popis = "popis".$_GET[idfotka]; $result = mysql_query("SELECT * FROM clanky$lang WHERE id = '$_GET[id]'"); while ($row = mysql_fetch_array($result)) { echo "

    $row[nadpis]

    "; if ($row[$popis]){ echo "$row[$popis]

    "; } echo " "; } } if ($_GET[akce]=="archiv"){ navigace ($_GET[idstr], $_SESSION[v1598nastshop][jmeno], $_SESSION[v1598lang][l4], $_SESSION[v1598lang][l24], $lang, $cestalang); echo "

    ".$_SESSION[v1598lang][archivnadpis]."

    "; $result = mysql_query("SELECT id, nadpis, url, druh, datum, soubor, textnews, diskuse FROM clanky$lang WHERE idstr = '$_GET[idstrarch]' AND `datum` < (SELECT DATE_SUB(NOW(), INTERVAL 2 MONTH)) and kos = '0' ORDER BY datum DESC"); while ($radek = mysql_fetch_assoc($result)) { polozka($radek[id], $radek[nadpis], $radek[druh], $radek[datum], $radek[soubor], $_SESSION[v1598lang][l3], $cesta, $cestalang, $radek[url], $radek[diskuse]); } echo "

    ".$_SESSION[v1598lang][l5]."

    "; } if (file_exists ("shop.php")) require "shop.php"; if (preg_match("/a/i", $googler)){ echo "
    "; $sql = mysql_query("SELECT google5 FROM google WHERE id ='1'") or die ("necte"); while ($zaz = mysql_fetch_array($sql)){ echo "$zaz[google5]"; } echo "
    "; } } require "prava.php"; require "paticka.php"; ?>