<?php
class Sponsor extends controller
{
    public function bonus($id='')
    {
        include_once "Bonus.php";

        $bonus = new Bonus();
        $data = $bonus->sponsor($id);

        echo json_encode($data);
    }
}
