Moved code that creates the header for the print view in to method
Moved code that creates the profiling chart in to a method
Fixing errors
Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into refactor
Merge pull request #351 from m0hamed/refactor

code extraction