Query: SELECT SQL_CALC_FOUND_ROWS gallerys.*, img.Id AS ImgId, CONCAT( '/attachment/', IF( img.DirectoryPath IS NULL, '', CONCAT( img.DirectoryPath, '/' ) ), img.Id, '_', img.FileName ) AS ImgPath, img.Name AS ImgName, CONCAT( '/attachment/', IF( img2.DirectoryPath IS NULL, '', CONCAT( img2.DirectoryPath, '/' ) ), img2.Id, '_', img2.FileName ) AS ImgPath2, img2.Name AS ImgName2, volumes.StrId AS VolumeStrId, volumes.Name AS VolumeName FROM gallerys LEFT JOIN gallery_image ON gallery_image.GalleryId = gallerys.Id LEFT JOIN attachments AS img ON img.ParentId = gallery_image.AttachmentId AND (img.CopyId = 1) LEFT JOIN attachments AS img2 ON img2.ParentId = gallery_image.AttachmentId AND (img2.CopyId = 2) LEFT JOIN gallery_volume ON gallery_volume.GalleryId=gallerys.Id LEFT JOIN volumes ON volumes.Id=gallery_volume.TagId WHERE gallerys.Deleted IS NULL AND gallery_volume.GalleryId = gallerys.Id AND gallery_volume.TagId = order by gallerys.Id asc LIMIT 40 OFFSET 0 failed. 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 'order by gallerys.Id asc LIMIT 40 OFFSET 0' at line 24

(mysqli): SELECT SQL_CALC_FOUND_ROWS gallerys.*, img.Id AS ImgId, CONCAT( '/attachment/', IF( img.DirectoryPath IS NULL, '', CONCAT( img.DirectoryPath, '/' ) ), img.Id, '_', img.FileName ) AS ImgPath, img.Name AS ImgName, CONCAT( '/attachment/', IF( img2.DirectoryPath IS NULL, '', CONCAT( img2.DirectoryPath, '/' ) ), img2.Id, '_', img2.FileName ) AS ImgPath2, img2.Name AS ImgName2, volumes.StrId AS VolumeStrId, volumes.Name AS VolumeName FROM gallerys LEFT JOIN gallery_image ON gallery_image.GalleryId = gallerys.Id LEFT JOIN attachments AS img ON img.ParentId = gallery_image.AttachmentId AND (img.CopyId = 1) LEFT JOIN attachments AS img2 ON img2.ParentId = gallery_image.AttachmentId AND (img2.CopyId = 2) LEFT JOIN gallery_volume ON gallery_volume.GalleryId=gallerys.Id LEFT JOIN volumes ON volumes.Id=gallery_volume.TagId WHERE gallerys.Deleted IS NULL AND gallery_volume.GalleryId = gallerys.Id AND gallery_volume.TagId = order by gallerys.Id asc LIMIT 40 OFFSET 0  
1064: 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 'order by gallerys.Id asc LIMIT 40 OFFSET 0' at line 24
Galéria - Magyar Szemle
Felhasználónév: Jelszó: Elfelejtette a jelszavát?Regisztráció
Danube Institute
Magyar Fejlesztési Bank Zrt.
NKA
OTP Bank
Prima Prissima díj 2003
EEM
Príma-díj
Magyarország Barátai Alapítvány
Polgári Magyarországért Alapítvány
Batthány Alapítvány
NMI

Képgaléria