<% Option Explicit %> <% Response.Buffer = True Response.Expires = -1 Response.AddHeader "Pragma", "no-cache" Response.AddHeader "cache-control", "no-store" If IsEmpty(Session("SESSION_ID")) Then Response.Redirect "timeout.htm" End If %> <% Dim cn, rs, i, strSQL Dim RecCount Dim strKey Dim objBasp Dim iMuse Dim rs2 Dim strImg strKey = Request.ServerVariables("QUERY_STRING") strSQL = "SELECT * FROM V_K_IBUTU WHERE IBUTU_CH_ID = '"& strKey &"'" Set cn = Server.CreateObject("ADODB.Connection") cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & Session("MDB_A") & ";" Set rs = Server.CreateObject("ADODB.RecordSet") rs.Open strSQL, cn, 1, 1 RecCount = rs.RecordCount 'BASP21 Set objBasp = Server.CreateObject("BASP21") 'iMuse Set iMuse = Server.CreateObject("iMuse.Functions") %> Kagoshima Prefectural Archaeological Center
<% If RecCount > 0 Then %> <% Else %>





データが見つかりません。



<% End If %>





Site Name <% =InsCrLf(NullRepWSP(rs.Fields("ISEKI_NM_EG")),40) %> <% '写真 strSQL = "SELECT * FROM S_PHOTO WHERE DB_KBN = '遺物' AND ISKB_CH_ID = '"& strKey &"' ORDER BY ISKB_NB_SEQ" Set rs2 = Server.CreateObject("ADODB.RecordSet") rs2.Open strSQL, cn, 1, 1 If rs2.RecordCount > 0 Then strImg = MidImagepath(rs2.Fields("IMAGE_PATH")) Response.Write "" Response.Write "" Response.Write "" Set rs2 = Nothing %> <% Else %> <% End If %>
Site Location <% 'Dim strSYOZAI 'strSYOZAI = NullRepWSP(rs.Fields("SYOZAI_TDF_EN")) & NullRepWSP(rs.Fields("SYOZAI_CITY_EN")) & NullRepWSP(rs.Fields("SYOZAI_OAZA_EN")) 'Response.Write InsCrLf(strSYOZAI,40) Dim strAddr strAddr = rs.Fields("SYOZAI_OAZA_EN") & ", " & rs.Fields("SYOZAI_CITY_EN") & ", " & rs.Fields("SYOZAI_TDF_EN") Response.Write InsCrLf(strAddr,40) %>
Artifact ID <% =InsCrLf(NullRepWSP(rs.Fields("IBUTU_CH_ID")),40) %>
Artifact Category <% =InsCrLf(NullRepWSP(rs.Fields("SHI_KBN_EN")),40) %>
Layer <% =InsCrLf(NullRepWSP(rs.Fields("SOUI_EN")),40) %>
Grid <% =InsCrLf(NullRepWSP(rs.Fields("GRID_NM")),40) %> <% '報告挿図 strSQL = "SELECT * FROM K_RPTZH WHERE DBSE_CH_KBN = '遺物' AND ISKBS_CH_ID = '"& strKey &"' ORDER BY ISKB_NB_SEQ" Set rs2 = Server.CreateObject("ADODB.RecordSet") rs2.Open strSQL, cn, 1, 1 If rs2.RecordCount > 0 Then strImg = MidImagePath(rs2.Fields("GAZ_CH_PATH")) Response.Write "" Response.Write "" Response.Write "" Set rs2 = Nothing %> <% Else %> <% End If %>
Era <% =InsCrLf(NullRepWSP(rs.Fields("IB_JIKI1_EN")),40) %>
Period <% =InsCrLf(NullRepWSP(rs.Fields("IB_JIKI2_EN")),40) %>
Artifact Date <% =InsCrLf(NullRepWSP(rs.Fields("IB_NENDAI")),40) %>
Artifact Style <% =InsCrLf(NullRepWSP(rs.Fields("BUNRUI1_EN")),40) %>
Artifact Type <% =InsCrLf(NullRepWSP(rs.Fields("BUNRUI2_EN")),60) %>
Artifact Kind <% =InsCrLf(NullRepWSP(rs.Fields("BUNRUI3_EN")),60) %>
Artifact Form <% =InsCrLf(NullRepWSP(rs.Fields("BUNRUI4_EN")),60) %>
Artifact Details <% =InsCrLf(NullRepWSP(rs.Fields("BUNRUI5_EN")),60) %>
Artifact Name <% =InsCrLf(NullRepWSP(rs.Fields("IBUTSU_CH_EN")),60) %>
Description <% =InsCrLf(NullRepWSP(rs.Fields("SETSUMEI_EN")),60) %>



<% If Session("SEARCH_TYPE") <> "ZENBUN" Then %> "> <% Else %> "> <% End If %>