PATH:
home
/
lab2454c
/
keebchat.com
/
core
/
apps
/
wallet
<?php # @*************************************************************************@ # @ @author Mansur Altamirov (Mansur_TL) @ # @ @author_url 1: https://www.instagram.com/mansur_tl @ # @ @author_url 2: http://codecanyon.net/user/mansur_tl @ # @ @author_email: highexpresstore@gmail.com @ # @*************************************************************************@ # @ ColibriSM - The Ultimate Modern Social Media Sharing Platform @ # @ Copyright (c) 21.03.2020 ColibriSM. All rights reserved. @ # @*************************************************************************@ function cl_get_account_wallet_history($offset = false, $limit = 10) { global $db, $cl; $data = array(); $db = $db->where('user_id', $cl['me']['id']); $db = (is_posnum($offset)) ? $db->where('id', $offset, '<') : $db; $db = $db->orderBy('id','DESC'); $history = $db->get(T_WALLET_HISTORY, $limit); if (cl_queryset($history)) { foreach ($history as $row) { $row['time'] = cl_time2str($row['time']); $row['json_data'] = json($row['json_data']); $data[] = $row; } } return $data; }
[+]
..
[-] app_ctrl.php
[edit]