-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdetails.php
47 lines (38 loc) · 1.16 KB
/
details.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?
include "config.php";
include "functions.php";
header("Content-Type: text/html; charset=utf-8");
$pagetitle = "Ihre E-Mail";
$nr = "";
$search = "";
$output = "";
$searchtxt = "";
if (isset ($_GET['nr']))
{
$nr = $_GET['nr'];
}
if (isset ($_GET['search']))
{
$searchtxt = $_GET['search'];
$search = $searchtxt . "@" . $maildomain;
}
if (strlen ($search) > 0 && strlen ($nr) > 0)
{
$mailurl = '.php?search=' . $searchtxt . '&nr=' . $nr;
$iframe = '<center><iframe width="90%" height="450" scrolling="yes" marginheight="0" ' .
'marginwidth="0" frameborder="1" name="/mail' . $nr . '" ' .
'src="mail' . $mailurl . '"></iframe></center>';
$output = $iframe;
}
$myurl = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
$myurl .= "?search=" . $searchtxt . "&nr=" . $nr;
$form = "<center><div id='form'><br><table>
<tr><td align=center valign=center>
<a href='/?search=" . $searchtxt . "' class='navlink'>Zurück zum Posteingang</a>
</td></tr>
<tr><td align=center valign=center>
Permalink: <input type='text' size='50' value='" . $myurl . "' readonly>
</td></tr>
</table></div></center>";
include "template.php";
?>