First attempt on view.php
Merge pull request #12 from flemenic/master

First attempt on view.php