_avail_level("view") ); // 게시판 설정 정보 $setting = $board->getSetting(); // 게시물 정보 + 조회수 증가 $article = $board->getData($data_sid, $mode,$_PARAM['user_pw']); // 에디터를 미사용시 컨텐츠 nl2br if ( $setting->isuse_editor == "N" ) $article->data_content = nl2br( $article->data_content ); // 첨부파일 다운시 비번용 임시 세션 // 비밀번호 게시판을 들어와서 파일첨부시 본인 글 체크에서 에러 나는것을 방지 위해 if ( trim( $_PARAM['user_pw'] ) != "" ) $_SESSION['TMP_BOARD_PASS'] = $_PARAM['user_pw']; /* 첨부 파일 정보 */ $attFiles = $article->attach_file; for ( $i = 0; $i < count( $attFiles ); $i++ ) { //$link = ""; //$attFilesLink .= $link. $attFiles[$i]['file_name_org'] ." (".$attFiles[$i]['file_size']." kb)"; $link = ""; $attFilesLink .= $link. $attFiles[$i]['file_name_org'] ." (".$attFiles[$i]['file_size']." kb) "; } // 댓글 사용시 if ( $setting->isuse_comment == "Y" ) { // 댓글 객체 생성 //$comment = $board->module( "board/Comment", array( "data_sid"=>$data_sid, "db"=>&$board->db, "setting"=>&$board->setting ) ); $comment_result = $board->getComment( $data_sid ); $comment_html = $comment_result['html']; $comment_page = $comment_result['page']; } // 이전 다음 글 $prevNext = $board->getPrevNext( $data_sid, $article->data_order ); // 사용가능 버튼 $userButtons = $article->buttons; // sub title $subTitle = " > " . $setting->board_title; // 모바일 체크 /* if ( is_mobile( "PC" ) ) { include __BOARD_PATH."/include/".$setting->m_skin_header; include __BOARD_PATH."/skin/". $setting->skin_type."/m.". $setting->view_url; include __BOARD_PATH."/include/".$setting->m_skin_footer; } else {*/ include __BOARD_PATH."/include/".$setting->skin_header; include __BOARD_PATH."/skin/". $setting->skin_type."/". $setting->view_url; include __BOARD_PATH."/include/".$setting->skin_footer; //} ?>