asp 지도 문의요!
관련링크
본문
안녕하세요.
지도를 어느파일에서 수정해야할지를 모르겠습니다.
api다음지도를 사용했다고 하는데 어느파일에 가서 수정해야하는지 모르겠어요
asp는 처음이라 page.asp?tID=100&sID=101 이게뭔지모르겠어요
page.asp를 들어가도 지도와관련된 부분은 없는거같아요 ㅠㅠ
혹시몰라 page.sap 소스내용 첨부하겠습니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include virtual="/lib/normalConfig.asp"-->
<!--#include virtual="/lib/config.asp"-->
<%
response.cookies("tID")=""
response.cookies("sID")=""
if request("tID") ="" then
response.redirect "/" '#### tID 가 없으면 메인 페이지로
else
topMenuInfoSql = "select * from menuTop where dataID = '"& request("tid") &"'"
set topMenuInfoRs = dbcon.execute(topMenuInfoSql)
if topMenuInfoRs.eof or topMenuInfoRs.bof then
response.redirect "/" '#### tID 가 없으면 메인 페이지로
else
topMenuName = topMenuInfoRS("topMenu")
pageNum = topMenuInfoRs("seq")
end if
if request("sID")&"." = "." then
if (topMenuInfoRs("option02")&"."="ON.") then
topMenuOptionSql = "select * from menuSub where topMenuDataID = 't_"&request("tid")&"'"
response.write topMenuOptionSql&"<br>"
set topMenuOptionRs = dbcon.execute(topMenuOptionSql)
'response.redirect "/"
if (topMenuOptionRs("dataID")&"."=request("sid")&".") then
topMenuName = topMenuInfoRS("topMenu")
pageNum = topMenuInfoRS("seq")
else
response.redirect "/content/page.asp?tid="&request("tid")&"&sid="&topmenuOptionRs("dataID")
end if
else
sqlTemp01= "select top 1 dataID from menuSub where topMenuDataID = '"& request("tID")&"' order by seq"
set tempRS01 = dbcon.execute(sqlTemp01)
if tempRS01.eof or tempRs01.bof then
response.write "<script>alert('설정된 서브메뉴가 없습니다.');history.back();</script>"
response.end
else
response.redirect "/content/page.asp?tID="&request("tID")&"&sID="&tempRS01("dataID")
end if
end if
end if
'response.end
subMenuInfoSql = "select * from menuSub where dataID = '"& request("sID") &"'"
'response.write subMenInfoSql&"<br>"
set subMenuInfoRs = dbcon.execute(subMenuInfoSql)
if subMenuInfoRs.eof or subMenuInfoRs.bof then
tempSQL = "select top 1 dataID from Menusub where topMenuDataID = '"& request("tID") &"' order by seq "
'response.write tempSQL
set tempRS = dbcon.execute(tempSQL)
response.redirect "page.asp?tID="& request("tID") &"&sID="&tempRS("dataID")
else
if (subMenuInfoRs("b_code")&"." = "." or subMenuInfoRs("b_code")&"."="." ) then
'response.write "wow<br>"
subMenuName = subMenuInfoRs("subMenu")
subNum = subMenuInfoRs("seq")
pageTEXT = subMenuInfoRs("pageTEXT")
cNum = ""
for i=0 to 10
if i<10 then
cNum = "0"&i
else
cNum = "10"
end if
next
selectedContent = subMenuInfoRs("selectedContent")
pageContent = subMenuInfoRs(selectedContent)
titleImg = subMenuInfoRs("titleImage")
else '############# 게시판 연결값이 있으면 게시판으로 링크
response.redirect "/board/list.asp?b_code="&subMenuInfoRs("b_code")&"&tid="&request("tid")&"&sid="&request("sid")
response.end
end if
end if
end if
session("subMenuFlag")=topMenuName&">"&subMenuName
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Content-Language" content="ko">
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<!--#include virtual = "/lib/descriptionConfig.asp"-->
<title>피어랑의원</title>
<!--#include virtual = "/lib/userAgent.asp"-->
<link href="/css/style.css" rel="stylesheet" type="text/css" />
<script src="/js/normal.js" type="text/javascript"></script>
<script src="/js/jquery.js" type="text/javascript"></script>
<script src="/js/Common.js" type="text/javascript"></script>
<!--#include virtual="/lib/userAnalytics.asp"-->
</head>
<body>
<!--#include virtual="/top.asp"-->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="233" align="center" style="background:url('/images/sub_top_banner.jpg'); bacoground-repeat:no-repeat; background-position:center center;"></td>
</tr>
<tr>
<td height="34"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="600" valign="top" align="center">
<table width="<%=pageWidth %>" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width="<%=contentWidth%>" align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<%if strcomp(titleImg, "") = 1 then %><img src="/board/upload_file/content/<%=titleImg%>"><br><%end if%>
<%=pageContent%>
</td>
</tr>
</table>
<%
''###############################################
''######### 온라인 예약 : 사용안함 #############
''###############################################
'if strcomp(request("sid"),"120") = 0 then
' exec_file="page_reservation.asp"
' Server.Execute(exec_file)
'end if
%>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="140"></td>
</tr>
</table>
<!-- 전환페이지 설정 -->
<script type="text/javascript" src="//wcs.naver.net/wcslog.js"></script>
<script type="text/javascript">
if(document.URL.indexOf("?tID=100&sID=101")>0){
var _nasa={};
_nasa["cnv"] = wcs.cnv("5","1"); // 전환유형, 전환가치 설정해야함. 설치매뉴얼 참고
}
</script>
<!--#include virtual="/bottom.asp"-->
</body>
</html>
<div id="pageTEXT" style="display:none"><%=pageTEXT%></div>