Díky za reakci. Takže tím, co jsi napsal, mám nahradit podmínku v config.php na řádku 101?
Takže
nahradit zaif(empty($_COOKIE[vzhled])) {
$_COOKIE[vzhled]="c.hodnota";
}
$dotazhod=phprs_sql_query("select g.ident_sab,g.soubor_sab,g.adr_sab from ".$rspredpona."config as c,".$rspredpona."global_sab as g where c.promenna='global_sab' and $_COOKIE[vzhled]=g.ids",$dbspojeni);
?if(empty($_COOKIE["vzhled"])) {
$_COOKIE["vzhled"]="c.hodnota";
} else {
$_COOKIE["vzhled"]=(int)$_COOKIE["vzhled"];
}
$dotazhod=phprs_sql_query("select g.ident_sab,g.soubor_sab,g.adr_sab from ".$rspredpona."config as c,".$rspredpona."global_sab as g where c.promenna='global_sab' and $_COOKIE[vzhled]=g.ids",$dbspojeni);
Změní se tedy pouze to, že přibude řádek s "else". Už to trochu chápu.