db_username; // Användarnamn $password = $this->db_password; // Lösenord $host=$host2= $this->db_host; // Adressen på MySQL servern $dbname = $this->db_database; // Namnet på databasen $grans = "24"; // Hur många bilder per sida $cols = "6"; // Hur många kolummner med bilder $bgcolor = array("255","255","255"); // Bakgrundsfärgen i RGB modell ("R","G","B") $bgcolor2 = array(66,81,90); $path = $this->path; $galurl = "http://".$this->url."/"; ################################################################################################# # # thumbnail.png => $path."/images/layout/thumbnail.png" # 04B_03B_.TTF => $path."/.inc/04B_03B_.TTF" # ################################################################################################# ################################################## # Språk define("NÄSTA_BILD",$this->label('NÄSTA_BILD')); define("FÖREGÅENDE_BILD",$this->label('FÖREGÅENDE_BILD')); define("NÄSTA_SIDA",$this->label('NÄSTA_SIDA')); define("FÖREGÅENDE_SIDA",$this->label('FÖREGÅENDE_SIDA')); define("KATEGORI",$this->label('KATEGORI')); define("VÄLJ_KATEGORI",$this->label('VÄLJ_KATEGORI')); define("BILDER_I_GALLERIET",$this->label('BILDER_I_GALLERIET')); define("ALLA",$this->label('ALLA')); define("BILDER",$this->label('BILDER')); define("SENAST_TILLAGDA",$this->label('SENAST_TILLAGDA')); #define("_LANG_","fin"); define("BILD",$this->label('BILD')); define("PAUSE",$this->label('PAUSE')); define("PLAY",$this->label('PLAY')); define("REPLAY",$this->label('REPLAY')); define("SLIDESHOW",$this->label('SLIDESHOW')); $result=$this->db_query("SELECT count($dbtable.nID) AS tot, $dbtabletocat.ncID FROM $dbtable, $dbtabletocat, $dbtablelang where $dbtable.nID=$dbtablelang.nID AND $dbtable.nID=$dbtabletocat.nID AND $dbtablelang.nlLang='$galsprak' GROUP BY $dbtabletocat.ncID"); while(list($tot,$imgKat1)=mysql_fetch_array($result)){ $this->gallery_antal[$imgKat1]=$tot; }; $allaant=@array_sum($antal); $this->gallery_antal[0]=$allaant; $catid=$_GET["catid"]; if (!isset($catid)){ $catid=0; }; $maxlevel=0; ?>
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' .ncParent, .nclName FROM , WHERE .ncID=.ncID AND .nclLang='fin' AND .nclName<>' at line 1


  




VÄLJ_KATEGORI...

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AS antal FROM , WHERE .nID=.nID AND .nlLang='fin'' at line 1BILDER_I_GALLERIET

 SENAST_TILLAGDAYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM , WHERE .nID=.nID AND .nlLang='fin' ORDER BY .nDatum DESC LIMIT 1' at line 1



  Schiedel Jalotakka Heda Nexö Marine clean Lip-Lap
Jøtul Lämpömaa Warma uunit Salli Salli