% '//파라미터정보 ************************************************************************************* b_num = InputValue(request("b_num")) b_type = InputValue(request("b_type")) '//************************************************************************************************** '//조회수 추가 sql = "update " & a_tablename & " set b_count = b_count + 1 Where b_num = " & b_num dbcon.execute sql '//레코드필드 R_Fields = "b_num, b_type, b_id, b_name, b_pwd, b_subject, b_email, b_jumin, b_phone1, b_phone2, b_phone3, b_cate, b_catename, b_noticechk, b_content, b_ip, b_count, b_look, b_open, b_ref, b_step, b_level, b_regdate, b_chuchun, b_sbjclr, b_sdate, b_edate, b_temp1, b_temp2, b_temp3, b_temp4, b_temp5, b_temp6, b_temp7, b_temp8, b_file1, b_file2, b_file3, b_file4, b_file5,b_keyword,b_c_count" R_tablename_str = a_tablename R_WHERE_str = " WHERE b_num=" & b_num Call SelectQuery (R_Fields, R_tablename_str, R_WHERE_str) If is_ad_cms <> "Y" then '//관리자가아닐때 체크 '//공개/비공개 체크************************************************************************************* if a_type = "Y" Or a_type = "T" then '//공개여부 사용일때 If b_open = "N" Or a_type = "T" then '//비공개일때 If SESSION("pwd_chk_" & a_num & "_" & b_num) <> "ok" Then Call locationhref( "pwd.asp?prepage=vie&a_num=" & a_num & "&b_num=" & b_num & "&" & page_info) End if End if End if '//************************************************************************************************** End if 'If a_edit = "N" then '//에디터 사용하지 않을때... ' ' b_content = getTextmode(b_content) ' b_temp8 = getTextmode(b_temp8) ' 'End If If a_edit = "N" then '//에디터 사용하지 않을때... '2011-02-11 이전 게시물 태그제거 If Left(b_regdate,10) < "2011-02-11" Then b_content = Replace( b_content, " " , " " ) b_content = Replace( b_content, "
" , "vbcrlf" ) b_content = Replace( b_content, vbcrlf , "vbcrlf" ) b_content = remove_tags( b_content ) b_content = Replace( b_content, "vbcrlf" , vbcrlf ) End if b_content = getTextmode(b_content) End If b_temp8 = getTextmode(b_temp8) ' 게시글 이동시 내용에 게시판으로 링크를 걸어야 하는게 있는데.. 에디터 사용여부에 따라서 태그가 먹질 않아서.. (/content/board/move_ok.asp 참고) b_content = Replace(b_content, "[[board_link_s]]", "") b_content = Replace(b_content, "[[board_link_e]]", "") b_content = Replace(b_content, "[[br_tag]]", "| <%If a_cate = "Y" Then response.write "" & b_cate_str( b_cate ) & ""%> <%=b_subject%> | ||
|---|---|---|
| 작성자 | <%=b_name%> | |
| 작성일 | <%=b_regdate%> | |
| 이메일 | <%=b_email%> | |
| 전화번호 | <%=b_phone1&"-"&b_phone2&"-"&b_phone3%> | |
|
||
|
||
| 내용 | <%=b_content%> | |
| 답변 | ||
| 답변자(부서) | <%=b_temp5%> | |
| 처리기간 | <%=b_temp6%> | |
| 처리현황 | <%=b_temp7%> | |
| 내용 | <%=b_temp8%> | |