Skip to content

Commit

Permalink
Update Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jave Lupango committed Dec 17, 2020
1 parent 6c67575 commit bb9612e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file removed aa.zip
Binary file not shown.
8 changes: 4 additions & 4 deletions view/body/viewuser.body.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
}
else
{
$upline_res = $c_Select->fn_SingleResponse($conn, "SELECT * FROM users WHERE username=?", "userid", $_SESSION['username']);
// $upline_res = $c_Select->fn_SingleResponse($conn, "SELECT * FROM users WHERE username=?", "userid", $_SESSION['username']);
$SelectQuery = "SELECT * FROM users WHERE status = 'active' AND upline ='$upline_res' ORDER BY dtjoin DESC";
}

//$upline_res = $c_Select->fn_SingleResponse($conn, "SELECT * FROM users WHERE username=?", "id", $_SESSION['username']);
//$SelectQuery = "SELECT (SELECT username From users WHERE users.id = creditlogs.userid) as userid,
// (SELECT username From users WHERE users.id = creditlogs.ap_id) as ap_id,
// credit ,type, duration, dt FROM creditlogs WHERE userid = '$upline_res' ORDER BY dt DESC";
$SelectQuery = "SELECT (SELECT username From users WHERE users.id = creditlogs.userid) as userid,
(SELECT username From users WHERE users.id = creditlogs.ap_id) as ap_id,
credit ,type, duration, dt FROM creditlogs WHERE userid = '$upline_res' ORDER BY dt DESC";
}
$s_res = $c_Select->fn_SelectAll($conn, $SelectQuery);
?>
Expand Down

0 comments on commit bb9612e

Please sign in to comment.