Update s.php

move some code to new file called header.php