This commit is contained in:
CHIEFSOFT\ameye
2024-07-13 11:33:35 -04:00
parent 64683852b4
commit 7f6d8939b1
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1088,7 +1088,7 @@ long WrenchBoardMobileSendUserWallet(CVars in, CVars &out) {
const PGresult *res;
res = pgsql_query("SELECT w.amount,c.*,w.amount AS current_balance,c.country,w.transfer_limit,w.uid AS wallet_uid "
"FROM members_wallet w LEFT JOIN currency c ON c.code=w.currency "
"WHERE w.member_id = %lu ORDER BY c.lorder DESC", in["member_id"].Long());
"WHERE w.member_id = %lu AND w.status = 1 ORDER BY c.lorder DESC", in["member_id"].Long());
if (res != NULL && pgsql_num_rows(res) > 0) {
out["total_record"] = pgsql_num_rows(res);
+2 -1
View File
@@ -185,11 +185,12 @@ class WrenchPlayGround extends BaseController
private function apiFeaturedData() {
$data=[];
$total = 6;
$total = 3;
for ($i = 0; $i < $total; $i++) {
$key = sprintf("%05d", $i);
$data["item"][] = array(
"banner" => "I have no idea",
"media" => "https://dev-media.wrenchboard.com/videos/c35c32bc-9ce4-4ca5-9afc-1ecddfd649f5",
"title" => "This Featured dummy text ".$key,
"description" => "Random gibberish text to use in web pages, site templates and in typography demos. Get rid of Lorem Ipsum forever. A tool for web designers who want to save time. ".$key,
);