Version 2007-11-05

This commit is contained in:
nemunaire 2007-11-05 12:00:00 +01:00
commit d08fb34825
58 changed files with 1819 additions and 1447 deletions

View file

@ -6,12 +6,13 @@ require('header.php');
if(!isset($_SESSION['charg']) || $_SESSION['charg'] != 1) echo '<meta http-equiv="refresh" content="0; url=\'index.php?erreur=7\'"/>';
elseif(!isset($_GET['v'])){
$_SESSION['cdsconnect'] = rand(1234567890,9876543210)*rand(1234567890,98765432100)/rand(123567890,9876543210);
$url=@eregi_replace($_SERVER['DOCUMENT_ROOT'],'http://'.$_SERVER['HTTP_HOST'],$_SERVER['SCRIPT_FILENAME']);
echo '<script type="text/javascript">window.location.href="'.$url.'?v='.sha1(time()).'";</script>';
echo '<script type="text/javascript">window.location.href="'.$url.'?v='.sha1(time() + $_SESSION['cdsconnect']).'";</script>';
echo '<noscript><meta http-equiv="refresh" content="0; url=\'index.php?erreur=6\'"/></noscript>';
}
if(($_GET['v'] == sha1(time()) || $_GET['v'] == sha1(time() - 1) || $_GET['v'] == sha1(time() - 2) || $_GET['v'] == sha1(time() - 3) || $_GET['v'] == sha1(time() - 4) || $_GET['v'] == sha1(time() - 5) || $_GET['v'] == sha1(time() - 6) || $_GET['v'] == sha1(time() - 7) || $_GET['v'] == sha1(time() - 8) || $_GET['v'] == sha1(time() - 9) || $_GET['v'] == sha1(time() - 10)) && isset($_SESSION['charg']) && $_SESSION['charg'] == 1) echo '<frameset cols="182,*" frameborder="0" border="0" noresize>
if(($_GET['v'] == sha1(time() + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 1 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 2 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 3 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 4 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 5 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 6 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 7 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 8 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 9 + $_SESSION['cdsconnect']) || $_GET['v'] == sha1(time() - 10 + $_SESSION['cdsconnect'])) && isset($_SESSION['charg']) && $_SESSION['charg'] == 1) echo '<frameset cols="182,*" frameborder="0" border="0" noresize>
<frame src="pages/menu.php" frameborder="0" border="0" noresize />
<frame src="pages/depart.php" name="changement" frameborder="0" border="0" noresize />
</frameset>
@ -21,4 +22,4 @@ if(($_GET['v'] == sha1(time()) || $_GET['v'] == sha1(time() - 1) || $_GET['v'] =
</html>';
elseif(!isset($_SESSION['charg']) || $_SESSION['charg'] != 1) echo '<meta http-equiv="refresh" content="0; url=\'index.php?erreur=7\'"/>';
else echo '<meta http-equiv="refresh" content="0; url=\'b_index.php\'"/>';
?>
?>