THAI: Added Halloween promotion

This commit is contained in:
Kenta420 2024-10-08 12:49:38 +07:00
parent 8f878da088
commit c90edea31e
172 changed files with 30448 additions and 493 deletions

View file

@ -1,89 +1,81 @@
<EventActionOk>
If GettingDiscountStatus = 1 Then
If Ext1a = "ok" Then
Else
EndIf
Open "ROOT/taobin_project/xml/page_catalog_group_pro_mom_cocoa.xml"
EndIf
</EventActionOk>
<Button>
<X> 42 </X>
<Y> 518 </Y>
<State> BigButtonEnable </State>
<Filename>
eval(
If show_eng = "true" Then
If SystemDateDayInt >= 13 Then
Var return = ###normal_eng + "13-16.png"
Else
Var return = ###normal_eng + "10-12.png"
EndIf
eval(
If show_eng = "true" Then
Var return = ###normal_eng
Else
If SystemDateDayInt >= 13 Then
Var return = ###normal_thai + "13-16.png"
Else
Var return = ###normal_thai + "10-12.png"
EndIf
Var return = ###normal_thai
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
If SystemDateDayInt >= 13 Then
Var return = ###normal_eng + "13-16.png"
Else
Var return = ###normal_eng + "10-12.png"
EndIf
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = ###normal_eng
Else
If SystemDateDayInt >= 13 Then
Var return = ###normal_thai + "13-16.png"
Else
Var return = ###normal_thai + "10-12.png"
EndIf
Var return = ###normal_thai
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
If SystemDateDayInt >= 13 Then
Var return = ###normal_eng + "13-16.png"
Else
Var return = ###normal_eng + "10-12.png"
EndIf
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = ###normal_eng
Else
If SystemDateDayInt >= 13 Then
Var return = ###normal_thai + "13-16.png"
Else
Var return = ###normal_thai + "10-12.png"
EndIf
Var return = ###normal_thai
EndIf
)
</FilenameDisable>
<EventOnClick>
If MomCocoaProDiscountEnable = 1 Then
If GettingDiscountStatus = 0 Then
Var GettingDiscountStatus = 1
Var AC = "1/0899999999"
GETACCEXT AC 38
EndIf
Else
Open "ROOT/taobin_project/xml/page_catalog_group_pro_mom_cocoa.xml"
EndIf
<EventOnClick>
Open "ROOT/taobin_project/xml/page_catalog_group_pro_halloween.xml"
</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/halloween/halloween_th.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/halloween/halloween_en.mp4" </Filename>
</Video>
</Button>
<EventUnitTest1>
Var BigButtonEnable = "Enable"
Var BigButtonEnable = "Enable"
Refresh
</EventUnitTest1>
<EventUnitTest2>