Skip to content
Snippets Groups Projects
top_forced.php 676 B
<?php
require_once('lib/extras.init.php');
if (!isset($_GET['art']))		$_GET['art']		= "";
if (!isset($forced['tan']))		$forced['tan']		= "";
if (!isset($forced['ziel']))	$forced['ziel']		= "";

$sql = sql::$db->prepare ("SELECT `ziel`, `tan` FROM `"._VMS_."_gebuchte_werbung` WHERE `tan` = ? LIMIT 1");
$sql -> execute(array($_GET['tan']));
$forced = $sql -> fetch();

echo '<!DOCTYPE>
<html>
<head>
	<title>Forcedklick by '.$system['seitenname'].'</title>
</head>
<frameset rows="30,*" border="0">
<frame src="topframe_forced.php?tan='.$forced['tan'].'" scrolling="no" frameborder="0">
<frame src="'.$forced['ziel'].'" scrolling="auto" frameborder="0">
</frameset>
</html>';