order app help
This commit is contained in:
@@ -95,7 +95,7 @@ wrenchboard=> SELECT * FROM help_items WHERE status=1 ORDER BY lorder ASC;
|
|||||||
|
|
||||||
const PGresult *res;
|
const PGresult *res;
|
||||||
|
|
||||||
res = pgsql_query("SELECT * FROM help_items WHERE status=1 ORDER BY lorder ASC");
|
res = pgsql_query("SELECT * FROM help_items WHERE status=1 ORDER BY id ASC");
|
||||||
|
|
||||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||||
out["total_record"] = pgsql_num_rows(res);
|
out["total_record"] = pgsql_num_rows(res);
|
||||||
|
|||||||
@@ -1797,6 +1797,18 @@ long WrenchJobsGroupList(CVars in, CVars &out) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
wrenchboard=> SELECT group_id,count(id) FROM members_job_groupmember WHERE member_id = 1 GROUP BY group_id;
|
||||||
|
group_id | count
|
||||||
|
----------+-------
|
||||||
|
10 | 1
|
||||||
|
1 | 1
|
||||||
|
4 | 1
|
||||||
|
(3 rows)
|
||||||
|
|
||||||
|
wrenchboard=>
|
||||||
|
*/
|
||||||
ret = PHP_API_OK;
|
ret = PHP_API_OK;
|
||||||
|
|
||||||
} catch (bad_parameter) {
|
} catch (bad_parameter) {
|
||||||
|
|||||||
@@ -88,7 +88,13 @@ long WrenchHomeBanners(CVars in, CVars &out) {
|
|||||||
if( RecoReferAFreind( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
if( RecoReferAFreind( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
||||||
|
|
||||||
out["home_dash_type"]="DEFAULT_HOME_DASH";
|
out["home_dash_type"]="DEFAULT_HOME_DASH";
|
||||||
|
/*
|
||||||
|
DEFAULT_HOME_DASH
|
||||||
|
FAMILY_PARENT_DASH
|
||||||
|
WORKER_HOME_DASH
|
||||||
|
JOBOWNER_HOME_DASH
|
||||||
|
|
||||||
|
*/
|
||||||
//
|
//
|
||||||
// snprintf(vname, sizeof (vname), "button_text_%05d", ic);
|
// snprintf(vname, sizeof (vname), "button_text_%05d", ic);
|
||||||
// out[vname] = "Continue";
|
// out[vname] = "Continue";
|
||||||
|
|||||||
Reference in New Issue
Block a user