checkLogin(false); $login_user = session("login_user"); $this->assign("login_user" ,$login_user); if (LANG_SET == 'en-us') { $demo_url = "https://www.showdoc.cc/demo-en"; $help_url = "https://www.showdoc.cc/help-en"; $creator_url = "https://github.com/star7th"; } else{ $demo_url = "https://www.showdoc.cc/demo"; $help_url = "https://www.showdoc.cc/help"; $creator_url = "https://blog.star7th.com/"; } $this->assign("demo_url" ,$demo_url); $this->assign("help_url" ,$help_url); $this->assign("creator_url" ,$creator_url); $this->display(); } }