<% strPathInfo = request("name") a = Right(strPathInfo, 13) b = Mid(a, 1, 9) strPhysicalPath = Server.MapPath(strPathInfo) set objFSO = Server.CreateObject("Scripting.FileSystemObject") set objFile = objFSO.GetFile(strPhysicalPath) set objFileTextStream = objFile.OpenAsTextStream(1, -2) strFileLine = objFileTextStream.ReadLine flag = 0 If Mid(strFileLine,13,2) = "±¹³»" Then strPhysicalPath2 = Server.MapPath("/news/template/local_mountain.htm") ' ±¹³»»ê ElseIf Mid(strFileLine,13,2) = "¸¶¿î" Then strPhysicalPath2 = Server.MapPath("/news/template/mountain.htm") ' ¸¶¿îƾ±¤Àå flag = 1 ElseIf Mid(strFileLine,13,2) = "±âȹ" Then strPhysicalPath2 = Server.MapPath("/news/template/culture.htm") ' ±âȹ¹®È­ ElseIf Mid(strFileLine,13,2) = "Àι°" Then strPhysicalPath2 = Server.MapPath("/news/template/people.htm") ' Àι° ElseIf Mid(strFileLine,13,2) = "¾÷ü" Then strPhysicalPath2 = Server.MapPath("/news/template/tool.htm") ' Àåºñ flag = 1 Else strPhysicalPath2 = Server.MapPath("/news/template/overseas_mountain.htm") ' ÇØ¿Ü»ê End If set objFSO2 = Server.CreateObject("Scripting.FileSystemObject") set objFile2 = objFSO2.GetFile(strPhysicalPath2) set objFileTextStream2 = objFile2.OpenAsTextStream(1, -2) k=0 Do while k < 71 strFileLine = objFileTextStream2.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,">", ">") strLine = replace(strLine, """, "'") response.Write strLine k = k + 1 loop '³¯Â¥ response.Write Left(b, 4) & " ." & Mid(b, 5, 2) Do while k < 86 strFileLine = objFileTextStream2.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,">", ">") strLine = replace(strLine, """, "'") response.Write strLine k = k + 1 loop 'Á¦¸ñ i = 0 Do while i < 1 strFileLine = objFileTextStream.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,">", ">") 'strLine = replace(strLine, """, "'") if i = 0 Then response.Write strLine & "
" title = strLine title = replace(strLine,"", "") title = replace(strLine,"", "") title = replace(strLine,"
", "") End If i = i + 1 loop 'ºÎÁ¦¸ñ Do while i < 3 strFileLine = objFileTextStream.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,">", ">") strLine = replace(strLine, """, "'") If i = 1 Then response.Write strLine Else response.Write "
" & strLine End If i = i + 1 loop Do while k < 88 strFileLine = objFileTextStream2.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,">", ">") strLine = replace(strLine, """, "'") response.Write strLine k = k + 1 loop 'º»¹® c = Mid(strPathInfo,1,22) i=0 'ÃÖ±Ù 3°³¿ù°Å üũ ch = Left(a, 6) cd = Left(date(), 4) cd = cd & Mid(date(), 6,2) kt = cd - ch If (kt < 3 AND flag = 0) Then Do while i < 16 strFileLine = objFileTextStream.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,b, c) ' Àý´ë¸µÅ©·Î ¹Ù²Ù±â... strLine = replace(strLine,">", ">") strLine = replace(strLine, """, chr(34)) strLine = replace(strLine, "‚ƒ", "¼¼") intwhere = InStr(strLine, "") If (b = 200709039 or b= 200611006 or b = 200611008 or b = 200608007) Then tail_flag = 1 '¾Æ´Ô ¿ø·¡ Do while i < 10000 strFileLine = objFileTextStream.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,b, c) ' Àý´ë¸µÅ©·Î ¹Ù²Ù±â... strLine = replace(strLine,">", ">") strLine = replace(strLine, """, chr(34)) strLine = replace(strLine, "‚ƒ", "¼¼") intwhere = InStr(strLine, "") If intwhere > 0 Then i = 9999 End If response.Write strLine i = i + 1 loop ElseIf intwhere > 0 Then i = 9999 End If response.Write strLine i = i + 1 loop If tail_flag = 1 Then Else tail = "
" tail = tail & "" tail = tail & "" tail = tail & "" tail = tail & "
º» ±â»ç´Â 3°³¿ù ÈÄ ÀÎÅͳݿ¡ ¸ðµç ³»¿ëÀÌ °ø°³µË´Ï´Ù.
" tail = tail & "ÀÚ¼¼ÇÑ ³»¿ëÀ» º¸½Ã·Á¸é ¿ù°£ MOUNTAIN " & Left(b,4) & "³â " & Mid(b, 5, 2) & "¿ùÈ£¸¦ ÂüÁ¶Çϼ¼¿ä
" response.Write tail End If Else '¾Æ´Ô ¿ø·¡ Do while i < 10000 strFileLine = objFileTextStream.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,b, c) ' Àý´ë¸µÅ©·Î ¹Ù²Ù±â... strLine = replace(strLine,">", ">") strLine = replace(strLine, """, chr(34)) strLine = replace(strLine, "‚ƒ", "¼¼") intwhere = InStr(strLine, "") if intwhere > 0 Then i = 9999 End If response.Write strLine i = i + 1 loop End If Do while k < 100 strFileLine = objFileTextStream2.ReadLine strLine = Server.HTMLEncode(strFileLine) strLine = replace(strLine,"&", "&") strLine = replace(strLine,"<", "<") strLine = replace(strLine,">", ">") strLine = replace(strLine, """, "'") response.Write strLine k = k + 1 loop %>