reduce referral credit for future referrals

is hack please no hit me
This commit is contained in:
Jeremy Kauffman 2017-06-20 16:30:26 -04:00 committed by GitHub
parent 5dba952fa9
commit 1fc634a3b6

View file

@ -1,5 +1,5 @@
<h3>{{title.refer}}</h3> <h3>{{title.refer}}</h3>
<p>{{page.refer.earn1}} <?php echo i18n::formatCredits($prefineryUser['id'] < 75000 ? 10 : 5) ?> {{page.refer.earn2}}</p> <p>{{page.refer.earn1}} <?php echo i18n::formatCredits($prefineryUser['id'] < 75000 ? 10 : (date('Y-m-d') > '2017-06-19' ? 2.5 : 5)) ?> {{page.refer.earn2}}</p>
<p> <p>
<input type="text" value="<?php echo Request::getHostAndProto() ?>/get?r=<?php echo $referralCode ?>" style="width: 100%; border-color: #155B4A" readonly id="referral-url-input"/> <input type="text" value="<?php echo Request::getHostAndProto() ?>/get?r=<?php echo $referralCode ?>" style="width: 100%; border-color: #155B4A" readonly id="referral-url-input"/>
<?php js_start() ?> <?php js_start() ?>