File "refer.twig"
Full Path: /home/cananyalcin/public_html/core/temp/client/sfg/refer.twig
File size: 9.84 KB
MIME-type: text/html
Charset: utf-8
{% include 'header.twig' %}
<style>
.buttonn {
background-color: #f16845; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.disabled {
opacity: 0.6;
cursor: not-allowed;
}
</style>
<div class="content-wrap">
<div class="panel-welcome">
<div class="icon">
<svg width="53" height="53" viewBox="0 0 53 53" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M19.875 21.5312C19.875 19.7021 18.3916 18.2188 16.5625 18.2188H14.9062C11.247 18.2188 8.28125 21.1845 8.28125 24.8438V29.8125C8.28125 33.4718 11.247 36.4375 14.9062 36.4375H16.5625C18.3916 36.4375 19.875 34.9541 19.875 33.125V21.5312ZM38.0938 36.4375C41.753 36.4375 44.7188 33.4718 44.7188 29.8125V24.8438C44.7188 21.1845 41.753 18.2188 38.0938 18.2188H36.4375C34.6084 18.2188 33.125 19.7021 33.125 21.5312V33.125C33.125 34.9541 34.6084 36.4375 36.4375 36.4375H38.0938ZM26.5 0C11.7159 0 0.474102 12.3008 0 26.5V28.1562C0 29.0713 0.741172 29.8125 1.65625 29.8125H3.3125C4.22758 29.8125 4.96875 29.0713 4.96875 28.1562V26.5C4.96875 14.6278 14.6278 4.96875 26.5 4.96875C38.3722 4.96875 48.0312 14.6278 48.0312 26.5H48.0188C48.0271 26.7515 48.0312 43.6546 48.0312 43.6546C48.0312 46.0717 46.0717 48.0312 43.6546 48.0312H33.125C33.125 45.2871 30.9004 43.0625 28.1562 43.0625H24.8438C22.0996 43.0625 19.875 45.2871 19.875 48.0312C19.875 50.7754 22.0996 53 24.8438 53H43.6546C48.8159 53 53 48.8159 53 43.6546V26.5C52.5259 12.3008 41.2841 0 26.5 0Z"
fill="white" />
</svg>
</div>
<div class="text">
<strong>Hello, <span>{{ user["username"] }}</span> !</strong>
<p>SmmFansGrow.com Reference System An Opportunity To Earn <br>
{{settings["referral_commision"]}}% From Everyone Who Comes And Loads The Balance With Your Reference Link
</p>
</div>
</div>
<div class="row">
<div class="col-lg-6">
{% if error %}
<div class="alert alert-dismissible alert-danger">
{{ errorText }}
</div>
<br>
{% endif %}
{% if success %}
<div class="alert alert-dismissible alert-success">
{{ successText }}
</div>
<br>
{% endif %}
<div class="panel-box mb-3">
<div class="ref-list">
<ul>
<li>
<strong>Refer link</strong>
<span data-clip="true"
title="Link copied"
data-clipboard-action="copy"
data-clipboard-target="#link-1" id="link-1" class="mr-1"><code>{{ site["url"] }}/affiliates?ref={{ user['ref_code'] }}</code></span>
</li>
<li>
<strong>Commission rate</strong>
<span>{{settings["referral_commision"]}}%</span>
</li>
<li>
<strong>Minimum payout</strong>
<span>{{ currency['symbol']}} {{ (settings["referral_payout"]*currency["value"]) }}</span>
</li>
</ul>
</div>
</div>
<div class="panel-box">
<div class="ref-list">
{% for ref in ref_content %}
<ul>
<li>
<strong>Total visits </strong>
<span>{{ ref['referral_clicks'] }}</span>
</li>
<li>
<strong>Successful referrals </strong>
<span>{{ ref['referral_sign_up'] }}</span>
</li>
<li>
<strong>Conversion rate </strong>
<span>{{ ( ref['referral_sign_up'] / ref['referral_clicks']) * 100 }}%</span>
</li>
<li>
<strong>Total earnings</strong>
<span>{{ currency['symbol'] }}{{ ref['referral_total_commision']*currency["value"] }}</span>
</li>
<li>
<strong>Paid earnings</strong>
<span>{{ currency['symbol'] }}{{ ref['referral_earned_commision']*currency["value"] }}</span>
</li>
<li>
<strong>Available earnings</strong>
<span>{{ currency['symbol'] }}{{ (ref['referral_total_commision'] - (ref['referral_earned_commision'] + ref['referral_requested_commision'] + ref['referral_rejected_commision'])) *currency["value"] }}</span>
</li>
<li>
<strong>Rejected earnings</strong>
<span>{{ currency['symbol'] }}{{ ref['referral_rejected_commision']*currency["value"] }}</span>
</li>
<li>
<strong>Action</strong>
<span><form method="post" action="">
<input type="hidden" name="ref_code" value="{{ user['ref_code'] }}">
<input type="hidden" name="ref_amt" value="{{ ref['referral_total_commision'] - (ref['referral_earned_commision'] + ref['referral_requested_commision'] ) }}">
<a href="javascript:void(0)">
{% if (ref['referral_total_commision'] - (ref['referral_earned_commision'] + ref['referral_requested_commision'] + ref['referral_rejected_commision'] )) >= settings["referral_payout"] %} <button type="submit" style="margin-left:2px;" class="buttonn ">Payout</button>
{% else %}
<button class="buttonn disabled" disabled>Payout</button>
{% endif %} </a>
</form></span>
</li>
</ul>
{% endfor %}
</div>
</div>
<br>
<div class="panel-box">
<div class="ref-list">
<ul>
{% for ref_payout in ref_payouts %}
<li>
<strong>Payout date </strong>
<span>{{ ref_payout['r_p_requested_at'] }}</span>
</li>
<li>
<strong>Payout amount </strong>
<span>{{ currency['symbol'] }}{{ ref_payout['r_p_amount_requested']*currency["value"] }}</span>
</li>
<li>
<strong>Last Updated </strong>
<span>{{ ref_payout['r_p_updated_at'] }}</span>
</li>
<li>
<strong>Payout status </strong>
<span>{% if (ref_payout['r_p_status'] == 0) %}
{{ "Pending" }}
{% elseif (ref_payout['r_p_status'] == 1) %}
{{ "Disapproved" }}
{% elseif (ref_payout['r_p_status'] == 2) %}
{{ "Approved" }}
{% elseif (ref_payout['r_p_status'] == 3) %}
{{ "Rejected" }}
{% endif %}</span>
</li>
{% endfor %}
</ul>
</div>
</div></div>
<div class="col-lg-6">
<div class="panel-box">
<h3 class="text-dark"><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 15C0 6.71573 6.71573 0 15 0H34V19C34 27.2843 27.2843 34 19 34H0V15Z" fill="#F16845" />
<path
d="M27 17C27 22.5241 22.5225 27 17 27C11.4775 27 7 22.5241 7 17C7 11.4792 11.4775 7 17 7C22.5225 7 27 11.4792 27 17ZM17.2683 10.3065C15.0709 10.3065 13.6694 11.2321 12.5688 12.8773C12.4262 13.0905 12.4739 13.3779 12.6783 13.5329L14.0774 14.5938C14.2873 14.7529 14.5863 14.7151 14.7494 14.5082C15.4697 13.5946 15.9636 13.0648 17.06 13.0648C17.8837 13.0648 18.9027 13.595 18.9027 14.3938C18.9027 14.9976 18.4042 15.3077 17.5908 15.7638C16.6423 16.2955 15.3871 16.9573 15.3871 18.6129V18.7742C15.3871 19.0414 15.6037 19.2581 15.871 19.2581H18.129C18.3962 19.2581 18.6129 19.0414 18.6129 18.7742V18.7204C18.6129 17.5728 21.9672 17.525 21.9672 14.4194C21.9672 12.0806 19.5412 10.3065 17.2683 10.3065ZM17 20.3065C15.9772 20.3065 15.1452 21.1385 15.1452 22.1613C15.1452 23.184 15.9772 24.0161 17 24.0161C18.0228 24.0161 18.8548 23.184 18.8548 22.1613C18.8548 21.1385 18.0228 20.3065 17 20.3065Z"
fill="white" />
</svg>
How does the system work ?</h3>
<p>The fee paid by people who register to <b>SmmFansGrow.com</b> with your reference link for all balance adding transactions.
The reference system, where {{settings["referral_commision"]}}% of it is defined to your account, has been put into use.
All you have to do is to add members to <b>SmmFansGrow.com</b> via your Invite Link. Remember, just
You will earn bonus from memberships that register via the link defined in your account, there is no invitation limit!
</p>
<ul>
<li>Pay only for newly recruited users, for self-referential ones
No payment is made and when noticed, their accounts on the site are closed.
</li>
<li>You cannot send a request without earning {{ currency['symbol']}} {{ (settings["referral_payout"]*currency["value"]) }} via reference.
</li>
<li>You get a {{settings["referral_commision"]}}% bonus from every payment your referrals make.
</li>
<li>When the minimum payment amount is reached, the "Payout" button will appear on the screen.</li>
</ul>
</div>
</div>
</div>
</div>
{% include 'footer.twig' %}