Update Theme.php

- remove duplicate (hasLeftColumn, hasRightColumn)
- change LEFT JOIN '._DB_PREFIX_.'meta m ON (m.id_meta = tm.id_meta) to LEFT JOIN '._DB_PREFIX_.'meta m ON (m.id_meta = tm.id_theme_meta)