public function screen_apply() { if (!$this->auth->check_member()) { //ログイン画面 新規登録 へのリンク $this->message = "すでにアカウントをお持ちですか?"; $this->screen_login(); exit; } else { $action['member_id'] = $_SESSION[_MEMBER_AUTHINFO]['id']; $action['company_id'] = $_POST['company_id']; $action['project_id'] = $_POST['project_id']; $history = "appli"; $ActionModel = new ActionModel(); $ActionModel->regist_action($action, $history); $this->title = '応募完了'; $this->message = "応募が完了しました。<br><br>企業からの返信を待ちましょう!"; $this->file = 'message.tpl'; } $this->view_display(); }