<?php
/*
 * Gallery - a web based photo album viewer and editor
 * Copyright (C) 2000-2002 Bharat Mediratta
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or (at
 * your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
?>
<?php
// Hack prevention.
if (!empty($HTTP_GET_VARS["GALLERY_BASEDIR"]) ||
		!empty($HTTP_POST_VARS["GALLERY_BASEDIR"]) ||
		!empty($HTTP_COOKIE_VARS["GALLERY_BASEDIR"])) {
	print "Security violation\n";
	exit;
}
?>
<?php require("./init.php"); ?>
<?php
function image($name) {
	global $GALLERY_BASEDIR;
	return str_replace(XOOPS_ROOT_PATH, XOOPS_URL, "images/$name");
}
?>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
  <title>フォトのアップロード中</title>
   
</head>

<body>
<center>
<span class="title">ファイル転送中</span>
<p>
転送終了後自動的に閉じます。しばらくお待ち下さい
<p>
<table border=0 cellpadding=0 cellspacing=0>
 <tr>
  <td> <img src=<?php echo image("computer.gif")?> width=31 height=32> </td>
  <td> <img src=<?php echo image("uploading.gif")?> width=160 height=11> </td>
  <td> <img src=<?php echo image("computer.gif")?> width=31 height=32> </td>
 </tr>
</table>

</center>

</script>
</body>
</html>
