change header layout file type to .php
add common func

* tGetGavatar() use to get gavatar.com image url
add main view file
add user info when login sucess

* gavatar image url
* username
remove <img> html tag
remove content part from header layout
update footer
admin general view new format