Array ( [0] => Array ( [0] => stdClass Object ( [category_creation_id] => 101 [category_name] => Companies ) [1] => stdClass Object ( [category_creation_id] => 102 [category_name] => Economy & Policy ) [2] => stdClass Object ( [category_creation_id] => 103 [category_name] => Finance ) [3] => stdClass Object ( [category_creation_id] => 104 [category_name] => Beyond Business ) [4] => stdClass Object ( [category_creation_id] => 105 [category_name] => Opinion ) [5] => stdClass Object ( [category_creation_id] => 106 [category_name] => Markets ) [6] => stdClass Object ( [category_creation_id] => 107 [category_name] => Management ) [7] => stdClass Object ( [category_creation_id] => 108 [category_name] => Technology ) [8] => stdClass Object ( [category_creation_id] => 109 [category_name] => Specials ) [9] => stdClass Object ( [category_creation_id] => 110 [category_name] => Budget ) [10] => stdClass Object ( [category_creation_id] => 111 [category_name] => SME ) [11] => stdClass Object ( [category_creation_id] => 112 [category_name] => SmeIBM ) [12] => stdClass Object ( [category_creation_id] => 113 [category_name] => Press Releases ) [13] => stdClass Object ( [category_creation_id] => 114 [category_name] => PF ) [14] => stdClass Object ( [category_creation_id] => 115 [category_name] => Current Affairs ) [15] => stdClass Object ( [category_creation_id] => 116 [category_name] => International ) [16] => stdClass Object ( [category_creation_id] => 117 [category_name] => Elections ) [17] => stdClass Object ( [category_creation_id] => 139 [category_name] => PTI Stories ) [18] => stdClass Object ( [category_creation_id] => 142 [category_name] => Reuters ) [19] => stdClass Object ( [category_creation_id] => 143 [category_name] => Free Newsletter ) [20] => stdClass Object ( [category_creation_id] => 150 [category_name] => News-IANS ) [21] => stdClass Object ( [category_creation_id] => 151 [category_name] => News-CM ) [22] => stdClass Object ( [category_creation_id] => 152 [category_name] => News-ANI ) [23] => stdClass Object ( [category_creation_id] => 154 [category_name] => News-CD ) [24] => stdClass Object ( [category_creation_id] => 155 [category_name] => Politics ) [25] => stdClass Object ( [category_creation_id] => 156 [category_name] => B2B Connect ) [26] => stdClass Object ( [category_creation_id] => 158 [category_name] => Partners Content ) [27] => stdClass Object ( [category_creation_id] => 161 [category_name] => Billionaire Club ) [28] => stdClass Object ( [category_creation_id] => 164 [category_name] => Elections 2014 ) [29] => stdClass Object ( [category_creation_id] => 167 [category_name] => Government Press Release ) [30] => stdClass Object ( [category_creation_id] => 168 [category_name] => MotorOctane ) [31] => stdClass Object ( [category_creation_id] => 174 [category_name] => Punditry ) [32] => stdClass Object ( [category_creation_id] => 175 [category_name] => Events ) [33] => stdClass Object ( [category_creation_id] => 176 [category_name] => Bs Motoring ) [34] => stdClass Object ( [category_creation_id] => 177 [category_name] => General news ) [35] => stdClass Object ( [category_creation_id] => 179 [category_name] => Display Name ) [36] => stdClass Object ( [category_creation_id] => 180 [category_name] => live blog ) [37] => stdClass Object ( [category_creation_id] => 181 [category_name] => People ) [38] => stdClass Object ( [category_creation_id] => 182 [category_name] => html5_Test_Budget_2017_Index_3_pm ) [39] => stdClass Object ( [category_creation_id] => 183 [category_name] => Education ) [40] => stdClass Object ( [category_creation_id] => 185 [category_name] => About ) [41] => stdClass Object ( [category_creation_id] => 188 [category_name] => Budget_2017 ) [42] => stdClass Object ( [category_creation_id] => 189 [category_name] => Market_Finance ) [43] => stdClass Object ( [category_creation_id] => 190 [category_name] => Multimedia ) [44] => stdClass Object ( [category_creation_id] => 192 [category_name] => ipl ) [45] => stdClass Object ( [category_creation_id] => 193 [category_name] => Advanced Search ) [46] => stdClass Object ( [category_creation_id] => 194 [category_name] => sports ) [47] => stdClass Object ( [category_creation_id] => 197 [category_name] => Interim Budget 2019 ) [48] => stdClass Object ( [category_creation_id] => 198 [category_name] => Asian Hockey Champions Trophy 2019 ) [49] => stdClass Object ( [category_creation_id] => 199 [category_name] => Banner ) [50] => stdClass Object ( [category_creation_id] => 200 [category_name] => newcate ) [51] => stdClass Object ( [category_creation_id] => 201 [category_name] => subfinaljio ) [52] => stdClass Object ( [category_creation_id] => 202 [category_name] => it-information ) [53] => stdClass Object ( [category_creation_id] => 203 [category_name] => testroot ) [54] => stdClass Object ( [category_creation_id] => 204 [category_name] => testroot1 ) [55] => stdClass Object ( [category_creation_id] => 205 [category_name] => Budget 2019 ) [56] => stdClass Object ( [category_creation_id] => 206 [category_name] => Event ) ) [1] => Array ( [0] => stdClass Object ( [@stmtexpr] => SELECT *,t2.category_creation_id as category_creation_id FROM ((SELECT "0" AS category_creation_id, t1.article_id, t1.heading1, t1.heading2, t1.sub_heading, t1.description, t1.content_type, t1.article_type, t1.article_url, t1.tags AS article_tags, t1.article_options, t1.place_name, t1.source_id, t1.source_title,t1.article_extra_options, t1.published_date AS article_published_date, aad.is_free_forever,aad.is_paid,aad.paid_end_date,aad.paid_start_date FROM article_master t1 INNER JOIN article_rank_map ON article_rank_map.article_id = t1.article_id LEFT JOIN article_additional_details AS aad ON t1.article_id = aad.article_id WHERE t1.workflow_status="published" AND t1.content_type = "print-media" AND article_rank_map.rank BETWEEN 1 AND 10 AND rank_type_code = "section" AND t1.published_date <= '1571018762' AND t1.modification_date BETWEEN 1570926600 AND 1571004000) UNION (SELECT (SELECT SUBSTR(article_category_map.category_id,1,3) AS category_creation_id FROM article_category_map WHERE article_category_map.article_id = t1.article_id AND article_category_map.is_default_category = "Y") AS category_creation_id, t1.article_id, t1.heading1, t1.heading2, t1.sub_heading, t1.description, t1.content_type, t1.article_type, t1.article_url, t1.tags AS article_tags, t1.article_options, t1.place_name, t1.source_id, t1.source_title,t1.article_extra_options, t1.published_date AS article_published_date, aad.is_free_forever,aad.is_paid,aad.paid_end_date,aad.paid_start_date FROM article_master t1 INNER JOIN article_rank_map ON article_rank_map.article_id = t1.article_id LEFT JOIN article_additional_details AS aad ON t1.article_id = aad.article_id WHERE t1.workflow_status="published" AND t1.content_type = "print-media" AND article_rank_map.rank NOT BETWEEN 1 AND 10 AND rank_type_code = "section" AND t1.published_date <= '1571018762' AND t1.modification_date BETWEEN 1570926600 AND 1571004000)) t2 LEFT JOIN todays_paper_category_map on t2.category_creation_id=todays_paper_category_map.category_creation_id ORDER BY CASE WHEN t2.category_creation_id !=0 THEN COALESCE(todays_paper_category_map.display_order, todays_paper_category_map.display_order) IS NULL END,t2.category_creation_id ASC, t2.article_published_date DESC ) ) )