array(4) {
  ["hasError"]=>
  bool(false)
  ["ResponseObj"]=>
  array(1) {
    ["Items"]=>
    array(4) {
      [0]=>
      array(41) {
        ["row_num"]=>
        string(1) "1"
        ["uid"]=>
        string(5) "13558"
        ["master_id"]=>
        string(3) "407"
        ["locale"]=>
        string(2) "en"
        ["ranking"]=>
        string(1) "4"
        ["display_date"]=>
        string(19) "2020-05-18 00:00:00"
        ["store"]=>
        string(3) "cwb"
        ["title"]=>
        string(10) "BALLY Sale"
        ["event_period"]=>
        string(15) "7/10-12/10/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/20201006/071020_16F_510x750(1).jpg"
        ["thumb_alt"]=>
        string(0) ""
        ["index_image"]=>
        string(88) "/uploads/images/mainsite/event%26promotion/original_image/20201006/202010_16F_188_v1.jpg"
        ["index_alt"]=>
        string(0) ""
        ["link"]=>
        string(0) ""
        ["popup_type"]=>
        string(1) "1"
        ["happening_end_date"]=>
        string(19) "2020-10-13 00:00:00"
        ["extracted_pdf"]=>
        string(1) "0"
        ["version"]=>
        string(2) "55"
        ["created_by"]=>
        string(2) "19"
        ["created_date"]=>
        string(19) "2020-03-20 09:55:12"
        ["created_ip"]=>
        string(15) "220.241.212.216"
        ["modified_by"]=>
        string(2) "19"
        ["modified_date"]=>
        string(19) "2020-10-14 10:09:18"
        ["modified_ip"]=>
        string(15) "220.241.212.216"
        ["approved_by"]=>
        NULL
        ["approved_date"]=>
        NULL
        ["approved_ip"]=>
        NULL
        ["submitted_by"]=>
        string(2) "24"
        ["submitted_date"]=>
        string(19) "2020-10-14 10:27:39"
        ["submitted_ip"]=>
        string(15) "220.241.212.216"
        ["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) "13507"
        ["master_id"]=>
        string(1) "4"
        ["locale"]=>
        string(2) "en"
        ["ranking"]=>
        string(1) "5"
        ["display_date"]=>
        string(19) "2020-01-01 00:00:00"
        ["store"]=>
        string(3) "cwb"
        ["title"]=>
        string(12) "agnes b sale"
        ["event_period"]=>
        string(15) "7/10-12/10/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(151) "/uploads/images/mainsite/event%26promotion/original_image/20201006/Agnes%20b_07%20SOGO-35TH-21F-Signboard-in-front-of-Venue-Entrance_2020_OL-01_356.jpg"
        ["thumb_alt"]=>
        string(13) "21/F Ballroom"
        ["index_image"]=>
        string(94) "/uploads/images/mainsite/event%26promotion/original_image/20201006/202010_agnes%20b_188_v1.jpg"
        ["index_alt"]=>
        string(13) "21/F Ballroom"
        ["link"]=>
        string(68) "http://www.sogo.com.hk/cwb/en/thankfulweek/site/index.php?section=54"
        ["popup_type"]=>
        string(1) "2"
        ["happening_end_date"]=>
        string(19) "2020-10-13 00:00:00"
        ["extracted_pdf"]=>
        string(1) "0"
        ["version"]=>
        string(3) "423"
        ["created_by"]=>
        string(1) "1"
        ["created_date"]=>
        string(19) "2014-05-07 14:59:32"
        ["created_ip"]=>
        string(9) "127.0.0.1"
        ["modified_by"]=>
        string(2) "19"
        ["modified_date"]=>
        string(19) "2020-10-06 18:29:12"
        ["modified_ip"]=>
        string(15) "220.241.212.216"
        ["approved_by"]=>
        NULL
        ["approved_date"]=>
        NULL
        ["approved_ip"]=>
        NULL
        ["submitted_by"]=>
        string(2) "24"
        ["submitted_date"]=>
        string(19) "2020-10-06 22:02:37"
        ["submitted_ip"]=>
        string(13) "211.23.95.246"
        ["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) "13555"
        ["master_id"]=>
        string(1) "3"
        ["locale"]=>
        string(2) "en"
        ["ranking"]=>
        string(1) "6"
        ["display_date"]=>
        string(19) "2020-08-04 00:00:00"
        ["store"]=>
        string(3) "cwb"
        ["title"]=>
        string(16) "Taiwan Food Fair"
        ["event_period"]=>
        string(16) "12/10-20/10/2020"
        ["template"]=>
        string(1) "1"
        ["description"]=>
        string(0) ""
        ["pdf"]=>
        string(45) "/uploads/files/Pdf/e-book/b2cnyhpbl20171_.pdf"
        ["url_name"]=>
        string(14) "b2cnyhpbl20171"
        ["happening"]=>
        string(1) "1"
        ["highlight"]=>
        string(1) "1"
        ["show_at_index"]=>
        string(1) "1"
        ["thumbnail"]=>
        string(87) "/uploads/images/mainsite/event%26promotion/original_image/20201006/101220_B2_HB_356.jpg"
        ["thumb_alt"]=>
        string(14) "B2/F Food Fair"
        ["index_image"]=>
        string(84) "/uploads/images/mainsite/event%26promotion/original_image/20201006/202012_B2_188.jpg"
        ["index_alt"]=>
        string(14) "B2/F Food Fair"
        ["link"]=>
        string(45) "https://www.sogo.com.hk/edm/b2cnybl201812.pdf"
        ["popup_type"]=>
        string(1) "1"
        ["happening_end_date"]=>
        string(19) "2020-10-21 00:00:00"
        ["extracted_pdf"]=>
        string(1) "0"
        ["version"]=>
        string(3) "369"
        ["created_by"]=>
        string(1) "1"
        ["created_date"]=>
        string(19) "2014-05-07 14:58:11"
        ["created_ip"]=>
        string(9) "127.0.0.1"
        ["modified_by"]=>
        string(2) "24"
        ["modified_date"]=>
        string(19) "2020-10-12 11:40:03"
        ["modified_ip"]=>
        string(15) "220.241.212.216"
        ["approved_by"]=>
        NULL
        ["approved_date"]=>
        NULL
        ["approved_ip"]=>
        NULL
        ["submitted_by"]=>
        string(2) "24"
        ["submitted_date"]=>
        string(19) "2020-10-12 11:40:18"
        ["submitted_ip"]=>
        string(15) "220.241.212.216"
        ["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) "13378"
        ["master_id"]=>
        string(3) "427"
        ["locale"]=>
        string(2) "en"
        ["ranking"]=>
        string(1) "7"
        ["display_date"]=>
        string(19) "2020-09-01 00:00:00"
        ["store"]=>
        string(3) "cwb"
        ["title"]=>
        string(16) "Dazzling Rewards"
        ["event_period"]=>
        string(13) "2/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(108) "/uploads/images/mainsite/event%26promotion/original_image/20200901/020920_B1FGF1F_Dazzling%20Rewards_356.jpg"
        ["thumb_alt"]=>
        string(0) ""
        ["index_image"]=>
        string(103) "/uploads/images/mainsite/event%26promotion/original_image/20200901/20200831_Dazzling_Rewards_188_v1.jpg"
        ["index_alt"]=>
        string(0) ""
        ["link"]=>
        string(0) ""
        ["popup_type"]=>
        string(1) "1"
        ["happening_end_date"]=>
        string(19) "2020-09-16 00:00:00"
        ["extracted_pdf"]=>
        string(1) "0"
        ["version"]=>
        string(1) "1"
        ["created_by"]=>
        string(2) "19"
        ["created_date"]=>
        string(19) "2020-09-01 17:36:21"
        ["created_ip"]=>
        string(15) "220.241.212.216"
        ["modified_by"]=>
        string(2) "19"
        ["modified_date"]=>
        string(19) "2020-09-01 17:36:21"
        ["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-01 22:13: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"
      }
    }
  }
  ["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) "cwb"
    }
    [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