<?php
/* +----------------------------------------------------------------------+
| Netautor Professional Application Server |
+----------------------------------------------------------------------+
| Copyright (C) 1998-2005 digiconcept GmbH. <www.digiconcept.net> |
+----------------------------------------------------------------------+
| This file is subject to license, that is bundled with this package |
| in the file LICENSE.TXT, and is available at through the |
| world-wide-web at http://www.netautor.com/license/ |
| |
| If you did not receive a copy of the license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| hide@address.com so we can mail you a copy. |
+----------------------------------------------------------------------+
| Authors: Stefan Rottensteiner <hide@address.com> |
| Marek Kadziela <hide@address.com> |
| Gregor Wollner |
| Christian Unger |
| Helli Kleinhans |
+----------------------------------------------------------------------+*/
/**
* @version $Revision: 1.8 $
* @author Stefan Rottensteiner
*/
require_once('../../include/init.inc');
if(!$GLOBALS['USER']->check_feature('Admin'))
{
$GLOBALS['USER']->login_call();
}
$LOCALE->textdomain('index');
if (empty($idx_path))
$idx_path='';
if (is_string($idx_path))
$idx_path=array(0=>$idx_path);
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?php echo $GLOBALS['LOCALE']->gettext('idx_delete'); ?></title>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta name ="robots" content="noindex">
<link href="../../include/netautor.css" rel="stylesheet" type="text/css">
</head>
<body class="blue" >
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#f6f6f6" align="center" class="text">
<?php
foreach($idx_path as $Key => $Value)
{
$nr = ((!file_exists($Value.'/index.swish-e') || @unlink($Value.'/index.swish-e')) ? 360 : 361 );
echo $GLOBALS['LOCALE']->gettext($nr, array($Value));
echo("<br>");
}
?>
</td>
</tr>
</table>
<br>
<center>
<a onclick="window.opener.document.forms[0].submit();window.close();" href="#funz" class="link" ><?php echo $GLOBALS['LOCALE']->gettext('close'); ?></a>
</center>
</body>
</html>