0 Пользователей и 1 Гость просматривают эту тему.
<?php if(!defined('FastCore')){exit('Opss!');}# Заголовок$opt['title'] = 'Партнерская программа';# Экономия места$income = $user['income'];$refs = $user['refs'];$url = ('https://'.$_SERVER['HTTP_HOST']);$lp = ($url.'/load/img/');?><style>#page_info span{ background-color:#ffe069; padding:5px 10px; margin:0px 20px; text-align:center; font-weight:bold}.pagin { background-color: #354257;padding: 2px 5px;display: inline-block;border-radius: 6px;box-shadow: 0px 0px 2px #9cc7e6;margin:5px auto;}</style><div class="form-input" style="width: 540px;"><div class="form-ico"><i class="fa fa-link"></div><input type="text" onclick="this.select()" value="<?=$url.'/i/'.$uid; ?>" id="url"></div><center> <div class="pagin"> <img src="<?=$lp;?>468x60.gif">[br /]<?=$lp;?>468x60.gif[hr /]<?=$lp;?>728x90.gif[hr /]<?=$lp;?>200x300.gif</div></center>[br /]<div id="page_info" style="text-align:center">Партнерская программа: 10% от пополнений рефералов.</div><style>#ref_stat {width:80%; margin:auto; display:flex; flex-wrap: wrap; justify-content: space-between;}#ref_stat div{font-size:24px; border:1px solid #dafe31; border-radius: 2em; background-color:#13212d;color:#dafe31; width:400px; padding:5px 0; margin-bottom:25px}#ref_stat span{ text-transform:uppercase; color: #fff;font-size:14px}</style><div id="ref_stat"><div style=" border:1px solid #ff7a00;color: #ff7a00;"><span>рефералов:</span> <?=$refs; ?> <span>чел.</span></div><div><span>заработок:</span> <?=$income; ?> <span style=" font-size:12px">RUB</span></div></div> <table width="100%" border="0" id="tab"><tr id="tab_menu" align="left" style="background-color:#ff7100; color:#FFFFFF; text-transform:uppercase; font-size:16px; font-weight:bold"> <td width="15%">Дата</td><td width="21%">Логин</td><td width="22%">Источник</td><td width="10%">Вклад</td><td width="10%">Вывод</td><td width="10%">Доход</td></tr><?PHPif ($uid != 1) {$ref = $db->query("SELECT login, ref_to, sum_in, sum_out, refsite, reg FROM db_users WHERE id = id AND rid = '$uid' ORDER BY ref_to DESC")->fetchAll();foreach($ref as $r){?><tr id="tab_menu" align="left"><td width="12%"><?=date("d.m.Y",$r['reg']); ?></td><td width="21%"><?=substr($r['login'],0,-3); ?><span style="color: #0247a3;">***</span></td><td width="19%"><?=substr_replace($r['refsite'], '<span style="color: #0247a3;">**</span>', -6, 1); ?></td><td width="12%"><?=sprintf("%.2f",$r['sum_in']); ?> р</td><td width="12%"><?=sprintf("%.2f",$r['sum_out']); ?> р</td><td width="12%"><?=sprintf("%.2f",$r['ref_to']); ?> р</td></tr><?PHP } }?> </table>[br /]</div></div>