stdClass Object ( [exePremisions] => 1 [exeType] => select [userPremission] => 3 [sql] => select *, case when site_page_tbl.page_date<>'' and site_page_tbl.page_date is not null then DATE_FORMAT(site_page_tbl.page_date,'%d/%m/%y') else DATE_FORMAT(site_page_tbl.create_date,'%d/%m/%y') end as page_date_eu from site_page_tbl where parent_id=? and active=1 and recycle=0 and( ((show_from_date='' or show_from_date is null) and (show_to_date='' or show_to_date is null)) or ((show_from_date<>'' and show_from_date is not null) and (show_to_date='' or show_to_date is null) and (NOW() >= show_from_date)) or ((show_from_date='' or show_from_date is null) and (show_to_date<>'' or show_to_date is not null) and (NOW() <= show_to_date)) or ((show_from_date<>'' and show_from_date is not null) and (show_to_date<>'' or show_to_date is not null) and NOW() between show_from_date and show_to_date) ) order by order_numlimit 20 [arrParams] => Array ( [0] => i [1] => 2246 ) [arrBindNames] => )