Example #1
0
 /**
  * FAQ 페이지입니다
  */
 public function index($fgr_key = '')
 {
     // 이벤트 라이브러리를 로딩합니다
     $eventname = 'event_faq_index';
     $this->load->event($eventname);
     $view = array();
     $view['view'] = array();
     // 이벤트가 존재하면 실행합니다
     $view['view']['event']['before'] = Events::trigger('before', $eventname);
     if (empty($fgr_key)) {
         show_404();
     }
     $where = array('fgr_key' => $fgr_key);
     $faqgroup = $this->Faq_group_model->get_one('', '', $where);
     if (!element('fgr_id', $faqgroup)) {
         show_404();
     }
     /**
      * 페이지에 숫자가 아닌 문자가 입력되거나 1보다 작은 숫자가 입력되면 에러 페이지를 보여줍니다.
      */
     $param =& $this->querystring;
     $page = (int) $this->input->get('page') > 0 ? (int) $this->input->get('page') : 1;
     $findex = 'faq_order';
     $forder = 'asc';
     $sfield = array('faq_title', 'faq_content', 'faq_mobile_content');
     $skeyword = $this->input->get('skeyword', null, '');
     $per_page = $this->cbconfig->item('list_count') ? (int) $this->cbconfig->item('list_count') : 20;
     $offset = ($page - 1) * $per_page;
     /**
      * 게시판 목록에 필요한 정보를 가져옵니다.
      */
     $this->Faq_model->allow_search_field = array('faq_title', 'faq_content', 'faq_mobile_content');
     // 검색이 가능한 필드
     $this->Faq_model->search_field_equal = array();
     // 검색중 like 가 아닌 = 검색을 하는 필드
     $this->Faq_model->allow_order_field = array('faq_order');
     // 정렬이 가능한 필드
     $where = array('fgr_id' => element('fgr_id', $faqgroup));
     $result = $this->Faq_model->get_list($per_page, $offset, $where, '', $findex, $forder, $sfield, $skeyword);
     if (element('list', $result)) {
         foreach (element('list', $result) as $key => $val) {
             $content = $this->cbconfig->get_device_view_type() === 'mobile' ? element('faq_mobile_content', $val) ? element('faq_mobile_content', $val) : element('faq_content', $val) : element('faq_content', $val);
             $thumb_width = $this->cbconfig->get_device_view_type() === 'mobile' ? $this->cbconfig->item('faq_mobile_thumb_width') : $this->cbconfig->item('faq_thumb_width');
             $autolink = $this->cbconfig->get_device_view_type() === 'mobile' ? $this->cbconfig->item('use_faq_mobile_auto_url') : $this->cbconfig->item('use_faq_auto_url');
             $popup = $this->cbconfig->get_device_view_type() === 'mobile' ? $this->cbconfig->item('faq_mobile_content_target_blank') : $this->cbconfig->item('faq_content_target_blank');
             $result['list'][$key]['title'] = display_html_content(element('faq_title', $val), element('faq_content_html_type', $val), $thumb_width, $autolink, $popup, $writer_is_admin = true);
             $result['list'][$key]['content'] = display_html_content($content, element('faq_content_html_type', $val), $thumb_width, $autolink, $popup, $writer_is_admin = true);
         }
     }
     $list_num = $result['total_rows'] - ($page - 1) * $per_page;
     $view['view']['data'] = $result;
     $view['view']['faqgroup'] = $faqgroup;
     /**
      * 페이지네이션을 생성합니다
      */
     $config['base_url'] = faq_url($fgr_key) . '?' . $param->replace('page');
     $config['total_rows'] = $result['total_rows'];
     $config['per_page'] = $per_page;
     $this->pagination->initialize($config);
     $view['view']['paging'] = $this->pagination->create_links();
     $view['view']['page'] = $page;
     $view['view']['canonical'] = faq_url($fgr_key);
     // 이벤트가 존재하면 실행합니다
     $view['view']['event']['before_layout'] = Events::trigger('before_layout', $eventname);
     /**
      * 레이아웃을 정의합니다
      */
     $page_title = $this->cbconfig->item('site_meta_title_faq');
     $meta_description = $this->cbconfig->item('site_meta_description_faq');
     $meta_keywords = $this->cbconfig->item('site_meta_keywords_faq');
     $meta_author = $this->cbconfig->item('site_meta_author_faq');
     $page_name = $this->cbconfig->item('site_page_name_faq');
     $searchconfig = array('{FAQ제목}', '{FAQ아이디}');
     $replaceconfig = array(element('fgr_title', $faqgroup), $fgr_key);
     $page_title = str_replace($searchconfig, $replaceconfig, $page_title);
     $meta_description = str_replace($searchconfig, $replaceconfig, $meta_description);
     $meta_keywords = str_replace($searchconfig, $replaceconfig, $meta_keywords);
     $meta_author = str_replace($searchconfig, $replaceconfig, $meta_author);
     $page_name = str_replace($searchconfig, $replaceconfig, $page_name);
     $layout_dir = element('fgr_layout', $faqgroup) ? element('fgr_layout', $faqgroup) : $this->cbconfig->item('layout_faq');
     $mobile_layout_dir = element('fgr_mobile_layout', $faqgroup) ? element('fgr_mobile_layout', $faqgroup) : $this->cbconfig->item('mobile_layout_faq');
     $use_sidebar = element('fgr_sidebar', $faqgroup) ? element('fgr_sidebar', $faqgroup) : $this->cbconfig->item('sidebar_faq');
     $use_mobile_sidebar = element('fgr_mobile_sidebar', $faqgroup) ? element('fgr_mobile_sidebar', $faqgroup) : $this->cbconfig->item('mobile_sidebar_faq');
     $skin_dir = element('fgr_skin', $faqgroup) ? element('fgr_skin', $faqgroup) : $this->cbconfig->item('skin_faq');
     $mobile_skin_dir = element('fgr_mobile_skin', $faqgroup) ? element('fgr_mobile_skin', $faqgroup) : $this->cbconfig->item('mobile_skin_faq');
     $layoutconfig = array('path' => 'faq', 'layout' => 'layout', 'skin' => 'faq', 'layout_dir' => $layout_dir, 'mobile_layout_dir' => $mobile_layout_dir, 'use_sidebar' => $use_sidebar, 'use_mobile_sidebar' => $use_mobile_sidebar, 'skin_dir' => $skin_dir, 'mobile_skin_dir' => $mobile_skin_dir, 'page_title' => $page_title, 'meta_description' => $meta_description, 'meta_keywords' => $meta_keywords, 'meta_author' => $meta_author, 'page_name' => $page_name);
     $view['layout'] = $this->managelayout->front($layoutconfig, $this->cbconfig->get_device_view_type());
     $this->data = $view;
     $this->layout = element('layout_skin_file', element('layout', $view));
     $this->view = element('view_skin_file', element('layout', $view));
 }
Example #2
0
    public function _insert_init_data()
    {
        $this->load->library(array('user_agent', 'session'));
        $this->load->model(array('Member_model', 'Member_meta_model', 'Config_model', 'Member_nickname_model', 'Member_register_model', 'Document_model', 'Faq_model', 'Faq_group_model', 'Board_model', 'Board_meta_model', 'Board_group_model', 'Board_group_meta_model', 'Menu_model'));
        if (!function_exists('password_hash')) {
            $this->load->helper('password');
        }
        $this->load->driver('cache', config_item('cache_method'));
        $skin = $this->input->post('skin');
        $skin_mobile = $this->input->post('skin') === 'basic' ? 'mobile' : 'bootstrap';
        $configdata = array('site_title' => '홈페이지', 'site_logo' => '홈페이지', 'admin_logo' => 'Admin', 'spam_word' => '18아,18놈,18새끼,18년,18뇬,18노,18것,18넘,개년,개놈,개뇬,개새,개색끼,개세끼,개세이,개쉐이,개쉑,개쉽,개시키,개자식,개좆,게색기,게색끼,광뇬,뇬,눈깔,뉘미럴,니귀미,니기미,니미,도촬,되질래,뒈져라,뒈진다,디져라,디진다,디질래,병쉰,병신,뻐큐,뻑큐,뽁큐,삐리넷,새꺄,쉬발,쉬밸,쉬팔,쉽알,스패킹,스팽,시벌,시부랄,시부럴,시부리,시불,시브랄,시팍,시팔,시펄,실밸,십8,십쌔,십창,싶알,쌉년,썅놈,쌔끼,쌩쑈,썅,써벌,썩을년,쎄꺄,쎄엑,쓰바,쓰발,쓰벌,쓰팔,씨8,씨댕,씨바,씨발,씨뱅,씨봉알,씨부랄,씨부럴,씨부렁,씨부리,씨불,씨브랄,씨빠,씨빨,씨뽀랄,씨팍,씨팔,씨펄,씹,아가리,아갈이,엄창,접년,잡놈,재랄,저주글,조까,조빠,조쟁이,조지냐,조진다,조질래,존나,존니,좀물,좁년,좃,좆,좇,쥐랄,쥐롤,쥬디,지랄,지럴,지롤,지미랄,쫍빱,凸,퍽큐,뻑큐,빠큐,ㅅㅂㄹㅁ', 'white_iframe' => 'www.youtube.com
www.youtube-nocookie.com
maps.google.co.kr
maps.google.com
flvs.daum.net
player.vimeo.com
sbsplayer.sbs.co.kr
serviceapi.rmcnmv.naver.com
serviceapi.nmv.naver.com
www.mgoon.com
videofarm.daum.net
player.sbs.co.kr
sbsplayer.sbs.co.kr
www.tagstory.com
play.tagstory.com
flvr.pandora.tv', 'new_post_second' => '30', 'open_currentvisitor' => '1', 'currentvisitor_minute' => '10', 'use_copy_log' => '1', 'max_level' => '100', 'ip_display_style' => '1001', 'list_count' => '20', 'site_blacklist_title' => '사이트가 공사중에 있습니다', 'site_blacklist_content' => '<p>안녕하세요</p><p>블편을 드려 죄송합니다. 지금 이 사이트는 접근이 금지되어있습니다</p><p>감사합니다</p>', 'use_point' => '1', 'point_register' => '50', 'point_login' => '5', 'point_recommended' => '5', 'point_recommender' => '5', 'point_note' => '10', 'block_download_zeropoint' => '1', 'block_read_zeropoint' => '1', 'use_sideview' => '1', 'use_mobile_sideview' => '1', 'use_sideview_email' => '1', 'use_mobile_sideview_email' => '1', 'post_editor_type' => 'smarteditor', 'use_document_dhtml' => '1', 'document_editor_type' => 'smarteditor', 'document_thumb_width' => '700', 'document_mobile_thumb_width' => '400', 'document_content_target_blank' => '1', 'use_document_auto_url' => '1', 'use_faq_dhtml' => '1', 'faq_editor_type' => 'smarteditor', 'faq_thumb_width' => '700', 'faq_mobile_thumb_width' => '400', 'faq_content_target_blank' => '1', 'use_faq_auto_url' => '1', 'use_popup_dhtml' => '1', 'popup_editor_type' => 'smarteditor', 'popup_thumb_width' => '700', 'popup_mobile_thumb_width' => '400', 'popup_content_target_blank' => '1', 'use_popup_auto_url' => '1', 'use_formmail_dhtml' => '1', 'formmail_editor_type' => 'smarteditor', 'use_note' => '1', 'note_list_page' => '10', 'note_mobile_list_page' => '10', 'use_note_dhtml' => '1', 'use_note_mobile_dhtml' => '1', 'note_editor_type' => 'smarteditor', 'use_notification' => '1', 'notification_reply' => '1', 'notification_comment' => '1', 'notification_comment_comment' => '1', 'notification_note' => '1', 'layout_default' => $skin, 'sidebar_default' => '1', 'skin_default' => $skin, 'mobile_layout_default' => $skin_mobile, 'mobile_skin_default' => $skin_mobile, 'skin_popup' => 'basic', 'mobile_skin_popup' => 'basic', 'skin_emailform' => 'basic', 'use_login_account' => 'both', 'password_length' => '4', 'use_member_photo' => '1', 'member_photo_width' => '80', 'member_photo_height' => '80', 'use_member_icon' => '1', 'member_icon_width' => '20', 'member_icon_height' => '20', 'denied_nickname_list' => 'admin,administrator,관리자,운영자,어드민,주인장,webmaster,웹마스터,sysop,시삽,시샵,manager,매니저,메니저,root,루트,su,guest,방문객', 'denied_userid_list' => 'admin,administrator,webmaster,sysop,manager,root,su,guest,super', 'member_register_policy1' => '회원약관을 입력해주세요', 'member_register_policy2' => '개인정보취급방침을 입력해주세요', 'register_level' => '1', 'change_nickname_date' => '60', 'change_open_profile_date' => '60', 'change_use_note_date' => '60', 'change_password_date' => '180', 'max_login_try_count' => '5', 'max_login_try_limit_second' => '30', 'total_rss_feed_count' => '100', 'site_meta_title_default' => '{홈페이지제목}', 'site_meta_title_main' => '{홈페이지제목}', 'site_meta_title_board_list' => '{게시판명} - {홈페이지제목}', 'site_meta_title_board_post' => '{글제목} > {게시판명} - {홈페이지제목}', 'site_meta_title_board_write' => '{게시판명} 글쓰기 - {홈페이지제목}', 'site_meta_title_board_modify' => '{글제목} 글수정 - {홈페이지제목}', 'site_meta_title_group' => '{그룹명} - {홈페이지제목}', 'site_meta_title_document' => '{문서제목} - {홈페이지제목}', 'site_meta_title_faq' => '{FAQ제목} - {홈페이지제목}', 'site_meta_title_register' => '회원가입 - {홈페이지제목}', 'site_meta_title_register_form' => '회원가입 - {홈페이지제목}', 'site_meta_title_register_result' => '회원가입결과 - {홈페이지제목}', 'site_meta_title_findaccount' => '회원정보찾기 - {홈페이지제목}', 'site_meta_title_login' => '로그인 - {홈페이지제목}', 'site_meta_title_mypage' => '{회원닉네임}님의 마이페이지 - {홈페이지제목}', 'site_meta_title_mypage_post' => '{회원닉네임}님의 작성글 - {홈페이지제목}', 'site_meta_title_mypage_comment' => '{회원닉네임}님의 작성댓글 - {홈페이지제목}', 'site_meta_title_mypage_point' => '{회원닉네임}님의 포인트 - {홈페이지제목}', 'site_meta_title_mypage_followinglist' => '{회원닉네임}님의 팔로우 - {홈페이지제목}', 'site_meta_title_mypage_followedlist' => '{회원닉네임}님의 팔로우 - {홈페이지제목}', 'site_meta_title_mypage_like_post' => '{회원닉네임}님의 추천글 - {홈페이지제목}', 'site_meta_title_mypage_like_comment' => '{회원닉네임}님의 추천댓글 - {홈페이지제목}', 'site_meta_title_mypage_scrap' => '{회원닉네임}님의 스크랩 - {홈페이지제목}', 'site_meta_title_mypage_loginlog' => '{회원닉네임}님의 로그인기록 - {홈페이지제목}', 'site_meta_title_membermodify' => '회원정보수정 - {홈페이지제목}', 'site_meta_title_membermodify_memberleave' => '회원탈퇴 - {홈페이지제목}', 'site_meta_title_currentvisitor' => '현재접속자 - {홈페이지제목}', 'site_meta_title_search' => '{검색어} - {홈페이지제목}', 'site_meta_title_note_list' => '{회원닉네임}님의 쪽지함 - {홈페이지제목}', 'site_meta_title_note_view' => '{회원닉네임}님의 쪽지함 - {홈페이지제목}', 'site_meta_title_note_write' => '{회원닉네임}님의 쪽지함 - {홈페이지제목}', 'site_meta_title_profile' => '{회원닉네임}님의 프로필 - {홈페이지제목}', 'site_meta_title_formmail' => '메일발송 - {홈페이지제목}', 'site_meta_title_notification' => '{회원닉네임}님의 알림 - {홈페이지제목}', 'send_email_register_admin_title' => '[회원가입알림] {회원닉네임}님이 회원가입하셨습니다', 'send_email_register_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 관리자님,</span><br /></td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>{회원닉네임} 님이 회원가입 하셨습니다.</p><p>회원아이디 : {회원아이디}</p><p>닉네임 : {회원닉네임}</p><p>이메일 : {회원이메일}</p><p>가입한 곳 IP : {회원아이피}</p><p>감사합니다.</p></td></tr></table>', 'send_email_register_user_title' => '[{홈페이지명}] {회원닉네임}님의 회원가입을 축하드립니다', 'send_email_register_user_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원가입을 축하드립니다.</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요 {회원닉네임} 회원님,</p><p>회원가입을 축하드립니다.</p><p>{홈페이지명} 회원으로 가입해주셔서 감사합니다.</p><p>더욱 편리한 서비스를 제공하기 위해 항상 최선을 다하겠습니다.</p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_email_register_user_verifytitle' => '[{홈페이지명}] {회원닉네임}님의 회원가입을 축하드립니다', 'send_email_register_user_verifycontent' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원가입을 축하드립니다.</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요 {회원닉네임} 회원님,</p><p>회원가입을 축하드립니다.</p><p>{홈페이지명} 회원으로 가입해주셔서 감사합니다.</p><p>더욱 편리한 서비스를 제공하기 위해 항상 최선을 다하겠습니다.</p><p>&nbsp;</p><p>아래 링크를 클릭하시면 회원가입이 완료됩니다.</p><p><a href="{메일인증주소}" target="_blank" style="font-weight:bold;">메일인증 받기</a></p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_note_register_admin_title' => '[회원가입알림] {회원닉네임}님이 회원가입하셨습니다', 'send_note_register_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 관리자님,</span><br /></td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>{회원닉네임} 님이 회원가입 하셨습니다.</p><p>회원아이디 : {회원아이디}</p><p>닉네임 : {회원닉네임}</p><p>이메일 : {회원이메일}</p><p>가입한 곳 IP : {회원아이피}</p><p>감사합니다.</p></td></tr></table>', 'send_note_register_user_title' => '회원가입을 축하드립니다', 'send_note_register_user_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원가입을 축하드립니다.</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요 {회원닉네임} 회원님,</p><p>회원가입을 축하드립니다.</p><p>{홈페이지명} 회원으로 가입해주셔서 감사합니다.</p><p>더욱 편리한 서비스를 제공하기 위해 항상 최선을 다하겠습니다.</p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_email_changepw_admin_title' => '{회원닉네임}님이 패스워드를 변경하셨습니다', 'send_email_changepw_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 관리자님,</span><br /></td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>{회원닉네임} 님이 패스워드를 변경하셨습니다.</p><p>회원아이디 : {회원아이디}</p><p>닉네임 : {회원닉네임}</p><p>이메일 : {회원이메일}</p><p>변경한 곳 IP : {회원아이피}</p><p>감사합니다.</p></td></tr></table>', 'send_email_changepw_user_title' => '[{홈페이지명}] 패스워드가 변경되었습니다', 'send_email_changepw_user_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원님의 패스워드가 변경되었습니다.</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요 {회원닉네임} 회원님,</p><p>회원님의 패스워드가 변경되었습니다.</p><p>변경한 곳 IP : {회원아이피}</p><p>더욱 편리한 서비스를 제공하기 위해 항상 최선을 다하겠습니다.</p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_note_changepw_admin_title' => '{회원닉네임}님이 패스워드를 변경하셨습니다', 'send_note_changepw_admin_content ' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 관리자님,</span><br /></td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>{회원닉네임} 님이 패스워드를 변경하셨습니다.</p><p>회원아이디 : {회원아이디}</p><p>닉네임 : {회원닉네임}</p><p>이메일 : {회원이메일}</p><p>변경한 곳 IP : {회원아이피}</p><p>감사합니다.</p></td></tr></table>', 'send_note_changepw_user_title' => '패스워드가 변경되었습니다', 'send_note_changepw_user_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원님의 패스워드가 변경되었습니다.</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요 {회원닉네임} 회원님,</p><p>회원님의 패스워드가 변경되었습니다.</p><p>변경한 곳 IP : {회원아이피}</p><p>더욱 편리한 서비스를 제공하기 위해 항상 최선을 다하겠습니다.</p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_email_memberleave_admin_title' => '{회원닉네임}님이 회원탈퇴하셨습니다', 'send_email_memberleave_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 관리자님,</span><br /></td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>{회원닉네임} 님이 회원탈퇴하셨습니다.</p><p>회원아이디 : {회원아이디}</p><p>닉네임 : {회원닉네임}</p><p>이메일 : {회원이메일}</p><p>탈퇴한 곳 IP : {회원아이피}</p><p>감사합니다.</p></td></tr></table>', 'send_email_memberleave_user_title' => '[{홈페이지명}] 회원탈퇴가 완료되었습니다', 'send_email_memberleave_user_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원님의 탈퇴가 처리되었습니다.</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요 {회원닉네임} 회원님,</p><p>그 동안 {홈페이지명} 이용을 해주셔서 감사드립니다</p><p>요청하신대로 회원님의 탈퇴가 정상적으로 처리되었습니다.</p><p>더욱 편리한 서비스를 제공하기 위해 항상 최선을 다하겠습니다.</p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_note_memberleave_admin_title' => '{회원닉네임}님이 회원탈퇴하셨습니다', 'send_note_memberleave_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 관리자님,</span><br /></td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>{회원닉네임} 님이 회원탈퇴하셨습니다.</p><p>회원아이디 : {회원아이디}</p><p>닉네임 : {회원닉네임}</p><p>이메일 : {회원이메일}</p><p>탈퇴한 곳 IP : {회원아이피}</p><p>감사합니다.</p></td></tr></table>', 'send_email_changeemail_user_title' => '[{홈페이지명}] 회원님의 이메일정보가 변경되었습니다', 'send_email_changeemail_user_content' => '<table width="100%" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원님의 이메일 주소가 변경되어 알려드립니다.</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>회원님의 이메일 주소가 변경되었으므로 다시 인증을 받아주시기 바랍니다.</p><p>&nbsp;</p><p>아래 링크를 클릭하시면 주소변경 인증이 완료됩니다.</p><p><a href="{메일인증주소}" target="_blank" style="font-weight:bold;">메일인증 받기</a></p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_email_findaccount_user_title' => '{회원닉네임}님의 아이디와 패스워드를 보내드립니다', 'send_email_findaccount_user_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원님의 아이디와 패스워드를 보내드립니다.</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>&nbsp;</p><p>회원님의 아이디는 <strong>{회원아이디}</strong> 입니다.</p><p>아래 링크를 클릭하시면 회원님의 패스워드 변경이 가능합니다.</p><p><a href="{패스워드변경주소}" target="_blank" style="font-weight:bold;">패스워드 변경하기</a></p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_email_resendverify_user_title' => '{회원닉네임}님의 인증메일이 재발송되었습니다', 'send_email_resendverify_user_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">안녕하세요 {회원닉네임}님,</span><br />회원님의 인증메일을 다시 보내드립니다..</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><p>안녕하세요,</p><p>&nbsp;</p><p>아래 링크를 클릭하시면 이메일 인증이 완료됩니다.</p><p><a href="{메일인증주소}" target="_blank" style="font-weight:bold;">메일인증 받기</a></p><p>&nbsp;</p><p>감사합니다.</p></td></tr></table>', 'send_email_post_admin_title' => '[{게시판명}] {게시글제목}', 'send_email_post_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{게시글내용}</div><p><a href="{게시글주소}" target="_blank" style="font-weight:bold;">사이트에서 게시글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_post_writer_title' => '[{게시판명}] {게시글제목}', 'send_email_post_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{게시글내용}</div><p><a href="{게시글주소}" target="_blank" style="font-weight:bold;">사이트에서 게시글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_post_admin_title' => '[{게시판명}] {게시글제목}', 'send_note_post_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{게시글내용}</div><p><a href="{게시글주소}" target="_blank" style="font-weight:bold;">사이트에서 게시글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_post_writer_title' => '[{게시판명}] {게시글제목}', 'send_note_post_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{게시글내용}</div><p><a href="{게시글주소}" target="_blank" style="font-weight:bold;">사이트에서 게시글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_comment_admin_title' => '[{게시판명}] {게시글제목} - 댓글이 등록되었습니다', 'send_email_comment_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_comment_post_writer_title' => '[{게시판명}] {게시글제목} - 댓글이 등록되었습니다', 'send_email_comment_post_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_comment_comment_writer_title' => '[{게시판명}] {게시글제목} - 댓글이 등록되었습니다', 'send_email_comment_comment_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_comment_admin_title' => '[{게시판명}] {게시글제목} - 댓글이 등록되었습니다', 'send_note_comment_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_comment_post_writer_title' => '[{게시판명}] {게시글제목} - 댓글이 등록되었습니다', 'send_note_comment_post_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_comment_comment_writer_title' => '[{게시판명}] {게시글제목} - 댓글이 등록되었습니다', 'send_note_comment_comment_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />작성자 : {게시글작성자닉네임}</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_blame_admin_title' => '[{게시판명}] {게시글제목} - 신고가접수되었습니다', 'send_email_blame_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />게시글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{게시글내용}</div><p><a href="{게시글주소}" target="_blank" style="font-weight:bold;">사이트에서 게시글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_blame_post_writer_title' => '[{게시판명}] {게시글제목} - 신고가접수되었습니다', 'send_email_blame_post_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />게시글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{게시글내용}</div><p><a href="{게시글주소}" target="_blank" style="font-weight:bold;">사이트에서 게시글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_blame_admin_title' => '[{게시판명}] {게시글제목} - 신고가접수되었습니다', 'send_note_blame_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />게시글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{게시글내용}</div><p><a href="{게시글주소}" target="_blank" style="font-weight:bold;">사이트에서 게시글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_blame_post_writer_title' => '[{게시판명}] {게시글제목} - 신고가접수되었습니다', 'send_note_blame_post_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />게시글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{게시글내용}</div><p><a href="{게시글주소}" target="_blank" style="font-weight:bold;">사이트에서 게시글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_comment_blame_admin_title' => '[{게시판명}] {게시글제목} - 댓글에신고가접수되었습니다', 'send_email_comment_blame_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />댓글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_comment_blame_post_writer_title' => '[{게시판명}] {게시글제목} - 댓글에신고가접수되었습니다', 'send_email_comment_blame_post_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />댓글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_email_comment_blame_comment_writer_title' => '[{게시판명}] {게시글제목} - 댓글에신고가접수되었습니다', 'send_email_comment_blame_comment_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />댓글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_comment_blame_admin_title' => '[{게시판명}] {게시글제목} - 댓글에신고가접수되었습니다', 'send_note_comment_blame_admin_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />댓글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_comment_blame_post_writer_title' => '[{게시판명}] {게시글제목} - 댓글에신고가접수되었습니다', 'send_note_comment_blame_post_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />댓글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>', 'send_note_comment_blame_comment_writer_title' => '[{게시판명}] {게시글제목} - 댓글에신고가접수되었습니다', 'send_note_comment_blame_comment_writer_content' => '<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-left: 1px solid rgb(226,226,225);border-right: 1px solid rgb(226,226,225);background-color: rgb(255,255,255);border-top:10px solid #348fe2; border-bottom:5px solid #348fe2;border-collapse: collapse;"><tr><td width="200" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;">{홈페이지명}</td><td style="font-size:12px;padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><span style="font-size:14px;font-weight:bold;color:rgb(0,0,0)">{게시글제목}</span><br />댓글에 신고가 접수되었습니다</td></tr><tr style="border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2;"><td colspan="2" style="padding:20px 30px;font-family: Arial,sans-serif;color: rgb(0,0,0);font-size: 14px;line-height: 20px;"><div>{댓글내용}</div><p><a href="{댓글주소}" target="_blank" style="font-weight:bold;">사이트에서 댓글 확인하기</a></p><p>&nbsp;</p></td></tr></table>');
        $registerform = array('mem_userid' => array('field_name' => 'mem_userid', 'func' => 'basic', 'display_name' => '아이디', 'field_type' => 'text', 'use' => '1', 'open' => '1', 'required' => '1'), 'mem_email' => array('field_name' => 'mem_email', 'func' => 'basic', 'display_name' => '이메일주소', 'field_type' => 'email', 'use' => '1', 'open' => '', 'required' => '1'), 'mem_password' => array('field_name' => 'mem_password', 'func' => 'basic', 'display_name' => '비밀번호', 'field_type' => 'password', 'use' => '1', 'open' => '', 'required' => '1'), 'mem_username' => array('field_name' => 'mem_username', 'func' => 'basic', 'display_name' => '이름', 'field_type' => 'text', 'use' => '', 'open' => '', 'required' => ''), 'mem_nickname' => array('field_name' => 'mem_nickname', 'func' => 'basic', 'display_name' => '닉네임', 'field_type' => 'text', 'use' => '1', 'open' => '1', 'required' => '1'), 'mem_homepage' => array('field_name' => 'mem_homepage', 'func' => 'basic', 'display_name' => '홈페이지', 'field_type' => 'url', 'use' => '', 'open' => '1', 'required' => ''), 'mem_phone' => array('field_name' => 'mem_phone', 'func' => 'basic', 'display_name' => '전화번호', 'field_type' => 'phone', 'use' => '', 'open' => '', 'required' => ''), 'mem_birthday' => array('field_name' => 'mem_birthday', 'func' => 'basic', 'display_name' => '생년월일', 'field_type' => 'date', 'use' => '', 'open' => '', 'required' => ''), 'mem_sex' => array('field_name' => 'mem_sex', 'func' => 'basic', 'display_name' => '성별', 'field_type' => 'radio', 'use' => '', 'open' => '', 'required' => ''), 'mem_address' => array('field_name' => 'mem_address', 'func' => 'basic', 'display_name' => '주소', 'field_type' => 'address', 'use' => '', 'open' => '', 'required' => ''), 'mem_profile_content' => array('field_name' => 'mem_profile_content', 'func' => 'basic', 'display_name' => '자기소개', 'field_type' => 'textarea', 'use' => '', 'open' => '1', 'required' => ''), 'mem_recommend' => array('field_name' => 'mem_recommend', 'func' => 'basic', 'display_name' => '추천인', 'field_type' => 'text', 'use' => '', 'open' => '', 'required' => ''));
        $configdata['registerform'] = json_encode($registerform);
        $this->cache->delete('config-model-get');
        $this->cache->clean();
        $this->Config_model->save($configdata);
        $hash = password_hash($this->input->post('mem_password'), PASSWORD_BCRYPT);
        $insertdata = array('mem_userid' => $this->input->post('mem_userid'), 'mem_email' => $this->input->post('mem_email'), 'mem_password' => $hash, 'mem_username' => $this->input->post('mem_nickname'), 'mem_nickname' => $this->input->post('mem_nickname'), 'mem_level' => 100, 'mem_receive_email' => 1, 'mem_use_note' => 1, 'mem_receive_sms' => 1, 'mem_open_profile' => 1, 'mem_email_cert' => 1, 'mem_register_datetime' => cdate('Y-m-d H:i:s'), 'mem_register_ip' => $this->input->ip_address(), 'mem_lastlogin_datetime' => cdate('Y-m-d H:i:s'), 'mem_lastlogin_ip' => $this->input->ip_address(), 'mem_is_admin' => 1);
        $mem_id = $this->Member_model->insert($insertdata);
        $membermeta = array('meta_change_pw_datetime' => cdate('Y-m-d H:i:s'), 'meta_email_cert_datetime' => cdate('Y-m-d H:i:s'), 'meta_open_profile_datetime' => cdate('Y-m-d H:i:s'), 'meta_use_note_datetime' => cdate('Y-m-d H:i:s'), 'meta_nickname_datetime' => cdate('Y-m-d H:i:s'));
        $this->Member_meta_model->save($mem_id, $membermeta);
        $insertdata = array('mem_id' => $mem_id, 'mni_nickname' => $this->input->post('mem_nickname'), 'mni_start_datetime' => cdate('Y-m-d H:i:s'));
        $this->Member_nickname_model->insert($insertdata);
        $insertdata = array('mem_id' => $mem_id, 'mrg_ip' => $this->input->ip_address(), 'mrg_datetime' => cdate('Y-m-d H:i:s'), 'mrg_useragent' => $this->agent->agent_string());
        $this->Member_register_model->insert($insertdata);
        $insertdata = array('doc_key' => 'aboutus', 'doc_title' => '회사소개', 'doc_content' => '회사소개 내용을 입력해주세요', 'doc_content_html_type' => 1, 'mem_id' => $mem_id, 'doc_datetime' => cdate('Y-m-d H:i:s'), 'doc_updated_mem_id' => $mem_id, 'doc_updated_datetime' => cdate('Y-m-d H:i:s'));
        $this->Document_model->insert($insertdata);
        $insertdata = array('doc_key' => 'provision', 'doc_title' => '이용약관', 'doc_content' => '이용약관 내용을 입력해주세요', 'doc_content_html_type' => 1, 'mem_id' => $mem_id, 'doc_datetime' => cdate('Y-m-d H:i:s'), 'doc_updated_mem_id' => $mem_id, 'doc_updated_datetime' => cdate('Y-m-d H:i:s'));
        $this->Document_model->insert($insertdata);
        $insertdata = array('doc_key' => 'privacy', 'doc_title' => '개인정보 취급방침', 'doc_content' => '개인정보 취급방침 내용을 입력해주세요', 'doc_content_html_type' => 1, 'mem_id' => $mem_id, 'doc_datetime' => cdate('Y-m-d H:i:s'), 'doc_updated_mem_id' => $mem_id, 'doc_updated_datetime' => cdate('Y-m-d H:i:s'));
        $this->Document_model->insert($insertdata);
        if ($this->input->post('autocreate')) {
            $insertdata = array('fgr_title' => '자주하는 질문', 'fgr_key' => 'faq', 'fgr_datetime' => cdate('Y-m-d H:i:s'), 'fgr_ip' => $this->input->ip_address(), 'mem_id' => $mem_id);
            $fgr_id = $this->Faq_group_model->insert($insertdata);
            $insertdata = array('fgr_id' => $fgr_id, 'faq_title' => '자주하는 질문 제목1 입니다', 'faq_content' => '자주하는 질문 답변1 입니다', 'faq_content_html_type' => 1, 'faq_order' => 1, 'faq_datetime' => cdate('Y-m-d H:i:s'), 'faq_ip' => $this->input->ip_address(), 'mem_id' => $mem_id);
            $this->Faq_model->insert($insertdata);
            $insertdata = array('fgr_id' => $fgr_id, 'faq_title' => '자주하는 질문 제목2 입니다', 'faq_content' => '자주하는 질문 답변2 입니다', 'faq_content_html_type' => 1, 'faq_order' => 2, 'faq_datetime' => cdate('Y-m-d H:i:s'), 'faq_ip' => $this->input->ip_address(), 'mem_id' => $mem_id);
            $this->Faq_model->insert($insertdata);
            $insertdata = array('fgr_id' => $fgr_id, 'faq_title' => '자주하는 질문 제목3 입니다', 'faq_content' => '자주하는 질문 답변3 입니다', 'faq_content_html_type' => 1, 'faq_order' => 3, 'faq_datetime' => cdate('Y-m-d H:i:s'), 'faq_ip' => $this->input->ip_address(), 'mem_id' => $mem_id);
            $this->Faq_model->insert($insertdata);
            $metadata = array('header_content' => '', 'footer_content' => '', 'mobile_header_content' => '', 'mobile_footer_content' => '');
            $insertdata = array('bgr_key' => 'g-a', 'bgr_name' => '그룹 A', 'bgr_order' => 1);
            $bgr_id_1 = $bgr_id = $this->Board_group_model->insert($insertdata);
            $this->Board_group_meta_model->save($bgr_id, $metadata);
            $insertdata = array('bgr_key' => 'g-b', 'bgr_name' => '그룹 B', 'bgr_order' => 2);
            $bgr_id_2 = $bgr_id = $this->Board_group_model->insert($insertdata);
            $this->Board_group_meta_model->save($bgr_id, $metadata);
            $insertdata = array('bgr_key' => 'g-c', 'bgr_name' => '그룹 C', 'bgr_order' => 3);
            $bgr_id_3 = $bgr_id = $this->Board_group_model->insert($insertdata);
            $this->Board_group_meta_model->save($bgr_id, $metadata);
            $metadata = array('header_content' => '', 'footer_content' => '', 'mobile_header_content' => '', 'mobile_footer_content' => '', 'order_by_field' => 'post_num, post_reply', 'list_count' => '20', 'mobile_list_count' => '10', 'page_count' => '5', 'mobile_page_count' => '3', 'show_list_from_view' => '1', 'new_icon_hour' => '24', 'hot_icon_hit' => '100', 'hot_icon_day' => '30', 'subject_length' => '60', 'mobile_subject_length' => '40', 'reply_order' => 'asc', 'gallery_cols' => '4', 'gallery_image_width' => '120', 'gallery_image_height' => '90', 'mobile_gallery_cols' => '2', 'mobile_gallery_image_width' => '120', 'mobile_gallery_image_height' => '90', 'use_scrap' => '1', 'use_post_like' => '1', 'use_post_dislike' => '1', 'use_print' => '1', 'use_sns' => '1', 'use_prev_next_post' => '1', 'use_mobile_prev_next_post' => '1', 'use_blame' => '1', 'blame_blind_count' => '3', 'syntax_highlighter' => '1', 'comment_syntax_highlighter' => '1', 'use_autoplay' => '1', 'post_image_width' => '700', 'post_mobile_image_width' => '400', 'content_target_blank' => '1', 'use_auto_url' => '1', 'use_mobile_auto_url' => '1', 'use_post_dhtml' => '1', 'link_num' => '2', 'use_upload_file' => '1', 'upload_file_num' => '2', 'mobile_upload_file_num' => '2', 'upload_file_max_size' => '32', 'comment_count' => '20', 'mobile_comment_count' => '20', 'comment_page_count' => '5', 'mobile_comment_page_count' => '3', 'use_comment_like' => '1', 'use_comment_dislike' => '1', 'use_comment_secret' => '1', 'comment_order' => 'asc', 'use_comment_blame' => '1', 'comment_blame_blind_count' => '3', 'protect_comment_num' => '5', 'use_sideview' => '1', 'use_tempsave' => '1');
            $insertdata = array('bgr_id' => $bgr_id_1, 'brd_key' => 'b-a-1', 'brd_name' => '게시판 A-1', 'brd_order' => 1, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('bgr_id' => $bgr_id_1, 'brd_key' => 'b-a-2', 'brd_name' => '게시판 A-2', 'brd_order' => 2, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('bgr_id' => $bgr_id_1, 'brd_key' => 'b-a-3', 'brd_name' => '게시판 A-3', 'brd_order' => 3, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('bgr_id' => $bgr_id_2, 'brd_key' => 'b-b-1', 'brd_name' => '게시판 B-1', 'brd_order' => 11, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('bgr_id' => $bgr_id_2, 'brd_key' => 'b-b-2', 'brd_name' => '게시판 B-2', 'brd_order' => 12, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('bgr_id' => $bgr_id_2, 'brd_key' => 'b-b-3', 'brd_name' => '게시판 B-3', 'brd_order' => 13, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('bgr_id' => $bgr_id_3, 'brd_key' => 'b-c-1', 'brd_name' => '게시판 C-1', 'brd_order' => 21, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('bgr_id' => $bgr_id_3, 'brd_key' => 'b-c-2', 'brd_name' => '게시판 C-2', 'brd_order' => 22, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('bgr_id' => $bgr_id_3, 'brd_key' => 'b-c-3', 'brd_name' => '게시판 C-3', 'brd_order' => 23, 'brd_search' => 1);
            $brd_id = $this->Board_model->insert($insertdata);
            $this->Board_meta_model->save($brd_id, $metadata);
            $insertdata = array('men_parent' => 0, 'men_name' => '그룹A', 'men_link' => group_url('g-a'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 10);
            $men_id = $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 A-1', 'men_link' => board_url('b-a-1'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 11);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 A-2', 'men_link' => board_url('b-a-2'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 12);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 A-3', 'men_link' => board_url('b-a-3'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 13);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => 0, 'men_name' => '그룹B', 'men_link' => group_url('g-b'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 20);
            $men_id = $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 B-1', 'men_link' => board_url('b-b-1'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 21);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 B-2', 'men_link' => board_url('b-b-2'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 22);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 B-3', 'men_link' => board_url('b-b-3'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 23);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => 0, 'men_name' => '그룹C', 'men_link' => group_url('g-c'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 30);
            $men_id = $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 C-1', 'men_link' => board_url('b-c-1'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 31);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 C-2', 'men_link' => board_url('b-c-2'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 32);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => $men_id, 'men_name' => '게시판 C-3', 'men_link' => board_url('b-c-3'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 33);
            $this->Menu_model->insert($insertdata);
            $insertdata = array('men_parent' => 0, 'men_name' => '자주하는질문', 'men_link' => faq_url('faq'), 'men_desktop' => 1, 'men_mobile' => 1, 'men_order' => 40);
            $men_id = $this->Menu_model->insert($insertdata);
        }
        $this->session->set_userdata('mem_id', $mem_id);
    }
Example #3
0
</td>
                            <td><a href="<?php 
        echo admin_url('page/faq');
        ?>
/?fgr_id=<?php 
        echo element(element('primary_key', $view), $result);
        ?>
" ><?php 
        echo html_escape(element('fgr_title', $result));
        ?>
</a></td>
                            <td><a href="<?php 
        echo goto_url(faq_url(html_escape(element('fgr_key', $result))));
        ?>
" target="_blank"><?php 
        echo faq_url(html_escape(element('fgr_key', $result)));
        ?>
</a></td>
                            <td><?php 
        echo element('fgr_layout', $result) ? html_escape(element('fgr_layout', $result)) : '일반설정따름';
        ?>
</td>
                            <td><?php 
        echo element('fgr_mobile_layout', $result) ? html_escape(element('fgr_mobile_layout', $result)) : '일반설정따름';
        ?>
</td>
                            <td><?php 
        echo element('fgr_skin', $result) ? html_escape(element('fgr_skin', $result)) : '일반설정따름';
        ?>
</td>
                            <td><?php 
Example #4
0
" />
            <div class="form-horizontal">
                <div class="form-group">
                    <label class="col-sm-2 control-label">제목</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="fgr_title" value="<?php 
echo set_value('fgr_title', element('fgr_title', element('data', $view)));
?>
" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">주소</label>
                    <div class="col-sm-10 form-inline">
                        <?php 
echo faq_url();
?>
/ <input type="text" class="form-control" name="fgr_key" value="<?php 
echo set_value('fgr_key', element('fgr_key', element('data', $view)));
?>
" /> 페이지주소를 입력해주세요
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">PC 레이아웃/스킨</label>
                    <div class="col-sm-10 form-inline">
                        레이아웃 -
                        <select name="fgr_layout" id="fgr_layout" class="form-control" >
                            <?php 
echo element('fgr_layout_option', element('data', $view));
?>