<?php
//Copyright (c) Florian Grannemann
//Last change in version: 2.0.4
/*
******************************************************************************
ADbNewsSender 2
Copyright (C) 2010 Florian Grannemann (hide@address.com)
Website: http://adbnewssender.sf.net
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 3 of the License, or
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, see http://www.gnu.org/licenses/
******************************************************************************
*/
//Do not edit anything unless you realy REALY know what you are doing!
//Index Page of Setup. If a step is provided it calles the step-file. If not calles step 0.
//Clearing Browser-Cache:
header("Expires: now");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
//version number:
$version="2.0.4";
?>
<html>
<head>
<Title>ADbNewsSender <?php print $version;?> - Setup</title>
<LINK rel="stylesheet" href="template.css">
</head>
<body>
<?php
//to avoid problems on some servers:
//if that does not work, use
//$path_to_protected=".."; or enter the absolute path instead
//But this should work on all UNIX-like systems
$path_to_protected=dirname(__FILE__)."/..";
$step=intval($_POST['step']);
if(!$step || $step==0)
{
include "step0.php.inc";
}
else
{
include "step".$step.".php.inc";
}
?>
</body>
</html>