Blog id
This commit is contained in:
@@ -711,7 +711,7 @@ long RecoCheckBlog( int itm_count, CVars in, CVars &out ){
|
||||
// -------------------------------------------------+----+----------------------------------------------------------------------------
|
||||
// ime and price management when working an online | 3 | https://blog.wrenchboard.com/wp-content/uploads/2022/01/time_manageent.jpg
|
||||
|
||||
load_db_record( out, "SELECT title,id,banner FROM blog_selections ORDER BY RANDOM() LIMIT 1 ");
|
||||
load_db_record( out, "SELECT title,id,banner,blog_id FROM blog_selections ORDER BY RANDOM() LIMIT 1 ");
|
||||
|
||||
int ic = itm_count;
|
||||
long member_id = REQ_LONG(in, "member_id", 1, -1);
|
||||
@@ -726,10 +726,10 @@ long RecoCheckBlog( int itm_count, CVars in, CVars &out ){
|
||||
out[vname] = "BLOG";
|
||||
|
||||
snprintf(vname, sizeof (vname), "offer_id_%05d", ic);
|
||||
out[vname] = out["id"];;
|
||||
out[vname] = out["id"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "blog_id_%05d", ic);
|
||||
out[vname] = "37";
|
||||
out[vname] = out["blog_id"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "card_icon_%05d", ic);
|
||||
out[vname] = "icon1";
|
||||
|
||||
Reference in New Issue
Block a user