array(4) {
  ["hasError"]=>
  bool(false)
  ["ResponseObj"]=>
  array(1) {
    ["Items"]=>
    array(4) {
      [0]=>
      array(41) {
        ["row_num"]=>
        string(1) "1"
        ["uid"]=>
        string(5) "13423"
        ["master_id"]=>
        string(3) "388"
        ["locale"]=>
        string(2) "en"
        ["ranking"]=>
        string(1) "1"
        ["display_date"]=>
        string(19) "2020-01-01 00:00:00"
        ["store"]=>
        string(3) "tst"
        ["title"]=>
        string(16) "SOGO Weekly News"
        ["event_period"]=>
        string(13) "9/9-15/9/2020"
        ["template"]=>
        string(1) "1"
        ["description"]=>
        string(0) ""
        ["pdf"]=>
        string(0) ""
        ["url_name"]=>
        string(0) ""
        ["happening"]=>
        string(1) "1"
        ["highlight"]=>
        string(1) "1"
        ["show_at_index"]=>
        string(1) "1"
        ["thumbnail"]=>
        string(88) "/uploads/images/mainsite/event%26promotion/original_image/20200908/090920_TST_SN_356.jpg"
        ["thumb_alt"]=>
        string(16) "SOGO Weekly News"
        ["index_image"]=>
        string(82) "/uploads/images/mainsite/event%26promotion/theme202009/202009_Sogo_News_TST_v2.jpg"
        ["index_alt"]=>
        string(16) "SOGO Weekly News"
        ["link"]=>
        string(0) ""
        ["popup_type"]=>
        string(1) "1"
        ["happening_end_date"]=>
        string(19) "2020-12-31 00:00:00"
        ["extracted_pdf"]=>
        string(1) "0"
        ["version"]=>
        string(2) "49"
        ["created_by"]=>
        string(2) "19"
        ["created_date"]=>
        string(19) "2019-10-08 15:28:29"
        ["created_ip"]=>
        string(15) "220.241.212.216"
        ["modified_by"]=>
        string(2) "19"
        ["modified_date"]=>
        string(19) "2020-09-08 18:04:19"
        ["modified_ip"]=>
        string(15) "220.241.212.216"
        ["approved_by"]=>
        NULL
        ["approved_date"]=>
        NULL
        ["approved_ip"]=>
        NULL
        ["submitted_by"]=>
        string(2) "20"
        ["submitted_date"]=>
        string(19) "2020-09-08 22:01:19"
        ["submitted_ip"]=>
        string(12) "61.239.165.5"
        ["commited"]=>
        string(1) "1"
        ["approval_status"]=>
        string(1) "3"
        ["active"]=>
        string(1) "1"
        ["deleted"]=>
        string(1) "0"
      }
      [1]=>
      array(41) {
        ["row_num"]=>
        string(1) "2"
        ["uid"]=>
        string(5) "12715"
        ["master_id"]=>
        string(3) "415"
        ["locale"]=>
        string(2) "en"
        ["ranking"]=>
        string(1) "2"
        ["display_date"]=>
        string(19) "2020-04-09 00:00:00"
        ["store"]=>
        string(3) "tst"
        ["title"]=>
        string(16) "Easter FunFun賞"
        ["event_period"]=>
        string(14) "10/4-13/4/2020"
        ["template"]=>
        string(1) "1"
        ["description"]=>
        string(0) ""
        ["pdf"]=>
        string(0) ""
        ["url_name"]=>
        string(0) ""
        ["happening"]=>
        string(1) "1"
        ["highlight"]=>
        string(1) "1"
        ["show_at_index"]=>
        string(1) "1"
        ["thumbnail"]=>
        string(95) "/uploads/images/mainsite/event%26promotion/original_image/20200407/202004TST_easterfun_356b.jpg"
        ["thumb_alt"]=>
        string(0) ""
        ["index_image"]=>
        string(95) "/uploads/images/mainsite/event%26promotion/original_image/20200407/202004TST_easterfun_188b.jpg"
        ["index_alt"]=>
        string(0) ""
        ["link"]=>
        string(0) ""
        ["popup_type"]=>
        string(1) "1"
        ["happening_end_date"]=>
        string(19) "2020-04-14 00:00:00"
        ["extracted_pdf"]=>
        string(1) "0"
        ["version"]=>
        string(1) "5"
        ["created_by"]=>
        string(2) "19"
        ["created_date"]=>
        string(19) "2020-04-09 16:14:40"
        ["created_ip"]=>
        string(15) "220.241.212.216"
        ["modified_by"]=>
        string(2) "19"
        ["modified_date"]=>
        string(19) "2020-04-09 18:15:11"
        ["modified_ip"]=>
        string(15) "220.241.212.216"
        ["approved_by"]=>
        NULL
        ["approved_date"]=>
        NULL
        ["approved_ip"]=>
        NULL
        ["submitted_by"]=>
        string(2) "20"
        ["submitted_date"]=>
        string(19) "2020-04-09 22:04:34"
        ["submitted_ip"]=>
        string(14) "220.246.187.77"
        ["commited"]=>
        string(1) "1"
        ["approval_status"]=>
        string(1) "3"
        ["active"]=>
        string(1) "1"
        ["deleted"]=>
        string(1) "0"
      }
      [2]=>
      array(41) {
        ["row_num"]=>
        string(1) "3"
        ["uid"]=>
        string(5) "12634"
        ["master_id"]=>
        string(3) "411"
        ["locale"]=>
        string(2) "en"
        ["ranking"]=>
        string(1) "2"
        ["display_date"]=>
        string(19) "2020-03-27 00:00:00"
        ["store"]=>
        string(3) "tst"
        ["title"]=>
        string(17) "SOGO Rewards Days"
        ["event_period"]=>
        string(13) "27/3-5/4/2020"
        ["template"]=>
        string(1) "1"
        ["description"]=>
        string(0) ""
        ["pdf"]=>
        string(0) ""
        ["url_name"]=>
        string(0) ""
        ["happening"]=>
        string(1) "1"
        ["highlight"]=>
        string(1) "1"
        ["show_at_index"]=>
        string(1) "0"
        ["thumbnail"]=>
        string(114) "/uploads/images/mainsite/event%26promotion/original_image/20200324/website_homepage_sogo_rewards_202003_356-05.jpg"
        ["thumb_alt"]=>
        string(0) ""
        ["index_image"]=>
        string(117) "/uploads/images/mainsite/event%26promotion/original_image/20200324/website_homepage_sogo_rewards_202003_188-05-04.jpg"
        ["index_alt"]=>
        string(0) ""
        ["link"]=>
        string(0) ""
        ["popup_type"]=>
        string(1) "1"
        ["happening_end_date"]=>
        string(19) "2020-04-06 00:00:00"
        ["extracted_pdf"]=>
        string(1) "0"
        ["version"]=>
        string(1) "4"
        ["created_by"]=>
        string(2) "19"
        ["created_date"]=>
        string(19) "2020-03-27 14:48:49"
        ["created_ip"]=>
        string(15) "220.241.212.216"
        ["modified_by"]=>
        string(2) "19"
        ["modified_date"]=>
        string(19) "2020-03-28 18:11:15"
        ["modified_ip"]=>
        string(13) "168.70.65.125"
        ["approved_by"]=>
        NULL
        ["approved_date"]=>
        NULL
        ["approved_ip"]=>
        NULL
        ["submitted_by"]=>
        string(2) "19"
        ["submitted_date"]=>
        string(19) "2020-03-28 18:12:18"
        ["submitted_ip"]=>
        string(13) "168.70.65.125"
        ["commited"]=>
        string(1) "1"
        ["approval_status"]=>
        string(1) "3"
        ["active"]=>
        string(1) "1"
        ["deleted"]=>
        string(1) "0"
      }
      [3]=>
      array(41) {
        ["row_num"]=>
        string(1) "4"
        ["uid"]=>
        string(5) "12097"
        ["master_id"]=>
        string(3) "398"
        ["locale"]=>
        string(2) "en"
        ["ranking"]=>
        string(1) "2"
        ["display_date"]=>
        string(19) "2020-01-09 00:00:00"
        ["store"]=>
        string(3) "tst"
        ["title"]=>
        string(31) "SOGO Chinese New Year Food Fair"
        ["event_period"]=>
        string(20) "31/12/2019-28/1/2020"
        ["template"]=>
        string(1) "1"
        ["description"]=>
        string(0) ""
        ["pdf"]=>
        string(0) ""
        ["url_name"]=>
        string(0) ""
        ["happening"]=>
        string(1) "1"
        ["highlight"]=>
        string(1) "1"
        ["show_at_index"]=>
        string(1) "1"
        ["thumbnail"]=>
        string(92) "/uploads/images/mainsite/event%26promotion/original_image/20200107/311219_TST_FM_CNY_376.jpg"
        ["thumb_alt"]=>
        string(0) ""
        ["index_image"]=>
        string(87) "/uploads/images/mainsite/event%26promotion/theme20201/16_21_B2_topicon_TST_20200109.jpg"
        ["index_alt"]=>
        string(0) ""
        ["link"]=>
        string(0) ""
        ["popup_type"]=>
        string(1) "1"
        ["happening_end_date"]=>
        string(19) "2020-01-29 00:00:00"
        ["extracted_pdf"]=>
        string(1) "0"
        ["version"]=>
        string(1) "9"
        ["created_by"]=>
        string(2) "19"
        ["created_date"]=>
        string(19) "2020-01-09 15:26:21"
        ["created_ip"]=>
        string(15) "220.241.212.216"
        ["modified_by"]=>
        string(2) "19"
        ["modified_date"]=>
        string(19) "2020-01-29 17:07:38"
        ["modified_ip"]=>
        string(15) "220.241.212.216"
        ["approved_by"]=>
        NULL
        ["approved_date"]=>
        NULL
        ["approved_ip"]=>
        NULL
        ["submitted_by"]=>
        string(2) "20"
        ["submitted_date"]=>
        string(19) "2020-01-31 22:54:24"
        ["submitted_ip"]=>
        string(14) "220.246.187.77"
        ["commited"]=>
        string(1) "1"
        ["approval_status"]=>
        string(1) "3"
        ["active"]=>
        string(1) "1"
        ["deleted"]=>
        string(1) "0"
      }
    }
  }
  ["sql"]=>
  string(836) "
				SELECT * FROM (
					
				SELECT
					@row:=@row+1 as row_num, promotion.*
				FROM ms_promotion_master promotion
				INNER JOIN (
					SELECT master_id, max(version) currentVersion, commited FROM ms_promotion_master
					WHERE commited = 1
					GROUP BY master_id
				) versioning ON
					versioning.master_id = promotion.master_id
					AND versioning.currentVersion = promotion.version
				INNER JOIN (select @row:=0)r
				WHERE
					promotion.locale = :LOCALE AND
					promotion.active = 1 AND
					promotion.deleted = 0
					AND promotion.store = :store AND
					promotion.display_date <= NOW() AND
					highlight = :HIGHLIGHT AND
					template <> :TEMPLATE
				 ORDER BY ranking ASC, display_date DESC
			
				) RS
				WHERE row_num BETWEEN :START_RECORD AND :END_RECORD
				ORDER BY row_num ASC
			"
  ["dbParam"]=>
  array(6) {
    [0]=>
    array(2) {
      ["name"]=>
      string(7) ":LOCALE"
      ["value"]=>
      string(2) "en"
    }
    [1]=>
    array(2) {
      ["name"]=>
      string(6) ":store"
      ["value"]=>
      string(3) "tst"
    }
    [2]=>
    array(2) {
      ["name"]=>
      string(10) ":HIGHLIGHT"
      ["value"]=>
      int(1)
    }
    [3]=>
    array(2) {
      ["name"]=>
      string(9) ":TEMPLATE"
      ["value"]=>
      int(4)
    }
    [4]=>
    array(2) {
      ["name"]=>
      string(13) ":START_RECORD"
      ["value"]=>
      int(1)
    }
    [5]=>
    array(2) {
      ["name"]=>
      string(11) ":END_RECORD"
      ["value"]=>
      int(4)
    }
  }
}
SOGO
| Home
Caring Company 2018/2019

MENU
| Home
Caring Company 2018/2019