Added filter

$field = filter_var($_GET['fid'], FILTER_VALIDATE_INT, FILTER_NULL_ON_FAILURE);

If attempted xss then $field will be null
Fixed broken images if ss was not in root directory
Merge branch 'refs/heads/2days'

Conflicts:
	code/FilePage.php
Added back check for GET['fid'] to avoid Notice undefined index.