Add error page and footer; optimize common variables and forum redirects; layout basic framework of mobile port