diff --git a/image/display_point_campaign/arrow_left.png b/image/display_point_campaign/arrow_left.png new file mode 100644 index 00000000..5dd9f113 Binary files /dev/null and b/image/display_point_campaign/arrow_left.png differ diff --git a/image/display_point_campaign/arrow_right.png b/image/display_point_campaign/arrow_right.png new file mode 100644 index 00000000..801d4009 Binary files /dev/null and b/image/display_point_campaign/arrow_right.png differ diff --git a/image/display_point_campaign/back_icon.png b/image/display_point_campaign/back_icon.png new file mode 100644 index 00000000..921802aa Binary files /dev/null and b/image/display_point_campaign/back_icon.png differ diff --git a/image/display_point_campaign/cancel_btn.png b/image/display_point_campaign/cancel_btn.png new file mode 100644 index 00000000..6bef73a6 Binary files /dev/null and b/image/display_point_campaign/cancel_btn.png differ diff --git a/image/display_point_campaign/cancel_btn_pressed.png b/image/display_point_campaign/cancel_btn_pressed.png new file mode 100644 index 00000000..36e9bd4a Binary files /dev/null and b/image/display_point_campaign/cancel_btn_pressed.png differ diff --git a/image/display_point_campaign/change_pass_btn.png b/image/display_point_campaign/change_pass_btn.png new file mode 100644 index 00000000..faad26fc Binary files /dev/null and b/image/display_point_campaign/change_pass_btn.png differ diff --git a/image/display_point_campaign/change_pass_btn_pressed.png b/image/display_point_campaign/change_pass_btn_pressed.png new file mode 100644 index 00000000..31ab84d8 Binary files /dev/null and b/image/display_point_campaign/change_pass_btn_pressed.png differ diff --git a/image/display_point_campaign/check_taobin_shell.png b/image/display_point_campaign/check_taobin_shell.png new file mode 100644 index 00000000..fd15a7e6 Binary files /dev/null and b/image/display_point_campaign/check_taobin_shell.png differ diff --git a/image/display_point_campaign/check_taobin_shell_press.png b/image/display_point_campaign/check_taobin_shell_press.png new file mode 100644 index 00000000..485ab5c0 Binary files /dev/null and b/image/display_point_campaign/check_taobin_shell_press.png differ diff --git a/image/display_point_campaign/luckydraw_detail_container.png b/image/display_point_campaign/luckydraw_detail_container.png new file mode 100644 index 00000000..1575b719 Binary files /dev/null and b/image/display_point_campaign/luckydraw_detail_container.png differ diff --git a/image/display_point_campaign/member_card.png b/image/display_point_campaign/member_card.png new file mode 100644 index 00000000..605d249d Binary files /dev/null and b/image/display_point_campaign/member_card.png differ diff --git a/image/display_point_campaign/prize_byd_atto3_standard_range.png b/image/display_point_campaign/prize_byd_atto3_standard_range.png new file mode 100644 index 00000000..e56bf812 Binary files /dev/null and b/image/display_point_campaign/prize_byd_atto3_standard_range.png differ diff --git a/image/display_point_campaign/prize_iphone15.png b/image/display_point_campaign/prize_iphone15.png new file mode 100644 index 00000000..af8fe597 Binary files /dev/null and b/image/display_point_campaign/prize_iphone15.png differ diff --git a/image/display_point_campaign/prize_ora_gootcat.png b/image/display_point_campaign/prize_ora_gootcat.png new file mode 100644 index 00000000..a1c6a4f9 Binary files /dev/null and b/image/display_point_campaign/prize_ora_gootcat.png differ diff --git a/image/display_point_campaign/prize_tesla_model3.png b/image/display_point_campaign/prize_tesla_model3.png new file mode 100644 index 00000000..ca96327b Binary files /dev/null and b/image/display_point_campaign/prize_tesla_model3.png differ diff --git a/image/display_point_campaign/topup_btn.png b/image/display_point_campaign/topup_btn.png new file mode 100644 index 00000000..570aa50b Binary files /dev/null and b/image/display_point_campaign/topup_btn.png differ diff --git a/image/display_point_campaign/topup_btn_pressed.png b/image/display_point_campaign/topup_btn_pressed.png new file mode 100644 index 00000000..3416b2e0 Binary files /dev/null and b/image/display_point_campaign/topup_btn_pressed.png differ diff --git a/image/display_point_campaign_en/cancel_btn.png b/image/display_point_campaign_en/cancel_btn.png new file mode 100644 index 00000000..b65903b6 Binary files /dev/null and b/image/display_point_campaign_en/cancel_btn.png differ diff --git a/image/display_point_campaign_en/cancel_btn_pressed.png b/image/display_point_campaign_en/cancel_btn_pressed.png new file mode 100644 index 00000000..7849e01e Binary files /dev/null and b/image/display_point_campaign_en/cancel_btn_pressed.png differ diff --git a/image/display_point_campaign_en/change_pass_btn.png b/image/display_point_campaign_en/change_pass_btn.png new file mode 100644 index 00000000..621d6f1d Binary files /dev/null and b/image/display_point_campaign_en/change_pass_btn.png differ diff --git a/image/display_point_campaign_en/change_pass_btn_pressed.png b/image/display_point_campaign_en/change_pass_btn_pressed.png new file mode 100644 index 00000000..cd44eac7 Binary files /dev/null and b/image/display_point_campaign_en/change_pass_btn_pressed.png differ diff --git a/image/display_point_campaign_en/check_taobin_shell.png b/image/display_point_campaign_en/check_taobin_shell.png new file mode 100644 index 00000000..a7b55f92 Binary files /dev/null and b/image/display_point_campaign_en/check_taobin_shell.png differ diff --git a/image/display_point_campaign_en/check_taobin_shell_press.png b/image/display_point_campaign_en/check_taobin_shell_press.png new file mode 100644 index 00000000..5ca56fc8 Binary files /dev/null and b/image/display_point_campaign_en/check_taobin_shell_press.png differ diff --git a/image/display_point_campaign_en/luckydraw_detail_container.png b/image/display_point_campaign_en/luckydraw_detail_container.png new file mode 100644 index 00000000..a5f18156 Binary files /dev/null and b/image/display_point_campaign_en/luckydraw_detail_container.png differ diff --git a/image/display_point_campaign_en/topup_btn.png b/image/display_point_campaign_en/topup_btn.png new file mode 100644 index 00000000..b2b90f85 Binary files /dev/null and b/image/display_point_campaign_en/topup_btn.png differ diff --git a/image/display_point_campaign_en/topup_btn_pressed.png b/image/display_point_campaign_en/topup_btn_pressed.png new file mode 100644 index 00000000..8ecba5ef Binary files /dev/null and b/image/display_point_campaign_en/topup_btn_pressed.png differ diff --git a/xml/event/tricker.ev b/xml/event/tricker.ev index 1af03e04..ba5457a6 100644 --- a/xml/event/tricker.ev +++ b/xml/event/tricker.ev @@ -114,6 +114,8 @@ Var NewFlowPaymentCode = 0 Var XMLLiveInfoEnable = 0 +Var CheckMemberPageCampaign = 0 + If SystemDateMonthInt = 10 Then @@ -337,6 +339,7 @@ If BoxID = 105005 Then Var EnergyDrink1BathPro = 1 Var CoffeeDrink1BathPro = 0 Var NamHomCoconutPro = 1 + Var CheckMemberPageCampaign = 1 EndIf If BoxID = 200001 Then diff --git a/xml/page_check_member2.xml b/xml/page_check_member2.xml index 429cdc4d..f3ec3acb 100644 --- a/xml/page_check_member2.xml +++ b/xml/page_check_member2.xml @@ -8,6 +8,10 @@ ; On open + If CheckMemberPageCampaign = 1 Then + Open "ROOT/taobin_project/xml/page_check_member2_campaign.xml" + EndIf + Var Timeout = 0 If show_eng = "true" Then diff --git a/xml/page_check_member2_campaign.xml b/xml/page_check_member2_campaign.xml index 429cdc4d..05edc17e 100644 --- a/xml/page_check_member2_campaign.xml +++ b/xml/page_check_member2_campaign.xml @@ -12,18 +12,16 @@ If show_eng = "true" Then Var DirImage = "ROOT/taobin_project/image/display_point_en" - Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png" + Var DirImageCampaign = "ROOT/taobin_project/image/display_point_campaign_en" Else Var DirImage = "ROOT/taobin_project/image/display_point" - Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png" + Var DirImageCampaign = "ROOT/taobin_project/image/display_point_campaign" EndIf If show_eng = "true" Then Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png" Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png" - - Else Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png" Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png" @@ -432,243 +430,175 @@ EndIf - + If CouponIDA = "" Then + Else + + Var CouponSTA = "Enable" + Var CouponExireA_D = "" + Var CouponExireA_M = "" + Var CouponExireA_Y = "" + Var CouponTypeA = "" + Var CouponNameA = "" + SPLIT CouponInfoA "/" 2 CouponTypeA + SPLIT CouponInfoA "/" 4 CouponExireA_D + SPLIT CouponInfoA "/" 5 CouponExireA_M + SPLIT CouponInfoA "/" 6 CouponExireA_Y + + + If CouponTypeA = "100" Then + Var CouponNameA = "/imgCouponC33.png" + EndIf + If CouponTypeA = "101" Then + Var CouponNameA = "/imgCouponC44.png" + EndIf + If CouponTypeA = "102" Then + Var CouponNameA = "/imgCouponC39.png" + EndIf + If CouponTypeA = "103" Then + Var CouponNameA = "/imgCouponC40.png" + EndIf + If CouponTypeA = "105" Then + Var CouponNameA = "/imgCouponC38.png" + EndIf + If CouponTypeA = "106" Then + Var CouponNameA = "/imgCouponC41.png" + EndIf + If CouponTypeA = "107" Then + Var CouponNameA = "/imgCouponC42.png" + EndIf + If CouponTypeA = "109" Then + Var CouponNameA = "/imgCouponC33.png" + EndIf + If CouponTypeA = "112" Then + Var CouponNameA = "/imgCoupon112.png" + EndIf + If CouponTypeA = "113" Then + Var CouponNameA = "/imgCoupon113.png" + EndIf + + If CouponTypeA = "120" Then + Var CouponNameA = "/imgCoupon120.png" + EndIf + If CouponTypeA = "121" Then + Var CouponNameA = "/imgCoupon121.png" + EndIf + + INT CouponExireA_D + INT CouponExireA_Y + Var CouponExireA_Y = CouponExireA_Y + 0 + + Var CouponExpireA = CouponExpireA + CouponExireA_D + Var CouponExpireA = CouponExpireA + " " + Var CouponExpireA = CouponExpireA + CouponExireA_M + Var CouponExpireA = CouponExpireA + " " + Var CouponExpireA = CouponExpireA + CouponExireA_Y + + EndIf + + If CouponIDB = "" Then + Else + + + Var CouponSTB = "Enable" + Var CouponExireB_D = "" + Var CouponExireB_M = "" + Var CouponExireB_Y = "" + Var CouponTypeB = "" + Var CouponNameB = "" + + SPLIT CouponInfoB "/" 2 CouponTypeB + SPLIT CouponInfoB "/" 4 CouponExireB_D + SPLIT CouponInfoB "/" 5 CouponExireB_M + SPLIT CouponInfoB "/" 6 CouponExireB_Y + + + If CouponTypeB = "100" Then + Var CouponNameB = "/imgCouponC33.png" + EndIf + If CouponTypeB = "101" Then + Var CouponNameB = "/imgCouponC44.png" + EndIf + If CouponTypeB = "102" Then + Var CouponNameB = "/imgCouponC39.png" + EndIf + If CouponTypeB = "103" Then + Var CouponNameB = "/imgCouponC40.png" + EndIf + If CouponTypeB = "105" Then + Var CouponNameB = "/imgCouponC38.png" + EndIf + If CouponTypeB = "106" Then + Var CouponNameB = "/imgCouponC41.png" + EndIf + If CouponTypeB = "107" Then + Var CouponNameB = "/imgCouponC42.png" + EndIf + If CouponTypeB = "109" Then + Var CouponNameB = "/imgCouponC33.png" + EndIf + If CouponTypeB = "112" Then + Var CouponNameB = "/imgCoupon112.png" + EndIf + If CouponTypeB = "113" Then + Var CouponNameB = "/imgCoupon113.png" + EndIf + + If CouponTypeB = "120" Then + Var CouponNameB = "/imgCoupon120.png" + EndIf + If CouponTypeB = "121" Then + Var CouponNameB = "/imgCoupon121.png" + EndIf + + INT CouponExireB_D + INT CouponExireB_Y + Var CouponExireB_Y = CouponExireB_Y + 0 + + Var CouponExpireB = CouponExpireB + CouponExireB_D + Var CouponExpireB = CouponExpireB + " " + Var CouponExpireB = CouponExpireB + CouponExireB_M + Var CouponExpireB = CouponExpireB + " " + Var CouponExpireB = CouponExpireB + CouponExireB_Y + + EndIf If show_eng = "true" Then + Var Months[0] = "January" + Var Months[1] = "February" + Var Months[2] = "March" + Var Months[3] = "April" + Var Months[4] = "May" + Var Months[5] = "June" + Var Months[6] = "July" + Var Months[7] = "August" + Var Months[8] = "September" + Var Months[9] = "October" + Var Months[10] = "November" + Var Months[11] = "December" + + + If CouponIDA = "" Then Else - - Var CouponSTA = "Enable" - Var CouponExireA_D = "" - Var CouponExireA_M = "" - Var CouponExireA_Y = "" - Var CouponTypeA = "" - Var CouponNameA = "" - - - SPLIT CouponInfoA "/" 2 CouponTypeA - SPLIT CouponInfoA "/" 4 CouponExireA_D - SPLIT CouponInfoA "/" 5 CouponExireA_M - SPLIT CouponInfoA "/" 6 CouponExireA_Y - - - If CouponTypeA = "100" Then - Var CouponNameA = "/imgCouponC33.png" - EndIf - If CouponTypeA = "101" Then - Var CouponNameA = "/imgCouponC44.png" - EndIf - If CouponTypeA = "102" Then - Var CouponNameA = "/imgCouponC39.png" - EndIf - If CouponTypeA = "103" Then - Var CouponNameA = "/imgCouponC40.png" - EndIf - If CouponTypeA = "105" Then - Var CouponNameA = "/imgCouponC38.png" - EndIf - If CouponTypeA = "106" Then - Var CouponNameA = "/imgCouponC41.png" - EndIf - If CouponTypeA = "107" Then - Var CouponNameA = "/imgCouponC42.png" - EndIf - If CouponTypeA = "109" Then - Var CouponNameA = "/imgCouponC33.png" - EndIf - If CouponTypeA = "112" Then - Var CouponNameA = "/imgCoupon112.png" - EndIf - If CouponTypeA = "113" Then - Var CouponNameA = "/imgCoupon113.png" - EndIf - - If CouponTypeA = "120" Then - Var CouponNameA = "/imgCoupon120.png" - EndIf - If CouponTypeA = "121" Then - Var CouponNameA = "/imgCoupon121.png" - EndIf - - INT CouponExireA_D - INT CouponExireA_Y - Var CouponExireA_Y = CouponExireA_Y + 0 - - If CouponExireA_M = "01" Then - Var CouponExireA_M = "January" - EndIf - - If CouponExireA_M = "02" Then - Var CouponExireA_M = "February" - EndIf - - If CouponExireA_M = "03" Then - Var CouponExireA_M = "March" - EndIf - - If CouponExireA_M = "04" Then - Var CouponExireA_M = "April" - EndIf - - If CouponExireA_M = "05" Then - Var CouponExireA_M = "May" - EndIf - - If CouponExireA_M = "06" Then - Var CouponExireA_M = "June" - EndIf - - If CouponExireA_M = "07" Then - Var CouponExireA_M = "July" - EndIf - - If CouponExireA_M = "08" Then - Var CouponExireA_M = "August" - EndIf - - If CouponExireA_M = "09" Then - Var CouponExireA_M = "September" - EndIf - - If CouponExireA_M = "10" Then - Var CouponExireA_M = "October" - EndIf - - If CouponExireA_M = "11" Then - Var CouponExireA_M = "November" - EndIf - - If CouponExireA_M = "12" Then - Var CouponExireA_M = "December" - EndIf - - Var CouponExpireA = CouponExpireA + CouponExireA_D - Var CouponExpireA = CouponExpireA + " " - Var CouponExpireA = CouponExpireA + CouponExireA_M - Var CouponExpireA = CouponExpireA + " " - Var CouponExpireA = CouponExpireA + CouponExireA_Y + Var MonthIndex = CouponExireA_M + INT MonthIndex + Var MonthIndex = MonthIndex - 1 + Var CouponExireA_M = Months[MonthIndex] Var CouponExpireA = "Expires " + CouponExpireA - - EndIf If CouponIDB = "" Then Else - - Var CouponSTB = "Enable" - Var CouponExireB_D = "" - Var CouponExireB_M = "" - Var CouponExireB_Y = "" - Var CouponTypeB = "" - Var CouponNameB = "" - - SPLIT CouponInfoB "/" 2 CouponTypeB - SPLIT CouponInfoB "/" 4 CouponExireB_D - SPLIT CouponInfoB "/" 5 CouponExireB_M - SPLIT CouponInfoB "/" 6 CouponExireB_Y - - - If CouponTypeB = "100" Then - Var CouponNameB = "/imgCouponC33.png" - EndIf - If CouponTypeB = "101" Then - Var CouponNameB = "/imgCouponC44.png" - EndIf - If CouponTypeB = "102" Then - Var CouponNameB = "/imgCouponC39.png" - EndIf - If CouponTypeB = "103" Then - Var CouponNameB = "/imgCouponC40.png" - EndIf - If CouponTypeB = "105" Then - Var CouponNameB = "/imgCouponC38.png" - EndIf - If CouponTypeB = "106" Then - Var CouponNameB = "/imgCouponC41.png" - EndIf - If CouponTypeB = "107" Then - Var CouponNameB = "/imgCouponC42.png" - EndIf - If CouponTypeB = "109" Then - Var CouponNameB = "/imgCouponC33.png" - EndIf - If CouponTypeB = "112" Then - Var CouponNameB = "/imgCoupon112.png" - EndIf - If CouponTypeB = "113" Then - Var CouponNameB = "/imgCoupon113.png" - EndIf - - If CouponTypeB = "120" Then - Var CouponNameB = "/imgCoupon120.png" - EndIf - If CouponTypeB = "121" Then - Var CouponNameB = "/imgCoupon121.png" - EndIf - - INT CouponExireB_D - INT CouponExireB_Y - Var CouponExireB_Y = CouponExireB_Y + 0 - - If CouponExireB_M = "01" Then - Var CouponExireB_M = "January" - EndIf - - If CouponExireB_M = "02" Then - Var CouponExireB_M = "February" - EndIf - - If CouponExireB_M = "03" Then - Var CouponExireB_M = "March" - EndIf - - If CouponExireB_M = "04" Then - Var CouponExireB_M = "April" - EndIf - - If CouponExireB_M = "05" Then - Var CouponExireB_M = "May" - EndIf - - If CouponExireB_M = "06" Then - Var CouponExireB_M = "June" - EndIf - - If CouponExireB_M = "07" Then - Var CouponExireB_M = "July" - EndIf - - If CouponExireB_M = "08" Then - Var CouponExireB_M = "August" - EndIf - - If CouponExireB_M = "09" Then - Var CouponExireB_M = "September" - EndIf - - If CouponExireB_M = "10" Then - Var CouponExireB_M = "October" - EndIf - - If CouponExireB_M = "11" Then - Var CouponExireB_M = "November" - EndIf - - If CouponExireB_M = "12" Then - Var CouponExireB_M = "December" - EndIf - - Var CouponExpireB = CouponExpireB + CouponExireB_D - Var CouponExpireB = CouponExpireB + " " - Var CouponExpireB = CouponExpireB + CouponExireB_M - Var CouponExpireB = CouponExpireB + " " - Var CouponExpireB = CouponExpireB + CouponExireB_Y + Var MonthIndex = CouponExireB_M + INT MonthIndex + Var MonthIndex = MonthIndex - 1 + Var CouponExireB_M = Months[MonthIndex] Var CouponExpireB = "Expires " + CouponExpireB @@ -679,237 +609,39 @@ Else + Var Months[0] = "มกราคม" + Var Months[1] = "กุมภาพันธ์" + Var Months[2] = "มีนาคม" + Var Months[3] = "เมษายน" + Var Months[4] = "พฤษภาคม" + Var Months[5] = "มิถุนายน" + Var Months[6] = "กรกฎาคม" + Var Months[7] = "สิงหาคม" + Var Months[8] = "กันยายน" + Var Months[9] = "ตุลาคม" + Var Months[10] = "พฤศจิกายน" + Var Months[11] = "ธันวาคม" If CouponIDA = "" Then Else - - Var CouponSTA = "Enable" - Var CouponExireA_D = "" - Var CouponExireA_M = "" - Var CouponExireA_Y = "" - Var CouponTypeA = "" - Var CouponNameA = "" - - SPLIT CouponInfoA "/" 2 CouponTypeA - SPLIT CouponInfoA "/" 4 CouponExireA_D - SPLIT CouponInfoA "/" 5 CouponExireA_M - SPLIT CouponInfoA "/" 6 CouponExireA_Y - - If CouponTypeA = "100" Then - Var CouponNameA = "/imgCouponC33.png" - EndIf - If CouponTypeA = "101" Then - Var CouponNameA = "/imgCouponC44.png" - EndIf - If CouponTypeA = "102" Then - Var CouponNameA = "/imgCouponC39.png" - EndIf - If CouponTypeA = "103" Then - Var CouponNameA = "/imgCouponC40.png" - EndIf - If CouponTypeA = "105" Then - Var CouponNameA = "/imgCouponC38.png" - EndIf - If CouponTypeA = "106" Then - Var CouponNameA = "/imgCouponC41.png" - EndIf - If CouponTypeA = "107" Then - Var CouponNameA = "/imgCouponC42.png" - EndIf - If CouponTypeA = "109" Then - Var CouponNameA = "/imgCouponC33.png" - EndIf - If CouponTypeA = "112" Then - Var CouponNameA = "/imgCoupon112.png" - EndIf - If CouponTypeA = "113" Then - Var CouponNameA = "/imgCoupon113.png" - EndIf - - If CouponTypeA = "120" Then - Var CouponNameA = "/imgCoupon120.png" - EndIf - If CouponTypeA = "121" Then - Var CouponNameA = "/imgCoupon121.png" - EndIf - - INT CouponExireA_D - INT CouponExireA_Y - Var CouponExireA_Y = CouponExireA_Y + 543 - - If CouponExireA_M = "01" Then - Var CouponExireA_M = "มกราคม" - EndIf - - If CouponExireA_M = "02" Then - Var CouponExireA_M = "กุมภาพันธ์" - EndIf - - If CouponExireA_M = "03" Then - Var CouponExireA_M = "มีนาคม" - EndIf - - If CouponExireA_M = "04" Then - Var CouponExireA_M = "เมษายน" - EndIf - - If CouponExireA_M = "05" Then - Var CouponExireA_M = "พฤษภาคม" - EndIf - - If CouponExireA_M = "06" Then - Var CouponExireA_M = "มิถุนายน" - EndIf - - If CouponExireA_M = "07" Then - Var CouponExireA_M = "กรกฎาคม" - EndIf - - If CouponExireA_M = "08" Then - Var CouponExireA_M = "สิงหาคม" - EndIf - - If CouponExireA_M = "09" Then - Var CouponExireA_M = "กันยายน" - EndIf - - If CouponExireA_M = "10" Then - Var CouponExireA_M = "ตุลาคม" - EndIf - - If CouponExireA_M = "11" Then - Var CouponExireA_M = "พฤศจิกายน" - EndIf - - If CouponExireA_M = "12" Then - Var CouponExireA_M = "ธันวาคม" - EndIf - - Var CouponExpireA = CouponExpireA + CouponExireA_D - Var CouponExpireA = CouponExpireA + " " - Var CouponExpireA = CouponExpireA + CouponExireA_M - Var CouponExpireA = CouponExpireA + " " - Var CouponExpireA = CouponExpireA + CouponExireA_Y + Var MonthIndex = CouponExireA_M + INT MonthIndex + Var MonthIndex = MonthIndex - 1 + Var CouponExireA_M = Months[MonthIndex] Var CouponExpireA = "หมดอายุ " + CouponExpireA - - EndIf If CouponIDB = "" Then Else - - Var CouponSTB = "Enable" - Var CouponExireB_D = "" - Var CouponExireB_M = "" - Var CouponExireB_Y = "" - Var CouponTypeB = "" - Var CouponNameB = "" - - SPLIT CouponInfoB "/" 2 CouponTypeB - SPLIT CouponInfoB "/" 4 CouponExireB_D - SPLIT CouponInfoB "/" 5 CouponExireB_M - SPLIT CouponInfoB "/" 6 CouponExireB_Y - - If CouponTypeB = "100" Then - Var CouponNameB = "/imgCouponC33.png" - EndIf - If CouponTypeB = "101" Then - Var CouponNameB = "/imgCouponC44.png" - EndIf - If CouponTypeB = "102" Then - Var CouponNameB = "/imgCouponC39.png" - EndIf - If CouponTypeB = "103" Then - Var CouponNameB = "/imgCouponC40.png" - EndIf - If CouponTypeB = "105" Then - Var CouponNameB = "/imgCouponC38.png" - EndIf - If CouponTypeB = "106" Then - Var CouponNameB = "/imgCouponC41.png" - EndIf - If CouponTypeB = "107" Then - Var CouponNameB = "/imgCouponC42.png" - EndIf - If CouponTypeB = "109" Then - Var CouponNameB = "/imgCouponC33.png" - EndIf - If CouponTypeB = "112" Then - Var CouponNameB = "/imgCoupon112.png" - EndIf - If CouponTypeB = "113" Then - Var CouponNameB = "/imgCoupon113.png" - EndIf - - If CouponTypeB = "120" Then - Var CouponNameB = "/imgCoupon120.png" - EndIf - If CouponTypeB = "121" Then - Var CouponNameB = "/imgCoupon121.png" - EndIf - - INT CouponExireB_D - INT CouponExireB_Y - Var CouponExireB_Y = CouponExireB_Y + 543 - - If CouponExireB_M = "01" Then - Var CouponExireB_M = "มกราคม" - EndIf - - If CouponExireB_M = "02" Then - Var CouponExireB_M = "กุมภาพันธ์" - EndIf - - If CouponExireB_M = "03" Then - Var CouponExireB_M = "มีนาคม" - EndIf - - If CouponExireB_M = "04" Then - Var CouponExireB_M = "เมษายน" - EndIf - - If CouponExireB_M = "05" Then - Var CouponExireB_M = "พฤษภาคม" - EndIf - - If CouponExireB_M = "06" Then - Var CouponExireB_M = "มิถุนายน" - EndIf - - If CouponExireB_M = "07" Then - Var CouponExireB_M = "กรกฎาคม" - EndIf - - If CouponExireB_M = "08" Then - Var CouponExireB_M = "สิงหาคม" - EndIf - - If CouponExireB_M = "09" Then - Var CouponExireB_M = "กันยายน" - EndIf - - If CouponExireB_M = "10" Then - Var CouponExireB_M = "ตุลาคม" - EndIf - - If CouponExireB_M = "11" Then - Var CouponExireB_M = "พฤศจิกายน" - EndIf - - If CouponExireB_M = "12" Then - Var CouponExireB_M = "ธันวาคม" - EndIf - - Var CouponExpireB = CouponExpireB + CouponExireB_D - Var CouponExpireB = CouponExpireB + " " - Var CouponExpireB = CouponExpireB + CouponExireB_M - Var CouponExpireB = CouponExpireB + " " - Var CouponExpireB = CouponExpireB + CouponExireB_Y + Var MonthIndex = CouponExireB_M + INT MonthIndex + Var MonthIndex = MonthIndex - 1 + Var CouponExireB_M = Months[MonthIndex] Var CouponExpireB = "หมดอายุ " + CouponExpireB @@ -920,6 +652,22 @@ EndIf + + + + If show_eng = "true" Then + Var MemberText = "MEMBERSHIP STATUS" + Var CreditTotalLabel = "TAO BIN CREDIT" + Var ShellTotalLabel = "TOTAL SHELL BALANCE" + Var CreditUnit = "BATH" + Var ShellUnit = "SHELLS" + Else + Var MemberText = "สถานะสมาชิก" + Var CreditTotalLabel = "เครดิตสะสม" + Var ShellTotalLabel = "กระดองสะสม" + Var CreditUnit = "บาท" + Var ShellUnit = "กระดอง" + EndIf @@ -931,24 +679,6 @@ Var bp_exit = "/bp_main.png" EndIf - - Var text5Img = "/text5.png" - - ;inter-image - If CountryName = "Malaysia" Then - Var text5Img = "/text5-MYR.png" - EndIf - - ;inter-image - If CountryName = "Indonesia" Then - Var text5Img = "/text5-IDR.png" - EndIf - - ;inter-image - If CountryName = "Singapore" Then - Var text5Img = "/text5-SGD.png" - EndIf - INT TaobinCredit Var TaobinCreditStr !assigned StringFmt( TaobinCredit, DisplayFormat, PreScaleConvertShow ) @@ -962,7 +692,7 @@ - Var Timeout = Timeout + 1 + ;Var Timeout = Timeout + 1 If Timeout > 30 Then If MakeDrinkState = 1 Then @@ -1016,13 +746,30 @@ + + - - @@ -1080,98 +825,146 @@ - 162 - 560 - Var( DirImage + text5Img ) + 142 + 516 + "ROOT/taobin_project/image/display_point_campaign/member_card.png" - 617 - 587 + 633 + 529 Var( DirImage + TaobinLeveImg ) ; - - - - - - + + 222 + 580 + 300 + 35 + KanitSemiBoldTTF + 25 + 0xFFFFFF + MemberText + - 253 - 669 - 35 - 1000 - KanitRegularTTF + 222 + 613 + 39 + 300 + KanitSemiBoldTTF 0xFFFFFF TaobinName - 253 - 720 - 20 - 1000 - KanitRegularTTF + 222 + 664 + 24 + 300 + RobotoRegular 0xFFFFFF TNumberTaobinMemberXXX Telnum-mask-1 - 546 - 865 - 70 - 384 - Center - KanitRegularTTF + 581 + 807 + 64 + 317 + 75 + center-vertical-horizontal + RobotoBold 0xDE794E CoffeePointRank - 162 - 865 - 70 - 384 - Center - KanitRegularTTF - 0xDE794E + 182 + 807 + 64 + 317 + 75 + center-vertical-horizontal + RobotoBold + 0xDE794E a TaobinCreditStr - 159 - 1000 + 182 + 772 25 - 1000 + 300 + KanitSemiBoldTTF + 0x584235 + CreditTotalLabel + + + + 581 + 772 + 25 + 300 + KanitSemiBoldTTF + 0x584235 + ShellTotalLabel + + + + 182 + 886 + 25 + 317 KanitRegularTTF + end + 0x584235 + CreditUnit + + + + 581 + 886 + 25 + 317 + KanitRegularTTF + end + 0x584235 + ShellUnit + + + + 142 + 954 + 18 + 600 + RobotoBold 0xDE794E TaobinLevelDesc1 - 159 - 1032 - 20 + 142 + 975 + 18 1000 - KanitRegularTTF + RobotoRegular 0x746253 TaobinLevelDesc2 - 372 - 1375 - 15 + 388 + 1479 + 16 600 KanitRegularTTF - 0x746253 + 0xA61100 CouponExpireA + + Open CurrentXMLFileName2 + +