1cdf0e10cSrcweir<% 2cdf0e10cSrcweir Option Explicit 3cdf0e10cSrcweir Response.Expires = 0 4cdf0e10cSrcweir%> 55b501c92SAndrew Rist<!--*********************************************************** 65b501c92SAndrew Rist * 75b501c92SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 85b501c92SAndrew Rist * or more contributor license agreements. See the NOTICE file 95b501c92SAndrew Rist * distributed with this work for additional information 105b501c92SAndrew Rist * regarding copyright ownership. The ASF licenses this file 115b501c92SAndrew Rist * to you under the Apache License, Version 2.0 (the 125b501c92SAndrew Rist * "License"); you may not use this file except in compliance 135b501c92SAndrew Rist * with the License. You may obtain a copy of the License at 145b501c92SAndrew Rist * 155b501c92SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 165b501c92SAndrew Rist * 175b501c92SAndrew Rist * Unless required by applicable law or agreed to in writing, 185b501c92SAndrew Rist * software distributed under the License is distributed on an 195b501c92SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 205b501c92SAndrew Rist * KIND, either express or implied. See the License for the 215b501c92SAndrew Rist * specific language governing permissions and limitations 225b501c92SAndrew Rist * under the License. 235b501c92SAndrew Rist * 245b501c92SAndrew Rist ***********************************************************--> 25cdf0e10cSrcweir 26cdf0e10cSrcweir<!-- #include file = "common.inc" --> 27cdf0e10cSrcweir 28*7457b6b3SJohn Bampton<html> 29*7457b6b3SJohn Bampton <head> 30*7457b6b3SJohn Bampton <meta http-equiv="refresh" CONTENT="<% = cnRefreshTime %>"> 31*7457b6b3SJohn Bampton </head> 32cdf0e10cSrcweir 33cdf0e10cSrcweir<% 34cdf0e10cSrcweir ' get current picture id 35cdf0e10cSrcweir Dim nGIFID 36cdf0e10cSrcweir 37cdf0e10cSrcweir nGifID = File_getDataVirtual( csFileCurrent, ".", ";" )( 0 ) 38cdf0e10cSrcweir 39cdf0e10cSrcweir ' a new picture was chosen ? 40cdf0e10cSrcweir if nGIFID <> Session( "GIFID" ) then 41cdf0e10cSrcweir ' then store the id of the new picture and show it 42cdf0e10cSrcweir Session( "GIFID" ) = nGIFID 43cdf0e10cSrcweir %> 44*7457b6b3SJohn Bampton <body bgcolor="red" onLoad="parent.frame1.location.href='./show.asp?<%= nGIFID %>'"> 45cdf0e10cSrcweir <% 46cdf0e10cSrcweir else 47cdf0e10cSrcweir %> 48*7457b6b3SJohn Bampton <body bgcolor="green"> 49cdf0e10cSrcweir <% 50cdf0e10cSrcweir end if 51cdf0e10cSrcweir%> 52cdf0e10cSrcweir 53*7457b6b3SJohn Bampton </body> 54*7457b6b3SJohn Bampton</html> 55