Added and changed files  - php part

and styles in main.css