Modifca per permettere il download di un file , su 4, a punti raggiunti

romeocharly

Utente Attivo
11 Feb 2016
69
1
8
Buongiorno,
è la mia prima discussione ed è forse molto più grande di me.
Vorrei installare, o meglio ho gia intallato un software viral reffer alla pagina:
http://www.ebookwebproject.com/viralrefer/index.php
ed una volta raggiunti i punto ricchoiesti( per fare una prova ho impostato un prodotto con 0 punti,
dovrebbe abilitarsi il download:
http://www.ebookwebproject.com/viralrefer/verify.php?prizeid=7#
ma mi compare il testo che è una versione demo.
Io l'ho acquistato e si dovrebbe fare una modifica ai file index.php con lo script prelevato dal file social-traffic-pop.css
Ho provato ma non mi da nessunasoluzione pare appunto funzioni ma non risco ad abilitarlo non in funzione demo come indicato sul file readme.txt:
///////////////////////////////////////////
///////////////////////////////////////////

VIRAL REFER 2.0

///////////////////////////////////////////
///////////////////////////////////////////

Requirements:
- PHP 5+
- MYSQL

//////////////////////////////////////////

MYSQL CODE

CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL auto_increment,
`ip` text NOT NULL,
`referrer` int(11) NOT NULL,
`referrals` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `prizes` (
`id` int(11) NOT NULL auto_increment,
`thumb` text NOT NULL,
`name` text NOT NULL,
`desc` text NOT NULL,
`prize` text NOT NULL,
`cost` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

//////////////////////////////////////////


---------HOW TO INSTALL VIRAL REFER 2.0------------

1º Upload all files to your web hosting server
2º Go to your panel and create a Database and user in mysql
3º Now go to the folder "inc" and edit "config.php"
4º Then go to phpmyadmin and go up to your database and upload MYSQL CODE
5º The SOCIAL TRAFFIC POP is disabled by default. To activate go until the file "social-traffic-pop.css" and follow the steps
6º Now your site is set up and working properly! Go to http://yourwebsite.com/cpadmin and create their gifts and good luck !

If you have any questions please send us an email to [email protected]

Il supporto non mi risponde(probabilmente è troppo semplice per loro.

Il file index.php:
<?php
session_start();
require_once("inc/funcs.php");
$ip = $_SERVER['REMOTE_ADDR'];
if(get_user($ip) == false){
add_user($db,$ip, $_GET['ref']);
$_SESSION['ip'] = $ip;
}
$user = mysql_fetch_object(mysql_query("SELECT * FROM `$db`.`users` WHERE `ip`='". $ip ."'"));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><script>

$(document).ready(function(){

$().socialTrafficPop({
timeout: 15,
title: "Viral Refer 2.0 - Demo",
message: 'Share our website with your friends using the buttons below!',
google_url: "http://www.ebookwebproject.com/viralrefer/",
fb_url: "http://www.ebookwebproject.com/viralrefer/",
closeable: false,
advancedClose: false,
opacity: '0.45',
twitter_method: "tweet",
tweet_url: 'http://www.ebookwebproject.com/viralrefer/index.php?ref=1',
tweet_text: 'Viral Refer 2.0 - Share your referral link with your friends and win amazing rewards!'
});

});


</script>
<meta charset="UTF-8">
<title>Viral Refer 2.0 - Demo</title>
<link rel="icon" type="image/x-icon" href="http://www.viralrefer.com/demo/images/favicon.ico" />
<link rel="stylesheet" href="fonts/TitilliumText/stylesheet.css" />
<meta name="Description" content="Share your Link with your friends and unlock your Gift" />
<meta property=og:title content="Get a Free Gifts Now!" />
<meta property=og:type content=website />
<meta property=og:description content="Win free gifts now, try it now. Powered by ViralRefer.com" />
<meta property=og:image content="http://i.imgur.com/rLBu0wP.png" />
<link rel="stylesheet" href="css/style.css" />
<meta name="keywords" content="survey, online, referral, rewards, win, prize, gift, card, games">

<link href="social-traffic-pop.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<script src="jquery.stp.min.js" type="text/javascript"></script>
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "6c98ad43-5976-445e-baf4-532cc9d13687", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>

<link type="text/css" href="foobar/jquery.foobar.2.1.css" rel="Stylesheet" />
<style type="text/css">
#social_target { margin-left:20px; }
ul.socialbuttons { height: 32px; padding: 0 !important; margin:0 !important; }
ul.socialbuttons li { padding:6px !important; float: left; list-style: none !important; }
</style>
<script type="text/javascript" src="scripts/jquery-1.7.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
function copyToClipboard(element) {
var $temp = $("<input>");
$("body").append($temp);
$temp.val($(element).text()).select();
document.execCommand("copy");
$temp.remove();
}
</script>
<script>
function myFunction() {
alert("Your Referral Link was copied to clipboard!\n#Tip: Share your Refferal Link in your Facebook, Twitter.. To get EXTRA Points!!");
}
</script>
</head>
<body>

<div class="right">
<div class="menudrop">
<h3><a href="#"><img src="images/arrow.png" alt="menu"></a></h3>
<ul>
<li><a href="#containersocial">**FREE POINTS**</a></li>
<li><a href="privacy.php">Privacy Policy</a></li>
<li><a href="tos.php">Terms</a></li>
</ul>
</div>
</div>
<center><h1 id="title"><a href="index.php"><span style="color:#069">«</span>Viral Refer 2.0<span style="color:#069">»</span></a><br />
<span style="font-weight: 300; font-size: 14px; color: #27C1F4;">Share your Link and unlock your Rewards !</span></h1></center>
<br class="clear" />
<div id="container">

<div id="ref_container">
<div style="float: left">
<div class="dropbutton" style=" height: 40px;">
<div class="black" style=" border-radius: 4px 0 0 4px;height: 32px;">
<img style="margin-top: 1px;" src="http://i.imgur.com/dKP6K52.png" width="25px" height="25px" title="Your Points">
</div>
<div class="black" style=" height: 40px; border-radius: 0 4px 4px 0;">
<a style="cursor: pointer; color: rgb(165, 204, 0);font-size: 23px!important;line-height: 42px!important;"><b><font size="6"><?php echo $user->referrals;?></font></b> Points</a>
&nbsp;&nbsp;

</div>
<a href="javascript:history.go(0)"><img style="position: absolute; right: -30px;top: 10px;" src="http://i.imgur.com/e8L99Pn.png" width="25px" height="25px"></a>

</div>

</div>
<p><font size="4">Your Referral Link:</font> <input title="copy & paste" readonly="readonly" type="text" value="<?php echo $site_url; ?>?ref=<?php echo $user->id;?>" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#copy"><img style="position: absolute; right: 5px;top: 5px;" onclick="copyToClipboard('#p1'); myFunction();" src="http://i.imgur.com/krE6Lmt.gif"></a></p>
<p style="display: none;" id="p1"><?php echo $site_url; ?>?ref=<?php echo $user->id;?></p>


</div>
</div>

<div id="container">

<h2>Welcome To Viral Refer 2.0 ** DEMO VERSION **</h2>
<p class="left_15">Share your unique <b>REFERRAL LINK</b> with your friends and you will receive <b>1 POINT FOR EACH VISITOR</b>. Yes, it's that simple!</br>
<br>::::::<b>Get this Script here with <b><u>SPECIAL DISCOUNT<b></u>: <font size="5" color="#F5F507"><a href="http://viralrefer.com">VIRALREFER.COM</a></font>:::::</br>


</div>

<div id="container">
<div class="drop_top">
<?php
for($i = 1; $i <= 50; $i++){
if((list($id,$thumb,$name,$desc,$prize,$cost) = get_prize($i)) == true){
echo "<div class=\"grid_1\" id=\"drop-rewards\"><div class=\"reward_image\"><h5>$cost pts</h5><img src=\"$thumb\" width=\"180\" height=\"180\"></div><div class=\"reward_text\"><p style=\"float: left\">$name</p></div>";
if($user->referrals >= $cost){
echo '
<div class="dropbutton">
<div class="black">
<img src="images/unlock.png">
</div>
<div class="black">
<a style="color: #cf9" href="verify.php?prizeid=' . $id . '">Redeem</a>
</div>
</div>';
}else{
echo '
<div class="dropbutton">
<div class="black">
<img src="images/lock.png" title="not enough points">
</div>
<div class="black">
<a title="not enough points" style="cursor: pointer; color: #ff5555">Locked</a>
</div>
</div>';
}
echo '</div>';
}
}
?>
</div>
<br class="clear" />





</div>
<div id="containersocial">
<h2>#TIPS: GET FREE EXTRA POINTS</h2>
<center>EARN <u>EXTRA POINTS</u> BY SHARE ON SOCIAL NETWORKS, <b>1 POINT FOR EACH SHARE!</b> </br></br>
<span class='st_facebook_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Facebook'></span>
<span class='st_twitter_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Tweet'></span>
<span class='st_linkedin_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='LinkedIn'></span>
<span class='st_tumblr_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Tumblr'></span>
<span class='st_reddit_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Reddit'></span>
<span class='st_orkut_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Orkut'></span>
<span class='st_netlog_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Netlog'></span>
<span class='st_myspace_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='MySpace'></span>
<span class='st_livejournal_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='LiveJournal'></span>
<span class='st_instapaper_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Instapaper'></span>
<span class='st_google_bmarks_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Bookmarks'></span>
<span class='st_pinterest_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Pinterest'></span>
<span class='st_google_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Google'></span>
<span class='st_formspring_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Formspring'></span>
<span class='st_email_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Email'></span>
<span class='st_digg_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Digg'></span>
<span class='st_delicious_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Delicious'></span>
<span class='st_diigo_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Diigo'></span>
<span class='st_blogger_large' st_url='<?php echo $site_url; ?>?ref=<?php echo $user->id;?>' displayText='Blogger'></span></center>
</div>


<!--FOOTER-->
<div id="container">
<a href="index.php">HOME</a> | <a href="privacy.php">PRIVACY</a> | <a href="tos.php">TERMS</a>

<p style="float:right">&copy; 2015 | Powered by <a href="http://www.viralrefer.com">VIRALREFER.COM</a></p>
</div>
<!--FOOTER-->
</body>

</html>

ed il file social-traffic-pop.css:
/*
Post this script in <head> of index.php and active de social traffic pop

<script>

$(document).ready(function(){

$().socialTrafficPop({
timeout: 15,
title: "Viral Refer 2.0 - Demo",
message: 'Share our website with your friends using the buttons below!',
google_url: "http://www.viralrefer.com/demo/",
fb_url: "http://www.viralrefer.com/demo/",
closeable: false,
advancedClose: false,
opacity: '0.45',
twitter_method: "tweet",
tweet_url: 'http://www.viralrefer.com/demo/index.php?ref=1',
tweet_text: 'Viral Refer 2.0 - Share your referral link with your friends and win amazing rewards!'
});

});


</script>

*/
#stp-bg{
display:none;
position:fixed;
_position:absolute; /* hack for IE 6*/
height:100%;
width:100%;
top:0;
left:0;
background:#000000;
z-index:998;
}

#stp-main{
position:fixed;
top:220px;
_position:absolute; /* hack for IE 6*/
display:none;
width:450px;
border:7px solid #2f2f2f;
background:#fff;
z-index:999;
-moz-border-radius: 9px;
-webkit-border-radius: 9px;
margin:0pt;
padding:0pt;
color:#333333;
text-align:left;
font-family:arial,sans-serif !important;
font-size:13px;
}

#stp-title{
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
font-size:18px;
padding:13px 0 13px 0px;
text-align: center;
}

#stp-close{
float:right;
font-size:14px;
font-weight:bold;
font-family:Verdana, Geneva, sans-serif;
color:#777777 !important;
margin:0 13px 0 0;
border-bottom:0px !important;
text-decoration:none !important;
}

#stp-close:hover{
text-decoration:none !important;
}

#stp-msg{
background:#4074CF;
padding:10px 15px;
color:#ffffff;
font-family:Arial, Helvetica, sans-serif !important;
font-weight:bold;
line-height:20px;
text-align: center;
}

#stp-buttons{
margin:25px 0px 25px 0;
padding:0 0 0 15px;
}

#stp-bottom{
padding:15px 10px;
background:#EFEFEF;
color:#95989F;
border-top:1px solid #DDE0E8;
}

#stp-counter{
font-size:11px !important;
text-align:right;
font-weight:bold;
}

#stp-power{
font-size:10px !important;
color:#95989F;
font-weight:normal;
text-decoration:none;
}

#stp-power:hover{
text-decoration:underline;
}

.stp-button{
float:left;
width:120px;
}

.step-clear{
clear:both !important;
}

mentre il file che dovrebbe abilitare il download è verify.php:
<?php
session_start();
require_once("inc/funcs.php");
$ip = $_SERVER['REMOTE_ADDR'];
if(!isset($_GET['prizeid'])){
header("Location: index.php");
}else{
$user = mysql_fetch_object(mysql_query("SELECT * FROM `$db`.`users` WHERE `ip`='". $ip ."'"));
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8">
<title>Viral Refer 2.0 - Demo</title>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<link rel="icon" type="image/x-icon" href="http://www.viralrefer.com/demo/images/favicon.ico" />
<link rel="stylesheet" href="fonts/TitilliumText/stylesheet.css" />
<link rel="stylesheet" href="css/style.css" />
<meta name="Description" content="Viral Refer 2.0 - Share your referral link with your friends and win amazing rewards!" />
<meta name="keywords" content="survey, online, referral, rewards, win, prize, gift, card, games">
<meta property="og:image" content="http://www.viralrefer.com/demo/images/thumb.png"/>
</head>
<body>
<center><h1 id="title"><a href="index.php"><span style="color:#069">«</span>Viral Refer 2.0<span style="color:#069">»</span></a><br />
<span style="font-weight: 300; font-size: 14px; color: #27C1F4;">Share Your Link And Get Rewards</span></h1></center>
<br class="clear" />
<div id="container">
<h2>Redeem Your Reward</h2>
<?php
$prizeid = mysql_real_escape_string($_GET['prizeid']);
$_SESSION['prizeid'] = $prizeid;
if((list($id,$thumb,$name,$desc,$prize,$cost) = get_prize($prizeid)) == true){
if($user->referrals >= $cost){
$_SESSION['prize'] = $prizeid;
echo '<p class="enough">Click the Button Below To Verify & Confirm Your Price Request</p>

<!-----------------------MONEY PAGE CONTENT OR DOWNLOAD BUTTON/WIDGET--------------------------->
<script>
function myFunction()
{
alert("VIRAL REFER 2.0 NEWS: Congratulations, you´ve managed to unlock your reward! NOTE: This is only a DEMO version, you could be redirected to a CPA offer or use a WIDGET a PPD!");
}
</script>
<center><a href="#" class="green-pastel button heavy icon forward" onclick="myFunction()" /><span>Redeem</span></a></center>

<!-----------------------END MONEY PAGE CONTENT OR DOWNLOAD BUTTON/WIDGET----------------------->

';
}else{
echo '<p class="enough">You do not have enough points to purchase this item!</p><br />

<a href="index.php" class="red button heavy icon back"><span>Go Back</span></a>';
}
}else{
echo '<p class="enough">Prize does not exist in our database. Please choose a different prize.</p>

<a href="index.php" class="red button heavy icon back"><span>Go Back</span></a>';
}
}

?>

</div> <!--PUSH DIVISION-->
<br class="clear" />
</div>

<!--FOOTER-->
<div id="container">
<a href="index.php">HOME</a> | <a href="privacy.php">PRIVACY</a> | <a href="tos.php">TERMS</a>

<p style="float:right">&copy; 2013 <a href="http://www.viralrefer.com">VIRALREFER.COM</a></p>
</div>
<!--FOOTER-->

</body>
</html>

aggiungo il file tos.php(presente nella root):
<?php
session_start();
require_once("inc/funcs.php");
$ip = $_SERVER['REMOTE_ADDR'];
if(get_user($ip) == false){
add_user($db,$ip, $_GET['ref']);
$_SESSION['ip'] = $ip;
}
$user = mysql_fetch_object(mysql_query("SELECT * FROM `$db`.`users` WHERE `ip`='". $ip ."'"));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8">
<title>Viral Refer 2.0 - Demo</title>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<link rel="icon" type="image/x-icon" href="http://www.viralrefer.com/demo/images/favicon.ico" />
<link rel="stylesheet" href="fonts/TitilliumText/stylesheet.css" />
<link rel="stylesheet" href="css/style.css" />
<meta name="Description" content="Viral Refer 2.0 - Share your referral link with your friends and win amazing rewards!" />
<meta name="keywords" content="survey, online, referral, rewards, win, prize, gift, card, games">
<meta property="og:image" content="http://www.viralrefer.com/demo/images/thumb.png"/>
</head>
<body>
<div class="right">
<div class="menudrop">
<h3><a href="#"><img src="images/arrow.png" alt="menu"></a></h3>
<ul>
<li><a href="privacy.php">Privacy Policy</a></li>
<li><a href="tos.php">Terms</a></li>
</ul>
</div>
</div>
<center><h1 id="title"><a href="index.php"><span style="color:#069">«</span>Viral Refer 2.0<span style="color:#069">»</span></a><br />
<span style="font-weight: 300; font-size: 14px; color: #27C1F4;">Share Your Link And Get Rewards</span></h1></center>
<br class="clear" />
<div id="container">

<h2>General Terms</h2>
<p class="left_15">Terms &amp; Conditions | Acceptable Use Policy</p>



<p style="color: #ff0000;"><strong>You must read fully and understand this whole page.</strong></p>

<p><b>Posting referral links on 4chan.org is completely forbidden! Anyone caught doing such will be BLOCKED from this website.</b></p>

<p><b>Spamming referral links in ANY way is completely forbidden! Anyone caught doing such will be BLOCKED from this website.</b></p>

<p>You are aware that This Website.org is not affiliated with any of the companies/organizations mentioned on this site unless stated otherwise.</p>

<p>The services/prizes offered by This Website.org, are on a first come/first serve basis.</p>
<p>We do not collect/resell any of your personal information, although our advertisers might.</p>
<p>We are not liable for any loss or damages to you, your computer, or anyone you know that has resulted from the use of this site (or any others like it).</p>
<p>If you require any other information, please use the contact page to submit any inquiries.</p>


<p><b>I. Accounts</b></p>

<p>A. Membership Responsibilities:</p>

<ol>
<li>Participants must be over the age of 18 OR be over the age of 13 with parental permission.</li>
<li>You may not grant any other person then yourself access to your account.</li>
<li>We take no responsibility for information used by our advertisers.</li>
<li>You are allowed to only make ONE account per household/address/person.</li>
</ol>

<p>B. Membership Termination:</p>

<ol>
<li>If you violate any part of the terms of service, it is grounds for termination.</li>
<li>If you send unsolicited email or spam your referral link your account will be terminated.</li>
<li>We also reserve the right to terminate any account for any reason, if we feel it is required.</li>
<li>All terminations are at our sole discretion.</li>
</ol>

<p>C. Membership Transfers:</p>

<ol>
<li>Memberships are not transferable. You may not but not limited to sell or trade your account.</li>
</ol>

<p>D. Membership Information:</p>

<ol>
<li>Your membership information may be used in fraud cases, but not limited to; at our sole discretion.</li>
</ol>

<p><b>II. Referrals</b></p>

<p>A. Definition:</p>

<ol>
<li>An This Website referral is defined as a person electronically using your referral URL/Link and having a cookie set.</li>
<li>Word of mouth does not qualify as a referral, unless the referral link is spoken of and used.</li>
</ol>

<p>B. Referral Points:</p>

<ol>
<li>You will receive 1 point from a unique referral who visits your referral link.</li>
</ol>

<p>C. Referral Integrity:</p>

<ol>
<li>You may not refer yourself, or anyone that lives in the same household as yourself.</li>
<li>Fraud is constantly checked for, if fraud is detected, the appropriate authorities will be notified.</li>
</ol>

<p><b>III. Offers</b></p>

<p>A. General offers:</p>

<ol>
<li>Users may not complete an offer they have already completed on any of the This Website sites or on any different site(s). </li>
<li>You must only do offers you are genuinely interested in.</li>
<li>We reserve the right to credit offers at our sole discretion.</li>
<li>To be credited, you must complete the requirements of the offer put forward by the advertiser.</li>
<li>You agree the No Credit Policy is NOT in effect with offers under the Paid Offers and Email Submit Offers sections.</li>
<li>You must submit valid credit card information, on offers that require a credit card.</li>
<li>You must only use a credit card that you own AND have full permission to use.</li>
<li>You must not cancel payment of an offer and also receive 'points', this will result in account termination.</li>
<li>You agree that we are not responsible for for any costs that occur.</li>
<li>You must provide valid information to advertisers, if you don't, that is fraud and your account will be terminated accordingly.</li>
</ol>


<p><b>IV. Rewards</b></p>

<p>A. General Rewards:</p>

<ol>
<li>You may claim a reward if you have the required amount of points.</li>
<li>You will receive your reward after 10 of your referrals have earned at least 10 points.</li>
<li>Requested Rewards may be rejected by us at our sole discretion.</li>
</ol>

<p>B. Custom Rewards:</p>

<ol>
<li>You may request custom rewards.</li>
<li>Custom rewards may bare additional costs for but not limited to shipping.</li>
<li>Custom rewards may not be redeemed as money/cash since points have no money/cash worth to the user.</li>
<li>Custom Rewards may be rejected by us at our sole discretion.</li>
</ol>

<p><b>V. General</b></p>

<p>A. Reserved Rights:</p>

<ol>
<li>This Website reserves the right to deny any claimed reward without reason.</li>
<li>This Website reserves the right to terminate any account without reason.</li>
<li>This Website reserves the right to change the terms of service on this page at any time without notification.</li>
<li>This Website reserves the right to deny anyone access to any of our services at any time without notification.</li>
</ol>

<p>B. General:</p>

<ol>
<li>You hold us (This Website) NOT liable for any loss, damages, costs or harm to you or others in the use of our services.</li>
</ol>

<p>If any part(s) of the information is not submitted, the user voids their right to be credited. The user may re-submit all the information to be credited.
</p>

</div>

<br class="clear" />

<!--FOOTER-->
<div id="container">
<a href="index.php">HOME</a> | <a href="privacy.php">PRIVACY</a> | <a href="tos.php">TERMS</a>

<p style="float:right">&copy; 2013 <a href="http://www.viralrefer.com">VIRALREFER.COM</a></p>
</div>
<!--FOOTER-->

</body>
</html>

Vi è anche un file js: jquery.stp.min.js
ed un file privacy.php


Compare la parte del buttom per il download ma non risco a capire, ed a fare, la connessione con i 4 prodoti: una volta arrivati al punteggio mi faccia il download corretto e non uno a caso (con il corretto id).

Probabilmente se avessi attivato correttamente il viralrefer non ci sarebbero altri problemi, ma comunque il download del file con il corretto id non riesco a concepirlo.

So che l'ho fatta lunga, anzi lunghissima, se qualcuno mi dira come fare indicandomelo, gli sarò molto grato. Grazie in anticipo.
Cordiali saluti
 
Discussioni simili
Autore Titolo Forum Risposte Data
SolidSnake4 cancella modifca con php con selezione PHP 14
P Aiuto per rendere un Bot Telegram Privato PHP 0
V Query per una somma PHP 2
A Tabella con bottoni per aggiornamento record PHP 6
G Consigli SEO per scrittura e struttura pagine SEO e Posizionamento 5
P Passare solo alcuni parametri a script per CSV PHP 0
A Consiglio per creazione sito web Content Management System (CMS) 0
A Regex per isolare link interni con rel noopener PHP 0
L form immagini per il database PHP 0
S CREAZIONE DI SITO PER CORSI DI FORMAZIONE WordPress 1
I [cerchiamo][retribuito] Grafico/a per stickers Offerte e Richieste di Lavoro e/o Collaborazione 0
R Cercarsi programmatore per GDR PBC Offerte e Richieste di Lavoro e/o Collaborazione 0
L Sessione e array per utenti PHP 0
A Sottoquery con group by per mese MySQL 0
G Appicazione HTML per inserimento dai in Database Access Microsoft HTML e CSS 0
V [Cerco] Socio e Sviluppatore per App PlacesFinder Offerte e Richieste di Lavoro e/o Collaborazione 0
Tuttoinformatico [Cerco] Cerco Staff per Blog Professionale dedicato alla Tecnologia! Offerte e Richieste di Lavoro e/o Collaborazione 0
M user agent per il download di api PHP 0
B Stringa sql per ricerca su più campi Database 1
Cosina Upload multiplo con invio allegati per email PHP 0
P Editor per la realizzazione di siti HTML e CSS 0
M Versione nativa per M1. Photoshop 1
A Aiuto per pagina php PHP 0
M [Cerco] aiutanti per creare sito Offerte e Richieste di Lavoro e/o Collaborazione 4
T [cerco] scrittore/scrittrice per articoli web Offerte e Richieste di Lavoro e/o Collaborazione 5
L Interfaccia grafica per gestire sql server .NET Framework 1
B javascript per problemi con pdf e Safari Javascript 0
R Plugin per Gestire videocorsi a pagamento WordPress 3
Y Vorrei selezionare un colore di sfondo per una pagina web Javascript 0
C media per riga MySQL 1
I Cerca: blogger IT per articoli di prova Offerte e Richieste di Lavoro e/o Collaborazione 0
R Plugin per Registrazione Utente e Pagamento prodotto WordPress 2
M Quando ha l'immagine ingrandita è possibile fare rotazione per ritagliare? Photoshop 0
D modificare questo codice per inserimento in text e non in tabella jQuery 1
U [Cerco ] incremento traffico per il mio sito Vendere e Acquistare pubblicita' online 0
E Monitor per Photoshop Photoshop 0
S Libreria PHP per creare file dwg o dxf PHP 0
T cercasi aiuto per file d1 (open-edge db) Database 0
A [cerco - retribuito] Sviluppatore Php freelance per progetti vari Offerte e Richieste di Lavoro e/o Collaborazione 2
G un tool che trova nuovi clienti per web agency e web developer Offerte e Richieste di Lavoro e/o Collaborazione 2
A Mostrare dati database per pagine PHP 2
R cammino minimo per lista di picking: nodi "imposti" da visitare Programmazione 1
A [Vendo] Articoli per blog e siti ecommerce in ottica seo Offerte e Richieste di Lavoro e/o Collaborazione 0
N Mysql_result per PHP 7 PHP 2
elpirata Query per leggere dati da una tabella mysql e mostrarli a video in base a parametri passati tramite GET PHP 5
E Cambiare lingua in Elements per Mac Mac e Software 2
S WEB APP PER AUTOMATIZZARE TASK INSTAGRAM Annunci servizi di Social Media Marketing 0
G Nuova Idea su come trovare clienti per sviluppo web Discussioni Varie 6
L Aiuto per programma web php/mySQL PHP 2
F INDESIGN: problema esportazione esecutivo per la stampa con foto B/N Webdesign e Grafica 0

Discussioni simili