Beispiel #1
0
 public function before_calling()
 {
     $this->assigns_layout["gnb"] = $this->tpl_name;
     $this->assigns_layout["con"] = get_contents_category();
     $this->assigns_layout["s"] = $_SESSION["s"];
     $this->assigns["s"] = $_SESSION["s"];
 }
Beispiel #2
0
 public function before_calling()
 {
     $this->assigns_layout["gnb"] = "membership";
     $this->assigns_layout["gnb_title"] = "멤버십";
     $this->assigns_layout["con"] = get_contents_category();
     $this->assigns["s"] = $_SESSION["s"];
     $this->assigns_layout["s"] = $_SESSION["s"];
 }
Beispiel #3
0
 public function before_calling()
 {
     $this->assigns_layout["gnb"] = "recruit";
     $this->assigns_layout["gnb_title"] = "채용정보";
     $this->assigns_layout["con"] = get_contents_category();
     $this->assigns["s"] = $_SESSION["s"];
     $this->assigns_layout["s"] = $_SESSION["s"];
 }
Beispiel #4
0
 public function before_calling()
 {
     //        $this->assigns_layout["gnb"] = "event";
     //        $this->assigns_layout["gnb_title"] = "이벤트 관리";
     $this->assigns_layout["con"] = get_contents_category();
     $this->assigns["s"] = $_SESSION["s"];
     $this->assigns_layout["s"] = $_SESSION["s"];
 }
Beispiel #5
0
 public function before_calling()
 {
     $this->assigns_layout["gnb"] = "office";
     $this->assigns_layout["gnb_title"] = "Office Hours";
     $this->assigns_layout["con"] = get_contents_category();
     $this->assigns_layout["s"] = $_SESSION["s"];
     $this->assigns["s"] = $_SESSION["s"];
 }
Beispiel #6
0
 public function before_calling()
 {
     $this->assigns_layout["gnb"] = "member";
     $this->assigns_layout["gnb_title"] = "회원정보관리";
     $this->assigns_layout["con"] = get_contents_category();
     $this->assigns["s"] = $_SESSION["s"];
     $this->assigns_layout["s"] = $_SESSION["s"];
     //신청내역 있는 항목만 노출시키기위해 작성한 것인데, 보류.
     /*$this->assigns_layout["event_reserve_cnt"] = $this->Event_reserve->cnt('user_id ='.$_SESSION["s"]["id"]);
       $this->assigns_layout["event_host_cnt"] = $this->Event->cnt('user_id ='.$_SESSION["s"]["id"]);
       $this->assigns_layout["space_reserve_cnt"] = $this->Space_reserve->cnt('user_id = '.$_SESSION["s"]["id"]);
       $this->assigns_layout["challenge_apply_cnt"] = $this->Competitions_apply->get_by_user_cnt($_SESSION["s"]["id"]);
       $this->assigns_layout["challenge_host_cnt"] = $this->Competitions->get_by_user_cnt($_SESSION["s"]["id"]);
       $this->assigns_layout["challenge_examiner_cnt"] = $this->Competitions_examiner->get_by_user_cnt($_SESSION["s"]["id"], "ce.status = 1");
       $this->assigns_layout["office_apply_cnt"] = $this->Office_hours_apply->cnt('', 'user_id = '.$_SESSION["s"]["id"]);
       $this->assigns_layout["benefit_apply_cnt"] = $this->Program->get_by_user_cnt($_SESSION["s"]["id"]);
       $this->assigns_layout["recruit_cnt"] = $this->Recruit->list_s_cnt('user_id ='.$_SESSION["s"]["id"]);
       $this->assigns_layout["referemce_cnt"] = $this->Activity->get_by_com_cnt(1, $_SESSION["s"]["id"], 'target_type = '.Activity_model::E_TYPE_REFERENCE);*/
 }