<% photoID = request("photoID") if photoID = "" then photoID = "1" end if '----------------------------------- Retrieving from tlBase -------------------------------- databaseName = "convocation" databaseDirectory = server.mappath("/tlBase/") & "\" & databaseName & "_table\" databaseFile = databaseName & "_record" photoAlbumDirectory = "../media/photos/convocation/" Set tempXML = Server.CreateObject("Microsoft.XMLDOM") tempXML.Load(databaseDirectory &"\"& databaseName & "_record" & photoID & ".xml") set currRecord = tempXML.selectNodes("record/*") filename = currRecord.item(1).text photoComment = currRecord.item(2).text photoWidth = currRecord.item(3).text photoHeight = currRecord.item(4).text photoDate = currRecord.item(5).text photoPlace = currRecord.item(6).text set currRecord = nothing set tempXML = nothing %>
<%=photoWidth%>x<%=photoHeight%> <%=photoPlace%>  <%=photoDate%>

<%=photoComment%>