Database error..
SELECT *,DATE_FORMAT(adm_renewed,'%d.%m.%Y, %H:%i') as adm_renewed FROM portpholio WHERE gallery IS NULL WHERE best=1 ORDER BY adm_priority DESC
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 \'WHERE best=1 ORDER BY adm_priority DESC\' at line 1