Merge branch 'masterpiece' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project into masterpiece
This commit is contained in:
commit
95f314dc53
1157 changed files with 100747 additions and 51887 deletions
1248
xml/dummy_layout.inc
1248
xml/dummy_layout.inc
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,43 +0,0 @@
|
|||
[
|
||||
{
|
||||
"name": "pepsi_second_cup_30",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30_en.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30_th.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_lipit.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monday_banana",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "free_energy_drink",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
[
|
||||
{
|
||||
"name": "tea_time",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/tea_time/tea_time_en.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/tea_time/tea_time_th.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_tea_time.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "energy_drink_1_bath",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_EN.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_TH.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_EN.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_TH.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_EN.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_TH.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/event/energy_drink_1_bath/page_energy_drink_1_bath_catalog.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "coffee_drink_1_bath",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_EN.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_TH.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_EN.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_TH.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_EN.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_TH.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_coffee_drink_1_bath.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
{
|
||||
"name": "12_day_12_menu",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_en.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_en.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_en.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_th.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/event/page_catalog_group_pro_12_day_12_menu.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "thick_tea_by_brewer",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer_img.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer_img.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer_img.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer_img.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer_img.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer_img.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_thick_tea_by_brewer.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
[
|
||||
{
|
||||
"name": "tea_time",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/tea_time/tea_time_th.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/tea_time/tea_time_en.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/tea_time/tea_time_th.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_tea_time.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monday_banana",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "free_energy_drink",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
[
|
||||
{
|
||||
"name": "lipit",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/lipit/lipit_en.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/lipit/lipit_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/lipit/lipit_en.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/lipit/lipit_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/lipit/lipit_en.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/lipit/lipit_th.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/lipit/pro_lipit_en.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/lipit/pro_lipit_th.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_lipit.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monday_banana",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "free_energy_drink",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
[
|
||||
{
|
||||
"name": "free_energy_drink",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/powerup_free_1/powerup.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monday_banana",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_halloween.xml
|
||||
/event/promotion_thick_tea_by_brewer.xml
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -32,7 +32,7 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_halloween.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_thick_tea_by_brewer.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/halloween/halloween_th.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/halloween/halloween_en.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -4,11 +4,8 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR WeekdayDiscountPro
|
||||
DEBUGVAR WeekdayDiscountProEventOn
|
||||
DEBUGVAR OreoDiscount11Pro
|
||||
DEBUGVAR HappyTriosPro
|
||||
|
||||
DEBUGVAR ThickTeaByBrewerBanner
|
||||
DEBUGVAR ThickTeaByBrewerPro
|
||||
DEBUGVAR 12Day12MenuPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
|
|
@ -31,78 +28,26 @@ Else
|
|||
|
||||
; zone promote
|
||||
|
||||
|
||||
If HappyTriosPro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
If 12Day12MenuPro = 1 Then
|
||||
Var CountEnablePromotion = 1
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If WeekdayDiscountProEventOn = 1 Then
|
||||
If ThickTeaByBrewerBanner = 1 Then
|
||||
Var CountEnablePromotion = 1
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If OreoDiscount11Pro = 1 Then
|
||||
Var PromotionState3 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
If WeekdayDiscountProEventOn = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_happy_trios_and_weekday_discount_and_oreo_11_event_on.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_happy_trios_and_weekday_discount_and_oreo_11.xml"
|
||||
EndIf
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_12_day_12_menu_and_thick_tea_by_brewer.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_happy_trios.xml"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_12_day_12_menu.xml"
|
||||
EndIf
|
||||
Else
|
||||
If WeekdayDiscountPro = 1 Then
|
||||
Var ProEnableCount = 1
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If OreoDiscount11Pro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var ProEnableCount = ProEnableCount + 1
|
||||
EndIf
|
||||
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/weekday_discount/promotion_weekday_discount.xml"
|
||||
|
||||
If ProEnableCount > 1 Then
|
||||
|
||||
If WeekdayDiscountProEventOn = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/weekday_discount/multi_promotion_weekday_discount_event_on.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/weekday_discount/promotion_oreo_discount_11_event_on.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If WeekdayDiscountProEventOn = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/weekday_discount/promotion_weekday_discount_event_on.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/weekday_discount/promotion_weekday_discount.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If OreoDiscount11Pro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_oreo_discount_11.xml"
|
||||
EndIf
|
||||
If ThickTeaByBrewerBanner = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_thick_tea_by_brewer.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If ThickTeaByBrewerPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend_thick_tea.xml"
|
||||
EndIf
|
||||
|
||||
If WinterWonderPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend_winter_wonder.xml"
|
||||
EndIf
|
||||
|
||||
If 12Day12MenuPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_12_day_12_menu.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
|
|
|
|||
|
|
@ -169,6 +169,7 @@ Var WinterWonderPro = 0
|
|||
|
||||
; ThickTeaByBrewer, start 1 Dec
|
||||
Var ThickTeaByBrewerPro = 0
|
||||
Var ThickTeaByBrewerBanner = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var PayMentCodeShouldCollectPromotionPoint = 0
|
||||
|
|
@ -183,6 +184,11 @@ Var LuckyDrawCampaign = 0
|
|||
|
||||
If SystemDateMonthInt = 1 Then
|
||||
Var LuckyDrawCampaign = 1
|
||||
|
||||
If SystemDateDayInt <= 6 Then
|
||||
Var ThickTeaByBrewerPro = 1
|
||||
Var ThickTeaByBrewerBanner = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -320,11 +326,12 @@ EndIf
|
|||
If SystemDateMonthInt = 12 Then
|
||||
|
||||
Var WinterWonderPro = 1
|
||||
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt >= 12 Then
|
||||
Var ThickTeaByBrewerPro = 1
|
||||
|
||||
If SystemDateDayInt >= 16 Then
|
||||
Var ThickTeaByBrewerBanner = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -48,22 +48,12 @@
|
|||
menu_white_color_catalog = False
|
||||
menu_xml_var = ""
|
||||
if current_file_name == "page_catalog_group_recommend.skt":
|
||||
touch_less_gen = True
|
||||
recommend_page = True
|
||||
button_add_string = "Var OpenFromInstMenuTab = 0"
|
||||
else:
|
||||
touch_less_gen = False
|
||||
recommend_page = False
|
||||
button_add_string = ""
|
||||
|
||||
if current_file_name == "page_catalog_group_recommend_double_pro.skt":
|
||||
double_pro_gen = True
|
||||
else:
|
||||
double_pro_gen = False
|
||||
|
||||
if current_file_name == "page_catalog_group_recommend_triple_pro.skt":
|
||||
triple_pro_gen = True
|
||||
else:
|
||||
triple_pro_gen = False
|
||||
|
||||
if current_file_name == "page_catalog_group_recommend_multi_pro.skt":
|
||||
multi_pro_gen = True
|
||||
else:
|
||||
|
|
@ -333,10 +323,10 @@
|
|||
#print ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
if touch_less_gen == True or double_pro_gen or triple_pro_gen:
|
||||
out_xml('<Max> 16 </Max>\r\n')
|
||||
elif multi_pro_gen:
|
||||
if multi_pro_gen:
|
||||
out_xml('<Max> 4 </Max>\r\n')
|
||||
elif recommend_page:
|
||||
out_xml('<Max> 16 </Max>\r\n')
|
||||
out_xml('<X> 10 </X>\r\n')
|
||||
out_xml('<Y> 497 </Y>\r\n')
|
||||
out_xml('<Width> 1080 </Width>\r\n')
|
||||
|
|
@ -352,69 +342,16 @@
|
|||
if "all" in verbose:
|
||||
print("current_file_name " + current_file_name)
|
||||
|
||||
|
||||
if touch_less_gen == False or triple_pro_gen or double_pro_gen or multi_pro_gen:
|
||||
|
||||
out_xml('\t Var block_index_override = 0\r\n')
|
||||
out_xml('\t Var block_index_move = 0\r\n')
|
||||
else:
|
||||
|
||||
out_xml('\t Var block_index_override = 4\r\n')
|
||||
out_xml('\t Var block_index_move = 1\r\n')
|
||||
|
||||
|
||||
out_xml('\tIf Seeker = "curr" Then\r\n')
|
||||
out_xml('\t\tVar TouchLessStg = "Enable"\r\n')
|
||||
out_xml('\t\tVar TouchLessQrStg = "Enable"\r\n')
|
||||
out_xml('\tElse\r\n')
|
||||
out_xml('\t\tVar TouchLessStg = "Disable"\r\n')
|
||||
out_xml('\t\tVar TouchLessQrStg = "Invisible"\r\n')
|
||||
out_xml('\tEndIf\r\n')
|
||||
|
||||
out_xml('\tIf WebAppShow = "Invisible" Then\r\n')
|
||||
out_xml('\t\tVar TouchLessStg = "Disable"\r\n')
|
||||
out_xml('\t\tVar TouchLessQrStg = "Invisible"\r\n')
|
||||
out_xml('\tEndIf\r\n')
|
||||
|
||||
out_xml('\t Var block_index_override = 0\r\n')
|
||||
out_xml('\t Var block_index_move = 0\r\n')
|
||||
|
||||
out_xml('</Script>\r\n')
|
||||
|
||||
pd_code_available = '##-##-##-####'
|
||||
count = 0
|
||||
count_test = 0
|
||||
if touch_less_gen == True:
|
||||
out_xml( '<Block>\r\n')
|
||||
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
|
||||
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
|
||||
out_xml('\t<Width> 225 </Width>\r\n')
|
||||
out_xml('\t<Height> 296 </Height>\r\n')
|
||||
out_xml('\t<State> "Enable" </State> \r\n')
|
||||
out_xml('\t<Image>\r\n')
|
||||
out_xml('\t<X> 0 </X>\r\n')
|
||||
out_xml('\t<Y> 0 </Y>\r\n')
|
||||
out_xml('\t<State> TouchLessStg </State> \r\n')
|
||||
out_xml('\t<Filename> Var( DirImage + "/touch_less_order.png" )</Filename>\r\n')
|
||||
out_xml('\t<FilenameDisable> Var( DirImage + "/touch_less_order_db.png" )</FilenameDisable>\r\n')
|
||||
out_xml('\t</Image>\r\n')
|
||||
out_xml('\t<QRCode>\r\n')
|
||||
out_xml('\t<X> 40 </X>\r\n')
|
||||
out_xml('\t<Y> 153 </Y>\r\n')
|
||||
out_xml('\t<Width> 150 </Width>\r\n')
|
||||
out_xml('\t<Color> "0xeae6e1" </Color>\r\n')
|
||||
out_xml('\t<QRColor> "0x513C2F" </Color>\r\n')
|
||||
out_xml('\t<Height> 150 </Height>\r\n')
|
||||
|
||||
#out_xml('\t<State> TouchLessQrStg </State>\r\n')
|
||||
#out_xml('\t<Service> "Herr" </Service>\r\n')
|
||||
out_xml('\t<State> TouchLessQrStg </State>\r\n')
|
||||
out_xml('\t<Service> testservice </Service>\r\n')
|
||||
|
||||
out_xml('\t</QRCode>\r\n')
|
||||
out_xml('</Block>\r\n')
|
||||
out_xml(';dummy_layout.inc\r\n')
|
||||
|
||||
if double_pro_gen == True or triple_pro_gen:
|
||||
out_xml(';dummy_layout.inc\r\n')
|
||||
out_xml(';dummy_layout.inc\r\n')
|
||||
|
||||
def GenListMenu():
|
||||
for spl in menu_new_list:
|
||||
|
|
@ -452,7 +389,13 @@
|
|||
str_con_var += spl[6] + '-'
|
||||
|
||||
str_con_var = str_con_var.replace("-", "")
|
||||
if touch_less_gen == True or double_pro_gen == True or triple_pro_gen == True:
|
||||
|
||||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[12].strip()):
|
||||
str_con += f'DateTimeStart="{spl[12].strip()}",'
|
||||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
|
||||
str_con += f'DateTimeEnd="{spl[13].strip()}",'
|
||||
|
||||
if recommend_page:
|
||||
str_con += "Disable=Invisible,"
|
||||
|
||||
str_con += "$Sum" + str_con_var
|
||||
|
|
@ -1159,7 +1102,13 @@
|
|||
str_con_var += spl[10] + '-'
|
||||
|
||||
str_con_var = str_con_var.replace("-", "")
|
||||
if touch_less_gen == True or double_pro_gen == True or triple_pro_gen == True:
|
||||
|
||||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[12].strip()):
|
||||
str_con += f'DateTimeStart="{spl[12].strip()}",'
|
||||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
|
||||
str_con += f'DateTimeEnd="{spl[13].strip()}",'
|
||||
|
||||
if recommend_page:
|
||||
str_con += "Disable=Invisible,"
|
||||
|
||||
str_con += "$Sum" + str_con_var
|
||||
|
|
|
|||
|
|
@ -8,6 +8,12 @@
|
|||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
SAVELOG "======================================= catalog multi instance ================================"
|
||||
; On open
|
||||
|
|
@ -734,7 +740,9 @@
|
|||
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
;Open "ROOT/taobin_project/inter/tha/xml/page_collect_point_1.lxml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventUnitTest2>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -98,6 +98,50 @@
|
|||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
DEBUGVAR EnabledBlockUpdateInst5
|
||||
DEBUGVAR EnabledBlocksDrawInst5
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst5 = EnabledBlockUpdateInst5 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -107,6 +107,50 @@
|
|||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst8
|
||||
DEBUGVAR EnabledBlocksDrawInst8
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst8 = EnabledBlockUpdateInst8 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -100,6 +100,51 @@
|
|||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst9
|
||||
DEBUGVAR EnabledBlocksDrawInst9
|
||||
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst9 = EnabledBlockUpdateInst9 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -100,6 +100,49 @@
|
|||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst7
|
||||
DEBUGVAR EnabledBlocksDrawInst7
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst7 = EnabledBlockUpdateInst7 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -101,6 +101,50 @@
|
|||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst10
|
||||
DEBUGVAR EnabledBlocksDrawInst10
|
||||
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst10 = EnabledBlockUpdateInst10 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -26,9 +26,59 @@
|
|||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
If SlientRefreshIndex = 7 Then
|
||||
Var SlientRefreshIndex = 8
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst10
|
||||
DEBUGVAR EnabledBlocksDrawInst10
|
||||
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst10 = EnabledBlockUpdateInst10 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -29,6 +29,116 @@
|
|||
</EventOpen>
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;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
|
||||
|
||||
|
||||
GetVisible inst_show8
|
||||
;DEBUGVAR inst_show8
|
||||
|
||||
|
||||
|
||||
If inst_show8 = 1 Then
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If SlientRefreshIndex = 8 Then
|
||||
If inst_show8 = 0 Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile7
|
||||
Open CurrentOpenFile7
|
||||
Else
|
||||
Var SlientRefreshIndex = 9
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst11
|
||||
DEBUGVAR EnabledBlocksDrawInst11
|
||||
|
||||
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst11 = EnabledBlockUpdateInst11 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -87,6 +87,51 @@
|
|||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
DEBUGVAR EnabledBlockUpdateInst6
|
||||
DEBUGVAR EnabledBlocksDrawInst6
|
||||
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
Else
|
||||
If EnabledBlocksDrawInst6 = EnabledBlockUpdateInst6 Then
|
||||
Var StatusRefresh = "NoRefresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
Else
|
||||
Var StatusRefresh = "Refresh"
|
||||
DEBUGVAR StatusRefresh
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile2
|
||||
Open CurrentOpenFile2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
__CMD "PayWasSent" Seeker.ORDER_ID "-" "-"
|
||||
|
||||
|
||||
Var PictureFileTextDesctionState = "Enable"
|
||||
|
||||
|
||||
|
|
@ -125,6 +125,10 @@
|
|||
Var CreditReference = ""
|
||||
Var PayCredit = 0
|
||||
|
||||
If Seeker.PayWithQR = 1 Then
|
||||
Var VendingTSIDTmp = Seeker.VendingTSID
|
||||
EndIf
|
||||
|
||||
If Seeker.TNumberTaobinCredit = "" Then
|
||||
|
||||
If Seeker.TNumberTaobinMember = "" Then
|
||||
|
|
@ -459,7 +463,7 @@
|
|||
Var ButtonGameCountDownState = "Invisible"
|
||||
EndIf
|
||||
SAVELOG "============================================================== 0"
|
||||
|
||||
|
||||
DEBUGVAR ButtonGameCountDown
|
||||
|
||||
Var ButtonGamePressToPlayState = "Invisible"
|
||||
|
|
@ -512,7 +516,7 @@
|
|||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
__CMD "SetErrorCodeHandleByXML" 1028 "-" "-"
|
||||
__CMD "SetErrorCodeHandleByXML" 1029 "-" "-"
|
||||
__CMD "SetErrorCodeHandleByXML" 1030 "-" "-"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
OpenInst 0 "ROOT/xml/service_menu.xml"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/test_video_loop.xml"
|
||||
|
|
|
|||
|
|
@ -11,23 +11,83 @@
|
|||
Var OpenCheckCoupon = 0
|
||||
Var ChangeMemberPassword = 0
|
||||
|
||||
|
||||
; Default language (Thai).
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var text = "เลือกบริการที่คุณต้องการ"
|
||||
Var Extension = ".png"
|
||||
|
||||
;If show_eng = "false" Then
|
||||
;Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
;Var text = "เลือกบริการที่คุณต้องการ"
|
||||
;Var Extension = ".png"
|
||||
;SetLanguage "THAI"
|
||||
;EndIf
|
||||
|
||||
; language (Eng).
|
||||
If show_eng = "true" Then
|
||||
;If show_eng = "true" Then
|
||||
;Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
;Var text = "Manage your Tao Bin account"
|
||||
;Var Extension = "_en.png"
|
||||
|
||||
;If LanguageShow = "MYANMAR" Then
|
||||
;Var text = "သင်၏ Tao Bin အကောင့်ကို စီမံခန့်ခွဲပါ။"
|
||||
;Var Extension = "_mmr.png"
|
||||
;SetLanguage "MYANMAR"
|
||||
;Else
|
||||
;SetLanguage "ENG"
|
||||
;EndIf
|
||||
;EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
SetLanguage "MYANMAR"
|
||||
Else
|
||||
SetLanguage "ENG"
|
||||
EndIf
|
||||
Else
|
||||
SetLanguage "THAI"
|
||||
EndIf
|
||||
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<EventLanguageOnChange>
|
||||
DEBUGVAR LanguageShow
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
Var text = "Manage your Tao Bin account"
|
||||
Var Extension = "_en.png"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var text = "เลือกบริการที่คุณต้องการ"
|
||||
Var Extension = ".png"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var text = "သင်၏ Tao Bin အကောင့်ကို စီမံခန့်ခွဲပါ။"
|
||||
Var Extension = "_mmr.png"
|
||||
EndIf
|
||||
|
||||
SAVELOG "EventLanguageOnChange menu -list"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var LanguageButtonEnable = "Invisible"
|
||||
Var show_eng_button_stage = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
DEBUGVAR LanguageButtonEnable
|
||||
DEBUGVAR show_eng_button_stage
|
||||
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RefreshAll
|
||||
</EventLanguageOnChange>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
Var Timeout = Timeout + 1
|
||||
|
|
@ -59,6 +119,7 @@
|
|||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 381 </Y>
|
||||
<State> show_eng_button_stage </State>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btn </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
@ -80,9 +141,9 @@
|
|||
|
||||
|
||||
<Text>
|
||||
<X> 199 </X>
|
||||
<X> 100 </X>
|
||||
<Y> 560 </Y>
|
||||
<Width> 680 </Width>
|
||||
<Width> 900 </Width>
|
||||
<Height> 80 </Height>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Size> 51 </Size>
|
||||
|
|
@ -102,8 +163,9 @@
|
|||
<EventClick>
|
||||
|
||||
Var OpenTopupCredit = 1
|
||||
Var CheckMemberTitleTH = "กรุณาใส่เบอร์มือถือ\nเพื่อเติมเต่าบินเครดิต"
|
||||
Var CheckMemberTitleEN = "Please enter your mobile number\nto topup Tao bin credit."
|
||||
Var ShowTextTopup = "Enable"
|
||||
Var ShowTextCoupon = "Invisible"
|
||||
Var ShowTextPass = "Invisible"
|
||||
Open "ROOT/taobin_project/xml/page_check_member.xml"
|
||||
|
||||
</EventClick>
|
||||
|
|
@ -118,8 +180,9 @@
|
|||
<EventClick>
|
||||
|
||||
Var OpenCheckCoupon = 1
|
||||
Var CheckMemberTitleTH = "กรุณาใส่เบอร์มือถือ\nเพื่อเช็กคะแนนสะสมของคุณ"
|
||||
Var CheckMemberTitleEN = "Please enter your mobile number\nto check reward point."
|
||||
Var ShowTextTopup = "Invisible"
|
||||
Var ShowTextCoupon = "Enable"
|
||||
Var ShowTextPass = "Invisible"
|
||||
Open "ROOT/taobin_project/xml/page_check_member.xml"
|
||||
|
||||
</EventClick>
|
||||
|
|
@ -134,8 +197,9 @@
|
|||
<EventClick>
|
||||
|
||||
Var ChangeMemberPassword = 1
|
||||
Var CheckMemberTitleTH = "กรุณาใส่เบอร์มือถือ\nเพื่อเปลี่ยนรหัสผ่าน"
|
||||
Var CheckMemberTitleEN = "Please enter your mobile number\nto change password."
|
||||
Var ShowTextTopup = "Invisible"
|
||||
Var ShowTextCoupon = "Invisible"
|
||||
Var ShowTextPass = "Enable"
|
||||
Open "ROOT/taobin_project/xml/page_check_member.xml"
|
||||
|
||||
</EventClick>
|
||||
|
|
|
|||
|
|
@ -61,8 +61,6 @@
|
|||
Var MultiPayEnable = "false"
|
||||
;Var MultiPayEnable = "true"
|
||||
Var ShoppyPayEnable = "true"
|
||||
Var WebAppEnable = "true"
|
||||
Var WebAppShow = "Enable"
|
||||
Var PayType = ""
|
||||
|
||||
Var Seeker.CurrCreditAmount = 0
|
||||
|
|
@ -136,13 +134,8 @@
|
|||
|
||||
If DisplayType = "2" Then
|
||||
Var XPosiShowCountDownBrew = 693
|
||||
Var WQR = 185
|
||||
Var HQR = 185
|
||||
Else
|
||||
Var XPosiShowCountDownBrew = 768
|
||||
Var WQR = 290
|
||||
Var HQR = 290
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -252,7 +245,6 @@
|
|||
Var MenuKidButtonState = "Invisible"
|
||||
Var WheyShow = "false"
|
||||
Var WheyButtonState = "Invisible"
|
||||
Var WebAppShow = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -335,19 +327,6 @@
|
|||
Var ShowNetworkProblem = "Invisible"
|
||||
Var ShowNetworkProblemText = ""
|
||||
Machine NetworkUp
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var QRCODE99x = ""
|
||||
|
||||
|
||||
GenHashWithTimeStamp QRCODE99x
|
||||
Var QRCODE99 = "https://taobin-beverage.web.app/" + QRCODE99x
|
||||
;Var QRCODE99 = "https://uat-taobin-beverage.firebaseapp.com/" + QRCODE99x
|
||||
WEB "ENABLE"
|
||||
|
||||
Else
|
||||
|
||||
|
||||
|
|
@ -361,10 +340,6 @@
|
|||
Machine NetworkDown
|
||||
EndIf
|
||||
|
||||
|
||||
Var QRCODE99 = ""
|
||||
WEB "DISABLE"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -374,7 +349,6 @@
|
|||
Var ShowPrice = "Enable"
|
||||
If RoadShow = "true" Then
|
||||
Var ShowPrice = "Invisible"
|
||||
Var WebAppShow = "Invisible"
|
||||
EndIf
|
||||
|
||||
;SAVELOG WheyShow
|
||||
|
|
@ -475,10 +449,6 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If NetworkStatus = "DOWN" Then
|
||||
Var WebAppShow = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR XMLPageVersionInt
|
||||
|
||||
|
|
@ -689,7 +659,6 @@
|
|||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/mys/video/script_video.ev"
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
DEBUGVAR LangProcess
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "MALAY"
|
||||
|
|
@ -816,7 +785,6 @@
|
|||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/aus/video/script_video.ev"
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EnableLanguage "ENG"
|
||||
SetLanguage "ENG"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
|
@ -827,7 +795,7 @@
|
|||
Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png"
|
||||
|
||||
|
||||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
Var ShowNetworkProblemText = "Network error. Payment credit card only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/aus/"
|
||||
Var CountryShortName = "aus"
|
||||
|
|
@ -869,7 +837,6 @@
|
|||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/usaNY/video/script_video.ev"
|
||||
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EnableLanguage "ENG"
|
||||
SetLanguage "ENG"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
|
@ -918,7 +885,6 @@
|
|||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/sgp/video/script_video.ev"
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EnableLanguage "ENG"
|
||||
SetLanguage "ENG"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
|
@ -971,9 +937,9 @@
|
|||
If BoxID = 210604 Then
|
||||
Var SettingIgnoreCollectPoint = 0
|
||||
EndIf
|
||||
If BoxID = 210699 Then
|
||||
Var SettingIgnoreCollectPoint = 0
|
||||
EndIf
|
||||
;If BoxID = 210699 Then
|
||||
;Var SettingIgnoreCollectPoint = 0
|
||||
;EndIf
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/use_pt_dev" use_pt_dev
|
||||
STRCONTAIN "1" use_pt_dev enable_pt_mode_by_cfg
|
||||
|
|
@ -1011,8 +977,7 @@
|
|||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/uae_dubai/video/script_video.ev"
|
||||
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "UAE_DUBAI"
|
||||
SetLanguage "ENG"
|
||||
|
|
@ -1072,7 +1037,6 @@
|
|||
If CountryName = "HongKong" Then
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/hkg/video/script_video.ev"
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EnableLanguage "ENG"
|
||||
SetLanguage "ENG"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
|
@ -1137,7 +1101,85 @@
|
|||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
EndIf
|
||||
|
||||
; New mode
|
||||
; Inter + Multi-Instance available ./inter/tha/multi
|
||||
|
||||
; Below. Pendding from XMLProfile
|
||||
DEBUGVAR MyanmarLangEnable
|
||||
DEBUGVAR EnableMultiInstance
|
||||
;Var MyanmarLangEnable = "true"
|
||||
Var MyanmarLangEnable = "false"
|
||||
;Var MyanmarLangEnable = ""
|
||||
|
||||
If MyanmarLangEnable = "" Then
|
||||
|
||||
Else
|
||||
If EnableMultiInstance = "true" Then
|
||||
If CountryName = "Thailand" Then
|
||||
|
||||
Var InternationalEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
;TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/video/script_video.ev"
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||
|
||||
;specified to unittest4
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/tha/"
|
||||
Var CountryShortName = "tha"
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/tricker.ev"
|
||||
DEBUGVAR OpenFileXML
|
||||
TRY OpenFileXML
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
Var ENABLE_UAE_DUBAI = "Invisible"
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "THAI"
|
||||
EnableLanguage "MYANMAR"
|
||||
|
||||
If MyanmarLangEnable = "true" Then
|
||||
EnableLanguage "MYANMAR"
|
||||
EndIf
|
||||
|
||||
SetLanguage "THAI"
|
||||
LanguageControl "UpdateList" "-"
|
||||
Var show_eng = "false"
|
||||
|
||||
;Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 266
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Enable"
|
||||
|
||||
|
||||
Var PriceUnitText = ""
|
||||
|
||||
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
|
||||
|
||||
Var XButtonMember = 384
|
||||
Var YButtonMember = 1695
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/tha/menu/lang.tsv"
|
||||
EndIf
|
||||
|
||||
Var cups_sold_text = "Cups Sold Worldwide"
|
||||
|
||||
Var MinPhoneNumber = 10
|
||||
Var MaxPhoneNumber = 10
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR InternationalEnable
|
||||
DEBUGVAR CountryRootPath
|
||||
|
|
@ -1186,9 +1228,6 @@
|
|||
Machine NetworkDown
|
||||
EndIf
|
||||
|
||||
Var QRCODE99 = ""
|
||||
WEB "DISABLE"
|
||||
|
||||
EndIf
|
||||
|
||||
If GameInstalled = "" Then
|
||||
|
|
@ -1341,16 +1380,16 @@
|
|||
TRY "ROOT/taobin_project/xml/sometime/RoadShow.ev"
|
||||
|
||||
; New mode
|
||||
; Inter + Multi-Instance available ./inter/tha/multi
|
||||
; Inter + Multi-Instance available ./inter/tha/multi
|
||||
|
||||
; Below. Pendding from XMLProfile
|
||||
DEBUGVAR EnableMultiInstance
|
||||
|
||||
|
||||
Var RedirectToNormalVersion = 0
|
||||
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/MyanmarLangEnable" MyanmarLangEnable
|
||||
DEBUGVAR MyanmarLangEnable
|
||||
|
||||
|
||||
If MyanmarLangEnable = "" Then
|
||||
|
||||
Else
|
||||
|
|
@ -1359,7 +1398,7 @@
|
|||
Var MyanmarLangEnable = "false"
|
||||
EndIf
|
||||
If CountryName = "Thailand" Then
|
||||
|
||||
|
||||
Var InternationalEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
|
|
@ -1372,14 +1411,14 @@
|
|||
DEBUGVAR OpenFileXML
|
||||
TRY OpenFileXML
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "THAI"
|
||||
;EnableLanguage "MYANMAR"
|
||||
|
||||
If MyanmarLangEnable = "true" Then
|
||||
EnableLanguage "MYANMAR"
|
||||
EndIf
|
||||
|
||||
|
||||
SetLanguage "THAI"
|
||||
LanguageControl "UpdateList" "-"
|
||||
Var show_eng = "false"
|
||||
|
|
@ -1421,7 +1460,7 @@
|
|||
Var RedirectToNormalVersion = 1
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -1610,7 +1649,6 @@ PRICE "Reset" "-"
|
|||
DEBUGVAR OpenFileXML
|
||||
TRY OpenFileXML
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "THAI"
|
||||
EnableLanguage "MYANMAR"
|
||||
|
|
@ -1664,7 +1702,7 @@ PRICE "Reset" "-"
|
|||
</EventUnitTest4>
|
||||
|
||||
<EventUnitTest5>
|
||||
Var XMLProfile = "ProfileIncrease30"
|
||||
Var XMLProfile = "y18IDCardCaffeine"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
</EventUnitTest5>
|
||||
|
|
@ -1715,10 +1753,6 @@ PRICE "Reset" "-"
|
|||
If IgnoreNetCore = "true" Then
|
||||
|
||||
Else
|
||||
If NetworkStatus = "DOWN" Then
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
EndIf
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/ROOT/xml/offline.xml"
|
||||
EndIf
|
||||
|
|
@ -1857,6 +1891,7 @@ PRICE "Reset" "-"
|
|||
EndIf
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Var ShowButtonClick = "Enable"
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -1872,7 +1907,7 @@ PRICE "Reset" "-"
|
|||
If UsePepsiTheme = 1 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1914,7 +1949,7 @@ PRICE "Reset" "-"
|
|||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
|
@ -2117,36 +2152,6 @@ PRICE "Reset" "-"
|
|||
EndIf
|
||||
</EventNetDeactive>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
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"
|
||||
|
||||
; Handle penetrator
|
||||
|
||||
If Only18 = "true" Then
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_identity18_verification.xml"
|
||||
Else
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
|
|
@ -2176,8 +2181,14 @@ PRICE "Reset" "-"
|
|||
Else
|
||||
|
||||
If SpiralOnline = "true" Then
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
EndIf
|
||||
Else
|
||||
If InternationalEnable = 1 Then
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
|
@ -2211,15 +2222,19 @@ PRICE "Reset" "-"
|
|||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
;inter-xml-open
|
||||
|
||||
DEBUGVAR CountryName
|
||||
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
If CountryName = "Thailand" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_before_check_member.xml"
|
||||
Else
|
||||
Var ChackMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
OpenInst 2 ChackMemberPage
|
||||
;inter-xml-open
|
||||
|
||||
DEBUGVAR CountryName
|
||||
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
Else
|
||||
Var ChackMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
OpenInst 2 ChackMemberPage
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_before_check_member.xml"
|
||||
|
|
@ -2264,8 +2279,14 @@ PRICE "Reset" "-"
|
|||
Var NextPage = "-"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If SpiralOnline = "true" Then
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
EndIf
|
||||
Else
|
||||
If InternationalEnable = 1 Then
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
|
@ -2284,27 +2305,6 @@ PRICE "Reset" "-"
|
|||
</Button>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 778 </X>
|
||||
<Y> 632 </Y>
|
||||
<State>WebAppShow</State>
|
||||
<Filename> "ROOT/taobin_project/image/home/home/qr_bg.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<QRCode>
|
||||
<X> 843 </X>
|
||||
<Y> 98 </Y>
|
||||
<Width> 150 </Width>
|
||||
<Color> "0xeae6e1" </Color>
|
||||
<QRColor> "0x000000" </QRColor>
|
||||
<Height> 150 </Height>
|
||||
<State> WebAppShow </State>
|
||||
<Service> testservice </Service>
|
||||
</QRCode>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 630 </Y>
|
||||
|
|
@ -2365,11 +2365,11 @@ PRICE "Reset" "-"
|
|||
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else ; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -52,6 +52,16 @@
|
|||
|
||||
Var PrintCoinAmount = 0
|
||||
|
||||
Var DirImageDoing = "ROOT/taobin_project/image/page_doing"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImageDoing = "ROOT/taobin_project/image/page_doing_en"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImageDoing = "ROOT/taobin_project/image/page_doing_mmr/"
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
|
|
@ -81,6 +91,8 @@
|
|||
Else
|
||||
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/thankyou.mp3"
|
||||
|
||||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
; Play Sound #zone
|
||||
If SoundBackToSchoolEnable = 1 Then
|
||||
|
||||
|
|
@ -116,6 +128,39 @@
|
|||
|
||||
Var XStraw = 142
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
;for test
|
||||
Var IMG_CNT = DirImageDoing + "/img2_en.png"
|
||||
;Var IMG_CNT = DirImageDoing + "/img2_mmr.png"
|
||||
|
||||
Play "ROOT/taobin_project/sound_eng/Wait_a_moment.mp3"
|
||||
|
||||
Var bnGetMoreStrawFileName = "ROOT/taobin_project/image/page_doing/bn_get_more_straw.png"
|
||||
Var bpGetMoreStrawFileName = "ROOT/taobin_project/image/page_doing/bp_get_more_straw.png"
|
||||
|
||||
Var bnStrawProblemReport = DirImageDoing + "/bn_send_report_straw_mmr.png"
|
||||
Var bpStrawProblemReport = DirImageDoing + "/bp_send_report_straw_mmr.png"
|
||||
|
||||
Var bnLidProblemReport = DirImageDoing + "/bn_send_report_lid_mmr.png"
|
||||
Var bpLidProblemReport = DirImageDoing + "/bp_send_report_lid_mmr.png"
|
||||
|
||||
|
||||
Var bn_get_lid_image = "ROOT/taobin_project/image/page_doing/bn_get_lid.png"
|
||||
Var bp_get_lid_image = "ROOT/taobin_project/image/page_doing/bp_get_lid.png"
|
||||
|
||||
Var brew_txt2 = "ROOT/taobin_project/video/brewing_txt_adv3_mmr.png"
|
||||
Var brew_txt1 = "ROOT/taobin_project/video/brewing_txt_adv1_mmr.png"
|
||||
|
||||
;Var XStraw = 274
|
||||
Var XStraw = 142
|
||||
EndIf
|
||||
|
||||
If LanguageObjectShow = "Enable" Then
|
||||
Var DirImageDoingInter = "ROOT/taobin_project/image/page_doing_inter/"
|
||||
Var IMG_CNT = DirImageDoingInter + "/bg_show_time_remaining.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Var waitAckPay = 0
|
||||
Var VendingTSIDTmp = ""
|
||||
|
|
@ -258,6 +303,11 @@
|
|||
Var DirImage2 = "ROOT/taobin_project/image/topping2"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_mmr/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/topping2_mmr"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR show_eng
|
||||
|
||||
Var next_pic_bn = DirImage + "/bn_add_order.png"
|
||||
|
|
@ -1751,6 +1801,24 @@
|
|||
<Value> ShowCountDownBrewing </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 816 </X>
|
||||
<Y> 429 </Y>
|
||||
<State> LanguageObjectShow </State>
|
||||
<Language>
|
||||
<ID> 000405 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 941 </X>
|
||||
<Y> 518 </Y>
|
||||
<State> LanguageObjectShow </State>
|
||||
<Language>
|
||||
<ID> 000406 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BREW_COUNT_DOWN_FROM_APP = "off"
|
||||
Var CountDownBrewing = 121
|
||||
|
|
|
|||
|
|
@ -15,10 +15,14 @@
|
|||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Var Brewing3ContiXMLFile = CountryRootPath + "/xml/page_brewing3Conti.xml"
|
||||
DEBUGVAR Brewing3ContiXMLFile
|
||||
If CountryName = "Thailand" Then
|
||||
;do not thing
|
||||
Else
|
||||
Var Brewing3ContiXMLFile = CountryRootPath + "/xml/page_brewing3Conti.xml"
|
||||
DEBUGVAR Brewing3ContiXMLFile
|
||||
|
||||
Open Brewing3ContiXMLFile
|
||||
Open Brewing3ContiXMLFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -43,6 +47,17 @@
|
|||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_mmr/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/topping2_mmr"
|
||||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing_mmr/img2_mmr.png"
|
||||
EndIf
|
||||
|
||||
If LanguageObjectShow = "Enable" Then
|
||||
Var DirImageDoingInter = "ROOT/taobin_project/image/page_doing_inter/"
|
||||
Var IMG_CNT = DirImageDoingInter + "/bg_show_time_remaining.png"
|
||||
EndIf
|
||||
|
||||
Var next_pic_bn = DirImage + "/bn_add_order.png"
|
||||
Var next_pic_bp = DirImage + "/bp_add_order.png"
|
||||
Var text_next_order = DirImage + "/text_next_order.png"
|
||||
|
|
@ -1087,6 +1102,24 @@
|
|||
<Value> ShowCountDownBrewing </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 816 </X>
|
||||
<Y> 429 </Y>
|
||||
<State> LanguageObjectShow </State>
|
||||
<Language>
|
||||
<ID> 000405 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 941 </X>
|
||||
<Y> 518 </Y>
|
||||
<State> LanguageObjectShow </State>
|
||||
<Language>
|
||||
<ID> 000406 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 792 </X>
|
||||
<Y> 1787 </Y>
|
||||
|
|
|
|||
|
|
@ -13,8 +13,10 @@
|
|||
|
||||
If CountryName = "Thailand" Then
|
||||
If InternationalEnable = 1 Then
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_catalog.lxml"
|
||||
If EnableMultiInstance = "true" Then
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -294,7 +294,8 @@
|
|||
<X> 19 </X>
|
||||
<Y> 420 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||
<FilenamePress
|
||||
> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
EndIf
|
||||
|
||||
TopView "show"
|
||||
; On open
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
|
||||
; page_catalog3 split menu group _other.skt to _pepsi_7up.skt and _other_other.skt
|
||||
|
||||
TopView "show"
|
||||
|
|
@ -35,16 +35,16 @@
|
|||
Var web_telnumOK = ""
|
||||
|
||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If TermTemOnline = "true" Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
||||
EndIf
|
||||
|
||||
If Seeker = "curr" Then
|
||||
|
||||
If Seeker = "curr" Then
|
||||
Machine DoorLidClose
|
||||
EndIf
|
||||
|
||||
|
|
@ -55,13 +55,13 @@
|
|||
|
||||
|
||||
Var text_price_6 = ""
|
||||
|
||||
|
||||
; zone sound
|
||||
|
||||
|
||||
; Clear value
|
||||
Topping "clear" "-"
|
||||
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page2_en/page2"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
|
@ -71,21 +71,21 @@
|
|||
Var DirImageCart = "ROOT/taobin_project/image/cart_en"
|
||||
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page2"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
||||
|
||||
|
||||
; Play Sound #zone
|
||||
If SoundBackToSchoolEnable = 1 Then
|
||||
|
||||
If SoundBackToSchoolType = 1 Then
|
||||
|
||||
If SoundBackToSchoolType = 1 Then
|
||||
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||
EndIf
|
||||
If SoundBackToSchoolType = 2 Then
|
||||
If SoundBackToSchoolType = 2 Then
|
||||
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||
EndIf
|
||||
Var PlaySoundLag = RootPathSoundBackToSchool + "taobin_sawade.wav"
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
SAVELOG "DEACTIVE in catalog2.xml"
|
||||
|
||||
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -133,7 +133,7 @@
|
|||
|
||||
;GenHashWithTimeStamp QRCODE99x
|
||||
WEB "ENABLE"
|
||||
|
||||
|
||||
Else
|
||||
Var ShowNetworkProblem = "Enable"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
|
|
@ -146,7 +146,7 @@
|
|||
EndIf
|
||||
|
||||
; 1035 is Coke.
|
||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||
|
||||
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
||||
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
||||
|
|
@ -161,8 +161,8 @@
|
|||
Var QRCODE99_Y = 1718
|
||||
|
||||
Var showCart = "Invisible"
|
||||
If MultiPayEnable = "true" Then
|
||||
|
||||
If MultiPayEnable = "true" Then
|
||||
|
||||
If CART_COUNT = 1 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
||||
|
|
@ -171,7 +171,7 @@
|
|||
Var QRCODE99_Y = 1580
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CART_COUNT = 2 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
||||
|
|
@ -181,7 +181,7 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If CART_COUNT = 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
|
|
@ -197,10 +197,10 @@
|
|||
|
||||
If XMLProfile = "taobin_notopup" Then
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var menu_name_eng_hot = ""
|
||||
Var menu_desc_eng_hot = ""
|
||||
Var menu_name_thai_hot = ""
|
||||
|
|
@ -218,12 +218,12 @@
|
|||
Var menu_desc_thai_blender = ""
|
||||
|
||||
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
|
|
@ -246,7 +246,7 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Else
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
|
|
@ -259,13 +259,14 @@
|
|||
EndIf
|
||||
|
||||
If EnableMultiInstance = "true" Then
|
||||
Open "ROOT/taobin_project/inter/tha/xml/page_catalog.lxml"
|
||||
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
EndIf
|
||||
|
||||
|
||||
Var Price5Active = 0
|
||||
</EventOpen>
|
||||
<EventLanguageChange>
|
||||
;
|
||||
;
|
||||
DEBUGVAR LangEng
|
||||
If LangEng = "true" Then
|
||||
|
||||
|
|
@ -278,7 +279,7 @@
|
|||
|
||||
</EventLanguageChange>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
<EventTimeout>
|
||||
|
||||
;SAVELOG SoundPlaying
|
||||
|
||||
|
|
@ -289,8 +290,8 @@
|
|||
If countDownRetrun = 0 Then
|
||||
|
||||
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
|
@ -321,10 +322,10 @@
|
|||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
</EventTimeout>
|
||||
|
||||
<EventChangeStatus>
|
||||
;If ChangeStatus = "payout-end" Then
|
||||
;If ChangeStatus = "payout-end" Then
|
||||
; Var ChangeOK = 1
|
||||
;EndIf
|
||||
</EventChangeStatus>
|
||||
|
|
@ -337,15 +338,15 @@
|
|||
Cart "DeleteMenuID" "ALL"
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Else
|
||||
EndIf
|
||||
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
<Image>
|
||||
|
|
@ -378,12 +379,12 @@
|
|||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
<EventClick>
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
|
|
@ -396,9 +397,9 @@
|
|||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
|
|
@ -426,13 +427,13 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
||||
; zone promote
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -443,9 +444,9 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -458,9 +459,9 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -472,9 +473,9 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -488,9 +489,9 @@
|
|||
<FilenamePress> bpSodaAndOther </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_other_other.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_other_other.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -504,9 +505,9 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_Pepsi_7up.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pepsi_7up.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pepsi_7up.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -521,9 +522,9 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -535,10 +536,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -550,9 +551,9 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -566,11 +567,11 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_health.xml"
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_health.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -590,10 +591,10 @@
|
|||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
; eng
|
||||
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -606,11 +607,11 @@
|
|||
<FilenameDisable> Var(DirImage + "/bp_main_page_topup.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
; eng
|
||||
Var PayDetail=""
|
||||
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -640,7 +641,7 @@
|
|||
<Width> 200 </Width>
|
||||
<Height> 50 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
Var countClick = countClick + 1
|
||||
If countClick = 3 Then
|
||||
|
||||
|
|
@ -681,7 +682,7 @@
|
|||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
|
||||
|
|
@ -705,12 +706,12 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Interval> 400</Interval>
|
||||
<EventClick>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -722,7 +723,7 @@
|
|||
|
||||
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"
|
||||
|
|
@ -730,14 +731,14 @@
|
|||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
|
||||
</EventWebApp>
|
||||
<EventUnitTest1>
|
||||
SAVELOG "MENU TAB ENTRY"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_catalog.xml"
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
|
||||
</EventUnitTest2>
|
||||
|
||||
<EventUnitTest3>
|
||||
|
|
@ -748,4 +749,4 @@
|
|||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
</Popup>
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 5
|
||||
; ==================> Len = 19
|
||||
; - 12-04-02-1018 -
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 39
|
||||
; ==================> Len = 19
|
||||
; - 11-99-05-0001 -
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 68
|
||||
; ==================> Len = 19
|
||||
; 12-01-01-0001 - -
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 20
|
||||
; ==================> Len = 19
|
||||
; 12-03-01-0005 12-03-02-0005 12-03-03-0005
|
||||
|
|
@ -5628,261 +5629,6 @@ BANANA MILK" </Value>
|
|||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 14
|
||||
; - - 12-03-03-0061
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0061.Button,$Sum1203030061) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030061 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_cocoa_MILK_BISCOFF.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_cocoa_MILK_BISCOFF.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_cocoa_MILK_BISCOFF.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0061, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "COCOA MILK BISCOFF VOLCANO"
|
||||
Var NameDrinkTH = "โกโก้ บิสคอฟ"
|
||||
Var DrinkDescriptionTH = "โกโก้ นม น้ำตาล บิสคอฟ"
|
||||
Var DrinkDescription = "Cocoa, Milk, Sugar, Biscof"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_cocoa_MILK_BISCOFF.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0061.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0061"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0061.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0061, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0061"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0061.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0061.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0061.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0061.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โกโก้
|
||||
บิสคอฟ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โกโก้ นม น้ำตาล
|
||||
บิสคอฟ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "COCOA MILK
|
||||
BISCOFF VOLCANO" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Cocoa, Milk,
|
||||
Sugar, Biscof" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-03-0061.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-03-0061.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0061.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1203030061 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0061.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1203030061 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 30
|
||||
; ==================> Len = 19
|
||||
; 12-01-01-1003 12-01-02-1001 -
|
||||
|
|
|
|||
|
|
@ -11,10 +11,6 @@
|
|||
<EventOpen>
|
||||
; On open
|
||||
|
||||
If WinterWonderPro = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_milk_winter_wonder.xml"
|
||||
EndIf
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Menu4Selected = "PressForever"
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -34,6 +34,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 13
|
||||
; ==================> Len = 19
|
||||
; - - 12-03-03-0009
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 78
|
||||
; ==================> Len = 19
|
||||
; - 12-05-02-0007 12-05-03-0007
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 50
|
||||
; ==================> Len = 19
|
||||
; - 12-05-02-0094 12-05-03-0094
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 30
|
||||
; ==================> Len = 19
|
||||
; - 12-05-02-0007 12-05-03-0007
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 18
|
||||
; ==================> Len = 14
|
||||
; - 12-99-02-0009 -
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 14
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
; ==================> Len = 14
|
||||
; - - 12-03-03-0067
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -186,6 +186,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 9
|
||||
; ==================> Len = 14
|
||||
; 12-05-01-0001 12-05-02-0001 -
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 44
|
||||
; ==================> Len = 14
|
||||
; - 12-05-02-0095 -
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 9
|
||||
; ==================> Len = 14
|
||||
; - 12-01-02-0061 12-01-03-0061
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 23
|
||||
; ==================> Len = 14
|
||||
; - 12-01-02-0057 -
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 16
|
||||
; ==================> Len = 14
|
||||
; - 12-21-62-0002 12-21-63-0002
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 18
|
||||
; ==================> Len = 19
|
||||
; 12-01-01-0006 12-01-02-0003 12-01-03-0003
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
; ==================> Len = 14
|
||||
; - - 12-99-03-0026
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 15
|
||||
; ==================> Len = 14
|
||||
; - 12-02-02-0080 -
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
; ==================> Len = 14
|
||||
; - - 12-01-03-0078
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
; ==================> Len = 14
|
||||
; - 12-03-02-0075 12-03-03-0075
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
; ==================> Len = 14
|
||||
; - - 12-03-03-0046
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -29,6 +29,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 24
|
||||
; ==================> Len = 14
|
||||
; - 12-03-02-0002 -
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
; ==================> Len = 14
|
||||
; - 12-03-02-0024 12-03-03-0024
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 13
|
||||
; ==================> Len = 14
|
||||
; 12-01-01-0057 12-01-02-0057 12-01-03-0057
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 26
|
||||
; ==================> Len = 14
|
||||
; - 12-01-02-0068 -
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 19
|
||||
; ==================> Len = 14
|
||||
; - - 12-01-03-0043
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
; ==================> Len = 14
|
||||
; - 12-01-02-0057 -
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
; ==================> Len = 14
|
||||
; 12-01-01-0059 12-01-02-0059 -
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
; ==================> Len = 14
|
||||
; - 12-99-02-0008 -
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
; ==================> Len = 14
|
||||
; - 12-02-02-0044 -
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
; ==================> Len = 14
|
||||
; - - 12-05-03-0064
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 26
|
||||
; ==================> Len = 14
|
||||
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
|
||||
|
|
|
|||
36
xml/page_catalog_group_pro_thick_tea_by_brewer.skt
Normal file
36
xml/page_catalog_group_pro_thick_tea_by_brewer.skt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
823
xml/page_catalog_group_pro_thick_tea_by_brewer.xml
Normal file
823
xml/page_catalog_group_pro_thick_tea_by_brewer.xml
Normal file
|
|
@ -0,0 +1,823 @@
|
|||
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
|
||||
<FrameScroll>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 4
|
||||
; ==================> Len = 14
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0083, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "SOUTHERN FUSION TEA"
|
||||
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และน้ำเชื่อมคาราเมล"
|
||||
Var DrinkDescription = "MATCHA , THAI TEA, MILK CARAMEL SYRUP"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0083.Price
|
||||
Var PriceD2 = $12-02-02-0083.Price
|
||||
Var PriceD3 = $12-02-03-0083.Price
|
||||
Var PD_CODE1 = "12-02-01-0083"
|
||||
Var PD_CODE2 = "12-02-02-0083"
|
||||
Var PD_CODE3 = "12-02-03-0083"
|
||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0083"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0083"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0083"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0083.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชาผสานปักษ์ใต้" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "มัทฉะ ชาไทย นม และน้ำเชื่อมคาราเมล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "SOUTHERN FUSION
|
||||
TEA" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "MATCHA , THAI TEA, MILK CARAMEL SYRUP" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-02-01-0083.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-01-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0083.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-03-0083.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-03-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008312020200831202030083 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201008312020200831202030083 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0083.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 14
|
||||
; 12-02-01-0084 12-02-02-0084 12-02-03-0084
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,$Sum120201008412020200841202030084) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008412020200841202030084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_traditional_green_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_traditional_green_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0084, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "TRADITIONAL MATCHA"
|
||||
Var NameDrinkTH = "มัทฉะโบราณ"
|
||||
Var DrinkDescriptionTH = "ชามะลิ มัทฉะ นม และน้ำเชื่อมคาราเมล"
|
||||
Var DrinkDescription = "JASMINE TEA, MATCHA, MILK, CARAMEL SYRUP"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0084.Price
|
||||
Var PriceD2 = $12-02-02-0084.Price
|
||||
Var PriceD3 = $12-02-03-0084.Price
|
||||
Var PD_CODE1 = "12-02-01-0084"
|
||||
Var PD_CODE2 = "12-02-02-0084"
|
||||
Var PD_CODE3 = "12-02-03-0084"
|
||||
Var PD_STAGE_1 = $12-02-01-0084.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0084.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0084.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0084, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0084"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0084"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0084"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0084.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0084.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0084.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0084.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0084.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0084.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0084.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0084.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0084.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0084.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0084.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0084.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "มัทฉะโบราณ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชามะลิ มัทฉะ นม และน้ำเชื่อมคาราเมล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "TRADITIONAL MATCHA" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "JASMINE TEA, MATCHA, MILK, CARAMEL SYRUP" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-02-01-0084.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-01-0084.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0084.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0084.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0084.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0084.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-03-0084.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-03-0084.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0084.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008412020200841202030084 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201008412020200841202030084 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0084.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0084.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0084.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201008412020200841202030084 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 14
|
||||
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,$Sum120201008512020200851202030085) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008512020200851202030085 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_royal_milk_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_royal_milk_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0085, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "ROYAL MILK TEA"
|
||||
Var NameDrinkTH = "ชานมชาววัง"
|
||||
Var DrinkDescriptionTH = "ชาไทย ชามะลิ นม และน้ำเชื่อมคาราเมล"
|
||||
Var DrinkDescription = "THAI TEA, JASMINE TEA, MILK, CARAMEL SYRUP"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_royal_milk_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0085.Price
|
||||
Var PriceD2 = $12-02-02-0085.Price
|
||||
Var PriceD3 = $12-02-03-0085.Price
|
||||
Var PD_CODE1 = "12-02-01-0085"
|
||||
Var PD_CODE2 = "12-02-02-0085"
|
||||
Var PD_CODE3 = "12-02-03-0085"
|
||||
Var PD_STAGE_1 = $12-02-01-0085.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0085.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0085.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0085, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0085"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0085"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0085"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0085.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0085.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0085.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0085.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0085.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0085.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0085.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0085.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0085.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0085.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0085.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0085.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชานมชาววัง" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชาไทย ชามะลิ นม และน้ำเชื่อมคาราเมล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "ROYAL MILK TEA" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "THAI TEA, JASMINE TEA, MILK, CARAMEL SYRUP" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-02-01-0085.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-01-0085.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0085.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0085.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0085.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0085.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-03-0085.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-03-0085.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0085.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008512020200851202030085 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201008512020200851202030085 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0085.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0085.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0085.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201008512020200851202030085 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
; ==================> Len = 19
|
||||
; 12-03-01-0022 12-03-02-0022 12-03-03-0022
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
; ==================> Len = 14
|
||||
; - - 12-01-03-0078
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
; ==================> Len = 14
|
||||
; - - 12-99-03-0074
|
||||
|
|
|
|||
|
|
@ -78,4 +78,3 @@
|
|||
|
||||
</Popup>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -55,44 +55,9 @@
|
|||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 4
|
||||
Var block_index_move = 1
|
||||
If Seeker = "curr" Then
|
||||
Var TouchLessStg = "Enable"
|
||||
Var TouchLessQrStg = "Enable"
|
||||
Else
|
||||
Var TouchLessStg = "Disable"
|
||||
Var TouchLessQrStg = "Invisible"
|
||||
EndIf
|
||||
If WebAppShow = "Invisible" Then
|
||||
Var TouchLessStg = "Disable"
|
||||
Var TouchLessQrStg = "Invisible"
|
||||
EndIf
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> "Enable" </State>
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<State> TouchLessStg </State>
|
||||
<Filename> Var( DirImage + "/touch_less_order.png" )</Filename>
|
||||
<FilenameDisable> Var( DirImage + "/touch_less_order_db.png" )</FilenameDisable>
|
||||
</Image>
|
||||
<QRCode>
|
||||
<X> 40 </X>
|
||||
<Y> 153 </Y>
|
||||
<Width> 150 </Width>
|
||||
<Color> "0xeae6e1" </Color>
|
||||
<QRColor> "0x513C2F" </Color>
|
||||
<Height> 150 </Height>
|
||||
<State> TouchLessQrStg </State>
|
||||
<Service> testservice </Service>
|
||||
</QRCode>
|
||||
</Block>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 62
|
||||
;TAGESP
|
||||
|
|
@ -614,7 +579,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-02-0081.Button,Disable=Invisible,$Sum1203020081) </State>
|
||||
<State> Flag( 12-03-02-0081.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2024/12/31T23:59:59",Disable=Invisible,$Sum1203020081) </State>
|
||||
<Button>
|
||||
<State> $Sum1203020081 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_santa_ginger.png" </Filename>
|
||||
|
|
@ -865,7 +830,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0088.Button,Disable=Invisible,$Sum1203030088) </State>
|
||||
<State> Flag( 12-03-03-0088.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2024/12/31T23:59:59",Disable=Invisible,$Sum1203030088) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030088 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_choco_snow_flake_smoothie.png" </Filename>
|
||||
|
|
@ -1118,7 +1083,7 @@ CARAMEL SYRUP , OREO AND ICE" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0089.Button,Disable=Invisible,$Sum1203030089) </State>
|
||||
<State> Flag( 12-03-03-0089.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2024/12/31T23:59:59",Disable=Invisible,$Sum1203030089) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030089 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_reindeer_peppermint_smoothie.png" </Filename>
|
||||
|
|
@ -1372,7 +1337,7 @@ STRAWBERRY SYRUP AND ICE" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-02-0084.Button,Disable=Invisible,$Sum1201020084) </State>
|
||||
<State> Flag( 12-01-02-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2024/12/31T23:59:59",Disable=Invisible,$Sum1201020084) </State>
|
||||
<Button>
|
||||
<State> $Sum1201020084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_christmas_cafe_latte.png" </Filename>
|
||||
|
|
@ -1625,7 +1590,7 @@ CARAMEL SYRUP AND WATER" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-02-0084.Button,Disable=Invisible,$Sum1221020084) </State>
|
||||
<State> Flag( 12-21-02-0084.Button,DateTimeStart="2024/12/01T00:00:00",DateTimeEnd="2024/12/31T23:59:59",Disable=Invisible,$Sum1221020084) </State>
|
||||
<Button>
|
||||
<State> $Sum1221020084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_christmas_cafe_latte.png" </Filename>
|
||||
|
|
@ -1879,7 +1844,7 @@ CARAMEL SYRUP AND WATER" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2024/12/01T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
|
|
@ -2135,7 +2100,7 @@ TEA" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,Disable=Invisible,$Sum120201008412020200841202030084) </State>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,DateTimeStart="2024/12/01T00:00:00",Disable=Invisible,$Sum120201008412020200841202030084) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008412020200841202030084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
|
||||
|
|
@ -2390,7 +2355,7 @@ TEA" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,Disable=Invisible,$Sum120201008512020200851202030085) </State>
|
||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,DateTimeStart="2024/12/01T00:00:00",Disable=Invisible,$Sum120201008512020200851202030085) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008512020200851202030085 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
|
||||
|
|
@ -6679,261 +6644,6 @@ Sugar, Biscof" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 14
|
||||
; - - 12-03-03-0061
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0061.Button,Disable=Invisible,$Sum1203030061) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030061 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_cocoa_MILK_BISCOFF.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_cocoa_MILK_BISCOFF.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_cocoa_MILK_BISCOFF.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0061, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "COCOA MILK BISCOFF VOLCANO"
|
||||
Var NameDrinkTH = "โกโก้ บิสคอฟ"
|
||||
Var DrinkDescriptionTH = "โกโก้ นม น้ำตาล บิสคอฟ"
|
||||
Var DrinkDescription = "Cocoa, Milk, Sugar, Biscof"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_cocoa_MILK_BISCOFF.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0061.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0061"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0061.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0061, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0061"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0061.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0061.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0061.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0061.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var OpenFromInstMenuTab = 0
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โกโก้
|
||||
บิสคอฟ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โกโก้ นม น้ำตาล
|
||||
บิสคอฟ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "COCOA MILK
|
||||
BISCOFF VOLCANO" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Cocoa, Milk,
|
||||
Sugar, Biscof" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-03-0061.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-03-0061.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0061.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1203030061 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0061.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1203030061 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 14
|
||||
|
|
@ -16394,4 +16104,3 @@ LIMENADE SODA" </Value>
|
|||
|
||||
</Popup>
|
||||
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -34,6 +34,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 25
|
||||
; ==================> Len = 19
|
||||
; - - 12-41-03-0001
|
||||
|
|
|
|||
|
|
@ -166,6 +166,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 7
|
||||
; ==================> Len = 14
|
||||
; - 12-01-02-0053 -
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@
|
|||
<EventOpen>
|
||||
; On open
|
||||
|
||||
If ThickTeaByBrewerPro = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_tea_thick_tea.xml"
|
||||
EndIf
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Menu3Selected = "PressForever"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,10 +9,6 @@
|
|||
<EventOpen>
|
||||
; On open
|
||||
|
||||
If ThickTeaByBrewerPro = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_tea_thick_tea.xml"
|
||||
EndIf
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Menu3Selected = "PressForever"
|
||||
|
||||
|
|
@ -46,6 +42,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 46
|
||||
; ==================> Len = 14
|
||||
; 12-02-01-0001 12-02-02-0001 12-02-03-0001
|
||||
|
|
@ -6431,7 +6428,7 @@ LIMENADE" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,$Sum120201008312020200831202030083) </State>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2024/12/01T00:00:00",$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
|
|
@ -6687,7 +6684,7 @@ TEA" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,$Sum120201008412020200841202030084) </State>
|
||||
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,DateTimeStart="2024/12/01T00:00:00",$Sum120201008412020200841202030084) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008412020200841202030084 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
|
||||
|
|
@ -6942,7 +6939,7 @@ TEA" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,$Sum120201008512020200851202030085) </State>
|
||||
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,DateTimeStart="2024/12/01T00:00:00",$Sum120201008512020200851202030085) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008512020200851202030085 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 20
|
||||
; ==================> Len = 19
|
||||
; - 12-04-02-0001 -
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 6
|
||||
; ==================> Len = 14
|
||||
; 12-99-01-0042 12-99-02-0044 12-99-03-0046
|
||||
|
|
|
|||
|
|
@ -21,30 +21,28 @@
|
|||
Var GetCreditFlag = 0
|
||||
|
||||
Var Xtext19 = 260
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
;do not thing
|
||||
Else
|
||||
Var OpenXMLFile = CountryRootPath + "xml/page_check_member.lxml"
|
||||
Open OpenXMLFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var CheckMemberTitle = CheckMemberTitleEN
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext19 = 154
|
||||
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_enter_your_mobile_to_credit_balance.mp3"
|
||||
If show_eng = "true" Then
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
SetLanguage "MYANMAR"
|
||||
Else
|
||||
SetLanguage "ENG"
|
||||
EndIf
|
||||
Else
|
||||
Var CheckMemberTitle = CheckMemberTitleTH
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_enter_your_mobile_to_credit_balance.mp3"
|
||||
SetLanguage "THAI"
|
||||
EndIf
|
||||
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var luckyDrawTicket = 0
|
||||
Var luckyDrawAlredyGotReward = 0
|
||||
|
|
@ -54,7 +52,6 @@
|
|||
|
||||
Var TaobinCredit = 0
|
||||
|
||||
Var show_eng_button_stage = "Enable"
|
||||
|
||||
;inter-max-number
|
||||
If CountryName = "Malaysia" Then
|
||||
|
|
@ -72,23 +69,6 @@
|
|||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<EventLanguageOnChange>
|
||||
DEBUGVAR LanguageShow
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventLanguageOnChange>
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
|
@ -219,7 +199,68 @@
|
|||
</EventActionError>
|
||||
|
||||
|
||||
<EventLanguageOnChange>
|
||||
DEBUGVAR LanguageShow
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
;Var CheckMemberTitle = CheckMemberTitleEN
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext19 = 154
|
||||
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_enter_your_mobile_to_credit_balance.mp3"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
;Var CheckMemberTitle = CheckMemberTitleTH
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Please_enter_your_mobile_to_credit_balance.mp3"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
;Var CheckMemberTitle = CheckMemberTitleMMR
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_mmr"
|
||||
EndIf
|
||||
|
||||
SAVELOG "EventLanguageOnChange menu -list"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
EndIf
|
||||
;inter-max-number
|
||||
If CountryName = "Malaysia" Then
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
EndIf
|
||||
|
||||
;inter-max-number
|
||||
If CountryName = "Indonesia" Then
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
EndIf
|
||||
|
||||
;inter-max-number
|
||||
If CountryName = "Australia" Then
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
EndIf
|
||||
Else
|
||||
Var LanguageButtonEnable = "Invisible"
|
||||
Var show_eng_button_stage = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RefreshAll
|
||||
</EventLanguageOnChange>
|
||||
|
||||
|
||||
<Button>
|
||||
|
|
@ -547,6 +588,7 @@
|
|||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 1783 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/bn_back.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_back.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
@ -641,15 +683,52 @@
|
|||
;<Filename> Var( DirImage + "/text_19.png" )</Filename>
|
||||
;</Image>
|
||||
|
||||
;<Text>
|
||||
;<X> 0 </X>
|
||||
;<Y> 521 </Y>
|
||||
;<Width> 1080 </Width>
|
||||
;<Align> Center </Align>
|
||||
;<Font> KanitRegularTTF </Font>
|
||||
;<Color> 0x513C2F </Color>
|
||||
;<Size> 51 </Size>
|
||||
;<Value> CheckMemberTitle </Value>
|
||||
;</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 521 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowTextTopup </State>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Size> 51 </Size>
|
||||
<Value> CheckMemberTitle </Value>
|
||||
<Height> 200 </Height>
|
||||
<Language>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<ID> 002001 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 521 </Y>
|
||||
<State> ShowTextCoupon </State>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 200 </Height>
|
||||
<Language>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<ID> 002002 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 521 </Y>
|
||||
<State> ShowTextPass </State>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 200 </Height>
|
||||
<Language>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<ID> 002003 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Image>
|
||||
|
|
|
|||
|
|
@ -10,6 +10,15 @@
|
|||
<EventOpen>
|
||||
; On open
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
;do not thing
|
||||
Else
|
||||
Var OpenXMLFile = CountryRootPath + "xml/page_check_member1.lxml"
|
||||
Open OpenXMLFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
Var TimeoutSMS = 0
|
||||
Var StateBGetSMS = "Enable"
|
||||
|
|
@ -42,6 +51,12 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_mmr/"
|
||||
EndIf
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
Var Ext1a = ""
|
||||
Var GetAccFlag = 0
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
|||
page_check_member2_campaign
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
|
|
@ -11,22 +12,14 @@
|
|||
Var Timeout = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_en"
|
||||
Var DirImageCampaign = "ROOT/taobin_project/image/display_point_campaign_en"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point"
|
||||
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"
|
||||
|
||||
EndIf
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
SetLanguage "MYANMAR"
|
||||
Else
|
||||
SetLanguage "ENG"
|
||||
EndIf
|
||||
Else
|
||||
SetLanguage "THAI"
|
||||
EndIf
|
||||
|
||||
Var CoffeePointRank = CoffeePointRankTmp
|
||||
;Var PointDiff = 150 - CoffeePointRank
|
||||
|
|
@ -52,273 +45,12 @@
|
|||
SPLIT TaobinExpire "/" 3 TaobinExpireYear
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "Jan"
|
||||
Var TaobinExpireMonthX = "January"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "02" Then
|
||||
Var TaobinExpireMonth = "Feb"
|
||||
Var TaobinExpireMonthX = "February"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "03" Then
|
||||
Var TaobinExpireMonth = "Mar"
|
||||
Var TaobinExpireMonthX = "March"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "04" Then
|
||||
Var TaobinExpireMonth = "Apr"
|
||||
Var TaobinExpireMonthX = "April"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "05" Then
|
||||
Var TaobinExpireMonth = "May"
|
||||
Var TaobinExpireMonthX = "May"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "06" Then
|
||||
Var TaobinExpireMonth = "Jun"
|
||||
Var TaobinExpireMonthX = "June"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "07" Then
|
||||
Var TaobinExpireMonth = "Jul"
|
||||
Var TaobinExpireMonthX = "July"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "08" Then
|
||||
Var TaobinExpireMonth = "Aug"
|
||||
Var TaobinExpireMonthX = "August"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "09" Then
|
||||
Var TaobinExpireMonth = "Sep"
|
||||
Var TaobinExpireMonthX = "September"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "10" Then
|
||||
Var TaobinExpireMonth = "Oct"
|
||||
Var TaobinExpireMonthX = "October"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "11" Then
|
||||
Var TaobinExpireMonth = "Nov"
|
||||
Var TaobinExpireMonthX = "November"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "12" Then
|
||||
Var TaobinExpireMonth = "Dec"
|
||||
Var TaobinExpireMonthX = "December"
|
||||
EndIf
|
||||
|
||||
INT TaobinExpireYear
|
||||
INT TaobinExpireDay
|
||||
|
||||
Var TaobinExpireYear = TaobinExpireYear + 0
|
||||
|
||||
Else
|
||||
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "ม.ค."
|
||||
Var TaobinExpireMonthX = "มกราคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "02" Then
|
||||
Var TaobinExpireMonth = "ก.พ."
|
||||
Var TaobinExpireMonthX = "กุมภาพันธ์"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "03" Then
|
||||
Var TaobinExpireMonth = "มี.ค."
|
||||
Var TaobinExpireMonthX = "มีนาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "04" Then
|
||||
Var TaobinExpireMonth = "เม.ย."
|
||||
Var TaobinExpireMonthX = "เมษายน"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "05" Then
|
||||
Var TaobinExpireMonth = "พ.ค."
|
||||
Var TaobinExpireMonthX = "พฤษภาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "06" Then
|
||||
Var TaobinExpireMonth = "มิ.ย."
|
||||
Var TaobinExpireMonthX = "มิถุนายน"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "07" Then
|
||||
Var TaobinExpireMonth = "ก.ค."
|
||||
Var TaobinExpireMonthX = "กรกฎาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "08" Then
|
||||
Var TaobinExpireMonth = "ส.ค."
|
||||
Var TaobinExpireMonthX = "สิงหาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "09" Then
|
||||
Var TaobinExpireMonth = "ก.ย."
|
||||
Var TaobinExpireMonthX = "กันยายน"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "10" Then
|
||||
Var TaobinExpireMonth = "ต.ค."
|
||||
Var TaobinExpireMonthX = "ตุลาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "11" Then
|
||||
Var TaobinExpireMonth = "พ.ย."
|
||||
Var TaobinExpireMonthX = "พฤศจิกายน"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "12" Then
|
||||
Var TaobinExpireMonth = "ธ.ค."
|
||||
Var TaobinExpireMonthX = "ธันวาคม"
|
||||
EndIf
|
||||
|
||||
INT TaobinExpireYear
|
||||
INT TaobinExpireDay
|
||||
|
||||
Var TaobinExpireYear = TaobinExpireYear + 543
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var ExpireStrTmp = ""
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireDay
|
||||
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireMonth
|
||||
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireYear
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
If TaobinLevel = "1" Then
|
||||
Var TaobinLevelDesc1 = "Shy turtle level"
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel1.png"
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "2" Then
|
||||
Var TaobinLevelDesc1 = "Walking turtle level"
|
||||
Var PointDiff = 150 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "to move to Flying turtle level"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel2.png"
|
||||
|
||||
If CoffeePointRank > 149 Then
|
||||
;Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "Flying turtle level "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 150
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "3" Then
|
||||
Var TaobinLevelDesc1 = "Flying turtle level until " + ExpireStrTmp
|
||||
|
||||
Var PointDiff = 200 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "to move to Master turtle level"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
If CoffeePointRank > 199 Then
|
||||
;Var TaobinLeveImg = "/taoLevel4.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "Master turtle level "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 350
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "4" Then
|
||||
Var TaobinLevelDesc1 = "Master turtle level until " + ExpireStrTmp
|
||||
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel4.png"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Else
|
||||
|
||||
If TaobinLevel = "1" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าขี้อาย"
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel1.png"
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "2" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าเตาะแตะ"
|
||||
Var PointDiff = 150 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "สะสมกระดองอีก " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " กระดอง "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "เพื่อเลื่อนขั้นเป็นเต่าติดปีก"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel2.png"
|
||||
|
||||
If CoffeePointRank > 149 Then
|
||||
;Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าติดปีก "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 150
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "3" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าติดปีก จนถึง " + ExpireStrTmp
|
||||
|
||||
Var PointDiff = 200 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "สะสมกระดองอีก " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " กระดอง "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "เพื่อเลื่อนขั้นเป็นผู้เฒ่าเต่า"
|
||||
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
If CoffeePointRank > 199 Then
|
||||
;Var TaobinLeveImg = "/taoLevel4.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "ระดับสมาชิก ผู้เฒ่าเต่า "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 350
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "4" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก ผู้เฒ่าเต่า จนถึง " + ExpireStrTmp
|
||||
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel4.png"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Var FromCheckMemberPoint = 0
|
||||
|
|
@ -331,8 +63,6 @@
|
|||
Var PolygonST2 = "Invisible"
|
||||
|
||||
|
||||
|
||||
|
||||
;Var CouponInfo1 = Ext1a
|
||||
;Var CouponInfo2 = Ext1b
|
||||
;Var CouponInfo3 = Ext1c
|
||||
|
|
@ -571,120 +301,8 @@
|
|||
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 MonthIndex = CouponExireA_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireA_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireA = "Expires " + CouponExpireA
|
||||
EndIf
|
||||
|
||||
If CouponIDB = "" Then
|
||||
Else
|
||||
|
||||
Var MonthIndex = CouponExireB_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireB_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireB = "Expires " + CouponExpireB
|
||||
|
||||
EndIf
|
||||
|
||||
Var CouponText = "Coupons (" + CouponNum
|
||||
Var CouponText = CouponText + ")"
|
||||
|
||||
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 MonthIndex = CouponExireA_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireA_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireA = "หมดอายุ " + CouponExpireA
|
||||
EndIf
|
||||
|
||||
If CouponIDB = "" Then
|
||||
Else
|
||||
|
||||
Var MonthIndex = CouponExireB_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireB_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireB = "หมดอายุ " + CouponExpireB
|
||||
|
||||
EndIf
|
||||
|
||||
Var CouponText = "คูปองสะสม (" + CouponNum
|
||||
Var CouponText = CouponText + ")"
|
||||
|
||||
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"
|
||||
Var dayDiff_X = 170
|
||||
Var dayDiff_Y = 1154
|
||||
Var dayDiff_Size = 16
|
||||
Else
|
||||
Var MemberText = "สถานะสมาชิก"
|
||||
Var CreditTotalLabel = "เครดิตสะสม"
|
||||
Var ShellTotalLabel = "กระดองสะสม"
|
||||
Var CreditUnit = "บาท"
|
||||
Var ShellUnit = "กระดอง"
|
||||
Var dayDiff_X = 244
|
||||
Var dayDiff_Y = 1138
|
||||
Var dayDiff_Size = 25
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
Var bn_exit = "/bn_cancel2.png"
|
||||
Var bp_exit = "/bp_cancel2.png"
|
||||
|
|
@ -765,6 +383,555 @@
|
|||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<EventLanguageOnChange>
|
||||
DEBUGVAR LanguageShow
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_en"
|
||||
Var DirImageCampaign = "ROOT/taobin_project/image/display_point_campaign_en"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "Jan"
|
||||
Var TaobinExpireMonthX = "January"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "02" Then
|
||||
Var TaobinExpireMonth = "Feb"
|
||||
Var TaobinExpireMonthX = "February"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "03" Then
|
||||
Var TaobinExpireMonth = "Mar"
|
||||
Var TaobinExpireMonthX = "March"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "04" Then
|
||||
Var TaobinExpireMonth = "Apr"
|
||||
Var TaobinExpireMonthX = "April"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "05" Then
|
||||
Var TaobinExpireMonth = "May"
|
||||
Var TaobinExpireMonthX = "May"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "06" Then
|
||||
Var TaobinExpireMonth = "Jun"
|
||||
Var TaobinExpireMonthX = "June"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "07" Then
|
||||
Var TaobinExpireMonth = "Jul"
|
||||
Var TaobinExpireMonthX = "July"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "08" Then
|
||||
Var TaobinExpireMonth = "Aug"
|
||||
Var TaobinExpireMonthX = "August"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "09" Then
|
||||
Var TaobinExpireMonth = "Sep"
|
||||
Var TaobinExpireMonthX = "September"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "10" Then
|
||||
Var TaobinExpireMonth = "Oct"
|
||||
Var TaobinExpireMonthX = "October"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "11" Then
|
||||
Var TaobinExpireMonth = "Nov"
|
||||
Var TaobinExpireMonthX = "November"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "12" Then
|
||||
Var TaobinExpireMonth = "Dec"
|
||||
Var TaobinExpireMonthX = "December"
|
||||
EndIf
|
||||
|
||||
INT TaobinExpireYear
|
||||
INT TaobinExpireDay
|
||||
|
||||
Var TaobinExpireYear = TaobinExpireYear + 0
|
||||
|
||||
If TaobinLevel = "1" Then
|
||||
Var TaobinLevelDesc1 = "Shy turtle level"
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel1.png"
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "2" Then
|
||||
Var TaobinLevelDesc1 = "Walking turtle level"
|
||||
Var PointDiff = 150 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "to move to Flying turtle level"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel2.png"
|
||||
|
||||
If CoffeePointRank > 149 Then
|
||||
;Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "Flying turtle level "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 150
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "3" Then
|
||||
Var TaobinLevelDesc1 = "Flying turtle level until " + ExpireStrTmp
|
||||
|
||||
Var PointDiff = 200 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " shells "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "to move to Master turtle level"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
If CoffeePointRank > 199 Then
|
||||
;Var TaobinLeveImg = "/taoLevel4.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "Master turtle level "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 350
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "4" Then
|
||||
Var TaobinLevelDesc1 = "Master turtle level until " + ExpireStrTmp
|
||||
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel4.png"
|
||||
EndIf
|
||||
|
||||
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 MonthIndex = CouponExireA_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireA_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireA = "Expires " + CouponExpireA
|
||||
EndIf
|
||||
|
||||
If CouponIDB = "" Then
|
||||
Else
|
||||
|
||||
Var MonthIndex = CouponExireB_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireB_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireB = "Expires " + CouponExpireB
|
||||
|
||||
EndIf
|
||||
|
||||
Var CouponText = "Coupons (" + CouponNum
|
||||
Var CouponText = CouponText + ")"
|
||||
|
||||
Var MemberText = "MEMBERSHIP STATUS"
|
||||
Var CreditTotalLabel = "TAO BIN CREDIT"
|
||||
Var ShellTotalLabel = "TOTAL SHELL BALANCE"
|
||||
Var CreditUnit = "BATH"
|
||||
Var ShellUnit = "SHELLS"
|
||||
Var dayDiff_X = 170
|
||||
Var dayDiff_Y = 1154
|
||||
Var dayDiff_Size = 16
|
||||
EndIf
|
||||
If LanguageShow = "THAI" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point"
|
||||
Var DirImageCampaign = "ROOT/taobin_project/image/display_point_campaign"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "ม.ค."
|
||||
Var TaobinExpireMonthX = "มกราคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "02" Then
|
||||
Var TaobinExpireMonth = "ก.พ."
|
||||
Var TaobinExpireMonthX = "กุมภาพันธ์"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "03" Then
|
||||
Var TaobinExpireMonth = "มี.ค."
|
||||
Var TaobinExpireMonthX = "มีนาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "04" Then
|
||||
Var TaobinExpireMonth = "เม.ย."
|
||||
Var TaobinExpireMonthX = "เมษายน"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "05" Then
|
||||
Var TaobinExpireMonth = "พ.ค."
|
||||
Var TaobinExpireMonthX = "พฤษภาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "06" Then
|
||||
Var TaobinExpireMonth = "มิ.ย."
|
||||
Var TaobinExpireMonthX = "มิถุนายน"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "07" Then
|
||||
Var TaobinExpireMonth = "ก.ค."
|
||||
Var TaobinExpireMonthX = "กรกฎาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "08" Then
|
||||
Var TaobinExpireMonth = "ส.ค."
|
||||
Var TaobinExpireMonthX = "สิงหาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "09" Then
|
||||
Var TaobinExpireMonth = "ก.ย."
|
||||
Var TaobinExpireMonthX = "กันยายน"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "10" Then
|
||||
Var TaobinExpireMonth = "ต.ค."
|
||||
Var TaobinExpireMonthX = "ตุลาคม"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "11" Then
|
||||
Var TaobinExpireMonth = "พ.ย."
|
||||
Var TaobinExpireMonthX = "พฤศจิกายน"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "12" Then
|
||||
Var TaobinExpireMonth = "ธ.ค."
|
||||
Var TaobinExpireMonthX = "ธันวาคม"
|
||||
EndIf
|
||||
|
||||
INT TaobinExpireYear
|
||||
INT TaobinExpireDay
|
||||
|
||||
Var TaobinExpireYear = TaobinExpireYear + 543
|
||||
|
||||
If TaobinLevel = "1" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าขี้อาย"
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel1.png"
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "2" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าเตาะแตะ"
|
||||
Var PointDiff = 150 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "สะสมกระดองอีก " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " กระดอง "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "เพื่อเลื่อนขั้นเป็นเต่าติดปีก"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel2.png"
|
||||
|
||||
If CoffeePointRank > 149 Then
|
||||
;Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าติดปีก "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 150
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "3" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าติดปีก จนถึง " + ExpireStrTmp
|
||||
|
||||
Var PointDiff = 200 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "สะสมกระดองอีก " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " กระดอง "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "เพื่อเลื่อนขั้นเป็นผู้เฒ่าเต่า"
|
||||
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
If CoffeePointRank > 199 Then
|
||||
;Var TaobinLeveImg = "/taoLevel4.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "ระดับสมาชิก ผู้เฒ่าเต่า "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 350
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "4" Then
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก ผู้เฒ่าเต่า จนถึง " + ExpireStrTmp
|
||||
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel4.png"
|
||||
EndIf
|
||||
|
||||
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 MonthIndex = CouponExireA_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireA_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireA = "หมดอายุ " + CouponExpireA
|
||||
EndIf
|
||||
|
||||
If CouponIDB = "" Then
|
||||
Else
|
||||
|
||||
Var MonthIndex = CouponExireB_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireB_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireB = "หมดอายุ " + CouponExpireB
|
||||
|
||||
EndIf
|
||||
|
||||
Var CouponText = "คูปองสะสม (" + CouponNum
|
||||
Var CouponText = CouponText + ")"
|
||||
|
||||
Var MemberText = "สถานะสมาชิก"
|
||||
Var CreditTotalLabel = "เครดิตสะสม"
|
||||
Var ShellTotalLabel = "กระดองสะสม"
|
||||
Var CreditUnit = "บาท"
|
||||
Var ShellUnit = "กระดอง"
|
||||
Var dayDiff_X = 244
|
||||
Var dayDiff_Y = 1138
|
||||
Var dayDiff_Size = 25
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_mmr"
|
||||
Var DirImageCampaign = "ROOT/taobin_project/image/display_point_campaign_mmr"
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "Jan"
|
||||
Var TaobinExpireMonthX = "ဇန္နဝါရီလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "02" Then
|
||||
Var TaobinExpireMonth = "Feb"
|
||||
Var TaobinExpireMonthX = "ေဖေဖာ္ဝါရီလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "03" Then
|
||||
Var TaobinExpireMonth = "Mar"
|
||||
Var TaobinExpireMonthX = "မတ္လ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "04" Then
|
||||
Var TaobinExpireMonth = "Apr"
|
||||
Var TaobinExpireMonthX = "ဧျပီလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "05" Then
|
||||
Var TaobinExpireMonth = "May"
|
||||
Var TaobinExpireMonthX = "ေမလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "06" Then
|
||||
Var TaobinExpireMonth = "Jun"
|
||||
Var TaobinExpireMonthX = "ဇြန္လ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "07" Then
|
||||
Var TaobinExpireMonth = "Jul"
|
||||
Var TaobinExpireMonthX = "ဇူလိုင္လ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "08" Then
|
||||
Var TaobinExpireMonth = "Aug"
|
||||
Var TaobinExpireMonthX = "ၾသဂုတ္လ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "09" Then
|
||||
Var TaobinExpireMonth = "Sep"
|
||||
Var TaobinExpireMonthX = "စက္တင္ဘာလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "10" Then
|
||||
Var TaobinExpireMonth = "Oct"
|
||||
Var TaobinExpireMonthX = "ေအာက္တိုဘာလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "11" Then
|
||||
Var TaobinExpireMonth = "Nov"
|
||||
Var TaobinExpireMonthX = "ႏိုဝင္ဘာလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "12" Then
|
||||
Var TaobinExpireMonth = "Dec"
|
||||
Var TaobinExpireMonthX = "ဒီဇင္ဘာလ"
|
||||
EndIf
|
||||
|
||||
INT TaobinExpireYear
|
||||
INT TaobinExpireDay
|
||||
|
||||
Var TaobinExpireYear = TaobinExpireYear + 0
|
||||
|
||||
If TaobinLevel = "1" Then
|
||||
Var TaobinLevelDesc1 = "ရှက်လိပ်အဆင့်"
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel1.png"
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "2" Then
|
||||
Var TaobinLevelDesc1 = "လမ်းလျှောက်လိပ်အဆင့်"
|
||||
Var PointDiff = 150 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " အခွံများ "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "Flying turtle အဆင့်သို့ ရွှေ့ရန်"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel2.png"
|
||||
|
||||
If CoffeePointRank > 149 Then
|
||||
;Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "လိပ်အဆင့် "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 150
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "3" Then
|
||||
Var TaobinLevelDesc1 = "လိပ်ပျံအဆင့်အထိ " + ExpireStrTmp
|
||||
|
||||
Var PointDiff = 200 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " အခွံများ "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "Master လိပ်အဆင့်သို့ ပြောင်းရွှေ့ရန်"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
If CoffeePointRank > 199 Then
|
||||
;Var TaobinLeveImg = "/taoLevel4.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "သခင်လိပ်အဆင့် "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 350
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "4" Then
|
||||
Var TaobinLevelDesc1 = "မာစတာလိပ်အဆင့်အထိ " + ExpireStrTmp
|
||||
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel4.png"
|
||||
EndIf
|
||||
|
||||
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 MonthIndex = CouponExireA_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireA_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireA = "သက်တမ်းကုန် " + CouponExpireA
|
||||
EndIf
|
||||
|
||||
If CouponIDB = "" Then
|
||||
Else
|
||||
|
||||
Var MonthIndex = CouponExireB_M
|
||||
INT MonthIndex
|
||||
Var MonthIndex = MonthIndex - 1
|
||||
Var CouponExireB_M = Months[MonthIndex]
|
||||
|
||||
Var CouponExpireB = "သက်တမ်းကုန် " + CouponExpireB
|
||||
|
||||
EndIf
|
||||
|
||||
Var CouponText = "ကူပွန်များ (" + CouponNum
|
||||
Var CouponText = CouponText + ")"
|
||||
|
||||
Var MemberText = "အဖွဲ့ဝင်အခြေအနေ"
|
||||
Var CreditTotalLabel = "စုစုပေါင်းခရက်ဒစ်"
|
||||
Var ShellTotalLabel = "စုစုပေါင်း Shell"
|
||||
Var CreditUnit = "BATH"
|
||||
Var ShellUnit = "SHELLS"
|
||||
Var dayDiff_X = 170
|
||||
Var dayDiff_Y = 1154
|
||||
Var dayDiff_Size = 16
|
||||
EndIf
|
||||
|
||||
SAVELOG "EventLanguageOnChange menu -list"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var LanguageButtonEnable = "Invisible"
|
||||
Var show_eng_button_stage = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TaobinExpireYear
|
||||
DEBUGVAR CouponExpireA
|
||||
DEBUGVAR CouponExpireB
|
||||
DEBUGVAR CouponText
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RefreshAll
|
||||
</EventLanguageOnChange>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
|
@ -1091,6 +1258,9 @@
|
|||
Else
|
||||
Var return = "คุณได้รับรางวัล Lucky Draw ไปแล้ว"
|
||||
EndIf
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var return = "သင်သည် Lucky Draw ဆုလာဘ်ကို ရရှိပြီးဖြစ်သည်။"
|
||||
EndIf
|
||||
)
|
||||
</Value>
|
||||
</Text>
|
||||
|
|
|
|||
|
|
@ -11,9 +11,14 @@
|
|||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
;do not thing
|
||||
Else
|
||||
Var OpenXMLFile = CountryRootPath + "xml/page_check_member3.lxml"
|
||||
Open OpenXMLFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_en"
|
||||
|
|
@ -23,6 +28,10 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/display_point"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_mmr"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,12 @@
|
|||
|
||||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_mmr"
|
||||
EndIf
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
Var CoffeePointTmp = CoffeePoint
|
||||
|
||||
|
|
@ -207,6 +213,73 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "Jan"
|
||||
Var TaobinExpireMonthX = "ဇန္နဝါရီလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "02" Then
|
||||
Var TaobinExpireMonth = "Feb"
|
||||
Var TaobinExpireMonthX = "ေဖေဖာ္ဝါရီလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "03" Then
|
||||
Var TaobinExpireMonth = "Mar"
|
||||
Var TaobinExpireMonthX = "မတ္လ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "04" Then
|
||||
Var TaobinExpireMonth = "Apr"
|
||||
Var TaobinExpireMonthX = "ဧျပီလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "05" Then
|
||||
Var TaobinExpireMonth = "May"
|
||||
Var TaobinExpireMonthX = "ေမလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "06" Then
|
||||
Var TaobinExpireMonth = "Jun"
|
||||
Var TaobinExpireMonthX = "ဇြန္လ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "07" Then
|
||||
Var TaobinExpireMonth = "Jul"
|
||||
Var TaobinExpireMonthX = "ဇူလိုင္လ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "08" Then
|
||||
Var TaobinExpireMonth = "Aug"
|
||||
Var TaobinExpireMonthX = "ၾသဂုတ္လ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "09" Then
|
||||
Var TaobinExpireMonth = "Sep"
|
||||
Var TaobinExpireMonthX = "စက္တင္ဘာလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "10" Then
|
||||
Var TaobinExpireMonth = "Oct"
|
||||
Var TaobinExpireMonthX = "ေအာက္တိုဘာလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "11" Then
|
||||
Var TaobinExpireMonth = "Nov"
|
||||
Var TaobinExpireMonthX = "ႏိုဝင္ဘာလ"
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "12" Then
|
||||
Var TaobinExpireMonth = "Dec"
|
||||
Var TaobinExpireMonthX = "ဒီဇင္ဘာလ"
|
||||
EndIf
|
||||
|
||||
INT TaobinExpireYear
|
||||
INT TaobinExpireDay
|
||||
|
||||
Var TaobinExpireYear = TaobinExpireYear + 0
|
||||
EndIf
|
||||
|
||||
|
||||
Var ExpireStrTmp = ""
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireDay
|
||||
|
|
@ -353,6 +426,68 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var TaobinLevelDesc3 = "သင့်တွင် ကူပွန်များရှိသည်။ "
|
||||
Var TaobinLevelDesc3 = TaobinLevelDesc3 + TaobinCoupons
|
||||
Var TaobinLevelDesc3 = TaobinLevelDesc3 + " နံပါတ်များ"
|
||||
|
||||
If TaobinLevel = "1" Then
|
||||
Var TaobinLevelDesc1 = "ရှက်လိပ်အဆင့်"
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel1.png"
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "2" Then
|
||||
Var TaobinLevelDesc1 = "လမ်းလျှောက်လိပ်အဆင့်"
|
||||
Var PointDiff = 150 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " အခွံများ "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "Flying turtle အဆင့်သို့ ရွှေ့ရန်"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel2.png"
|
||||
|
||||
If CoffeePointRank > 149 Then
|
||||
;Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "လိပ်အဆင့် "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 150
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "3" Then
|
||||
Var TaobinLevelDesc1 = "လိပ်ပျံအဆင့်အထိ " + ExpireStrTmp
|
||||
|
||||
Var PointDiff = 200 - CoffeePointRank
|
||||
Var TaobinLevelDesc2 = "Earn " + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " အခွံများ "
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + "Master လိပ်အဆင့်သို့ ပြောင်းရွှေ့ရန်"
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel3.png"
|
||||
|
||||
If CoffeePointRank > 199 Then
|
||||
;Var TaobinLeveImg = "/taoLevel4.png"
|
||||
|
||||
;Var TaobinLevelDesc1 = "သခင်လိပ်အဆင့် "
|
||||
Var TaobinLevelDesc2 = ""
|
||||
;Var CoffeePointRank = CoffeePointRank - 350
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TaobinLevel = "4" Then
|
||||
Var TaobinLevelDesc1 = "မာစတာလိပ်အဆင့်အထိ " + ExpireStrTmp
|
||||
|
||||
Var TaobinLevelDesc2 = ""
|
||||
|
||||
Var TaobinLeveImg = "/taoLevel4.png"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var taobinP1 = "Invisible"
|
||||
Var taobinP2 = "Invisible"
|
||||
|
|
@ -652,6 +787,10 @@
|
|||
Var yPointEndDate = 1563
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var xPointEndDate = 520
|
||||
Var yPointEndDate = 1568
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue