diff --git a/image/page_drink_disable_n2/bn_smoothie_Lime_Oat_smoothie.png b/image/page_drink_disable_n2/bn_smoothie_Lime_Oat_smoothie.png new file mode 100644 index 00000000..7a25c101 Binary files /dev/null and b/image/page_drink_disable_n2/bn_smoothie_Lime_Oat_smoothie.png differ diff --git a/image/page_drink_disable_n2/bn_smoothie_Lychee_Oat_smoothie.png b/image/page_drink_disable_n2/bn_smoothie_Lychee_Oat_smoothie.png new file mode 100644 index 00000000..8e597d10 Binary files /dev/null and b/image/page_drink_disable_n2/bn_smoothie_Lychee_Oat_smoothie.png differ diff --git a/image/page_drink_disable_n2/bn_smoothie_Strawberry_Oat_smoothie.png b/image/page_drink_disable_n2/bn_smoothie_Strawberry_Oat_smoothie.png new file mode 100644 index 00000000..2ea36251 Binary files /dev/null and b/image/page_drink_disable_n2/bn_smoothie_Strawberry_Oat_smoothie.png differ diff --git a/image/page_drink_disable_n2/bn_smoothie_Yuzu_Oat_smoothie.png b/image/page_drink_disable_n2/bn_smoothie_Yuzu_Oat_smoothie.png new file mode 100644 index 00000000..9f4debf5 Binary files /dev/null and b/image/page_drink_disable_n2/bn_smoothie_Yuzu_Oat_smoothie.png differ diff --git a/image/page_drink_n/bn_smoothie_Lime_Oat_smoothie.png b/image/page_drink_n/bn_smoothie_Lime_Oat_smoothie.png new file mode 100644 index 00000000..4fe41e4f Binary files /dev/null and b/image/page_drink_n/bn_smoothie_Lime_Oat_smoothie.png differ diff --git a/image/page_drink_n/bn_smoothie_Lychee_Oat_smoothie.png b/image/page_drink_n/bn_smoothie_Lychee_Oat_smoothie.png new file mode 100644 index 00000000..160d924c Binary files /dev/null and b/image/page_drink_n/bn_smoothie_Lychee_Oat_smoothie.png differ diff --git a/image/page_drink_n/bn_smoothie_Strawberry_Oat_smoothie.png b/image/page_drink_n/bn_smoothie_Strawberry_Oat_smoothie.png new file mode 100644 index 00000000..ac47c113 Binary files /dev/null and b/image/page_drink_n/bn_smoothie_Strawberry_Oat_smoothie.png differ diff --git a/image/page_drink_n/bn_smoothie_Yuzu_Oat_smoothie.png b/image/page_drink_n/bn_smoothie_Yuzu_Oat_smoothie.png new file mode 100644 index 00000000..fcd43834 Binary files /dev/null and b/image/page_drink_n/bn_smoothie_Yuzu_Oat_smoothie.png differ diff --git a/image/page_drink_picture2_n/bn_smoothie_Lime_Oat_smoothie.png b/image/page_drink_picture2_n/bn_smoothie_Lime_Oat_smoothie.png new file mode 100644 index 00000000..147cc6d3 Binary files /dev/null and b/image/page_drink_picture2_n/bn_smoothie_Lime_Oat_smoothie.png differ diff --git a/image/page_drink_picture2_n/bn_smoothie_Lychee_Oat_smoothie.png b/image/page_drink_picture2_n/bn_smoothie_Lychee_Oat_smoothie.png new file mode 100644 index 00000000..377502ad Binary files /dev/null and b/image/page_drink_picture2_n/bn_smoothie_Lychee_Oat_smoothie.png differ diff --git a/image/page_drink_picture2_n/bn_smoothie_Strawberry_Oat_smoothie.png b/image/page_drink_picture2_n/bn_smoothie_Strawberry_Oat_smoothie.png new file mode 100644 index 00000000..b73ceea7 Binary files /dev/null and b/image/page_drink_picture2_n/bn_smoothie_Strawberry_Oat_smoothie.png differ diff --git a/image/page_drink_picture2_n/bn_smoothie_Yuzu_Oat_smoothie.png b/image/page_drink_picture2_n/bn_smoothie_Yuzu_Oat_smoothie.png new file mode 100644 index 00000000..7646caa0 Binary files /dev/null and b/image/page_drink_picture2_n/bn_smoothie_Yuzu_Oat_smoothie.png differ diff --git a/image/page_drink_press_n/bn_smoothie_Lime_Oat_smoothie.png b/image/page_drink_press_n/bn_smoothie_Lime_Oat_smoothie.png new file mode 100644 index 00000000..55bca046 Binary files /dev/null and b/image/page_drink_press_n/bn_smoothie_Lime_Oat_smoothie.png differ diff --git a/image/page_drink_press_n/bn_smoothie_Lychee_Oat_smoothie.png b/image/page_drink_press_n/bn_smoothie_Lychee_Oat_smoothie.png new file mode 100644 index 00000000..71dfd59d Binary files /dev/null and b/image/page_drink_press_n/bn_smoothie_Lychee_Oat_smoothie.png differ diff --git a/image/page_drink_press_n/bn_smoothie_Strawberry_Oat_smoothie.png b/image/page_drink_press_n/bn_smoothie_Strawberry_Oat_smoothie.png new file mode 100644 index 00000000..44666a61 Binary files /dev/null and b/image/page_drink_press_n/bn_smoothie_Strawberry_Oat_smoothie.png differ diff --git a/image/page_drink_press_n/bn_smoothie_Yuzu_Oat_smoothie.png b/image/page_drink_press_n/bn_smoothie_Yuzu_Oat_smoothie.png new file mode 100644 index 00000000..d925ffec Binary files /dev/null and b/image/page_drink_press_n/bn_smoothie_Yuzu_Oat_smoothie.png differ diff --git a/video/brewing_adv4.mp4 b/video/brewing_adv4.mp4 old mode 100755 new mode 100644 index d93ec965..d6d4f3b6 Binary files a/video/brewing_adv4.mp4 and b/video/brewing_adv4.mp4 differ diff --git a/xml/page_catalog_group_pro_pepween.xml b/xml/page_catalog_group_pro_pepween.xml index 4a5ebf7e..622b4cb2 100644 --- a/xml/page_catalog_group_pro_pepween.xml +++ b/xml/page_catalog_group_pro_pepween.xml @@ -1,542 +1,551 @@ - - - - "Enable" - 1080 - 1920 -; "0xeae6e1" - SoundVolume - - ; On open - Var NextPage = "-" - - DEBUGVAR ICE_PROCESS_STATUS - DEBUGVAR ICE_PROCESS_TXT - - - If show_eng = "true" Then - Var showthaiText = "Invisible" - Var showengText = "Enable" - Var DirImage = "ROOT/taobin_project/image/page3_en" - Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png" - Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png" - - Var ice_tab_text = "Ice will be ready at " - Var text_unavailable = "UNAVAILABLE###size=16" - - - Else - Var showengText = "Invisible" - Var showthaiText = "Enable" - - Var DirImage = "ROOT/taobin_project/image/page3" - Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png" - Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png" - - Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา " - Var text_unavailable = "หมด###size=32" - EndIf - - If ICE_PROCESS_STATUS = 2 Then - Var ice_tab_process_show = "Enable" - Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT - Else - Var ice_tab_process_show = "Invisible" - EndIf - - - ; SpiralOnline - - Var MenuVSelected2 = "Invisible" - - Var Menu1Selected2 = "Invisible" - Var Menu2Selected2 = "Invisible" - Var Menu3Selected2 = "Invisible" - Var Menu4Selected2 = "Invisible" - - Var Menu6Selected2 = "Invisible" - Var Menu7Selected2 = "Invisible" - Var MenuVSelected2 = "Invisible" - Var Menu11Selected2 = "Invisible" - - Var Menu21Selected2 = "Invisible" - - Var MenuVSelected2 = "Invisible" - If SpiralOnline = "true" Then - If Seeker = "curr" Then - Var MenuVSelected2 = "Enable" - EndIf - EndIf - - ; init default - Var Menu1Selected = "Enable" - Var Menu2Selected = "Enable" - Var Menu3Selected = "Enable" - Var Menu4Selected = "Enable" - ; 5 fruit - Var Menu5Selected = "Invisible" - Var Menu6Selected = "Enable" - Var Menu7Selected = "Enable" - ; 8 cocktail - Var Menu8Selected = "Invisible" - - If CocktailShow = "true" Then - Var Menu7Selected = "Invisible" - Var Menu8Selected = "Enable" - EndIf - - - If AppFastEnable = "true" Then - Var Menu11Selected = "Enable" - Var Menu21Selected = "Invisible" - Var Menu7Selected = "Invisible" - Else - If MenuKidEnable = "true" Then - Var Menu11Selected = "Invisible" - Var Menu21Selected = "Enable" - Var Menu7Selected = "Invisible" - Else - Var Menu11Selected = "Invisible" - Var Menu21Selected = "Invisible" - Var Menu7Selected = "Enable" - EndIf - EndIf - - If CocktailShow = "true" Then - Var Menu7Selected = "Invisible" - EndIf - - If RecipeTag1 = "HealthTurnOn" Then - Var Menu22Selected = "Enable" - Else - Var Menu22Selected = "Invisible" - EndIf - ; - - - Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween_fixed.xml" - - - DEBUGVAR SystemTimeHourInt - If SystemTimeHourInt >= 19 Then - Var Haunted7price = 30 - Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png" - Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png" - Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png" - Else - If SystemTimeHourInt < 5 Then - Var Haunted7price = 30 - Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png" - Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png" - Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png" - Else - Var Haunted7price = $12-99-03-0066.Price - Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods.png" - Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods.png" - Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods.png" - EndIf - EndIf - - - Var Timeout = 0 - - - - If show_eng = "true" Then - Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/" - Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" - - Else - Var DirImage2 = "ROOT/taobin_project/image/drink_option/" - Var DirImageAlter = "ROOT/taobin_project/image/page3_2/" - EndIf - - - - - -; notice enable heathy menu - - - 0 - 380 - 1080 - 1540 - "0xeae6e1" - - - - - 1000 - - ;DEBUGVAR ICE_PROCESS_STATUS - - If ICE_PROCESS_STATUS = 2 Then - Var ice_tab_process_show = "Enable" - Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT - Else - Var ice_tab_process_show = "Invisible" - EndIf - - - If NextPage = "-" Then - - Else - If CupOnArm = "true" Then - If Timeout > 9 Then - SAVELOG "COA9" - Open NextPage - EndIf - Else - If Timeout > 30 Then - SAVELOG "COA30" - Open NextPage - EndIf - EndIf - EndIf - - If Timeout > 60 Then - SAVELOG "Timeout" - If Seeker = "next" Then - Open "ROOT/taobin_project/xml/page_brewing3Conti.xml" - Else - SAVELOG "Back" - Open "ROOT/taobin_project/xml/page_back_to_main.xml" - EndIf - EndIf - - If BrewCommand = "RefreshAll" Then - Var BrewCommand = "-" - Open CurrentXMLFileName2 - EndIf - - If Seeker = "curr" Then - If DoorCupPosition = "bottom" Then - ; It normal - Var EmergencyStop = "false" - Else - Var EmergencyStop = "true" - - ;Open "ROOT/taobin_project/xml/page_back_to_error.xml" - - EndIf - EndIf - - If IgnoreNetCore = "true" Then - - Else - ;stop_now - - EndIf - - - ; zone cup on arm - If CupOnArm = "true" Then - - If CheckCupStateDoorCupClose = "" Then - If buttonRemoveCup = "Enable" Then - - Else - Refresh - EndIf - - Var buttonRemoveCup = "Enable" - - EndIf - - If CheckCupStateDoorCupClose = "done" Then - If buttonRemoveCup = "Enable" Then - - Else - Refresh - EndIf - - Var buttonRemoveCup = "Enable" - - EndIf - Else - If buttonRemoveCup = "Enable" Then - Var buttonRemoveCup = "Invisible" - Refresh - EndIf - EndIf - - - Var Timeout = Timeout + 1 - TimerReset - - - -; under line - - 0 - 494 - "ROOT/taobin_project/image/page3/tab_line_bottom.png" - - - -; under line - - 0 - 358 - "ROOT/taobin_project/image/page3/bg1.png" - - - -; back - - - - -; - - 1080 - "auto" - 0 - 395 - - "Enable" - 896 - 102 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DEBUGVAR web_ready - If web_ready = "true" Then - If web_ref = QRCODE99x Then - - Var web_readyOK = web_ready - Var web_telnumOK = web_telnum - - Var web_app_prepar = "true" - Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" - - EndIf - Else - EndIf - - - - - - - - - + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + Var NextPage = "-" + + DEBUGVAR ICE_PROCESS_STATUS + DEBUGVAR ICE_PROCESS_TXT + + + If show_eng = "true" Then + Var showthaiText = "Invisible" + Var showengText = "Enable" + Var DirImage = "ROOT/taobin_project/image/page3_en" + Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png" + Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png" + + Var ice_tab_text = "Ice will be ready at " + Var text_unavailable = "UNAVAILABLE###size=16" + + + Else + Var showengText = "Invisible" + Var showthaiText = "Enable" + + Var DirImage = "ROOT/taobin_project/image/page3" + Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png" + Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png" + + Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา " + Var text_unavailable = "หมด###size=32" + EndIf + + If ICE_PROCESS_STATUS = 2 Then + Var ice_tab_process_show = "Enable" + Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT + Else + Var ice_tab_process_show = "Invisible" + EndIf + + + ; SpiralOnline + + Var MenuVSelected2 = "Invisible" + + Var Menu1Selected2 = "Invisible" + Var Menu2Selected2 = "Invisible" + Var Menu3Selected2 = "Invisible" + Var Menu4Selected2 = "Invisible" + + Var Menu6Selected2 = "Invisible" + Var Menu7Selected2 = "Invisible" + Var MenuVSelected2 = "Invisible" + Var Menu11Selected2 = "Invisible" + + Var Menu21Selected2 = "Invisible" + + Var MenuVSelected2 = "Invisible" + If SpiralOnline = "true" Then + If Seeker = "curr" Then + Var MenuVSelected2 = "Enable" + EndIf + EndIf + + ; init default + Var Menu1Selected = "Enable" + Var Menu2Selected = "Enable" + Var Menu3Selected = "Enable" + Var Menu4Selected = "Enable" + ; 5 fruit + Var Menu5Selected = "Invisible" + Var Menu6Selected = "Enable" + Var Menu7Selected = "Enable" + ; 8 cocktail + Var Menu8Selected = "Invisible" + + If CocktailShow = "true" Then + Var Menu7Selected = "Invisible" + Var Menu8Selected = "Enable" + EndIf + + + If AppFastEnable = "true" Then + Var Menu11Selected = "Enable" + Var Menu21Selected = "Invisible" + Var Menu7Selected = "Invisible" + Else + If MenuKidEnable = "true" Then + Var Menu11Selected = "Invisible" + Var Menu21Selected = "Enable" + Var Menu7Selected = "Invisible" + Else + Var Menu11Selected = "Invisible" + Var Menu21Selected = "Invisible" + Var Menu7Selected = "Enable" + EndIf + EndIf + + If CocktailShow = "true" Then + Var Menu7Selected = "Invisible" + EndIf + + If RecipeTag1 = "HealthTurnOn" Then + Var Menu22Selected = "Enable" + Else + Var Menu22Selected = "Invisible" + EndIf + ; + + + + + Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween_fixed.xml" + + Var NightTime = 0 + + If SystemTimeHourInt >= 19 Then + Var NightTime = 1 + Else + If SystemTimeHourInt < 5 Then + Var NightTime = 1 + Else + Var NightTime = 0 + EndIf + EndIf + + + DEBUGVAR SystemTimeHourInt + If NightTime = 1 Then + Var Haunted7price = 30 + Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods_50.png" + Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png" + Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png" + Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png" + Else + Var Haunted7price = $12-99-03-0066.Price + Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods.png" + Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods.png" + Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods.png" + Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods.png" + EndIf + + + Var Timeout = 0 + + + + If show_eng = "true" Then + Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/" + Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" + + Else + Var DirImage2 = "ROOT/taobin_project/image/drink_option/" + Var DirImageAlter = "ROOT/taobin_project/image/page3_2/" + EndIf + + + + + +; notice enable heathy menu + + + 0 + 380 + 1080 + 1540 + "0xeae6e1" + + + + + 1000 + + ;DEBUGVAR ICE_PROCESS_STATUS + + If ICE_PROCESS_STATUS = 2 Then + Var ice_tab_process_show = "Enable" + Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT + Else + Var ice_tab_process_show = "Invisible" + EndIf + + + If NextPage = "-" Then + + Else + If CupOnArm = "true" Then + If Timeout > 9 Then + SAVELOG "COA9" + Open NextPage + EndIf + Else + If Timeout > 30 Then + SAVELOG "COA30" + Open NextPage + EndIf + EndIf + EndIf + + If Timeout > 60 Then + SAVELOG "Timeout" + If Seeker = "next" Then + Open "ROOT/taobin_project/xml/page_brewing3Conti.xml" + Else + SAVELOG "Back" + Open "ROOT/taobin_project/xml/page_back_to_main.xml" + EndIf + EndIf + + If BrewCommand = "RefreshAll" Then + Var BrewCommand = "-" + Open CurrentXMLFileName2 + EndIf + + If Seeker = "curr" Then + If DoorCupPosition = "bottom" Then + ; It normal + Var EmergencyStop = "false" + Else + Var EmergencyStop = "true" + + ;Open "ROOT/taobin_project/xml/page_back_to_error.xml" + + EndIf + EndIf + + If IgnoreNetCore = "true" Then + + Else + ;stop_now + + EndIf + + + ; zone cup on arm + If CupOnArm = "true" Then + + If CheckCupStateDoorCupClose = "" Then + If buttonRemoveCup = "Enable" Then + + Else + Refresh + EndIf + + Var buttonRemoveCup = "Enable" + + EndIf + + If CheckCupStateDoorCupClose = "done" Then + If buttonRemoveCup = "Enable" Then + + Else + Refresh + EndIf + + Var buttonRemoveCup = "Enable" + + EndIf + Else + If buttonRemoveCup = "Enable" Then + Var buttonRemoveCup = "Invisible" + Refresh + EndIf + EndIf + + + Var Timeout = Timeout + 1 + TimerReset + + + +; under line + + 0 + 494 + "ROOT/taobin_project/image/page3/tab_line_bottom.png" + + + +; under line + + 0 + 358 + "ROOT/taobin_project/image/page3/bg1.png" + + + +; back + + + + +; + + 1080 + "auto" + 0 + 395 + + "Enable" + 896 + 102 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DEBUGVAR web_ready + If web_ready = "true" Then + If web_ref = QRCODE99x Then + + Var web_readyOK = web_ready + Var web_telnumOK = web_telnum + + Var web_app_prepar = "true" + Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" + + EndIf + Else + EndIf + + + + + + + + + 10 497 @@ -1154,7 +1163,7 @@ KanitMediumTTF 0xFFFFFF showengText - "Mysterious + "Mysterious music box" @@ -1382,7 +1391,7 @@ music box" KanitMediumTTF 0xFFFFFF showthaiText - "หมอกควัน + "หมอกควัน แห่งความมืด" @@ -1652,7 +1661,7 @@ music box" KanitMediumTTF 0xFFFFFF showengText - "The Haunting of + "The Haunting of the Past" @@ -2128,7 +2137,7 @@ the Past" KanitMediumTTF 0xFFFFFF showthaiText - "ห้องเชือด + "ห้องเชือด หมายเลข 13" @@ -2894,7 +2903,7 @@ the Past" KanitMediumTTF 0xFFFFFF showengText - "The Haunting + "The Haunting Hag of village" @@ -3299,7 +3308,7 @@ Hag of village" SoundVolume Var NameDrink = "Unbelievers' Demise" - Var NameDrinkTH = "ล้า ท้า หลอน" + Var NameDrinkTH = "ล่า ท้า หลอน" Var DrinkDescriptionTH = "เป๊ปซี่ ชามะลิ น้ำเชื่อมเมล่อน และโซดา" Var DrinkDescription = "Pepsi Jasmine Melon and Soda" Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_unbelievers_demise.png" @@ -3370,7 +3379,7 @@ Hag of village" KanitMediumTTF 0xFFFFFF showthaiText - "ล้า ท้า หลอน" + "ล่า ท้า หลอน" 16 @@ -3540,21 +3549,21 @@ Hag of village" Flag( 12-99-03-0066.Button,$Sum1299030066) - - - - - + + + + + diff --git a/xml_main/main.xml b/xml_main/main.xml index b757125a..0434f08b 100644 --- a/xml_main/main.xml +++ b/xml_main/main.xml @@ -45,6 +45,90 @@ Var WeightScale = 0.0 Var ServiceCredit = "" Var AisPackage = "" + + + Var AdvSoundWorking = + Var SaleServiceFrom = "" + Var CheckServiceLoop = 0 + Var ProfileSummary = 0 + Var PromotionID = "" + Var SuggestID = "" + Var SessionID1 = "" + Var CRMPoint = "01A" + Var TelephoneNumber = "" + Var WeightScale = 0.0 + Var ServiceCredit = "" + Var AisPackage = "" + Var LastName = "" + Var AddressCardId = "" + Var Checkblacklist = "" + Var NumHome = "" + Var Moo = "" + Var Village = "" + Var Alley = "" + Var Road = "" + Var Postcode = "" + Var Email = "" + Var BirthDay1 = "" + Var BirthDay2 = "" + Var BirthDay3 = "" + Var BirthDay4 = "" + Var BirthDay5 = "" + Var BirthDay = "" + Var BirthDayLen = "" + Var ChkDate = "" + Var ChkMonth = "" + Var BirthDayLen1 = 0 + Var BirthDayLen2 = 0 + Var BirthDayLen3 = 0 + Var Accept1 = 0 + Var Accept2 = 0 + Var TicketID = "" + Var BillerRefNo = "" + Var IdsenderNumber = "" + Var SessionID5 = "" + Var Ref5 = "" + Var CompanyCode = "" + Var TotalResult = "" + Var AirnetNumber = "" + Var luckydraw_accept = 0 + Var upseal_special_accept = 0 + Var upseal_special_accept_know = 0 + Var upseal_special_accept_mobile = 0 + Var upseal_special_bbl = 0 + Var upseal_special_accept_kbank = 0 + Var upsale_bill_payment = 0 + Var upseal_special_bay = 0 + Var upseal_special_scb = 0 + Var upsale_special_bay = 0 + Var upsale_special_baac = 0 + Var upsale_special_cashcard = 0 + Var upsale_special_internet_wifi = 0 + Var buttonType = "" + Var ServiceChargeCampaign = 0 + Var campaignID = 0 + Var PageName = "" + Var TotalAmountTopup = 0 + Var TotalAmountVas = 0 + Var CampaignTSID1 = "" + Var CampaignTSID2 = "" + Var NameService = "" + Var SC = "" + Var NetworkLogo = "" + Var TextCode = "" + Var CodeNumber = "" + Var ServiceChargeVas = 0 + Var ServiceAmountVas = 0 + Var PacksermName = "" + Var SessionIDPackserm = "" + Var CampaignTSID = "" + Var ServiceType = "" + Var ServiceTypeCampaign = "" + Var DtacPackage = "" + + + + If AdvIndex > 6 Then Var AdvIndex = 1 EndIf