MYS: Add promotion thai tea
This commit is contained in:
parent
7db308b662
commit
6641363473
16 changed files with 15925 additions and 25 deletions
6
inter/mys/image/event/image_template5
Normal file
6
inter/mys/image/event/image_template5
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
normal_eng=ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png
|
||||||
|
normal_thai=ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png
|
||||||
|
press_eng=ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png
|
||||||
|
press_thai=ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png
|
||||||
|
disable_eng=ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png
|
||||||
|
disable_thai=ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png
|
||||||
BIN
inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png
Normal file
BIN
inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 265 KiB |
|
|
@ -166,6 +166,9 @@ file_xml3.write( content_data)
|
||||||
file_xml3.close()
|
file_xml3.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# NOTE: promotion_template4.inc, image_template4, promotion_onclick4.inc, out_put_file4.txt
|
||||||
|
|
||||||
# promotion 4
|
# promotion 4
|
||||||
file_inc3 = open(directory_to_process + "/event/promotion_template4.inc", 'r')
|
file_inc3 = open(directory_to_process + "/event/promotion_template4.inc", 'r')
|
||||||
file_inc3_content = file_inc3.read()
|
file_inc3_content = file_inc3.read()
|
||||||
|
|
@ -214,6 +217,59 @@ file_xml3_out_content = file_xml3_out_content.strip()
|
||||||
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
|
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
|
||||||
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
||||||
|
|
||||||
|
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||||
|
file_xml3.write( content_data)
|
||||||
|
file_xml3.close()
|
||||||
|
|
||||||
|
|
||||||
|
# promotion thai tea
|
||||||
|
file_inc3 = open(directory_to_process + "/event/promotion_template5.inc", 'r')
|
||||||
|
file_inc3_content = file_inc3.read()
|
||||||
|
file_inc_img = open(directory_to_process + "/../image/event/image_template5", 'r')
|
||||||
|
file_inc3_img_content = file_inc_img.read()
|
||||||
|
|
||||||
|
# replace key.
|
||||||
|
|
||||||
|
sp_key = file_inc3_img_content.split("\n")
|
||||||
|
print("sp_key = " + str(len( sp_key)))
|
||||||
|
for sp_line in sp_key:
|
||||||
|
sp_line = sp_line.strip()
|
||||||
|
key_val = sp_line.split("=")
|
||||||
|
print("Kenta420:", key_val)
|
||||||
|
if len( key_val) == 2:
|
||||||
|
print("k = " + key_val[0] + " val=" + key_val[1])
|
||||||
|
file_inc3_content = file_inc3_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||||
|
|
||||||
|
|
||||||
|
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick5.inc", 'r')
|
||||||
|
file_inc_event_click_content = file_inc_event_click.read()
|
||||||
|
|
||||||
|
file_inc3_content = file_inc3_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||||
|
|
||||||
|
|
||||||
|
print(file_inc3_content)
|
||||||
|
|
||||||
|
#print( file_inc_content)
|
||||||
|
content_data_was_repack = file_content_main.replace(";dummy_layout.inc", file_inc_content)
|
||||||
|
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc3_content)
|
||||||
|
|
||||||
|
begin_text = content_data.index(";TAGESP")
|
||||||
|
end_text = content_data.index(";TAGESP", begin_text + 7)
|
||||||
|
#print("sub text = " + str(begin_text) + " end = " + str(end_text))
|
||||||
|
tmp1 = content_data[: begin_text - 7]
|
||||||
|
|
||||||
|
tmp3 = content_data[ end_text:-1]
|
||||||
|
#print("tmp1=" + tmp1)
|
||||||
|
#print("tmp3=" + tmp3)
|
||||||
|
|
||||||
|
content_data = tmp1 + tmp3
|
||||||
|
|
||||||
|
file_xml3_out = open(directory_to_process + "/event/out_put_file5.txt", 'r')
|
||||||
|
file_xml3_out_content = file_xml3_out.read()
|
||||||
|
file_xml3_out_content = file_xml3_out_content.strip()
|
||||||
|
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
|
||||||
|
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
||||||
|
|
||||||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||||
file_xml3.write( content_data)
|
file_xml3.write( content_data)
|
||||||
file_xml3.close()
|
file_xml3.close()
|
||||||
|
|
@ -24,13 +24,17 @@
|
||||||
If TelephoneNumber = "" Then
|
If TelephoneNumber = "" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
DEBUGVAR TelephoneNumber
|
||||||
; Telephone must not empty
|
; Telephone must not empty
|
||||||
If Seeker.CodeChannel = 1 Then
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
DEBUGVAR Seeker.CodeChannel
|
||||||
Var Seeker.UseFruityRayaCode = 1
|
Var Seeker.UseFruityRayaCode = 1
|
||||||
Var Seeker.FruityRaya = 1
|
Var Seeker.FruityRaya = 1
|
||||||
Else
|
Else
|
||||||
Var Seeker.FruityRaya = 1
|
Var Seeker.FruityRaya = 1
|
||||||
Var Seeker.UseFruityRayaCode = 0
|
Var Seeker.UseFruityRayaCode = 0
|
||||||
|
DEBUGVAR Seeker.FruityRaya
|
||||||
|
DEBUGVAR Seeker.UseFruityRayaCode
|
||||||
AddData Cid TelephoneNumber param1 param2 param3
|
AddData Cid TelephoneNumber param1 param2 param3
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -54,8 +58,8 @@
|
||||||
Var ShowCountDownBrewing = CountDownBrewing
|
Var ShowCountDownBrewing = CountDownBrewing
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
If Timeout > 0 Then
|
If Timeout > 2 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
|
|
|
||||||
1
inter/mys/xml/event/out_put_file5.txt
Normal file
1
inter/mys/xml/event/out_put_file5.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/event/promotion_thai_tea.lxml
|
||||||
1
inter/mys/xml/event/promotion_onclick5.inc
Normal file
1
inter/mys/xml/event/promotion_onclick5.inc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Open "ROOT/taobin_project/inter/mys/xml/page_catalog_group_pro_thai_tea.lxml"
|
||||||
55
inter/mys/xml/event/promotion_template5.inc
Normal file
55
inter/mys/xml/event/promotion_template5.inc
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; Big button for mys event
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 42 </X>
|
||||||
|
<Y> 520 </Y>
|
||||||
|
<State> BigButtonEnable </State>
|
||||||
|
<Filename>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var return = ###normal_eng
|
||||||
|
Else
|
||||||
|
Var return = ###normal_thai
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</Filename>
|
||||||
|
<FilenamePress>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var return = ###press_eng
|
||||||
|
Else
|
||||||
|
Var return = ###press_thai
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</FilenamePress>
|
||||||
|
<FilenameDisable>
|
||||||
|
eval(
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var return = ###disable_eng
|
||||||
|
Else
|
||||||
|
Var return = ###disable_thai
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</FilenameDisable>
|
||||||
|
<EventOnClick>
|
||||||
|
|
||||||
|
###EventOnClick
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
Var BigButtonEnable = "Enable"
|
||||||
|
Refresh
|
||||||
|
</EventUnitTest1>
|
||||||
|
<EventUnitTest2>
|
||||||
|
Var BigButtonEnable = "Invisible"
|
||||||
|
Refresh
|
||||||
|
</EventUnitTest2>
|
||||||
12440
inter/mys/xml/event/promotion_thai_tea.lxml
Normal file
12440
inter/mys/xml/event/promotion_thai_tea.lxml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -3,21 +3,22 @@
|
||||||
|
|
||||||
; zone promote
|
; zone promote
|
||||||
DEBUGVAR FruityRayaEnable
|
DEBUGVAR FruityRayaEnable
|
||||||
|
DEBUGVAR ProThaiTeaEnable
|
||||||
|
|
||||||
If OpenFromPageBoard = 1 Then
|
If OpenFromPageBoard = 1 Then
|
||||||
|
|
||||||
If FruityRayaEnable = 1 Then
|
If ProThaiTeaEnable = 1 Then
|
||||||
Var BigButtonEnable = "Enable"
|
Var BigButtonEnable = "Enable"
|
||||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_fruit_raya.lxml"
|
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_thai_tea.lxml"
|
||||||
Var OpenFromPageBoard = 0
|
Var OpenFromPageBoard = 0
|
||||||
Else
|
Else
|
||||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/page_catalog_group_recommend.lxml"
|
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/page_catalog_group_recommend.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
|
|
||||||
If FruityRayaEnable = 1 Then
|
If ProThaiTeaEnable = 1 Then
|
||||||
Var BigButtonEnable = "Enable"
|
Var BigButtonEnable = "Enable"
|
||||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_fruit_raya.lxml"
|
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_thai_tea.lxml"
|
||||||
Var OpenFromPageBoard = 0
|
Var OpenFromPageBoard = 0
|
||||||
Else
|
Else
|
||||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/page_catalog_group_recommend.lxml"
|
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/page_catalog_group_recommend.lxml"
|
||||||
|
|
|
||||||
148
inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml
Normal file
148
inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml
Normal file
|
|
@ -0,0 +1,148 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
|
||||||
|
<EventOpen>
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
DEBUGVAR TelephoneNumber
|
||||||
|
DEBUGVAR FromProThaiTea
|
||||||
|
DEBUGVAR Seeker.VendingCode
|
||||||
|
DEBUGVAR Seeker.ProThaiTea
|
||||||
|
DEBUGVAR Seeker.UseProThaiTeaCode
|
||||||
|
|
||||||
|
Var Cid = 43
|
||||||
|
Var param1 = ""
|
||||||
|
Var param2 = ""
|
||||||
|
Var param3 = ""
|
||||||
|
|
||||||
|
If FromProThaiTea = 1 Then
|
||||||
|
|
||||||
|
If TelephoneNumber = "" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
DEBUGVAR TelephoneNumber
|
||||||
|
; Telephone must not empty
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
DEBUGVAR Seeker.CodeChannel
|
||||||
|
Var Seeker.UseProThaiTeaCode = 1
|
||||||
|
Var Seeker.ProThaiTea = 1
|
||||||
|
Else
|
||||||
|
Var Seeker.ProThaiTea = 1
|
||||||
|
Var Seeker.UseProThaiTeaCode = 0
|
||||||
|
DEBUGVAR Seeker.ProThaiTea
|
||||||
|
DEBUGVAR Seeker.UseProThaiTeaCode
|
||||||
|
AddData Cid TelephoneNumber param1 param2 param3
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
; reset flag
|
||||||
|
Var FromProThaiTea = 0
|
||||||
|
|
||||||
|
; goto lid straw
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
Var CountDownBrewing = BREW_CNT
|
||||||
|
|
||||||
|
Var ShowCountDownBrewing = CountDownBrewing
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 2 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
;
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
<EventMachine>
|
||||||
|
If MachineStage = "drink-success" Then
|
||||||
|
Var MachineState_Result = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
Var MachineState_Result = 2
|
||||||
|
EndIf
|
||||||
|
</EventMachine>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/inc/video.inc"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 380 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/display_get_free/alpha.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 560 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> Var( DirImage + img_popup6 )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 751 </X>
|
||||||
|
<Y> 413 </Y>
|
||||||
|
<Filename> IMG_CNT </Filename>
|
||||||
|
</Image>
|
||||||
|
;
|
||||||
|
<Text>
|
||||||
|
<X> XPosiShowCountDownBrew </X>
|
||||||
|
<Y> 470 </Y>
|
||||||
|
<Align> End </Align>
|
||||||
|
<Width> 153 </Width>
|
||||||
|
<Size> 88 </Size>
|
||||||
|
<Font> RobotoBold </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Value> ShowCountDownBrewing </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 99 </X>
|
||||||
|
<Y> 1300 </Y>
|
||||||
|
<Align> center </Align>
|
||||||
|
<Size> 48 </Size>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Value> "Please wait for coupon from SMS ... "
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</Popup>
|
||||||
|
|
@ -11,25 +11,27 @@ Var Propepsi99Enable = 0
|
||||||
; FruityRaya Promo
|
; FruityRaya Promo
|
||||||
Var FruityRayaEnable = 0
|
Var FruityRayaEnable = 0
|
||||||
Var FromFruityRaya = 0
|
Var FromFruityRaya = 0
|
||||||
Var DisableUntilServerPartOK = 1
|
|
||||||
|
|
||||||
|
; ThaiTea Promo
|
||||||
|
Var ProThaiTeaEnable = 0
|
||||||
|
Var FromProThaiTea = 0
|
||||||
|
|
||||||
If SystemDateMonthInt = 3 Then
|
If SystemDateMonthInt = 6 Then
|
||||||
If SystemDateDayInt >= 27 Then
|
If SystemDateDayInt >= 15 Then
|
||||||
Var FruityRayaEnable = 1
|
Var ProThaiTeaEnable = 1
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If SystemDateMonthInt = 4 Then
|
|
||||||
Var FruityRayaEnable = 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If SystemDateMonthInt = 5 Then
|
|
||||||
|
|
||||||
If SystemDateDayInt < 10 Then
|
|
||||||
Var FruityRayaEnable = 1
|
|
||||||
Else
|
Else
|
||||||
Var FruityRayaEnable = 0
|
Var ProThaiTeaEnable = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SystemDateMonthInt = 7 Then
|
||||||
|
If SystemDateDayInt < 16 Then
|
||||||
|
Var ProThaiTeaEnable = 1
|
||||||
|
Else
|
||||||
|
Var ProThaiTeaEnable = 0
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If BoxID = 177746 Then
|
||||||
|
Var ProThaiTeaEnable = 1
|
||||||
EndIf
|
EndIf
|
||||||
3108
inter/mys/xml/page_catalog_group_pro_thai_tea.lxml
Normal file
3108
inter/mys/xml/page_catalog_group_pro_thai_tea.lxml
Normal file
File diff suppressed because it is too large
Load diff
46
inter/mys/xml/page_catalog_group_pro_thai_tea.skt
Normal file
46
inter/mys/xml/page_catalog_group_pro_thai_tea.skt
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
<?hurr
|
||||||
|
#include=menu_head.py
|
||||||
|
?>
|
||||||
|
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
;<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
<?hurr
|
||||||
|
#include=menu_catalog_default_init.xml
|
||||||
|
?>
|
||||||
|
|
||||||
|
Var FromProThaiTea = 0
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
<?hurr
|
||||||
|
#include=menu_catalog_new_menu.xml
|
||||||
|
?>
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?hurr
|
||||||
|
#include=menu_catalog_new.py
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?hurr
|
||||||
|
#include=menu_new_layout_gen_v2.py
|
||||||
|
?>
|
||||||
|
<?hurr
|
||||||
|
#include=menu_new_layout_gen.py
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
|
|
@ -525,6 +525,7 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var FromFruityRaya = 0
|
Var FromFruityRaya = 0
|
||||||
|
Var FromProThaiTea = 0
|
||||||
|
|
||||||
;Open PreviseXMLFileName2
|
;Open PreviseXMLFileName2
|
||||||
DEBUGVAR OpenFromXML
|
DEBUGVAR OpenFromXML
|
||||||
|
|
|
||||||
|
|
@ -133,6 +133,8 @@
|
||||||
DEBUGVAR FromLipitPro
|
DEBUGVAR FromLipitPro
|
||||||
DEBUGVAR FruityRayaEnable
|
DEBUGVAR FruityRayaEnable
|
||||||
DEBUGVAR FromFruityRaya
|
DEBUGVAR FromFruityRaya
|
||||||
|
DEBUGVAR ProThaiTeaEnable
|
||||||
|
DEBUGVAR FromProThaiTea
|
||||||
|
|
||||||
If Seeker.TNumberTaobinCredit = "" Then
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
|
||||||
|
|
@ -194,6 +196,14 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR ProThaiTeaEnable
|
||||||
|
DEBUGVAR FromProThaiTea
|
||||||
|
If ProThaiTeaEnable = 1 Then
|
||||||
|
If FromProThaiTea = 1 Then
|
||||||
|
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If PepweenEnable = 1 Then
|
If PepweenEnable = 1 Then
|
||||||
If PepweenCollectPoint = 0 Then
|
If PepweenCollectPoint = 0 Then
|
||||||
GETACCEXT TelephoneNumber 31
|
GETACCEXT TelephoneNumber 31
|
||||||
|
|
@ -283,6 +293,14 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR ProThaiTeaEnable
|
||||||
|
DEBUGVAR FromProThaiTea
|
||||||
|
If ProThaiTeaEnable = 1 Then
|
||||||
|
If FromProThaiTea = 1 Then
|
||||||
|
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If ProBadValentineEnable = 1 Then
|
If ProBadValentineEnable = 1 Then
|
||||||
If FromBadValentinePro = 1 Then
|
If FromBadValentinePro = 1 Then
|
||||||
GETACCEXT TelephoneNumber 32
|
GETACCEXT TelephoneNumber 32
|
||||||
|
|
@ -803,6 +821,14 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR ProThaiTeaEnable
|
||||||
|
DEBUGVAR FromProThaiTea
|
||||||
|
If ProThaiTeaEnable = 1 Then
|
||||||
|
If FromProThaiTea = 1 Then
|
||||||
|
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If MyMintEnable = 1 Then
|
If MyMintEnable = 1 Then
|
||||||
If FromMyMintPro = 1 Then
|
If FromMyMintPro = 1 Then
|
||||||
GETACCEXT TelephoneNumber 32
|
GETACCEXT TelephoneNumber 32
|
||||||
|
|
@ -886,7 +912,7 @@
|
||||||
<X> 236 </X>
|
<X> 236 </X>
|
||||||
<Y> 699 </Y>
|
<Y> 699 </Y>
|
||||||
<State> eval(
|
<State> eval(
|
||||||
If FromFruityRaya = 1 Then
|
If FromProThaiTea = 1 Then
|
||||||
Var return = "Invisible"
|
Var return = "Invisible"
|
||||||
Else
|
Else
|
||||||
Var return = "Enable"
|
Var return = "Enable"
|
||||||
|
|
@ -899,7 +925,7 @@
|
||||||
<X> 236 </X>
|
<X> 236 </X>
|
||||||
<Y> 699 </Y>
|
<Y> 699 </Y>
|
||||||
<State> eval(
|
<State> eval(
|
||||||
If FromFruityRaya = 1 Then
|
If FromProThaiTea = 1 Then
|
||||||
Var return = "Enable"
|
Var return = "Enable"
|
||||||
Else
|
Else
|
||||||
Var return = "Invisible"
|
Var return = "Invisible"
|
||||||
|
|
|
||||||
|
|
@ -421,6 +421,11 @@
|
||||||
Var Seeker.FreeVendingCampaign = 0
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
; mys pro thai tea
|
||||||
|
If FromProThaiTea = 1 Then
|
||||||
|
Var Seeker.VendingCode = "RM0"
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
; Oreo free
|
; Oreo free
|
||||||
If PromotionIDOreoBuyTwoSaveMore = 1 Then
|
If PromotionIDOreoBuyTwoSaveMore = 1 Then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue