disable blog

This commit is contained in:
CHIEFSOFT\ameye
2024-09-12 12:54:59 -04:00
parent a6ea826dce
commit 4fd4523ea2
+1 -8
View File
@@ -939,14 +939,7 @@ long RecoCheckBlog( int itm_count, CVars in, CVars &out ){
const PGresult *res; const PGresult *res;
char vname[30]; char vname[30];
try { try {
load_db_record( out, "SELECT title,id,banner,blog_id FROM blog_selections WHERE status = 1 ORDER BY RANDOM() LIMIT 1");
// SELECT title,id,banner FROM blog_selections ORDER BY RANDOM() LIMIT 1;
// title | id | banner
// -------------------------------------------------+----+----------------------------------------------------------------------------
// 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,blog_id FROM blog_selections ORDER BY RANDOM() LIMIT 1 ");
int ic = itm_count; int ic = itm_count;
long member_id = REQ_LONG(in, "member_id", 1, -1); long member_id = REQ_LONG(in, "member_id", 1, -1);