Fatal error: Uncaught exception 'Exception' with message 'DB:Query fail<br>ERROR42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY pd_sno' at line 25Query:SELECT
pd_id AS `id`,
fkind_id AS `fid`,
pd_sno AS `ind`,
pd_pname AS `pname`,
IF(pd_name_fr IS NULL OR pd_name_fr='', pd_name_en,pd_name_fr) AS `title`,
IF(pd_intro_fr IS NULL OR pd_intro_fr='', pd_intro_en,pd_intro_fr) AS `intro`,
IF(pd_spec_fr IS NULL OR pd_spec_fr='', pd_spec_en,pd_spec_fr) AS `spec`,
IF(pd_feat_fr IS NULL OR pd_feat_fr='', pd_feat_en,pd_feat_fr) AS `feat`,
IF(pd_vinfo_fr IS NULL OR pd_vinfo_fr='', pd_vinfo_en,pd_vinfo_fr) AS `vinfo`,
IF(pd_pic_fr IS NULL OR pd_pic_fr='', pd_pic_en,pd_pic_fr) AS `pic`,
IF(pd_picinfo_fr IS NULL OR pd_picinfo_fr='', pd_picinfo_en,pd_picinfo_fr) AS `picinfo`,
pd_script AS `script`,
pd_3d_folder AS `3dfolder`,
pd_pic AS `ppic`,
pd_mpic AS `mpic`,
pd_iepic A in /home/shini/public_html/webtest/inc/_database.class.php on line 336