add some static, back to mysql
some rollback more
templates & igor add