eMoneySpace
Welcome, Guest. Please login or register.
Did you miss your activation email?
News: Earn your money online safely here at eMoneySpace. Aug 13, 2022 12:49 am




PTC-PTSU & PTRA Layout
Print
Author Topic: PTC-PTSU & PTRA Layout  (Read 2208 times)
auroraplus
Reputation: (+2)
*

Offline

Gender: Male
Posts: 325
Referrals: 0


View Profile WWW
Nov 19, 2013 04:53 pm

I seen some of you wanted PTC- PTRA & PTSU layout

View Images


   
Code:
<?
//###########################################################################
//#       AURORAGPT Script Copyright owned by Mike Pratt and John Terrell   #
//#                        ALL RIGHTS RESERVED 2007-2014                    #
//#                                                                         #
//#        Any illegal use of this script is strictly prohibited unless     #
//#        permission is given by the owner of this script.  To sell        #
//#        this script you must have a resellers license. Your site         #
//#        must also use a unique encrypted license key for your            #
//#        site. Your site must also have site_info module and              #
//#        key.php file must be in the script unedited. Otherwise           #
//#        it will be considered as unlicensed and can be shut down         #
//#        legally by Illusive Web Services. By using AuroraGPT             #
//#        script you agree not to copy infringe any of the coding          #
//#        and or create a clone version is also copy infringement          #
//#        and will be considered just that and legal action will be        #
//#        taken if neccessary.                                             #
//#########################################################################//   

//**VS**//$setting[ptc]//**VE**//
if($settings[ptcon] == 1) {
//**S**//
if($type == "") $type="DESC";
if($type == "DESC") $newtype="ASC";
if($type == "ASC") $newtype="DESC";
if($orderby == "") $orderby="pamount";
$order[$orderby]="<img src=\"images/"."$type".".gif\" border=0>";

$totalptc=0;
$y=0;
if(!$LOGGED_IN) {

$sql = $Db1->query("SELECT * FROM ads WHERE
credits>=1
and active=1
and (country='' or country='{$thismemberinfo[country]}')
and (daily_limit>views_today or daily_limit=0)
and (upgrade='' or upgrade='1')
ORDER BY $orderby $type
");
$totalptc = $Db1->num_rows();
}

if($LOGGED_IN) {

$clickHistory = loadClickHistory($username, "ptc");

$sql = $Db1->query("SELECT * FROM ads WHERE
credits>=1
and active=1
and (country='' or country='{$thismemberinfo[country]}')
and (daily_limit>views_today or daily_limit=0)
and (upgrade='0' ".($thismemberinfo[type]==1?" or upgrade='1'":"").")
ORDER BY $orderby $type
");
}
$totalptc=0;
if($Db1->num_rows() > 0) {
for($x=0; $ad=$Db1->fetch_array($sql); $x++) {
if(findclick($clickHistory, $ad['id']) == 0) {
$totalptc++;
$tempcode="
<li><div class=ptclink style=\" background-color: $ad[bgcolor] !important;\" id=\"col$x\">
<center>

    <a href=\"gpt.php?v=entry&type=ptc&id=$ad[id]&".$url_variables."\" target=\"_blank\" onclick=\"clicked1('col$x');\"><b>".parse_link(ucwords(strtolower(stripslashes($ad[title]))))."</b>
".iif($ad['targetban']!="","<br><img src=\"$ad[targetban]\" border=\"0\">")."".iif($ad['targetban']==0 ,"")."
".iif($ad['subtitle_on'] && $ad['subtitle']!="","<br/><em>".strtolower(html_entity_decode($ad['subtitle']))."</em>")."</a><br><div class=linktext><div class=textlink>
<i> $ad[timed] Sec.</i>&nbsp;&nbsp;&nbsp;&nbsp; ".iif($ad['class']=="P","$ad[pamount] Points","$settings[currency]$ad[pamount]")."</div></div>
  </center> </div></li>
";
if($ad[upgrade] == 1) $adsptc2.=$tempcode;
else $adsptc.=$tempcode;
}
}
}

if($thismemberinfo[type] != 1 && $settings[showPremOnlyMsg]) {
$sql = $Db1->query("SELECT COUNT(id)as total FROM ads WHERE credits>=1 and active='1' and (daily_limit>views_today or daily_limit=0) and upgrade='1' ");
$upgradeOnly = $Db1->fetch_array($sql);
if($upgradeOnly[total] > 0) {
$showmsg="<div style=\"background-color: pink; border: 1px solid red; margin: 10px;\">Upgrade to a premium account to access more advertisements. There are currently ".$upgradeOnly[total]." premium-only ads available!</div>";
}
}

$includes[title]="Get Paid To Click";
    include_once("ptcwall-functions.php");
    $icode=urlencode(api_encrypt("DFA63258-30E3&".$thismemberinfo["username"]."&".$thismemberinfo["country"]));
$includes[content].="
<script>
function clicked1(colid) {
document.getElementById(colid).style.display='none';
document.getElementById('refwarn').style.display='';
}
</script>

".iif($totalptc>0, "
<table width=\"100%\" cellpadding=0 cellspacing=0>
<tr>
<td align=\"left\">$totalptc Links Available To Click</td><td align=\"right\"><div align=\"right\">
".iif($settings[surfalllinks],"<a href=\"gpt.php?v=entry&type=ptc&s=1&".$url_variables."\" style=\"font-size: 15pt;\">Surf These Links</a>")." &nbsp;&nbsp;&nbsp;&nbsp;</div></td>
</tr>
</table>
".iif($settings[ptc_list],"
    <br><p><center>    <div class=\"ptcWrapper\">
    <table width=\"100%\" cellpadding=0 cellspacing=0 class=\"ptcList\">
    <tr>
    </tr>
    $adsptc2
    $adsptc
    </table>
    </div>
    <script src=\"ptcwall-show.php?icode=".$icode."&\"></script><div id=\"ptcwall-content-div\"></div>
    $showmsg

")."
<p>
<b>Rules</b><br />
<small>You Can Only Visit One Site At A Time<br />
<strong>You MUST Click The Correct Button After The Timer Runs Out</strong></small>
</p>
","<p>There are no links available to click!</p>")."
";
}
else {
$includes[content]="PTC is currently disabled by admin!";
}
?>
 
Code:
<?
//##########################################################################
//#    AURORAGPT Script Copyright owned by Mike Pratt & John Terrell       #
//#                        ALL RIGHTS RESERVED 2007-2014                   #
//#                                                                        #
//#        Any illegal use of this script is strictly prohibited unless    #
//#        permission is given by the owner of this script.  To sell       #
//#        this script you must have a resellers license. Your site        #
//#        must also use a unique encrypted license key for your           #
//#        site. Your site must also have site_info module and             #
//#        key.php file must be in the script unedited. Otherwise          #
//#        it will be considered as unlicensed and can be shut down        #
//#        legally by Illusive Web Services. By using AuroraGPT            #
//#        script you agree not to copy infringe any of the coding         #
//#        and or create a clone version is also copy infringement         #
//#        and will be considered just that and legal action will be       #
//#        taken if neccessary.    #
//########################################################################// 
//**VS**//$setting[ptsu]//**VE**//
if($settings[ptsuon] == 1) {
//**S**//
if($type == "") $type="ASC";
if($type == "DESC") $newtype="ASC";
if($type == "ASC") $newtype="DESC";

if($orderby == "") $orderby="title";
$order[$orderby]="<img src=\"images/"."$type".".gif\" border=0>";



$sql=$Db1->query("SELECT * FROM ptsu_history WHERE username='$username'");
if($Db1->num_rows() != 0) {
$temp=$Db1->fetch_array($sql);
$preclicked=$temp[clicks];
}
if($preclicked == "") {
$preclicked=":0:";
}

$totalptc=0;
$y=array(0,0);
$sql=$Db1->query("SELECT * FROM ptsuads WHERE credits>=1 and (country='' or country='$thismemberinfo[country]') and active='1' and (upgrade='0' ".iif($thismemberinfo[type]==1," or upgrade='1'").") ORDER BY $orderby $type");
if($Db1->num_rows() != 0) {
for($x=0; $ad=$Db1->fetch_array($sql); $x++) {
if(findclick($preclicked, $ad[id]) == 0) {
$totalptc++;
$y[($ad[featured]==1?1:0)]++;
$temp="
<li><div class=ptclink style=\" background-color: $ad[bgcolor] !important;\" id=\"col$x\">
<center>

    <a href=\"index.php?view=account&ac=do_ptsu&id=$ad[id]&".$url_variables."\" target=\"_blank\" onclick=\"clicked1('col$x');\"><b>".parse_link(ucwords(strtolower(stripslashes($ad[title]))))."</b>
".iif($ad['subtitle_on'] && $ad['subtitle']!="","<br/><em>".strtolower(html_entity_decode($ad['subtitle']))."</em>")."</a><br><div class=linktext><div class=textlink>
<i> $ad[timed] Earn.</i>&nbsp;&nbsp;&nbsp;&nbsp; ".iif($ad['class']=="P","$ad[pamount] Points","$settings[currency]$ad[pamount]")."</div></div>
  </center> </div></li></td>

";
if($ad[featured] == 1) {
$adsptcF.=$temp;
}
else {
$adsptc.=$temp;
}
}
}
}

if($thismemberinfo[type] != 1 && $settings[showPremOnlyMsg]) {
$sql = $Db1->query("SELECT COUNT(id)as total FROM ptsuads WHERE credits>=1 and active='1' and upgrade='1' ");
$upgradeOnly = $Db1->fetch_array($sql);
if($upgradeOnly[total] > 0) {
$showmsg="<div style=\"background-color: pink; border: 1px solid red; margin: 10px;\">Upgrade to a premium account to access more advertisements. There are currently ".$upgradeOnly[total]." premium-only ads available!</div>";
}
}


//**E**//

$includes[title]="Get Paid To Signup";
$includes[content].="
<div align=\"right\" style=\"font-size: 13px;\">
<a href=\"index.php?view=account&ac=ptsu_history&".$url_variables."\">View Offer Completion History & Stats</a>
</div>

".iif($totalptc>0, "
<table width=\"100%\" cellpadding=0 cellspacing=0>
<tr>
<td align=\"left\">$totalptc Offers Available</td>
</tr>
</table>



<div class=\"ptcWrapper\">
<table width=\"100%\" cellspacing=0 class=\"ptcList\">
<tr>
<th></th>

<table><tr><td><ul>
$adsptcF
$adsptc
</ul></td></tr></table>
</div>","
<p>There are no PTSU offers available at this time.</p>
")."



$showmsg


";
}
else {
$includes[content]="PTSU is currently disabled by admin!";
}

?>


Code:
<?
//##########################################################################
//#    AURORAGPT Script Copyright owned by Mike Pratt & John Terrell       #
//#                        ALL RIGHTS RESERVED 2007-2014                   #
//#                                                                        #
//#        Any illegal use of this script is strictly prohibited unless    #
//#        permission is given by the owner of this script.  To sell       #
//#        this script you must have a resellers license. Your site        #
//#        must also use a unique encrypted license key for your           #
//#        site. Your site must also have site_info module and             #
//#        key.php file must be in the script unedited. Otherwise          #
//#        it will be considered as unlicensed and can be shut down        #
//#        legally by Illusive Web Services. By using AuroraGPT            #
//#        script you agree not to copy infringe any of the coding         #
//#        and or create a clone version is also copy infringement         #
//#        and will be considered just that and legal action will be       #
//#        taken if neccessary.    #
//########################################################################//
//**S**//
if($type == "") $type="DESC";
if($type == "DESC") $newtype="ASC";
if($type == "ASC") $newtype="DESC";

if($orderby == "") $orderby="pamount";
$order[$orderby]="<img src=\"images/"."$type".".gif\" border=0>";



$clickHistory = loadClickHistory($username, "ptra");
$sql = $Db1->query("SELECT * FROM ptrads WHERE
credits>=1
and active=1
and (country='' or country='{$thismemberinfo[country]}')
and (daily_limit>views_today or daily_limit=0)
and (upgrade='0' ".($thismemberinfo[type]==1?" or upgrade='1'":"").")
ORDER BY $orderby $type
");

$totalptc=0;
if($Db1->num_rows() > 0) {
for($x=0; $ad=$Db1->fetch_array($sql); $x++) {
if(findclick($clickHistory, $ad['id']) == 0) {
$totalptc++;
$ptradsptc.="
<li><div class=ptclink style=\" background-color: $ad[bgcolor] !important;\" id=\"col$x\">
<center>

<a href=\"gpt.php?v=read&type=ptra&id=$ad[id]&".$url_variables."\" target=\"_blank\" onclick=\"clicked1('col$x')\">".parse_link(ucwords(strtolower(stripslashes($ad[title]))))."</a>
".iif($ad['targetban']!="","<br><img src=\"$ad[targetban]\" border=\"0\">")."".iif($ad['targetban']==0 ,"")."
".iif($ad['subtitle_on'] && $ad['subtitle']!="","<br/><em>".strtolower(html_entity_decode($ad['subtitle']))."</em>")."</a><br><div class=linktext><div class=textlink>
<i> $ad[timed] Sec.</i>&nbsp;&nbsp;&nbsp;&nbsp; ".iif($ad['class']=="P","$ad[pamount] Points","$settings[currency]$ad[pamount]")."</div></div>
  </center> </div></li></td>
</tr>
";
}
}
}

if($thismemberinfo[type] != 1 && $settings[showPremOnlyMsg]) {
$sql = $Db1->query("SELECT COUNT(id)as total FROM ptrads WHERE credits>=1 and (daily_limit>views_today or daily_limit=0) and upgrade='1' ");
$upgradeOnly = $Db1->fetch_array($sql);
if($upgradeOnly[total] > 0) {
$showmsg="<div style=\"background-color: pink; border: 1px solid red; margin: 10px;\">Upgrade to a premium account to access more advertisements. There are currently ".$upgradeOnly[total]." premium-only ads available!</div>";
}
}


//**E**//

$includes[title]="Get Paid To Read Ads";
$includes[content].="


".iif($totalptc>0, "
<table width=\"100%\" cellpadding=0 cellspacing=0>
<tr>
<td align=\"left\">$totalptc Ads Available</td>
</tr>
</table>


<script>
function clicked1(colid) {
document.getElementById(colid).style.display='none';
document.getElementById('refwarn').style.display='';
}
</script>



<div class=\"ptcWrapper\">
<table width=\"100%\" cellspacing=0 class=\"ptcList\">
<tr>
<th></th>
<table><tr><td><ul>
$ptradsptc
</ul></td></tr></table>
</div>","
<p>There Are Currently No Paid Ads Available!</p>
")."


$showmsg



<br /><br />

<b>Rules</b><br /><small>
You Can Only Read One Ad At A Time<br />
<b><font color=\"darkblue\">You MUST Click The Correct Button After The Timer Runs Out</font></b>
</small>

";


?>
Logged

JamesDavis
Reputation: (0)
*

Offline

Posts: 21
Referrals: 0

View Profile
Reply #1: Jun 19, 2022 03:59 pm

[ Spam Removed ]
« Last Edit: Jun 19, 2022 06:49 pm by ~Money~ » Logged
Print
 
Jump to:  
Copyright © 2008-2022 eMoneySpace. All rights reserved.