This commit is contained in:
CHIEFSOFT\ameye
2025-12-21 07:58:18 -05:00
parent ab2898cb82
commit 85cc995f9d
+12 -12
View File
@@ -91,18 +91,18 @@ class Home extends BaseController
// }
// featured
try {
$mysql = "SELECT id, post_title, post_content,post_date,comment_count
FROM wp_posts WHERE post_type='post' AND post_status = 'publish' AND id = 263";
$query = $this->db->query($mysql);
$rowF = $query->getResultArray();
// print_r( $rowF );
// $r = $this->db->query($mysql);
$data["blog_featured"] = $rowF[0];
} catch (Exception $ex) {
}
// try {
// $mysql = "SELECT id, post_title, post_content,post_date,comment_count
// FROM wp_posts WHERE post_type='post' AND post_status = 'publish' AND id = 263";
// $query = $this->db->query($mysql);
//
// $rowF = $query->getResultArray();
// // print_r( $rowF );
// // $r = $this->db->query($mysql);
// $data["blog_featured"] = $rowF[0];
// } catch (Exception $ex) {
//
// }
$siteData = [];
$out = $this->APIcall('GET', 'https://blogdata.chiefsoft.net/blogdata/chiefsoft', []); // https://blogdata.chiefsoft.net/