Added: Rerun promotion
This commit is contained in:
parent
a09907615b
commit
a0334ca60e
13 changed files with 14745 additions and 39 deletions
|
|
@ -1 +1 @@
|
|||
/event/promotion_pepween.xml
|
||||
/event/promotion_rerun.xml
|
||||
|
|
@ -1,2 +1 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
|
||||
|
|
|
|||
10891
xml/event/promotion_rerun.xml
Normal file
10891
xml/event/promotion_rerun.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -7,39 +7,33 @@
|
|||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_en.png"
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_th.png"
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_en.png"
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_th.png"
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_en.png"
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_th.png"
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween.xml"
|
||||
|
||||
; test random page
|
||||
;Open "ROOT/taobin_project/xml/event/pepween/page_pepween_random.xml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_rerun.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
@ -59,7 +53,7 @@
|
|||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/pepween/bn_pepween_videoTH.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/pro_rerun.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
|
|
@ -77,7 +71,7 @@
|
|||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/pepween/bn_pepween_videoEN.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/pro_rerun.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -16,15 +16,15 @@ Else
|
|||
; zone promote
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
If pro15THBEnable = 1 Then
|
||||
If RerunProEnable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_15THB.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_rerun.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
If MyMintEnable = 1 Then
|
||||
If pro15THBEnable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_mymint.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_15THB.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
|
|
@ -33,16 +33,16 @@ Else
|
|||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If pro15THBEnable = 1 Then
|
||||
If RerunProEnable = 1 Then
|
||||
|
||||
; Temporary debug
|
||||
Var BigButtonEnable = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_15THB.xml"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_rerun.xml"
|
||||
|
||||
Else
|
||||
If MyMintEnable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_mymint.xml"
|
||||
If pro15THBEnable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_15THB.xml"
|
||||
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
|
|
|
|||
|
|
@ -53,6 +53,10 @@ Var From15THBPro = 0
|
|||
Var MyMintEnable = 0
|
||||
Var FromMyMintPro = 0
|
||||
|
||||
; Enable pro Rerun, Jan 22-26/29-31
|
||||
Var RerunProEnable = 0
|
||||
Var FromRerunPro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
|
||||
If SystemDateMonthInt = 10 Then
|
||||
|
|
@ -85,14 +89,25 @@ If SystemDateMonthInt = 1 Then
|
|||
If SystemDateDayInt < 15 Then
|
||||
Var MyMintEnable = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 22 Then
|
||||
If SystemDateDayInt <= 26 Then
|
||||
Var RerunProEnable = 1
|
||||
Else
|
||||
If SystemDateDayInt >= 29 Then
|
||||
If SystemDateDayInt <= 31 Then
|
||||
Var RerunProEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If BoxID = 173149 Then
|
||||
Var MyMintEnable = 1
|
||||
Var pro15THBEnable = 0
|
||||
Var RerunProEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 176757 Then
|
||||
|
|
@ -126,8 +141,19 @@ EndIf
|
|||
|
||||
If BoxID = 105005 Then
|
||||
Var NewCollectPoint = 1
|
||||
Var MyMintEnable = 1
|
||||
Var pro15THBEnable = 0
|
||||
Var RerunProEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 175668 Then
|
||||
Var RerunProEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 173969 Then
|
||||
Var RerunProEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 176128 Then
|
||||
Var RerunProEnable = 1
|
||||
EndIf
|
||||
|
||||
Var GameEnableFromTrickerEv = 1
|
||||
|
|
@ -158,6 +184,7 @@ If InternationalEnable = 1 Then
|
|||
Var PepsiProCodeEnable = 0
|
||||
Var MysteryProEnable = 0
|
||||
Var PepweenEnable = 0
|
||||
Var RerunProEnable = 0
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue