Update view.php

Fix parse error on PHP 5.3.13
Merge pull request #107 from halfhope/patch-2

Update view.php