/home/arbalet2/public_html/catalog.php 64
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND is_show = 1
          ORDER BY sort, id' at line 3

SELECT id, parent, level, title, url, is_new, sort
          FROM categories
          WHERE parent =  AND is_show = 1
          ORDER BY sort, id