Merged
This commit is contained in:
commit
2f8696f756
125 changed files with 48439 additions and 1598 deletions
14997
xml/event/double_promotion_ovaltine_and_red_string.xml
Normal file
14997
xml/event/double_promotion_ovaltine_and_red_string.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
{
|
||||
"name": "ovaltine",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_ovaltine_school.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "red_string",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_red_string_of_fate.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_thick_tea_by_brewer.xml
|
||||
/event/promotion_ovaltine_school.xml
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_happy_trios.xml
|
||||
/event/promotion_red_string_of_fate.xml
|
||||
|
|
@ -1 +1 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_ovaltine_school.xml"
|
||||
|
|
|
|||
14908
xml/event/promotion_ovaltine_school.xml
Normal file
14908
xml/event/promotion_ovaltine_school.xml
Normal file
File diff suppressed because it is too large
Load diff
14942
xml/event/promotion_red_string_of_fate.xml
Normal file
14942
xml/event/promotion_red_string_of_fate.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
|
|
@ -32,46 +33,10 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_thick_tea_by_brewer.xml"
|
||||
###EventOnClick
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
|
|
|||
|
|
@ -4,42 +4,78 @@
|
|||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
<EventOnClick>
|
||||
|
||||
###EventOnClick
|
||||
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR ThickTeaByBrewerBanner
|
||||
DEBUGVAR ThickTeaByBrewerPro
|
||||
DEBUGVAR StrawberrySeriesPro
|
||||
DEBUGVAR OvaltineSchoolPro
|
||||
DEBUGVAR RedStringOfFatePro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -28,14 +28,28 @@ Else
|
|||
|
||||
; zone promote
|
||||
|
||||
|
||||
If StrawberrySeriesPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_strawberry_series.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_strawberry_series.xml"
|
||||
Else
|
||||
If ThickTeaByBrewerBanner = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_thick_tea_by_brewer.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If OvaltineSchoolPro = 1 Then
|
||||
If RedStringOfFatePro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_ovaltine_and_red_string.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_ovaltine_school.xml"
|
||||
EndIf
|
||||
Else
|
||||
If RedStringOfFatePro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_red_string_of_fate.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
|
|
|
|||
|
|
@ -175,9 +175,16 @@ Var ThickTeaByBrewerBanner = 0
|
|||
Var StrawberrySeriesPro = 0
|
||||
Var StrawberrySeriesMenu = 0
|
||||
|
||||
; Ovaltine school, 1 - 28 Feb
|
||||
Var OvaltineSchoolPro = 0
|
||||
|
||||
; Red string of fate, 10 - 23 Feb
|
||||
Var RedStringOfFatePro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var PayMentCodeShouldCollectPromotionPoint = 0
|
||||
Var NotCollectPointPromotion = 0
|
||||
Var PaymentCodeShouldCollectPromotionPoint = 0
|
||||
|
||||
Var CleanFeedbackFlag = 0
|
||||
|
||||
Var NewFlowPaymentCode = 0
|
||||
Var New_Payment = 0
|
||||
|
|
@ -200,137 +207,21 @@ If SystemDateMonthInt = 1 Then
|
|||
EndIf
|
||||
|
||||
|
||||
If SystemDateMonthInt = 7 Then
|
||||
If SystemDateDayInt <= 10 Then
|
||||
Var NamHomCoconutPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 7 Then
|
||||
If SystemDateDayInt <= 9 Then
|
||||
Var Cocoa77Pro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 15 Then
|
||||
If SystemDateDayInt <= 17 Then
|
||||
Var PassionMintPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 22 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt >= 7 Then
|
||||
Var LuckyDrawCampaign = 1
|
||||
EndIf
|
||||
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt <= 9 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 10 Then
|
||||
Var MomCocoaPro = 1
|
||||
|
||||
If SystemDateDayInt >= 12 Then
|
||||
Var MomCocoaProDiscountEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If SystemDateMonthInt = 9 Then
|
||||
|
||||
If SystemDateDayInt <= 6 Then
|
||||
Var MomCocoaPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 9 Then
|
||||
Var RobinsonBeautyPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 10 Then
|
||||
If SystemDateDayInt <= 25 Then
|
||||
Var JemilaPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 21 Then
|
||||
Var HalloweenPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 11 Then
|
||||
If SystemDateDayInt <= 3 Then
|
||||
Var HalloweenPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 4 Then
|
||||
If SystemDateDayInt <= 8 Then
|
||||
Var WeekdayDiscountPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 11 Then
|
||||
If SystemDateDayInt <= 15 Then
|
||||
Var WeekdayDiscountPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 18 Then
|
||||
If SystemDateDayInt <= 22 Then
|
||||
Var WeekdayDiscountPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 25 Then
|
||||
If SystemDateDayInt <= 29 Then
|
||||
Var WeekdayDiscountPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 20 Then
|
||||
Var JemilaToppingFlag = 1
|
||||
Var SugarZeroCalFreeFlag = 1
|
||||
|
||||
If SystemDateDayOfWeek = "Wednesday" Then
|
||||
Var JemilaToppingFreeFlag = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 21 Then
|
||||
Var HappyTriosPro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
If WeekdayDiscountPro = 1 Then
|
||||
If SystemTimeHourInt >= 16 Then
|
||||
If SystemTimeHourInt < 22 Then
|
||||
Var WeekdayDiscountProEventOn = 1
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 11 Then
|
||||
Var OreoDiscount11Pro = 1
|
||||
; Clean flag start Feb
|
||||
If SystemDateMonthInt >= 2 Then
|
||||
If SystemDateDayInt >= 3 Then
|
||||
Var CleanFeedbackFlag = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 2 Then
|
||||
Var OvaltineSchoolPro = 1
|
||||
|
||||
If SystemDateMonthInt = 12 Then
|
||||
|
||||
Var WinterWonderPro = 1
|
||||
Var ThickTeaByBrewerPro = 1
|
||||
|
||||
If SystemDateDayInt >= 16 Then
|
||||
Var ThickTeaByBrewerBanner = 1
|
||||
If SystemDateDayInt >= 10 Then
|
||||
If SystemDateDayInt <= 23 Then
|
||||
Var RedStringOfFatePro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -343,6 +234,7 @@ EndIf
|
|||
If BoxID = 105005 Then
|
||||
Var NewFlowPaymentCode = 1
|
||||
Var New_Payment = 1
|
||||
Var CleanFeedbackFlag = 1
|
||||
Var 12Day12MenuPro = 0
|
||||
;Var WinterWonderPro = 0
|
||||
;Var ThickTeaByBrewerBanner = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue