数据验证
修复 Notice: Undefined index
adapted data structure
...
fixed bug
Merge branch 'master' into Smarty
template for log and reg