A man was left with a fractured skull after he was attacked in Blackpool.