include_once($_SERVER['DOCUMENT_ROOT'] . '/__system/lib/func.php'); $mode = param_get_post('mode'); $mode = $mode ? $mode : ""; # 250731 게시판 리뉴얼로 인한 리다이렉트 $b_renew_arr = [ "/board/bt_interview", "/board/bt_gallery", "/board/bt_beforeafter", "/board/bt_story", "/board/bt_event", "/board/bt_review" ]; $p_renew_arr = [ "/board/bt_certificate", "/board/bt_career", ]; $renew_path = parse_url($_SERVER['REQUEST_URI'])['path']; if(in_array($renew_path, $b_renew_arr)){ if($mode == 'view' && !in_array($renew_path, ['/board/bt_review'])) { $b_renew_idx = param_get_post("idx"); header('Location: https://megastudy-beauty.com/camp/board/'.$mode.'/'.str_replace("/board/", "", $renew_path).'/'.$b_renew_idx); }else { if($renew_path == '/board/bt_review') $renew_path = '/board/bt_real_review'; header('Location: https://megastudy-beauty.com/camp/board/list/'.str_replace("/board/", "", $renew_path)); exit(); } } // else if(in_array($_SERVER['REQUEST_URI'], $p_renew_arr)){ // // view_dump("랜딩페이지 리뉴얼로 redirect gogo!!"); // if($_SERVER['REQUEST_URI'] == "/board/bt_certificate"){ // header('Location: https://megastudy-beauty.com/camp/doc/pass_certify_list'); // exit(); // }else if($_SERVER['REQUEST_URI'] == "/board/bt_career"){ // header('Location: https://megastudy-beauty.com/camp/doc/pass_company_list'); // exit(); // } // } if($mode=='pwview' || $mode=='pwmodify' || $mode=='pwdel' || $mode=='pwcdel') { include ( __DIR__.'/../board/index.php'); exit; } ?> if(!isset($bbs_include)){ // 게시판 include 여부 include(dirname(__FILE__)."/inc/top.php"); } ?> // 게시판 include include ( __DIR__.'/../board/index.php'); ?>
//게시판의 구분 정보 $cs_type = $b_row['wm_title'].'['.$s_row['wm_title'].']'; include(Vi."counsel.php"); ?> if(!isset($bbs_include)){ $log_title = $s_row['wm_title']." ".$mode; //로그 페이지제목 include(Vi."bottom.php"); } ?>