Subversion Repositories personal-webbase

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 daniel-mar 1
<?php
2
 
3
require 'includes/main.inc.php';
4
 
5
// Ist das Testcookie "Angekommen"?
6
 
7
if ((isset($_COOKIE['cookieAcceptingTest'])) &&
8
        ($_COOKIE['cookieAcceptingTest'] == $_GET['testCookie'])) {
9
        // Ja: Cookie wieder entfernen, Seite weiter laden
10
        wbUnsetCookie('cookieAcceptingTest');
11
        $insert = '';
12
} else {
13
        // Nein: Fehler!
14
        $insert = '<script language="JavaScript">
15
        <!--
16
                parent.location.href = "cookie_failure.php";
17
        // -->
18
        </script>';
19
}
20
 
21
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
22
 
23
<html>
24
 
25
<head>
26
         <title>ViaThinkSoft Personal WebBase</title>
27
         <link href="style.css.php" rel="stylesheet" type="text/css">
28
         <meta name="robots" content="noindex">
29
</head>
30
 
31
<body class="margin_bottom">
32
 
33
<?php echo $insert; ?>
34
 
35
<table cellspacing="0" cellpadding="0" border="0" width="100%">
36
<tr>
37
<td align="right" valign="top"><img src="designs/spacer.gif" width="1" height="2" alt=""><br></td>
38
<td align="right" valign="top" width="100%"><a class="bottom_mini" href="index.php" target="_blank">Fenster duplizieren</a></td>
39
</tr>
40
</table>
41
 
42
</body>
43
 
44
</html>
45