Commit 570cb376 authored by Joel Kuder's avatar Joel Kuder

-> pclick.php entferne . vor Tan (BUG)

-> pcheck.php mysql_num_rows auf Undefined.
parent da7f1aa6
......@@ -14,9 +14,11 @@ $_GET['tan'] = addslashes ($_GET['tan']);
//DB Verbindung herstellen
db_connect();
$mail = mysql_fetch_assoc(db_query("SELECT e.start,e.aufendhalt,e.status,e.uid,v.verdienst FROM ".$db_prefix."_paidmails_empfaenger e
$user_mail = db_query("SELECT e.start,e.aufendhalt,e.status,e.uid,v.verdienst FROM ".$db_prefix."_paidmails_empfaenger e
LEFT JOIN ".$db_prefix."_paidmails_versendet v ON v.tan = e.tan
WHERE e.tan='".$_GET['tan']."' AND e.uid=".$_GET['uid']." AND e.gueltig > ".time()." LIMIT 1"));
WHERE e.tan='".$_GET['tan']."' AND e.uid=".$_GET['uid']." AND e.gueltig > ".time()." LIMIT 1");
$mail = mysql_fetch_assoc($user_mail);
if ($_GET['auszahlen']!='true') {
if (mysql_num_rows($user_mail)) {
......
......@@ -15,7 +15,7 @@ echo '
<title>Paidmail by '.$seitenname.'</title>
</head>
<frameset rows="30,*" border="0">
<frame name="abuse" src="pcheck.php?tan=.'.$_GET['tan'].'&uid='.$_GET['uid'].'" scrolling="no" frameborder="0">
<frame name="abuse" src="pcheck.php?tan='.$_GET['tan'].'&uid='.$_GET['uid'].'" scrolling="no" frameborder="0">
<frame name="werbung" src="'.$mail['ziel'].'" scrolling="auto" frameborder="0">
</frameset>
</html>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment