$data = $this->session->userdata; $ci = &get_instance(); $now_date = date("Y-m-d"); $ci->load->model('web/m_today_word'); $arr_today_word = $ci->m_today_word->today_word_where_display_date_select($now_date); $today_word = '하나님이 세상을 이처럼 사랑하사 독생자를 주셨으니 이는 그를 믿는 자마다 멸망하지 않고 영생을 얻게 하려 하심이라'; $today_word_title = '요한복음 3장 16절'; if(count($arr_today_word)>0) { $today_word = $arr_today_word['word']; $today_word_title = $arr_today_word['title']; } $ci->load->helper('cookie'); $comment_sns_id = get_cookie('crossmap_comment_sns_id'); $comment_sns_name = get_cookie('crossmap_comment_sns_name'); $comment_sns_type = get_cookie('crossmap_comment_sns_type'); if (isset($data['C_Member_Id']) || isset($comment_sns_name)) { if($comment_sns_name) { $data['C_Member_Profile'] = '/img/mobile/life_profile.png'; $data['C_Member_Nicname'] = $comment_sns_name; $data['C_Member_Group_Name'] = $comment_sns_type; $logout_link = "comment_logout();"; } else if($data['C_Member_Id']) { $logout_link = "window.location='/m/member/logout_proc'"; } else { $logout_link = ""; } } ?>