Skip to content
Snippets Groups Projects
  • Christoph Zysik's avatar
    first basic! implementation of frameless banner advertising. sponsoring... · 8af4125c
    Christoph Zysik authored
    first basic! implementation of frameless banner advertising. sponsoring platforms shall follow delivering frameless advertisings, too - it's the only way to go... also it intentionally limits the number of ads which can be clicked, especially at once, cause the previous behaviour is one of the big issues why paid4 became worthless, thank you. There will be issues, there will be bugs, please let me know, in the comments bel... at the git issues tracker :)
    8af4125c
Forked from Eric Laufer / VMS-SUEE_2.0
89 commits behind, 20 commits ahead of the upstream repository.
forcedbanner_nf.php 724 B
<?php
$sperre = mysqli_fetch_array(db_query("SELECT forced_sperre FROM ".$db_prefix."_kontodaten WHERE uid = '".$_SESSION['uid']."' "));
userstatus ();
head ('Klickbanner');
?>

<div id="forcedbanner_display"></div>
<input type="button" value="Neue Banner laden" id="loadAds_btn">

<script id="forcedBannerTmpl_list" type="text/x-jquery-tmpl">
    <li class="list-group-item" data-tan="${tan}" data-art="${werbeart}" data-sec="${aufendhalt}"><img src="${banner}" style="min-width:60px; min-height:10px; cursor:pointer;" />${verdienst} <?php echo $pageconfig['waehrung']; ?> f&uuml;r ${aufendhalt} Sekunden</li>
</script>

<script src="<?php echo $pageconfig['domain']; ?>/ext/js/forcedbanner_nf.js"></script>
<?php
foot ();