fixing short tags on search and change to SQL
Merge pull request #46 from yiendos/fix_search

fixing short tags on search and change to SQL