diff --git a/application/controllers/Bkouser.php b/application/controllers/Bkouser.php index 3f098a2..ff0b0a8 100644 --- a/application/controllers/Bkouser.php +++ b/application/controllers/Bkouser.php @@ -236,7 +236,13 @@ class Bkouser extends Bko_Controller { $data['payment_result'] = $this->table->generate($query); - echo "User:
" . $data['user_table'] . "
Withdraw Last 20:
" . $data['sendmoney_table'] . "
Payments:
" . $data['payment_result']; + + $mysql = "SELECT w.amount,c.*,w.amount AS current_balance FROM members_wallet w LEFT JOIN currency c ON c.code=w.currency WHERE w.member_id = ".$_SESSION['bko_selected_id']." ORDER BY c.lorder DESC"; + $query = $this->db->query($mysql); + $data['wallet_result'] = $this->table->generate($query); + + + echo "User:
" . $data['user_table'] . "
Wallet
".$data['wallet_result']."
Withdraw Last 20:
" . $data['sendmoney_table'] . "
Payments:
" . $data['payment_result']."
"; } public function terms() { @@ -514,8 +520,21 @@ class Bkouser extends Bko_Controller { $page = ($this->uri->segment(3)) ? $this->uri->segment(3) : 0; $page = is_numeric($page) ? $page : 0; - + $extra_qr = ''; + var_dump($_POST); + + if ($_POST) { + + $data['find_by'] = trim($this->input->post('find_by')); + $data['find_txt'] = trim($this->input->post('find_txt')); + + if ( $data['find_by']!='' && $data['find_txt']!=''){ + $extra_qr = ' WHERE '.$data['find_by']." LIKE '%". $data['find_txt']."%'"; + } + + } + echo $extra_qr; $config = $this->PrepPagination(10, 3, '/bkouser/locate'); @@ -537,7 +556,7 @@ class Bkouser extends Bko_Controller { . " FROM members ORDER BY id DESC LIMIT " . $config["per_page"] . " OFFSET " . $page; ; $query = $this->db->query($mysql); - // $this->table->set_heading('Account', 'Created', 'Action'); + $this->table->set_heading('Account', 'Name/Username', 'Action'); $data['member_search_table'] = $this->table->generate($query); diff --git a/application/views/bko/common/bko_menu.php b/application/views/bko/common/bko_menu.php index e7e9490..1fcbf65 100644 --- a/application/views/bko/common/bko_menu.php +++ b/application/views/bko/common/bko_menu.php @@ -12,6 +12,7 @@
  • Dashboard
  • +
  • Payments
  • Contact Us
  • Member diff --git a/application/views/bko/view_bko_dash.php b/application/views/bko/view_bko_dash.php index e12dd02..ea9e967 100644 --- a/application/views/bko/view_bko_dash.php +++ b/application/views/bko/view_bko_dash.php @@ -77,8 +77,66 @@ + +
    + + +
    + +
    + +
    +
    + + +
    + +
    + +
    + -
    +
    + + + +
    +
    +
    Recent Transfer
    +
    +
    +
    + +
    +
    +
    + +
    + +
    +
    + + + + +
    +
    +
    Activities
    +
    + +
    + +
    +
    +
    @@ -99,131 +157,13 @@
    -
    + - -
    -
    -
    Recent Signup
    -
    -
    -
    - -
    - -
    - -
    -
    -
    - - -
    - -
    -
    - -
    -
    - -
    - - -
    - -
    - -
    - -
    -
    - -
    - - -
    - -
    - -
    -
    - - -
    - - - - - - - - -
    -
    -
    Activities
    -
    - -
    - -
    -
    - - - -
    - -
    - - -
    -
    -
    Recent Transfer
    -
    -
    -
    - -
    -
    -
    - -
    - -
    -
    - - - - -
    -
    -
    Contact Messages
    -
    - -
    -
    - - -
    - - - - -
    -
    -
    diff --git a/application/views/bko/view_bko_findmembers.php b/application/views/bko/view_bko_findmembers.php index 4fce3f6..ebec4c0 100644 --- a/application/views/bko/view_bko_findmembers.php +++ b/application/views/bko/view_bko_findmembers.php @@ -4,6 +4,28 @@
    +
    +
    +
    +
    + + +
    +
    + +
    +
    + +
    +
    +
    +
    +
    diff --git a/application/views/bko/view_bko_header.php b/application/views/bko/view_bko_header.php index e1502dc..ca97174 100644 --- a/application/views/bko/view_bko_header.php +++ b/application/views/bko/view_bko_header.php @@ -80,7 +80,7 @@