Added dynamic hrefs

Used $_SERVER['PHP_SELF']