diff --git a/content/verdienen/betteln4.php b/content/verdienen/betteln4.php index acc33adf23f6581c3836107701e56b0b4c6b49b4..dd18e24d5d62b5adda4e4e7b3132d3413bd9f1c6 100644 --- a/content/verdienen/betteln4.php +++ b/content/verdienen/betteln4.php @@ -5,11 +5,11 @@ head('Dein Bettellink'); <table width="100%" cellpadding="1" cellspacing="1" border="0"> <tr> <td align="right"><b>Dein Reflink:</b></td> - <td align="left"> <a href="<?=$domain;?>/?ref=<?=$_SESSION['uid'];?>" target="_blank"><?=$domain;?>/?ref=<?=$_SESSION['uid'];?></a></td> + <td align="left"> <a href="<?php echo $grundconfig['domain'];?>/?ref=<?php echo $_SESSION['uid'];?>" target="_blank"><?php echo $grundconfig['domain'];?>/?ref=<?php echo $_SESSION['uid'];?></a></td> </tr> <tr> <td align="right"><b>Reflink und Bettellink:</b></td> - <td align="left"> <a href="<?=$domain;?>/?content=/betteln&ref=<?=$_SESSION['uid'];?>" target="_blank"><?=$domain;?>/?content=/betteln&ref=<?=$_SESSION['uid'];?></a></td> + <td align="left"> <a href="<?php echo $grundconfig['domain'];?>/?content=/betteln&ref=<?php echo $_SESSION['uid'];?>" target="_blank"><?php echo $grundconfig['domain'];?>/?content=/betteln&ref=<?php echo $_SESSION['uid'];?></a></td> </tr> </table> <?php @@ -22,7 +22,7 @@ head('Die Top 25 Bettler'); <td width="50"><b>Rang</b></td> <td><b>Mitglied</b></td> <td width="100"><b>Aufrufe</b></td> - <td width="150"><b><?=$waehrung;?></b></td> + <td width="150"><b><?php echo $waehrung;?></b></td> </tr> <?php $rang = 1; @@ -38,4 +38,4 @@ while ($user = mysqli_fetch_array($sql)) { } ?> </table> -<?php foot(); ?> \ No newline at end of file +<?php foot(); ?> diff --git a/content/verdienen/forcedbanner.php b/content/verdienen/forcedbanner.php index 01134ed4f9ff164571cce1524132c3977a72804c..9ffb79c4e40d25130fce21d83ef6e09014c5dee5 100644 --- a/content/verdienen/forcedbanner.php +++ b/content/verdienen/forcedbanner.php @@ -4,12 +4,12 @@ userstatus (); include ('fakecheck/fc_redirect.php'); head ('Klickbanner'); $fstats_gesamt = mysqli_fetch_array(db_query('SELECT COUNT(t1.tan) AS ganzahl, SUM(t1.verdienst) AS gverdienst, SUM(t1.aufendhalt) AS gaufenthalt FROM '.$db_prefix.'_gebuchte_werbung t1 - LEFT JOIN vms_adscan_userblacklist t4 ON t4.tan = t1.tan AND t4.uid = '.$_SESSION['uid'].' + LEFT JOIN vms_userblacklist t4 ON t4.tan = t1.tan AND t4.uid = '.$_SESSION['uid'].' LEFT JOIN vms_fb_blacklist AS t3 ON t3.kid = t1.kid AND t3.werbeart=t1.werbeart WHERE (t3.kid IS NULL OR LOCATE(t3.sponsor, t1.ziel) = 0) AND t4.tan IS NULL AND t1.werbeart = "forcedbanner" and t1.reload >= 100 AND t1.menge > 0 AND t1.status = 1 AND t1.verdienst >= 0 AND t1.sponsor != '.$_SESSION['uid'].'')); $fstats_uebrig = mysqli_fetch_array(db_query('SELECT COUNT(t1.tan) AS uanzahl, SUM(t1.verdienst) AS uverdienst FROM '.$db_prefix.'_gebuchte_werbung t1 - LEFT JOIN vms_adscan_userblacklist t4 ON t4.tan = t1.tan AND t4.uid = '.$_SESSION['uid'].' + LEFT JOIN vms_userblacklist t4 ON t4.tan = t1.tan AND t4.uid = '.$_SESSION['uid'].' LEFT JOIN vms_fb_blacklist AS t3 ON t3.kid = t1.kid AND t3.werbeart=t1.werbeart LEFT JOIN vms_reloads t2 ON (t1.tan = t2.tan AND (t2.uid = '.$_SESSION['uid'].' OR t2.ip = "'.$ip.'") AND t2.bis >= '.time().') WHERE (t3.kid IS NULL OR LOCATE(t3.sponsor, t1.ziel) = 0) AND t4.tan IS NULL AND t2.tan IS NULL AND t1.werbeart = "forcedbanner" and t1.reload >= 100 AND t1.menge > 0 AND t1.status = 1 AND t1.verdienst >= 0 AND t1.sponsor != '.$_SESSION['uid'].'')); @@ -69,4 +69,4 @@ include ('fakecheck/fc_redirect.php'); }else{ echo '<div class="alert alert-danger text-center">Du bist für den Klickbereich gesperrt.</div>'; } -foot (); \ No newline at end of file +foot (); diff --git a/install/index.php b/install/index.php index ef69570dea52b49e23d74aad412ea02d97057c68..ad23629387ac791884ffbc04a9323b627626f7fd 100644 --- a/install/index.php +++ b/install/index.php @@ -883,7 +883,7 @@ if(isset($_POST['impressum_anlegen'])){ echo ' Die Installation ist nun abgeschlossen. Bitte stelle noch folgendes ein:<br> <ul> - <li>Zugriffsrechte für Ordner lib auf chmod 644</li> + <li>Zugriffsrechte für Ordner lib auf chmod 755</li> <li>Den Ordner Install löschen</li> </ul> Zum Adminforce: <a href="http://'.$_SERVER["HTTP_HOST"] .'/adminforce">Klick</a><br>