Added Smarty 3.1.13
Directories for Smarty
fixed bug
Merge branch 'master' into Smarty
template for log and reg
Refactor for manager pages