Commit 02e30b65 authored by Joel Kuder's avatar Joel Kuder

-> Remove short tags (<?= and <? )

-> Remove copyrights LKTechnik
-> Remove lkt_ in filenames and path and mysql
-> extras.lib.php no $text variable
-> add .ressource ordner for future sql migrations and install scripts and alternate non WEB files.
-> remove ebesucher.php because ebesucher dont have an API
-> Change headerbanner ads to https and new URL
-> add config.inc.php.example as example for config.inc.php
-> remove personal variables from functions.php -> Git conflicts
-> remove adscan -> in future no external services per default.
parent 27f4a11c
This diff is collapsed.
<?php
$blockierte = db_query('SELECT * FROM ' . $db_prefix . '_gebuchte_werbung g LEFT JOIN ' . $db_prefix . '_fb_blacklist f ON f.kid=g.kid AND f.werbeart=g.werbeart WHERE g.werbeart="forcedbanner" AND LOCATE(f.sponsor, g.ziel) AND g.status=1 AND f.kid IS NOT NULL');
head('Von Adscan blockierte Kampagnen');
echo '<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td align="center" width="100%"><B>Gesperrte Forcedbanner Kampangen<B></td>
</tr>
</table>';
while ($blockiert = mysql_fetch_assoc($blockierte)) {
echo '
<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td align="center" width="50%">TAN:&nbsp;' . $blockiert ['tan'] . '<br>KID:&nbsp;' . $blockiert ['kid'] . ' (' . $blockiert ['sponsor'] . ')</td>
<td align="center" width="50%">Bet:&nbsp;' . number_format($blockiert ['preis'], 2, ",", ".") . ' / User:&nbsp;' . number_format($blockiert ['verdienst'], 2, ",", ".") . '</td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" colspan="2"><a href="' . $blockiert ['ziel'] . '" target="_blank"><img alt="Sponsorenbanner" src="' . $blockiert ['banner'] . '" border="0" width="468" height="60"></a></td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" width="50%">Reload:&nbsp;' . $blockiert ['reload'] / 3600 . ' Std. / Rest:&nbsp;' . number_format($blockiert ['menge'], 0, ",", ".") . '</td>
</tr>
</table>';
}
$blockierte = db_query('SELECT * FROM ' . $db_prefix . '_gebuchte_werbung g LEFT JOIN ' . $db_prefix . '_fb_blacklist f ON f.kid=g.kid AND f.werbeart=g.werbeart WHERE g.werbeart="paidmail" AND LOCATE(f.sponsor, g.ziel) AND g.status=1 AND f.kid IS NOT NULL');
echo '<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td align="center" width="100%"><B>Gesperrte Paidmail Kampangen<B></td>
</tr>
</table>';
while ($blockiert = mysql_fetch_assoc($blockierte)) {
echo '<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td align="center" width="50%">TAN:&nbsp;' . $blockiert ['tan'] . '<br>KID:&nbsp;' . $blockiert ['kid'] . ' (' . $blockiert ['sponsor'] . ')</td>
<td align="center" width="50%">Bet:&nbsp;' . number_format($blockiert ['preis'], 2, ",", ".") . ' / User:&nbsp;' . number_format($blockiert ['verdienst'], 2, ",", ".") . '</td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" colspan="2"><a href="' . $blockiert ['ziel'] . '" target="_blank">' . $blockiert ['ziel'] . '</a></td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" colspan="2"><textarea style="width:100%">' . $blockiert ['mailtext'] . '</textarea></td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" width="50%">Reload:&nbsp;' . $blockiert ['reload'] / 3600 . ' Std. / Rest:&nbsp;' . number_format($blockiert ['menge'], 0, ",", ".") . '</td>
</tr>
</table>';
}
$blockierte = db_query('SELECT * FROM ' . $db_prefix . '_gebuchte_werbung g LEFT JOIN ' . $db_prefix . '_fb_blacklist f ON f.kid=g.kid AND f.werbeart=g.werbeart WHERE g.werbeart="paidlinks" AND LOCATE(f.sponsor, g.ziel) AND g.status=1 AND f.kid IS NOT NULL');
echo '<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td align="center" width="100%"><B>Gesperrte Paidlink Kampangen<B></td>
</tr>
</table>';
while ($blockiert = mysql_fetch_assoc($blockierte)) {
echo '<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td align="center" width="50%">TAN:&nbsp;' . $blockiert ['tan'] . '<br>KID:&nbsp;' . $blockiert ['kid'] . ' (' . $blockiert ['sponsor'] . ')</td>
<td align="center" width="50%">Bet:&nbsp;' . number_format($blockiert ['preis'], 2, ",", ".") . ' / User:&nbsp;' . number_format($blockiert ['verdienst'], 2, ",", ".") . '</td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" colspan="2"><a href="' . $blockiert ['ziel'] . '" target="_blank">' . $blockiert ['ziel'] . '</a></td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" width="50%">Reload:&nbsp;' . $blockiert ['reload'] / 3600 . ' Std. / Rest:&nbsp;' . number_format($blockiert ['menge'], 0, ",", ".") . '</td>
</tr>
</table>';
}
$blockierte = db_query('SELECT * FROM ' . $db_prefix . '_gebuchte_werbung g LEFT JOIN ' . $db_prefix . '_fb_blacklist f ON f.kid=g.kid AND f.werbeart=g.werbeart WHERE g.werbeart != "paidmail" AND g.werbeart != "forcedbanner" AND g.werbeart !="paidlinks" AND LOCATE(f.sponsor, g.ziel) AND g.status=1 AND f.kid IS NOT NULL');
echo '
<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td align="center" width="100%"><B>Gesperrte Andere Kampangen<B></td>
</tr>
</table>';
while ($blockiert = mysql_fetch_assoc($blockierte)) {
echo '<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#c0c0c0">
<tr bgcolor="#f0f0f0">
<td align="center" width="50%">TAN:&nbsp;' . $blockiert ['tan'] . '<br>KID:&nbsp;' . $blockiert ['kid'] . ' (' . $blockiert ['sponsor'] . ')</td>
<td align="center" width="50%">Bet:&nbsp;' . number_format($blockiert ['preis'], 2, ",", ".") . ' / User:&nbsp;' . number_format($blockiert ['verdienst'], 2, ",", ".") . '</td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" colspan="2"><a href="' . $blockiert ['ziel'] . '" target="_blank">' . $blockiert ['ziel'] . '</a></td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center" width="50%">Reload:&nbsp;' . $blockiert ['reload'] / 3600 . ' Std. / Rest:&nbsp;' . number_format($blockiert ['menge'], 0, ",", ".") . '</td>
</tr>
</table>';
}
foot();
?>
\ No newline at end of file
<?php
if ($_POST['senden'] == 'Speichern') {
db_query('UPDATE ' . $db_prefix . '_adscan SET `updatesite`="' . $_POST['updatesite'] . '", `status`="' . $_POST['status'] . '", `pw`="' . $_POST['pw'] . '", `version`="' . $_POST['version'] . '", `update`="' . $_POST['update'] . '", `werbearten`="' . $_POST['werbearten'] . '", `maxframes`="' . $_POST['maxframes'] . '", `maxpopup`="' . $_POST['maxpopup'] . '"');
}
$einstellungen = mysql_fetch_assoc(db_query('SELECT * FROM ' . $db_prefix . '_adscan LIMIT 1'));
if (file_exists('../cron.php')) {
$cron = mysql_fetch_assoc(db_query('SELECT id FROM ' . $db_prefix . '_crons WHERE bezeichnung = "Adscan.de Cron"'));
}
if ($einstellungen['status'] == '1') {
$selected3 = 'selected';
} else {
$selected4 = 'selected';
}
if ($einstellungen['update'] == '1') {
$selected = 'selected';
} else {
$selected2 = 'selected';
}
head('Letzte Meldung');
echo $einstellungen['meldung'];
foot();
head('Downloadeinstellungen');
echo '<form action="" method="post">
<table width="100%">
<tr><td>Maximale Frames:</td><td><input type="text" name="maxframes" value="' . $einstellungen['maxframes'] . '"></td></tr>
<tr><td>Maximale Popups:</td><td><input type="text" name="maxpopup" value="' . $einstellungen['maxpopup'] . '"></td></tr>
<tr><td>Update (ausf&uuml;hren?):</td><td><select name="update">
<option value="1" ' . $selected . '>Ein</option>
<option value="0" ' . $selected2 . '>Aus</option>
</select></td></tr>
<tr><td>Cron (ausf&uuml;hren?):</td><td><select name="status">
<option value="1" ' . $selected3 . '>Ein</option>
<option value="0" ' . $selected4 . '>Aus</option>
</select></td></tr>
<tr><td>Interface-PW:</td><td><input type="text" name="pw" value="' . $einstellungen['pw'] . '"></td></tr>
<tr><td>Werbearten mit Framebrechern:</td><td><input type="text" name="werbearten" value="' . $einstellungen['werbearten'] . '"></td></tr>
<tr><td>Updatesite (nur bei Aufforderung &auml;ndern!):</td><td><input type="text" name="updatesite" value="' . $einstellungen['updatesite'] . '"></td></tr>
<tr><td>Versionsschl&uuml;ssel:</td><td><input type="text" name="version" value="' . $einstellungen['version'] . '"></td></tr></table>
<center><input type="submit" name="senden" value="Speichern"></center>
</form>';
?>
<?php if (!file_exists('cron.php')) {
echo '<form action="../cron.php?id=' . $cron['id'] . '&pw=' . $cron_pw . '" method="post">';
} else {
echo '<form action="cron.php?cron=crons/framebrecherdown.php" method="post">';
}
echo '<center><input type="submit" name="update" value="Updaten"></center>
</form>';
foot();
?>
\ No newline at end of file
<?php
if ($_GET['tan'] != '' && $_GET['url'] != '') {
db_query('DELETE FROM ' . $db_prefix . '_adscan_frameset WHERE url="' . $_GET['url'] . '"');
db_query('DELETE FROM ' . $db_prefix . '_adminblacklist WHERE tan="' . $_GET['tan'] . '"');
}
if ($_GET['blacklist'] != '') {
db_query('DELETE FROM ' . $db_prefix . '_adminblacklist WHERE tan="' . $_GET['blacklist'] . '"');
db_query('UPDATE ' . $db_prefix . '_gebuchte_werbung SET status=2 WHERE tan="' . $_GET['blacklist'] . '"');
db_query('DELETE FROM ' . $db_prefix . '_adscan_userblacklist WHERE tan="' . $_GET['blacklist'] . '"');
}
$intern = db_query('SELECT a.time, a.tan, g.ziel FROM ' . $db_prefix . '_adminblacklist a LEFT JOIN ' . $db_prefix . '_gebuchte_werbung g ON a.tan=g.tan');
head('Gemeldete Kampagnen');
echo '<table width="100%">
<tr>
<td>Tan</td>
<td>KID</td>
<td>Sponsor</td>
<td>Zeit</td>
<td>Gepr&uuml;ft am/um</td>
<td>Aktionen</td>
</tr>';
while ($banner = mysql_fetch_array($intern)) {
$geprueft = mysql_fetch_assoc(db_query('SELECT time FROM ' . $db_prefix . '_adscan_frameset WHERE url = "' . $banner['ziel'] . '"'));
echo '<tr>
<td>' . $banner['tan'] . '</td>
<td>' . $banner['kid'] . '</td>
<td>' . $banner['sponsor'] . '</td>
<td>' . date('d.n.y G:i', $banner['time']) . '</td>
<td>' . date('d.n.y G:i', $geprueft['time']) . '</td>
<td><a href="frametest.php?url=' . urlencode($banner['ziel']) . '" target="_blank">Testen</a>
<a href="?content=/adscan/meldungen&tan=' . $banner['tan'] . '&url=' . $banner['ziel'] . '" target="_self">Löschen</a>
<a href="?content=/adscan/meldungen&blacklist=' . $banner['tan'] . '" target="_self">Blacklist</a></td>
</tr>';
}
echo '</table>';
foot();
?>
\ No newline at end of file
<?php
$einstellungen = mysql_fetch_assoc(db_query('SELECT updatesite FROM '.$db_prefix.'_adscan LIMIT 1'));
?>
<!--<script type="text/javascript">
var framefenster = document.getElementsByTagName("iframe");
var auto_resize_timer = window.setInterval("autoresize_frames()", 400);
function autoresize_frames() {
for (var i = 0; i < framefenster.length; ++i) {
if(framefenster[i].contentWindow.document.body){
var framefenster_size = framefenster[i].contentWindow.document.body.offsetHeight;
if(document.all && !window.opera) {
framefenster_size = framefenster[i].contentWindow.document.body.scrollHeight;
}
framefenster[i].style.height = framefenster_size + 'px';
}
}
}
</script>-->
<iframe src="<?php echo $einstellungen['updatesite'].'news.php'?>" style="width:600px; height:900px; border:none;" frameborder="0" scrolling="yes"></iframe>
\ No newline at end of file
......@@ -24,8 +24,8 @@ head("Webseiteneinstellungen"); ?>
<tr bgcolor="#f0f0f0">
<td align="left"><b>Wartungsmodus</b><br><i>Wartungstext muss bearbeitet werden!</i></td>
<td align="left">&nbsp;<select name="wartung">
<option value="0" <?if ($interface['wartung'] == 0) echo 'SELECTED';?>>Deaktiviert&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="1" <?if ($interface['wartung'] == 1) echo 'SELECTED';?>>Aktiviert</option>
<option value="0" <?php if ($interface['wartung'] == 0) echo 'SELECTED';?>>Deaktiviert&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="1" <?php if ($interface['wartung'] == 1) echo 'SELECTED';?>>Aktiviert</option>
</select>
</td>
</tr>
......
This diff is collapsed.
......@@ -101,7 +101,6 @@ foot();
db_query ('DELETE FROM '.$db_prefix.'_werberdaten WHERE uid = '.$row['uid']);
db_query ('UPDATE '.$db_prefix.'_werberdaten SET werber = 0 WHERE werber = '.$row['uid']);
db_query ('DELETE FROM '.$db_prefix.'_admin_abuse WHERE uid = '.$row['uid']);
db_query ('DELETE FROM '.$db_prefix.'_adscan_userblacklist WHERE uid = '.$row['uid']);
db_query ('DELETE FROM vms_buchungen WHERE uid = '.$row['uid']);
db_query ('DELETE FROM vms_reloads WHERE uid = '.$row['uid']);
db_query ('DELETE FROM vms_schnittstelle_anfragen WHERE uid = '.$row['uid']);
......
......@@ -16,9 +16,7 @@ $inhalt = @fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);
?>
<?php head("FAQ's bearbeiten (html erlaubt!)");?>
head("FAQ's bearbeiten (html erlaubt!)");?>
<div align="center">
<br />
<form action="" method="post">
......
......@@ -16,9 +16,7 @@ $inhalt = @fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);
?>
<?php head("Wartungstext bearbeiten (html erlaubt!)");?>
head("Wartungstext bearbeiten (html erlaubt!)");?>
<div align="center">
<br />
<form action="" method="post">
......
<?php head("Buchungsübersicht - Konto " . $_GET['uid']);?>
<table border="0" width="100%" cellpadding="0" cellspacing="1" bgcolor="#303030">
<tr bgcolor="#f2f2f2">
<td align="center"><b>Buchungs Id</b></td>
<td align="center"><b>Datum</b></td>
<td align="center"><b>Zeit</b></td>
<td align="center"><b>FuCos</b></td>
<td align="center"><b>Verwendungszweck</b></td>
</tr>
<?php
$buchungen_lesen = db_query("SELECT * FROM " . $db_prefix . "_buchungen WHERE uid=" . $_GET['uid'] . " ORDER BY buchungszeit DESC LIMIT 250");
while ($buchung_schreiben = mysql_fetch_array($buchungen_lesen)) {
$buchcolor = '#000000';
if ($buchung_schreiben['buchungsmenge'] < 0) $buchcolor = '#cc0000';
?>
<tr bgcolor="#fafafa">
<td align="left">&nbsp;'.$buchung_schreiben['buchungs_id'];?></td>
<td align="center">&nbsp;'.date("d.m.Y",$buchung_schreiben['buchungszeit']);?>&nbsp;</td>
<td align="center">&nbsp;'.date("H:i",$buchung_schreiben['buchungszeit']);?>&nbsp;</td>
<td align="right">&nbsp;<font color="'.$buchcolor;?>">'.number_format($buchung_schreiben['buchungsmenge'],2,",",".");?></font>&nbsp;</td>
<td align="left">&nbsp;'.$buchung_schreiben['verwendungszweck'];?></td>
</tr>
<?php
}
?>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="1" bgcolor="#303030">
<tr bgcolor="#f2f2f2">
<td align="center"><b>Buchungs Id</b></td>
<td align="center"><b>Datum</b></td>
<td align="center"><b>Zeit</b></td>
<td align="center"><b>FuCos</b></td>
<td align="center"><b>Verwendungszweck</b></td>
</tr>
<?php
$buchungen_lesen = db_query("SELECT * FROM " . $db_prefix . "_buchungen WHERE uid=" . $_GET['uid'] . " ORDER BY buchungszeit DESC LIMIT 250");
while ($buchung_schreiben = mysql_fetch_array($buchungen_lesen)) {
$buchcolor = '#000000';
if ($buchung_schreiben['buchungsmenge'] < 0) $buchcolor = '#cc0000';
echo '<tr bgcolor="#fafafa">
<td align="left">&nbsp;'.$buchung_schreiben['buchungs_id'].'</td>
<td align="center">&nbsp;'.date("d.m.Y",$buchung_schreiben['buchungszeit']).'&nbsp;</td>
<td align="center">&nbsp;'.date("H:i",$buchung_schreiben['buchungszeit']).'&nbsp;</td>
<td align="right">&nbsp;<font color="'.$buchcolor.'>">'.number_format($buchung_schreiben['buchungsmenge'],2,",",".").'</font>&nbsp;</td>
<td align="left">&nbsp;'.$buchung_schreiben['verwendungszweck'].'</td>
</tr>';
}
?>
</table>
<?php foot();?>
\ No newline at end of file
......@@ -7,8 +7,9 @@ if ($_GET['testen'] == 'true') {
if ($_GET['frame'] == 'true') {
echo 'Dies ist der Testframe';
} else {
@require_once ('../lib/functions.lib.php');
@db_connect();
require_once ('../lib/config.inc.php');
require_once ('../lib/functions.lib.php');
db_connect();
if (!isset($_GET['art'])) $_GET['art'] = "";
if (!isset($forced['tan'])) $forced['tan'] = "";
if (!isset($forced['ziel'])) $forced['ziel'] = "";
......
......@@ -14,6 +14,7 @@
if (!isset($_GET['content']) || empty ($_GET['content'])) $_GET['content'] = '/intern/startseite';
if (!file_exists('content' . $_GET['content'] . '.php')) $_GET['content'] = '/error/keine_seite';
require ('../lib/config.inc.php');
require ('../lib/functions.lib.php');
db_connect ();
session_start();
......@@ -25,6 +26,7 @@
if (!isset($_GET['content'])) $_GET['content'] = '/startseite';
if (!file_exists('content'.$_GET['content'].'.php')) $_GET['content'] = '/error/keine_seite';
if($_POST['check'] == "Login") {
require_once ('../lib/config.inc.php');
require_once ('../lib/functions.lib.php');
db_connect();
$page = mysql_fetch_array(db_query("SELECT admin_name, admin_pass FROM ".$db_prefix."_seitenkonfig LIMIT 1"));
......@@ -71,7 +73,7 @@
<?php if($_SESSION['admin'] != 1){?>
<li>
<form method="post">
<input type="Text" class ="topbar_input" name="loginname" value="<?=$_POST['nickname'];?>" placeholder="Username">
<input type="Text" class ="topbar_input" name="loginname" value="<?php echo $_POST['nickname'];?>" placeholder="Username">
<input type="Password" class ="topbar_input" name="passwort" value="" placeholder="Passwort">
<button type="submit" name="check" value="Login">Login</button>
</form>
......@@ -96,4 +98,4 @@
</div>
</body>
</html>
<? db_close (); ?>
\ No newline at end of file
<?php db_close (); ?>
\ No newline at end of file
......@@ -9,11 +9,11 @@ menuehead("Newssystem");
echo '&raquo;&nbsp;<a href="?content=/newssystem/news">News schreiben</a><br>';
menuefoot();
menuehead('LKT-Rallysystem');
echo '&raquo;&nbsp;<a href="?content=/LKT_addons/LKT_rallysystem"><strong>Rally / Positionen</strong></a><br>';
menuehead('Rallysystem');
echo '&raquo;&nbsp;<a href="?content=/rallysystem"><strong>Rally / Positionen</strong></a><br>';
$rally = db_query("SELECT id,name FROM ".$db_prefix."_rallydaten");
while($rall = mysql_fetch_array($rally)){
echo '&nbsp;&nbsp;&nbsp;&nbsp;&#8627;&nbsp;<a href="?content=/LKT_addons/LKT_rallysystem2&rally= '.$rall['id'].'">'.$rall['name'].'></a><br>';
echo '&nbsp;&nbsp;&nbsp;&nbsp;&#8627;&nbsp;<a href="?content=/rallysystem2&rally= '.$rall['id'].'">'.$rall['name'].'></a><br>';
}
menuefoot();
......@@ -42,10 +42,3 @@ menuehead("Interfacebanner");
&raquo;&nbsp;<a href="?content=/interfacebanner/blacklist"><b>Blacklist</b></a><br>';
menuefoot();
menuehead("Adscan");
echo '&raquo;&nbsp;<a href="?content=/adscan/einstellungen">Einstellungen</a><br>
&raquo;&nbsp;<a href="?content=/adscan/meldungen">Meldungen</a><br>
&raquo;&nbsp;<a href="?content=/adscan/news">News</a><br>
&raquo;&nbsp;<a href="?content=/adscan/banner">Blocked by Adscan</a><br>';
menuefoot();
<?php
if (!isset($_GET['loading'])) $_GET['loading'] = false;
if (!isset($_GET['sec'])) $_GET['sec'] = false;
if (!isset($_GET['url'])) $_GET['url'] = "";
if (!isset($_GET['count'])) $_GET['count'] = "";
if (!$_GET['loading'] && !$_GET['sec'] && $_GET['url']){
require('../lib/functions.lib.php');
db_connect();
db_query('INSERT INTO '.$db_prefix.'_adscan_frameset (url, `time`) VALUES ("%s", '.time().')', base64_decode($_GET['url']));
db_close();
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Frameset</title>
<meta http-equiv="refresh" content="'.$_GET['count'].'; URL=frameset.php?loading=true">
</head>
<frameset rows="*" border="0">
<frame name="abuse" src="frameset.php?sec=true&url='.$_GET['url'].'" scrolling="no" frameborder="0">
</frameset>
</html>';
} elseif(!$_GET['loading'] && !$_GET['count'] && $_GET['sec'] && $_GET['url']){
echo '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Frameset</title>
</head>
<frameset rows="*" border="0">
<frame name="abuse2" src="'.base64_decode($_GET['url']).'" scrolling="no" frameborder="0">
</frameset>
</html>';
}
?>
\ No newline at end of file
......@@ -166,11 +166,11 @@ for($x = $rp;$x < $rally['gewinner_anzahl'] + 1;$x++) {
if ($x > $rally['gewinner_anzahl']) $mg = '---';
?>
<tr>
<td align="right"><?=$rp++;?>.&nbsp;</td>
<td align="right"><?php echo $rp++;?>.&nbsp;</td>
<td>&nbsp;n/a</td>
<td align="right">0&nbsp;</td>
<td align="right"><?=$mg;?>&nbsp;</td>
<td align="right"><strong><?=$mindestpunkt;?></strong></td>
<td align="right"><?php echo $mg;?>&nbsp;</td>
<td align="right"><strong><?php echo $mindestpunkt;?></strong></td>
</tr>
<?php
}
......
<?php
if ($_GET['loeschen'] && $_GET['tan']) db_query('DELETE FROM ' . $db_prefix . '_adscan_userblacklist WHERE tan="' . mysql_real_escape_string($_GET['tan']) . '"');
$blacklist = db_query('SELECT tan FROM ' . $db_prefix . '_adscan_userblacklist');
head('Eigene Blacklist');
echo '<table width="100%">
<tr>
<td>TAN</td>
</tr>';
while ($kampagne = mysql_fetch_assoc($blacklist)) {
echo '<tr>
<td>' . $kampagne['tan'] . '</td>
<td><a href="' . $domain . '/top_forcedbanner.php?tan=' . $kampagne['tan'] . '">Verg&uuml;tung</a> <a href="?content=/adscan_blacklist&tan=' . $kampagne['tan'] . '&loeschen=true">L&ouml;schen</a></td>
</tr>';
}
echo '</table>';
foot();
\ No newline at end of file
<?php
userstatus();
if ($_POST['uebertragen'] == 'Melden') {
head('Meldung');
if ($_POST['tan'] != '') {
if (is_numeric($_POST['grund']) && $_POST['grund'] > 0 && $_POST['grund'] < 8) {
if (eregi('tan=',$_POST['tan'])) {
$tan = split('tan=',$_POST['tan'], 2);
$tan = split('&', $tan[1]);
$_POST['tan'] = $tan[0];
}
$abfrage = mysql_fetch_assoc(db_query('SELECT tan, kid, ziel, reload, aufendhalt, werbeart FROM '.$db_prefix.'_gebuchte_werbung WHERE tan="'.mysql_real_escape_string($_POST['tan']).'" LIMIT 1'));
if ($abfrage) {
db_query('REPLACE INTO '.$db_prefix.'_adscan_userblacklist (uid, tan) VALUES ('.$_SESSION['uid'].', "'.$abfrage['tan'].'")');
$einstellungen = mysql_fetch_assoc(db_query('SELECT updatesite, pw, werbearten, version FROM '.$db_prefix.'_adscan LIMIT 1'));
$einstellungen['werbearten'] = explode(', ', $einstellungen['werbearten']);
if ((!in_array($abfrage['werbeart'], $einstellungen['werbearten']) && $_POST['grund'] == 1) || $_POST['grund'] != 1) {
if ($_POST['grund'] < 7) db_query('INSERT INTO '.$db_prefix.'_adminblacklist (tan, time) VALUES ("'.$abfrage['tan'].'", '.time().')');
if (($abfrage['kid'] != 0) && ($abfrage['sponsor'] != 'administrator') && $_POST['grund'] < 6) {
if ($fp = file_get_contents($einstellungen['updatesite'].'upload.php?pw='.$einstellungen['pw'].'&url='.urlencode($abfrage['ziel']).'&kid='.$abfrage['kid'].'&reload='.$abfrage['reload'].'&aufenthalt='.$abfrage['aufendhalt'].'&werbeart='.$abfrage['werbeart'].'&grund='.$_POST['grund'])) {
echo 'Der Adscan Server erzeugt folgende Rückgabe:<br><br>'.$fp;
} elseif ($_POST['grund'] < 6) {
echo 'Kampagne wurde dem Admin gemeldet!';
} else {
echo 'Die Verbindung zum Adscan Server konnte nicht hergestellt werden.';
}
} else echo 'Meldung wurde dem Admin gesendet!';
} else {
echo 'Diese Kampagne hat einen Zwangsframebrecher!';
}
} else {
echo 'Ung&uuml;ltige TAN!';
}
} else {
echo 'Du hast eine ung&uuml;ltige Auswahl beim Pulldown-Feld gemacht!';
}
} else {
echo 'Du hast keine TAN eingegeben';
}
foot();
}
head('Neue Kampagne melden');
echo '<form action="" method="post">
<table width="70%">
<tr>
<td>Tan oder URL:</td><td><input type="text" name="tan" value="'.$_GET['tan'].'"></td>
</tr>
<tr>
<td>Meldegrund:</td><td><select name="grund"><option value="1">Framebrecher</option><option value="2">Virus</option><option value="4">Zu viele Popups</option><option value="5">Zu viele Frames</option><option value="6">Kampagne abgelaufen</option><option value="7">Persönliche Gründe</option></select></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="uebertragen" value="Melden"></td>
</tr>
</table>
</form>';
foot();
?>
\ No newline at end of file
......@@ -10,11 +10,11 @@ if (mysql_num_rows($aktivierung)) {
db_query("DELETE FROM " . $db_prefix . "_aktivierungen WHERE ak = '" . $_GET['ak'] . "' LIMIT 1");
head("$seitenname - Accountaktivierung!");
echo 'Die Aktivierung Deines Accounts bei <?=$seitenname;?> war erfolgreich,
echo 'Die Aktivierung Deines Accounts bei '.$seitenname.' war erfolgreich,
Du kannst Dich nun bei uns einloggen und unser Angebot in vollem Umfang nutzen.<br>
<br>
Solltest Du Fehler auf unserer Webseite finden dann sende uns bitte eine Email
an <a href="mailto:<?=$betreibermail;?>" target="_blank"><?=$betreibermail;?></a><br>
an <a href="mailto:'.$betreibermail.'" target="_blank">'.$betreibermail.'</a><br>
<br>
Wir wünschen Dir nun viel Spaß und viele viele Funcoins!<br>
<br>
......
......@@ -88,19 +88,19 @@ if ($anmeldeok != "true") {
<table style="width:500px; margin:0 auto;">
<tr class="tabellenbody_0">
<td class="main"><b>Nickname:</b></td>
<td class="main"><input type="text" name="nickname" value="<?=$_POST['nickname'];?>"></td>
<td class="main"><input type="text" name="nickname" value="<?php echo $_POST['nickname'];?>"></td>
</tr>
<tr class="tabellenbody_1">
<td class="main"><b>Nachname:</b></td>
<td class="main"><input type="text" name="nachname" value="<?=$_POST['nachname'];?>"></td>
<td class="main"><input type="text" name="nachname" value="<?php echo $_POST['nachname'];?>"></td>
</tr>
<tr class="tabellenbody_0">
<td class="main"><b>Vorname:</b></td>
<td class="main"><input type="text" name="vorname" value="<?=$_POST['vorname'];?>"></td>
<td class="main"><input type="text" name="vorname" value="<?php echo $_POST['vorname'];?>"></td>
</tr>
<tr class="tabellenbody_1">
<td class="main"><b>Emailadresse:</b></td>
<td class="main"><input type="text" name="emailadresse" value="<?=$_POST['emailadresse'];?>"></td>
<td class="main"><input type="text" name="emailadresse" value="<?php echo $_POST['emailadresse'];?>"></td>
</tr>
<tr class="tabellenbody_0">
<td class="main">Werber:</td>
......
......@@ -76,7 +76,7 @@ head("Mediadaten - Diverses");?>
<td width="50%"><?php echo @number_format($werberdaten['wd_gesamt'],2,",",".");?> <?php echo $waehrung;?></td>
</tr>
</table>
<?phpfoot();
<?php foot();
head("Mediadaten - Werbung");?>
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr class="tabellenbody_0">
......
......@@ -73,7 +73,7 @@ if (isset($_POST['waehrung']) && $_POST['auszahlen'] == 'Auszahlen' && $_POST['u
?>
<form action="" method="post">
<?head("Auszahlen");?>
<?php head("Auszahlen");?>
<p align="center">Momentan kannst du mit folgenden W&auml;hrungen auszahlen: <br /></p>
<p align="center">
<select name="waehrung">
......@@ -90,11 +90,6 @@ if (isset($_POST['waehrung']) && $_POST['auszahlen'] == 'Auszahlen' && $_POST['u
</form>
<br>
<div align="center">
<!-- Dies ist der Copyright hinweis von http://www.LKTechnik.ch er Darf weder Unsichtbar gemacht werden noch darf er entfernt werden. -->
<!-- Sollte es festgestellt werden das er entfernt wurde erlischt die Lizenz und man hat keinenj anspruch mehr auf den gekauften Artikel. -->
<a href="http://www.lktechnik.ch" target="_blank" name="LKTechnik Sripte,Blog und mehr." title="LKTechnik Sripte,Blog und mehr." style="font-size: 10px;"> &copy; by LKTechnik.ch </a>
</div>
<?php
foot();
......@@ -114,19 +109,19 @@ if(isset($_POST['waehrung']) && in_array($_POST['waehrung'],$erlaubte_schnittste
<tr>
<td align="left" width="55%">Kontonummer der Ausgew&auml;hlten W&auml;hrung</td>
<td align="left">
<?=$foodata['kontoid'];?>
<?php echo $foodata['kontoid'];?>
</td>
</tr>
<tr>
<td align="left">Aktueller Kontostand in <?=$waehrung;?>.</td>
<td align="left">Aktueller Kontostand in <?php echo $waehrung;?>.</td>
<td align="left">
<?=number_format($kontodaten['kontostand'],2,",",".").' '.$waehrung.'';?>
<?php echo number_format($kontodaten['kontostand'],2,",",".").' '.$waehrung.'';?>
</td>
</tr>
<tr>
<td align="left">Aktueller Kontostand umgerechnet.</td>
<td align="left">
<?=number_format($kontodaten['kontostand']*$schnittstelle['punktewert'],2,",",".").' '.$schnittstelle['waehrung_name'];?>
<?php echo number_format($kontodaten['kontostand']*$schnittstelle['punktewert'],2,",",".").' '.$schnittstelle['waehrung_name'];?>
</td>
</tr>
<tr>
......@@ -157,7 +152,7 @@ if(isset($_POST['waehrung']) && in_array($_POST['waehrung'],$erlaubte_schnittste
<?php
if ($auszahlmeldung)
echo '<div align="center"><font color="#800000">'.$auszahlmeldung.'</font></div>';?>
<?} ?>
<?php } ?>
<? foot(); }?>
<?php foot(); }?>
<? userstatus();?>
<?php userstatus();?>
<?head('Buchungsübersicht (max. 50 Buchungen)');?>
<?php head('Buchungsübersicht (max. 50 Buchungen)');?>
<table class="tabellen">
<tr class="tabellenhead">
<td align="center"><b>Zeit</b></td>
<td align="center"><b>Buchung</b></td>
<td align="center"><b><?=$waehrung;?></b></td>
<td align="center"><b><?php echo $waehrung;?></b></td>
<td align="center"><b>Verwendungszweck</b></td>
</tr>
<?
<?php
$buchungen_lesen = db_query("SELECT * FROM ".$db_prefix."_buchungen WHERE uid=".$_SESSION['uid']." ORDER BY buchungszeit DESC LIMIT 50");
while ($buchung_schreiben = mysql_fetch_array($buchungen_lesen)) {
$i++;
......@@ -21,14 +21,14 @@ if ($i % 2 == 0){
$row = 1;
}
?>
<tr class="tabellenbody_<?=$row;?>">
<td align="left">&nbsp;<?=date("d.m.Y - H:i",$buchung_schreiben['buchungszeit']);?>&nbsp;</td>
<td align="center">&nbsp;<?=$buchung_schreiben['buchungs_id'];?></td>
<td align="right">&nbsp;<font color="<?=$buchcolor;?>"><?=number_format($buchung_schreiben['buchungsmenge'],2,",",".");?></font>&nbsp;</td>
<td align="left">&nbsp;<?=$buchung_schreiben['verwendungszweck'];?></td>
<tr class="tabellenbody_<?php echo $row;?>">
<td align="left">&nbsp;<?php echo date("d.m.Y - H:i",$buchung_schreiben['buchungszeit']);?>&nbsp;</td>
<td align="center">&nbsp;<?php echo $buchung_schreiben['buchungs_id'];?></td>
<td align="right">&nbsp;<font color="<?php echo $buchcolor;?>"><?php echo number_format($buchung_schreiben['buchungsmenge'],2,",",".");?></font>&nbsp;</td>
<td align="left">&nbsp;<?php echo $buchung_schreiben['verwendungszweck'];?></td>
</tr>
<?
<?php
}
?>
</table>
<?foot();?>
\ No newline at end of file