pclick.php 896 Bytes
Newer Older
Eric Laufer's avatar
1.1  
Eric Laufer committed
1
<?php
Eric Laufer's avatar
Eric Laufer committed
2
session_start();
Eric Laufer's avatar
Eric Laufer committed
3 4 5 6
require_once('lib/functions.lib.php');
require_once('lib/db_config.php');
require_once('lib/datenbank.inc.php');
$datenbank = new DB;
Eric Laufer's avatar
Eric Laufer committed
7
$grundconfig = $datenbank->get_row("SELECT * FROM ". PREFIX . CONFIG ." ",true);
Eric Laufer's avatar
Eric Laufer committed
8
require_once('lib/functions.lib.php');
Eric Laufer's avatar
Eric Laufer committed
9
require_once('lib/session.lib.php');
Eric Laufer's avatar
1.1  
Eric Laufer committed
10 11 12

$_GET['uid'] = (int)$_GET['uid'];
$_GET['tan'] = addslashes ($_GET['tan']);
Eric Laufer's avatar
Eric Laufer committed
13
$mail = $datenbank->get_row("SELECT ziel FROM ". PREFIX . WERBUNG ." WHERE tan='". $datenbank->escape($_GET['tan'])."' LIMIT 1",true);
Eric Laufer's avatar
Eric Laufer committed
14

Eric Laufer's avatar
1.1  
Eric Laufer committed
15
echo '
Eric Laufer's avatar
Eric Laufer committed
16 17

<!DOCTYPE HTML>
Eric Laufer's avatar
1.1  
Eric Laufer committed
18
<html>
Eric Laufer's avatar
Eric Laufer committed
19 20 21 22 23 24 25 26
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8">
		<title>Paidmail by '.$grundconfig->seitenname.'</title>
	</head>
	<frameset rows="75, *" border="0">
		<frame src="pcheck.php?tan='.$_GET['tan'].'&uid='.$_GET['uid'].'" name="navigation">
		<frame src="'.$mail->ziel.'" name="inhalt">
	</frameset>
Eric Laufer's avatar
1.1  
Eric Laufer committed
27 28
</html>';