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 '-14, 15' at line 19 [1064]
SELECT DISTINCT ite.ID
FROM sw_item AS ite LEFT JOIN sw_iteminfo AS ii ON ii.itemID=ite.ID AND ii.langID=1 LEFT JOIN sw_it_itgr AS itg ON ite.ID=itg.itemID
LEFT JOIN sw_navi AS n ON ite.itemgrID=n.ID
LEFT JOIN sw_it_sh AS ish ON ish.shopID=1
LEFT JOIN sw_price AS p ON p.itemID = ite.ID
WHERE (
(ite.itemgrID=17 OR itg.itemgrID=17)
AND
(ite.visible>0 AND ite.visible!=4 )
)
AND
(
n.groupID=2 OR n.groupID=2
)
AND
(
ish.itemID = ite.ID OR ite.shopID =1
)
ORDER BY ite.orderby ASC LIMIT -14, 15
file: 77 - limitnavi.inc.php call: db_query("SELECT DISTINCT ite.ID
FROM sw_item AS ite LEFT...", 1, "limitnavi.inc.php77")