% Set rs = Server.CreateObject("ADODB.Recordset") seq = trim(request("idxno")) ''''' 조회수 증가 sql = "update article set hit = hit + 1 where seq = " & seq news_dbCon.execute(sql) ''''' 상세보기 sql = "select section_code,sub_section_code, " sql = sql & "title,sub_title, " sql = sql & "user_id,user_name,user_email, " sql = sql & "vod_date,vod_kind,vod,contents,hit,related_article, " sql = sql & "reg_date,reg_time,modify_date,modify_time " sql = sql & "from article where seq = " & seq rs.open sql,news_dbCon if (not rs.BOF and not rs.EOF) then section_code = trim(rs(0)) sub_section_code = trim(rs(1)) title = trim(rs(2)) sub_title = trim(rs(3)) user_id = trim(rs(4)) user_name = trim(rs(5)) user_email = trim(rs(6)) vod_date = trim(rs(7)) vod_kind = trim(rs(8)) vod = trim(rs(9)) contents = trim(rs(10)) hit = trim(rs(11)) related_article = trim(rs(12)) reg_date = trim(rs(13)) reg_time = trim(rs(14)) modify_date = trim(rs(15)) modify_time = trim(rs(16)) if (contents = "" or isnull(contents)) then contents = "" else if (section_code = "S1N9") then contents = Replace_DB_to_Show_Content(contents) end if contents = replace(contents , "http://www.newsmission.com/news/photo/" , "../sharedata/photo/") end if reg_time = " " & reg_time modify_time = " " & modify_time end if rs.close %>