Agen Judi | Agen SBOBET | Agen Casino Online | Daftar SBOBET

Member

List Referal

[xcrud] $xcrud1 = Xcrud::get_instance();
$xcrud1->table(‘rel_member_ref’);
$xcrud1->where(‘id_member =’, $_SESSION[‘data’][‘id_member’]);
$xcrud1->where(‘act=1′);
$xcrud1->columns(‘id_ref,tgl’);
$xcrud1->label(‘id_ref’,’Referal’);
$xcrud1->label(‘tgl’,’Tanggal’);
$xcrud1->change_type(‘tgl’, ‘date’);
$xcrud1->relation(‘id_ref’,’ms_member’,’id_member’,’username’);
$xcrud1->unset_add();
$xcrud1->unset_edit();
$xcrud1->unset_remove();
$xcrud1->unset_view();
$xcrud1->unset_csv();
$xcrud1->unset_print();
$xcrud1->unset_title();
echo $xcrud1->render();
[/xcrud] History

[xcrud] $xcrud = Xcrud::get_instance();
$xcrud->table(‘ms_trx_ref’);
$xcrud->where(‘id_member =’, $_SESSION[‘data’][‘id_member’]);
$xcrud->where(‘del=1′);
$xcrud->columns(‘id_ref,jum,tgl’);
$xcrud->label(‘id_ref’,’Referal’);
$xcrud->label(‘jum’,’Komisi’);
$xcrud->label(‘tgl’,’Tanggal’);
$xcrud->change_type(‘jum’,’price’,’0′,array(‘prefix’=>’Rp ‘));
$xcrud->change_type(‘tgl’, ‘date’);
$xcrud->relation(‘id_ref’,’ms_member’,’id_member’,’username’);
$xcrud->sum(‘jum’,’align-center’,’Total Komisi :{value}’);
$xcrud->unset_add();
$xcrud->unset_edit();
$xcrud->unset_remove();
$xcrud->unset_view();
$xcrud->unset_csv();
$xcrud->unset_print();
$xcrud->unset_title();
echo $xcrud->render();
[/xcrud]