Merge branch 'masterpiece' of ssh://forthrd.ddns.net:2222/1TBHDD/ikong/taobin_project into masterpiece
This commit is contained in:
commit
8f9c4430f9
67 changed files with 48005 additions and 67284 deletions
|
|
@ -1,12 +0,0 @@
|
|||
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
|
||||
second_normal_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_normal_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_press_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_press_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_disable_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_disable_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
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
|
||||
second_normal_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_normal_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_press_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_press_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_disable_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_disable_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
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
|
||||
second_normal_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
second_normal_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
second_press_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
second_press_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
second_disable_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
second_disable_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
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
|
||||
second_normal_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
second_normal_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
second_press_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
second_press_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
second_disable_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
second_disable_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
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
|
||||
second_normal_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_normal_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_press_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_press_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_disable_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_disable_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
third_normal_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
third_normal_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
third_press_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
third_press_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
third_disable_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
third_disable_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
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
|
||||
second_normal_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_normal_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_press_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_press_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_disable_eng=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
second_disable_thai=ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png
|
||||
third_normal_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
third_normal_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
third_press_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
third_press_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
third_disable_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png
|
||||
third_disable_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 243 KiB After Width: | Height: | Size: 321 KiB |
|
|
@ -10,6 +10,9 @@
|
|||
Var Timeout = 0
|
||||
DEBUGVAR TelephoneNumber
|
||||
DEBUGVAR FromFruityRaya
|
||||
DEBUGVAR Seeker.VendingCode
|
||||
DEBUGVAR Seeker.FruityRaya
|
||||
DEBUGVAR Seeker.UseFruityRayaCode
|
||||
|
||||
Var Cid = 43
|
||||
Var param1 = ""
|
||||
|
|
@ -22,7 +25,14 @@
|
|||
|
||||
Else
|
||||
; Telephone must not empty
|
||||
AddData Cid TelephoneNumber param1 param2 param3
|
||||
If Seeker.CodeChannel = 1 Then
|
||||
Var Seeker.UseFruityRayaCode = 1
|
||||
Var Seeker.FruityRaya = 1
|
||||
Else
|
||||
Var Seeker.FruityRaya = 1
|
||||
Var Seeker.UseFruityRayaCode = 0
|
||||
AddData Cid TelephoneNumber param1 param2 param3
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Open "ROOT/taobin_project/inter/mys/xml/page_catalog_fruity_raya.lxml"
|
||||
Open "ROOT/taobin_project/inter/mys/xml/page_catalog_group_fruity_raya.lxml"
|
||||
|
|
@ -14,19 +14,22 @@ Var FromFruityRaya = 0
|
|||
Var DisableUntilServerPartOK = 1
|
||||
|
||||
|
||||
If DisableUntilServerPartOK = 1 Then
|
||||
If SystemDateMonthInt = 3 Then
|
||||
If SystemDateDayInt >= 25 Then
|
||||
Var FruityRayaEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 4 Then
|
||||
If SystemDateMonthInt = 3 Then
|
||||
If SystemDateDayInt >= 27 Then
|
||||
Var FruityRayaEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 4 Then
|
||||
Var FruityRayaEnable = 1
|
||||
EndIf
|
||||
|
||||
|
||||
If BoxID = 177746 Then
|
||||
Var FruityRayaEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 200002 Then
|
||||
Var FruityRayaEnable = 1
|
||||
DEBUGVAR BoxID
|
||||
EndIf
|
||||
|
|
@ -230,7 +230,7 @@
|
|||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
;inter-image
|
||||
;inter-image
|
||||
If CountryName = "Malaysia" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
|
@ -319,7 +319,7 @@
|
|||
;Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
;inter-xml-open
|
||||
;inter-xml-open
|
||||
If CountryName = "Malaysia" Then
|
||||
; zone promote
|
||||
TRY OpenFileXML
|
||||
|
|
@ -1153,29 +1153,29 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0007 12-02-02-0007 12-02-03-0007
|
||||
; 12-02-01-0040 12-02-02-0040 12-02-03-0040
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0007.Button,12-02-02-0007.Button,12-02-03-0007.Button,$Sum120201000712020200071202030007) </State>
|
||||
<State> Flag( 12-02-01-0040.Button,12-02-02-0040.Button,12-02-03-0040.Button,$Sum120201004012020200401202030040) </State>
|
||||
<Button>
|
||||
<State> $Sum120201000712020200071202030007 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_hot_lime_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_hot_lime_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_hot_lime_tea.png" </FilenameDisable>
|
||||
<State> $Sum120201004012020200401202030040 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_limeblack_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_limeblack_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_limeblack_tea_SingPark.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_hot_lime_tea.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_limeblack_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0007.Price
|
||||
Var PriceD2 = $12-02-02-0007.Price
|
||||
Var PriceD3 = $12-02-03-0007.Price
|
||||
Var PD_CODE1 = "12-02-01-0007"
|
||||
Var PD_CODE2 = "12-02-02-0007"
|
||||
Var PD_CODE3 = "12-02-03-0007"
|
||||
Var PriceD1 = $12-02-01-0040.Price
|
||||
Var PriceD2 = $12-02-02-0040.Price
|
||||
Var PriceD3 = $12-02-03-0040.Price
|
||||
Var PD_CODE1 = "12-02-01-0040"
|
||||
Var PD_CODE2 = "12-02-02-0040"
|
||||
Var PD_CODE3 = "12-02-03-0040"
|
||||
; begin lang
|
||||
Var aliasName[0] = "LIME TEA"
|
||||
Var aliasDesc[0] = "Thai Tea, Limenade, Sugar & Water"
|
||||
|
|
@ -1192,7 +1192,7 @@
|
|||
Var NameLang[0][2] = "-"
|
||||
Var NameLang[0][3] = "-"
|
||||
Var NameLang[0][4] = "TEH LIMAU PANAS"
|
||||
Var DescLang[0][0] = "Thai Tea, Limenade, Sugar and Hot water"
|
||||
Var DescLang[0][0] = "Thai Tea, Limenade, Sugar & Water"
|
||||
Var DescLang[0][1] = "ชาไทย มะนาว"
|
||||
Var DescLang[0][2] = "-"
|
||||
Var DescLang[0][3] = "-"
|
||||
|
|
@ -1202,25 +1202,25 @@
|
|||
Var NameLang[1][2] = "-"
|
||||
Var NameLang[1][3] = "-"
|
||||
Var NameLang[1][4] = "TEH LIMAU AIS"
|
||||
Var DescLang[1][0] = "Tea, Limenade, Sugar, Water, Ice"
|
||||
Var DescLang[1][1] = "ชาไทย มะนาว และน้ำแข็ง"
|
||||
Var DescLang[1][0] = "Thai Tea, Limenade, Sugar & Water"
|
||||
Var DescLang[1][1] = "ชาไทย มะนาว"
|
||||
Var DescLang[1][2] = "-"
|
||||
Var DescLang[1][3] = "-"
|
||||
Var DescLang[1][4] = "Teh, Limau, Gula, Air, Ais"
|
||||
Var NameLang[2][0] = "LIME TEA SMOOTHIE"
|
||||
Var DescLang[1][4] = "Teh Thai, Limau, Gula, Air"
|
||||
Var NameLang[2][0] = "LIME TEA SMOOTHIE"
|
||||
Var NameLang[2][1] = "ชามะนาวปั่น"
|
||||
Var NameLang[2][2] = "-"
|
||||
Var NameLang[2][3] = "-"
|
||||
Var NameLang[2][4] = "SMOOTHIE TEH LIMAU"
|
||||
Var DescLang[2][0] = "Tea, Limenade, Sugar, Water, Ice"
|
||||
Var DescLang[2][1] = "ชาไทย มะนาว และน้ำแข็ง"
|
||||
Var DescLang[2][0] = "Thai Tea, Limenade, Sugar & Water"
|
||||
Var DescLang[2][1] = "ชาไทย มะนาว"
|
||||
Var DescLang[2][2] = "-"
|
||||
Var DescLang[2][3] = "-"
|
||||
Var DescLang[2][4] = "Teh Thai, Limau, Gula, Air, Ais"
|
||||
Var DescLang[2][4] = "Teh Thai, Limau, Gula, Air"
|
||||
; end lang
|
||||
Var PD_STAGE_1 = $12-02-01-0007.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0007.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0007.Button
|
||||
Var PD_STAGE_1 = $12-02-01-0040.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0040.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0040.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
|
|
@ -1236,12 +1236,12 @@
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0007"
|
||||
Topping "Load" "12-02-02-0040"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0007"
|
||||
Topping "Load" "12-02-01-0040"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0007"
|
||||
Topping "Load" "12-02-03-0040"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -1297,7 +1297,7 @@
|
|||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-02-01-0007.Button </State>
|
||||
<State> $12-02-01-0040.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
|
|
@ -1309,15 +1309,15 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-01-0007.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0007.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-02-01-0040.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0040.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-0007.Button </State>
|
||||
<State> $12-02-02-0040.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
|
|
@ -1327,15 +1327,15 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0007.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0007.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-02-02-0040.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0040.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-0007.Button </State>
|
||||
<State> $12-02-03-0040.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> TextPriceMenuBlendX </X>
|
||||
|
|
@ -1345,8 +1345,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-03-0007.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0007.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-02-03-0040.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0040.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1355,7 +1355,7 @@
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201000712020200071202030007 = "Disable" Then
|
||||
If $Sum120201004012020200401202030040 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1375,10 +1375,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201000712020200071202030007 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0007.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0007.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0007.TAG tag3_is_disable
|
||||
If $Sum120201004012020200401202030040 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0040.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0040.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0040.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1412,7 +1412,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201000712020200071202030007 </State>
|
||||
<State> $Sum120201004012020200401202030040 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
@ -3008,6 +3008,532 @@
|
|||
</Language>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0076 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0076.Button,$Sum1205020076) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020076 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_iced_pepsi_yuzu.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_iced_pepsi_yuzu.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_iced_pepsi_yuzu.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_iced_pepsi_yuzu.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0076.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0076"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "PEPSI Black YUZU"
|
||||
Var aliasDesc[0] = "Pepsi Black, Yuzu Syrup& Ice"
|
||||
Var aliasName[1] = "เป๊ปซี่ยูซุ"
|
||||
Var aliasDesc[1] = "เป๊ปซี่ น้ำเชื่อมยูซุ โซดา"
|
||||
Var aliasName[2] = "-"
|
||||
Var aliasDesc[2] = "-"
|
||||
Var aliasName[3] = "-"
|
||||
Var aliasDesc[3] = "-"
|
||||
Var aliasName[4] = "PEPSI Black YUZU"
|
||||
Var aliasDesc[4] = "Pepsi Black, Sirap Yuzu, Ais"
|
||||
Var NameLang[0][0] = ""
|
||||
Var NameLang[0][1] = ""
|
||||
Var NameLang[0][2] = ""
|
||||
Var NameLang[0][3] = ""
|
||||
Var NameLang[0][4] = ""
|
||||
Var DescLang[0][0] = ""
|
||||
Var DescLang[0][1] = ""
|
||||
Var DescLang[0][2] = ""
|
||||
Var DescLang[0][3] = ""
|
||||
Var DescLang[0][4] = ""
|
||||
Var NameLang[1][0] = "PEPSI Black YUZU"
|
||||
Var NameLang[1][1] = "เป๊ปซี่ยูซุ"
|
||||
Var NameLang[1][2] = "-"
|
||||
Var NameLang[1][3] = "-"
|
||||
Var NameLang[1][4] = "PEPSI Black YUZU"
|
||||
Var DescLang[1][0] = "Pepsi Black, Yuzu Syrup& Ice"
|
||||
Var DescLang[1][1] = "เป๊ปซี่ น้ำเชื่อมยูซุ โซดา"
|
||||
Var DescLang[1][2] = "-"
|
||||
Var DescLang[1][3] = "-"
|
||||
Var DescLang[1][4] = "Pepsi Black, Sirap Yuzu, Ais"
|
||||
Var NameLang[2][0] = ""
|
||||
Var NameLang[2][1] = ""
|
||||
Var NameLang[2][2] = ""
|
||||
Var NameLang[2][3] = ""
|
||||
Var NameLang[2][4] = ""
|
||||
Var DescLang[2][0] = ""
|
||||
Var DescLang[2][1] = ""
|
||||
Var DescLang[2][2] = ""
|
||||
Var DescLang[2][3] = ""
|
||||
Var DescLang[2][4] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0076.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
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-05-02-0076"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>222</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<LanguageGroup>
|
||||
<LanguageSlot1>PEPSI Black YUZU</LanguageSlot1>
|
||||
<LanguageSlot2>เป๊ปซี่ยูซุ</LanguageSlot2>
|
||||
<LanguageSlot3>PEPSI Black YUZU</LanguageSlot3>
|
||||
<LanguageSlot4>เป๊ปซี่ยูซุ</LanguageSlot4>
|
||||
<LanguageSlot5>PEPSI Black YUZU</LanguageSlot5>
|
||||
<LanguageSlot6>เป๊ปซี่ยูซุ</LanguageSlot6>
|
||||
</LanguageGroup>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>222</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<LanguageGroup>
|
||||
<LanguageSlot1>Pepsi Black, Yuzu Syrup& Ice</LanguageSlot1>
|
||||
<LanguageSlot2>เป๊ปซี่ น้ำเชื่อมยูซุ โซดา</LanguageSlot2>
|
||||
<LanguageSlot3>Pepsi Black, Yuzu Syrup& Ice</LanguageSlot3>
|
||||
<LanguageSlot4>เป๊ปซี่ น้ำเชื่อมยูซุ โซดา</LanguageSlot4>
|
||||
<LanguageSlot5>Pepsi Black, Sirap Yuzu, Ais</LanguageSlot5>
|
||||
<LanguageSlot6>เป๊ปซี่ น้ำเชื่อมยูซุ โซดา</LanguageSlot6>
|
||||
</LanguageGroup>
|
||||
</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> TextPriceMenuHotX </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> $12-05-02-0076.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0076.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0076.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> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> TextPriceMenuBlendX </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </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>
|
||||
<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 $Sum1205020076 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0076.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.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>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020076 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0066 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0066.Button,$Sum1205020066) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020066 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/mys/image/page_drink_n//bn_Mint_Lychee_lime_soda.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/mys/image/page_drink_press_n//bn_Mint_Lychee_lime_soda.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/mys/image/page_drink_disable_n2//bn_Mint_Lychee_lime_soda.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var PictureDrink = "ROOT/taobin_project/inter/mys/image/page_drink_picture2_n/" + "bn_Mint_Lychee_lime_soda.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0066.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0066"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "MINT LYCHEE\nLEMON SODA"
|
||||
Var aliasDesc[0] = "Mint Syrup,Lychee Syrup, Lime, Soda & Ice"
|
||||
Var aliasName[1] = "มินต์ลิ้นจี่\nมะนาวโซดา"
|
||||
Var aliasDesc[1] = "น้ำเชื่อมมินต์ น้ำเชื่อมลิ้นจี่ มะนาว และโซดา"
|
||||
Var aliasName[2] = "-"
|
||||
Var aliasDesc[2] = "-"
|
||||
Var aliasName[3] = "-"
|
||||
Var aliasDesc[3] = "-"
|
||||
Var aliasName[4] = "SODA LYCHEE MINT\nLIMAU"
|
||||
Var aliasDesc[4] = "Mint Syrup,Lychee Syrup, Lime, Soda & Ice"
|
||||
Var NameLang[0][0] = ""
|
||||
Var NameLang[0][1] = ""
|
||||
Var NameLang[0][2] = ""
|
||||
Var NameLang[0][3] = ""
|
||||
Var NameLang[0][4] = ""
|
||||
Var DescLang[0][0] = ""
|
||||
Var DescLang[0][1] = ""
|
||||
Var DescLang[0][2] = ""
|
||||
Var DescLang[0][3] = ""
|
||||
Var DescLang[0][4] = ""
|
||||
Var NameLang[1][0] = "MINT LYCHEE LEMON SODA"
|
||||
Var NameLang[1][1] = "มินต์ลิ้นจี่มะนาวโซดา"
|
||||
Var NameLang[1][2] = "-"
|
||||
Var NameLang[1][3] = "-"
|
||||
Var NameLang[1][4] = "SODA MINT LYCHEE LIMAU"
|
||||
Var DescLang[1][0] = "Mint Syrup,Lychee Syrup, Lime, Soda & Ice"
|
||||
Var DescLang[1][1] = "น้ำเชื่อมมิ้นท์ น้ำเชื่อมลิ้นจี่ มะนาว และโซดา"
|
||||
Var DescLang[1][2] = "-"
|
||||
Var DescLang[1][3] = "-"
|
||||
Var DescLang[1][4] = "Mint Syrup,Lychee Syrup, Lime, Soda & Ice"
|
||||
Var NameLang[2][0] = ""
|
||||
Var NameLang[2][1] = ""
|
||||
Var NameLang[2][2] = ""
|
||||
Var NameLang[2][3] = ""
|
||||
Var NameLang[2][4] = ""
|
||||
Var DescLang[2][0] = ""
|
||||
Var DescLang[2][1] = ""
|
||||
Var DescLang[2][2] = ""
|
||||
Var DescLang[2][3] = ""
|
||||
Var DescLang[2][4] = ""
|
||||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0066.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
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-05-02-0066"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>222</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<LanguageGroup>
|
||||
<LanguageSlot1>MINT LYCHEE\nLEMON SODA</LanguageSlot1>
|
||||
<LanguageSlot2>มินต์ลิ้นจี่\nมะนาวโซดา</LanguageSlot2>
|
||||
<LanguageSlot3>MINT LYCHEE\nLEMON SODA</LanguageSlot3>
|
||||
<LanguageSlot4>มินต์ลิ้นจี่\nมะนาวโซดา</LanguageSlot4>
|
||||
<LanguageSlot5>SODA LYCHEE MINT\nLIMAU</LanguageSlot5>
|
||||
<LanguageSlot6>มินต์ลิ้นจี่\nมะนาวโซดา</LanguageSlot6>
|
||||
</LanguageGroup>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>222</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<LanguageGroup>
|
||||
<LanguageSlot1>Mint Syrup,Lychee Syrup, Lime, Soda & Ice</LanguageSlot1>
|
||||
<LanguageSlot2>น้ำเชื่อมมินต์ น้ำเชื่อมลิ้นจี่ มะนาว และโซดา</LanguageSlot2>
|
||||
<LanguageSlot3>Mint Syrup,Lychee Syrup, Lime, Soda & Ice</LanguageSlot3>
|
||||
<LanguageSlot4>น้ำเชื่อมมินต์ น้ำเชื่อมลิ้นจี่ มะนาว และโซดา</LanguageSlot4>
|
||||
<LanguageSlot5>Mint Syrup,Lychee Syrup, Lime, Soda & Ice</LanguageSlot5>
|
||||
<LanguageSlot6>น้ำเชื่อมมินต์ น้ำเชื่อมลิ้นจี่ มะนาว และโซดา</LanguageSlot6>
|
||||
</LanguageGroup>
|
||||
</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> TextPriceMenuHotX </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> $12-05-02-0066.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 113 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-02-0066.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0066.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> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> TextPriceMenuBlendX </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </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>
|
||||
<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 $Sum1205020066 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0066.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.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>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020066 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
|
|
|
|||
656
inter/mys/xml/page_check_member.lxml
Normal file
656
inter/mys/xml/page_check_member.lxml
Normal file
|
|
@ -0,0 +1,656 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
DEBUGVAR "Open page_check_member Malaysia"
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var TelephoneNumber = ""
|
||||
|
||||
Var ShowTextNumber = "Enable"
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var GetCreditFlag = 0
|
||||
|
||||
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"
|
||||
|
||||
|
||||
Var StepX = 2
|
||||
|
||||
Var TaobinCredit = 0
|
||||
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_enter_your_mobile_to_credit_balance.mp3"
|
||||
|
||||
Var MinNumber = 10
|
||||
Var MaxNumber = 10
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<EventLanguageOnChange>
|
||||
DEBUGVAR LanguageShow
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventLanguageOnChange>
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog.lxml"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventIDCard>
|
||||
</EventIDCard>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
If StepX = 0 Then
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Var TaobinName = Ext1d
|
||||
Var TaobinCoupons = Ext1g
|
||||
Var TaobinExpire = Ext1f
|
||||
Var TaobinLevel = Ext1e
|
||||
|
||||
Var TNumberTaobinMemberXXX = TelephoneNumber
|
||||
|
||||
|
||||
|
||||
|
||||
Var CoffeePointRank = Ext1b
|
||||
INT CoffeePointRank
|
||||
Var CoffeePointRankTmp = CoffeePointRank
|
||||
|
||||
|
||||
GETACCEXT TelephoneNumber 15
|
||||
|
||||
Var StepX = 1
|
||||
|
||||
Else
|
||||
|
||||
Var ShowErrorText = "Enable"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Else
|
||||
|
||||
If StepX = 1 Then
|
||||
|
||||
Var PolygonST1 = "Invisible"
|
||||
Var PolygonST2 = "Invisible"
|
||||
Var CouponSTA = "Invisible"
|
||||
Var CouponSTB = "Invisible"
|
||||
|
||||
Var CouponPage = 1
|
||||
Var MakeDrinkState = 0
|
||||
Var CouponInfo1 = Ext1a
|
||||
Var CouponInfo2 = Ext1b
|
||||
Var CouponInfo3 = Ext1c
|
||||
Var CouponInfo4 = Ext1d
|
||||
Var CouponInfo5 = Ext1e
|
||||
Var CouponInfo6 = Ext1f
|
||||
Var CouponInfo7 = Ext1g
|
||||
Var CouponInfo8 = Ext1h
|
||||
Var CouponInfo9 = Ext1i
|
||||
Var CouponInfo10 = Ext1j
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
|
||||
;GETACCEXT TelephoneNumber 13
|
||||
;Var StepX = 2
|
||||
|
||||
|
||||
|
||||
Else
|
||||
|
||||
Var CouponPage = 1
|
||||
Var MakeDrinkState = 0
|
||||
|
||||
;Var TaobinCredit = Ext1b
|
||||
|
||||
;GETACCEXT TelephoneNumber 14
|
||||
;Var StepX = 0
|
||||
;Open "ROOT/taobin_project/xml/page_check_member1.xml"
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
|
||||
Open CheckMemberPage1
|
||||
Else
|
||||
If Ext1a = "new customer" Then
|
||||
Var CheckNewMember1 = CountryRootPath + "xml/page_check_newmember1.lxml"
|
||||
Open CheckNewMember1
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
Var ShowErrorText = "Enable"
|
||||
Refresh
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumber = TelephoneNumber + "0"
|
||||
Trim TelephoneNumber MaxNumber
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= MinNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim TelephoneNumber -1
|
||||
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
|
||||
If TelNumLen < MinNumber Then
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
Var ShowErrorText2 = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 1783 </Y>
|
||||
<Filename> Var( DirImage + "/bn_back.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_back.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 750 </X>
|
||||
<Y> 1783 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
Var Tel2DFlag = 0
|
||||
|
||||
Var Tel2D = TelephoneNumber
|
||||
Trim Tel2D 1
|
||||
|
||||
If Tel2D = "0" Then
|
||||
Var Tel2DFlag = 1
|
||||
EndIf
|
||||
|
||||
If Tel2DFlag = 1 Then
|
||||
|
||||
GETACCEXT TelephoneNumber 19
|
||||
Else
|
||||
|
||||
Var ShowErrorText2 = "Enable"
|
||||
;Var TelephoneNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
Refresh
|
||||
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 217 </X>
|
||||
<Y> 784 </Y>
|
||||
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 349 </X>
|
||||
<Y> 825 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text15.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 248 </X>
|
||||
<Y> 800 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/Group.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 797 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 62 </Size>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> Xtext19 </X>
|
||||
<Y> 521 </Y>
|
||||
<Filename> Var( DirImage + "/text_19.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 430 </X>
|
||||
<Y> 942 </Y>
|
||||
<State> ShowErrorText </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_show_notfound.png") </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 152 </X>
|
||||
<Y> 910 </Y>
|
||||
<State> ShowErrorText2 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_show_error5.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
</EventMachine>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var CheckNewMemberPage1 = CountryRootPath + "xml/page_check_newmember1.lxml"
|
||||
Open CheckNewMemberPage1
|
||||
</EventUnitTest1>
|
||||
|
||||
<EventUnitTest4>
|
||||
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
|
||||
Open CheckMemberPage1
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
835
inter/mys/xml/page_check_member1.lxml
Normal file
835
inter/mys/xml/page_check_member1.lxml
Normal file
|
|
@ -0,0 +1,835 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var TimeoutSMS = 0
|
||||
Var StateBGetSMS = "Enable"
|
||||
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowText = "Enable"
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
|
||||
Var ReqFlag = 0
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext = 246
|
||||
Var Ext1a = ""
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var StepX = 0
|
||||
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_enter_your_4_digits_pin.mp3"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
Open CheckMemberPage
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
If StepX = 1 Then
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Var TaobinName = Ext1d
|
||||
Var TaobinCoupons = Ext1g
|
||||
Var TaobinExpire = Ext1f
|
||||
Var TaobinLevel = Ext1e
|
||||
|
||||
Var TNumberTaobinMemberXXX = TelephoneNumber
|
||||
|
||||
|
||||
|
||||
|
||||
Var CoffeePointRank = Ext1b
|
||||
INT CoffeePointRank
|
||||
Var CoffeePointRankTmp = CoffeePointRank
|
||||
|
||||
|
||||
GETACCEXT TelephoneNumber 15
|
||||
|
||||
Var StepX = 2
|
||||
Var Ext1a = ""
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
EndIf
|
||||
Else
|
||||
If StepX = 2 Then
|
||||
|
||||
|
||||
Var PolygonST1 = "Invisible"
|
||||
Var PolygonST2 = "Invisible"
|
||||
Var CouponSTA = "Invisible"
|
||||
Var CouponSTB = "Invisible"
|
||||
|
||||
Var CouponPage = 1
|
||||
Var MakeDrinkState = 0
|
||||
Var CouponInfo1 = Ext1a
|
||||
Var CouponInfo2 = Ext1b
|
||||
Var CouponInfo3 = Ext1c
|
||||
Var CouponInfo4 = Ext1d
|
||||
Var CouponInfo5 = Ext1e
|
||||
Var CouponInfo6 = Ext1f
|
||||
Var CouponInfo7 = Ext1g
|
||||
Var CouponInfo8 = Ext1h
|
||||
Var CouponInfo9 = Ext1i
|
||||
Var CouponInfo10 = Ext1j
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If GetAccFlag = 1 Then
|
||||
Var GetAccFlag = 0
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Var TaobinCredit = Ext1b
|
||||
GETACCEXT TelephoneNumber 14
|
||||
Var StepX = 1
|
||||
Var Ext1a = ""
|
||||
|
||||
;Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
If GetAccFlag = 1 Then
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
If StepX = 1 Then
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
EndIf
|
||||
If StepX = 2 Then
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
EndIf
|
||||
Refresh
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "0"
|
||||
Trim PinNumber 4
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim PinNumber -1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
If TelNumLen < 1 Then
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 2 Then
|
||||
Var ShowTextNumber2= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 3 Then
|
||||
Var ShowTextNumber3= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 4 Then
|
||||
Var ShowTextNumber4= "Invisible"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 398 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If GetAccFlag = 0 Then
|
||||
|
||||
Var DataTmp = TelephoneNumber + "/"
|
||||
Var DataTmp = DataTmp + PinNumber
|
||||
|
||||
GETACCEXT DataTmp 19
|
||||
|
||||
Var GetAccFlag = 1
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> Var( DirImage + "/bn_getPin.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_getPin.png") </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var BmiYear = ""
|
||||
Var PointCrm = ""
|
||||
Var GetScore = ""
|
||||
AddData 13 TelephoneNumber BmiYear PointCrm GetScore
|
||||
Var PinSMSFlag = 1
|
||||
Var ChangePinPageSMS = CountryRootPath + "xml/page_payment_changePinSMS.lxml"
|
||||
Open ChangePinPageSMS
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 242 </X>
|
||||
<Y> 830 </Y>
|
||||
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 289 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber1 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 446 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber2 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 603 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber3 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 758 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber4 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 640 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowText </State>
|
||||
<Filename> Var( DirImage + "/text_16.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 638 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowErrorText </State>
|
||||
<Filename> Var( DirImage + "/text_25.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
Open CheckMemberPage
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
<EventUnitTest4>
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
835
inter/mys/xml/page_check_member2.lxml
Normal file
835
inter/mys/xml/page_check_member2.lxml
Normal file
|
|
@ -0,0 +1,835 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
Var CoffeePointRank = CoffeePointRankTmp
|
||||
;Var PointDiff = 150 - CoffeePointRank
|
||||
|
||||
Var TaobinExpireDay = ""
|
||||
Var TaobinExpireMonth = ""
|
||||
Var TaobinExpireMonthX = ""
|
||||
Var TaobinExpireYear = ""
|
||||
|
||||
|
||||
Var buttonState = "Enable"
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
Var buttonState = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
SPLIT TaobinExpire "/" 1 TaobinExpireDay
|
||||
SPLIT TaobinExpire "/" 2 TaobinExpireMonth
|
||||
SPLIT TaobinExpire "/" 3 TaobinExpireYear
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
Var ExpireStrTmp = ""
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireDay
|
||||
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireMonth
|
||||
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireYear
|
||||
|
||||
|
||||
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 PolygonST1 = "Invisible"
|
||||
Var PolygonST2 = "Invisible"
|
||||
|
||||
|
||||
|
||||
|
||||
;Var CouponInfo1 = Ext1a
|
||||
;Var CouponInfo2 = Ext1b
|
||||
;Var CouponInfo3 = Ext1c
|
||||
;Var CouponInfo4 = Ext1d
|
||||
;Var CouponInfo5 = Ext1e
|
||||
;Var CouponInfo6 = Ext1f
|
||||
;Var CouponInfo7 = Ext1g
|
||||
;Var CouponInfo8 = Ext1h
|
||||
;Var CouponInfo9 = Ext1i
|
||||
;Var CouponInfo10 = Ext1j
|
||||
|
||||
Var CouponInfoA = ""
|
||||
Var CouponInfoB = ""
|
||||
|
||||
Var CouponSTA = "Invisible"
|
||||
Var CouponSTB = "Invisible"
|
||||
Var CouponExpireA = ""
|
||||
Var CouponExpireB = ""
|
||||
Var CouponIDA = ""
|
||||
Var CouponIDB = ""
|
||||
|
||||
|
||||
Var CouponNum = TaobinCoupons
|
||||
|
||||
If CouponPage = 1 Then
|
||||
|
||||
If CouponInfo3 = "" Then
|
||||
Else
|
||||
Var PolygonST2 = "Enable"
|
||||
EndIf
|
||||
Var PolygonST1 = "Invisible"
|
||||
|
||||
Var CouponInfoA = CouponInfo1
|
||||
Var CouponInfoB = CouponInfo2
|
||||
SPLIT CouponInfoA "/" 1 CouponIDA
|
||||
SPLIT CouponInfoB "/" 1 CouponIDB
|
||||
|
||||
EndIf
|
||||
|
||||
If CouponPage = 2 Then
|
||||
|
||||
If CouponInfo5 = "" Then
|
||||
Else
|
||||
Var PolygonST2 = "Enable"
|
||||
EndIf
|
||||
Var PolygonST1 = "Enable"
|
||||
|
||||
Var CouponInfoA = CouponInfo3
|
||||
Var CouponInfoB = CouponInfo4
|
||||
SPLIT CouponInfoA "/" 1 CouponIDA
|
||||
SPLIT CouponInfoB "/" 1 CouponIDB
|
||||
|
||||
EndIf
|
||||
|
||||
If CouponPage = 3 Then
|
||||
|
||||
If CouponInfo7 = "" Then
|
||||
Else
|
||||
Var PolygonST2 = "Enable"
|
||||
EndIf
|
||||
Var PolygonST1 = "Enable"
|
||||
|
||||
Var CouponInfoA = CouponInfo5
|
||||
Var CouponInfoB = CouponInfo6
|
||||
SPLIT CouponInfoA "/" 1 CouponIDA
|
||||
SPLIT CouponInfoB "/" 1 CouponIDB
|
||||
|
||||
EndIf
|
||||
|
||||
If CouponPage = 4 Then
|
||||
|
||||
If CouponInfo9 = "" Then
|
||||
Else
|
||||
Var PolygonST2 = "Enable"
|
||||
EndIf
|
||||
Var PolygonST1 = "Enable"
|
||||
|
||||
Var CouponInfoA = CouponInfo7
|
||||
Var CouponInfoB = CouponInfo8
|
||||
SPLIT CouponInfoA "/" 1 CouponIDA
|
||||
SPLIT CouponInfoB "/" 1 CouponIDB
|
||||
|
||||
EndIf
|
||||
|
||||
If CouponPage = 5 Then
|
||||
|
||||
Var PolygonST1 = "Enable"
|
||||
Var PolygonST2 = "Invisible"
|
||||
|
||||
Var CouponInfoA = CouponInfo9
|
||||
Var CouponInfoB = CouponInfo10
|
||||
SPLIT CouponInfoA "/" 1 CouponIDA
|
||||
SPLIT CouponInfoB "/" 1 CouponIDB
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If CouponIDA = "" Then
|
||||
Else
|
||||
|
||||
|
||||
Var CouponSTA = "Enable"
|
||||
Var CouponExireA_D = ""
|
||||
Var CouponExireA_M = ""
|
||||
Var CouponExireA_Y = ""
|
||||
Var CouponTypeA = ""
|
||||
Var CouponNameA = ""
|
||||
|
||||
|
||||
SPLIT CouponInfoA "/" 2 CouponTypeA
|
||||
SPLIT CouponInfoA "/" 4 CouponExireA_D
|
||||
SPLIT CouponInfoA "/" 5 CouponExireA_M
|
||||
SPLIT CouponInfoA "/" 6 CouponExireA_Y
|
||||
|
||||
|
||||
If CouponTypeA = "100" Then
|
||||
Var CouponNameA = "/imgCouponC33.png"
|
||||
EndIf
|
||||
If CouponTypeA = "101" Then
|
||||
Var CouponNameA = "/imgCouponC44.png"
|
||||
EndIf
|
||||
If CouponTypeA = "102" Then
|
||||
Var CouponNameA = "/imgCouponC39.png"
|
||||
EndIf
|
||||
If CouponTypeA = "103" Then
|
||||
Var CouponNameA = "/imgCouponC40.png"
|
||||
EndIf
|
||||
If CouponTypeA = "105" Then
|
||||
Var CouponNameA = "/imgCouponC38.png"
|
||||
EndIf
|
||||
If CouponTypeA = "106" Then
|
||||
Var CouponNameA = "/imgCouponC41.png"
|
||||
EndIf
|
||||
If CouponTypeA = "107" Then
|
||||
Var CouponNameA = "/imgCouponC42.png"
|
||||
EndIf
|
||||
If CouponTypeA = "109" Then
|
||||
Var CouponNameA = "/imgCouponC33.png"
|
||||
EndIf
|
||||
If CouponTypeA = "112" Then
|
||||
Var CouponNameA = "/imgCoupon112.png"
|
||||
EndIf
|
||||
If CouponTypeA = "113" Then
|
||||
Var CouponNameA = "/imgCoupon113.png"
|
||||
EndIf
|
||||
|
||||
INT CouponExireA_D
|
||||
INT CouponExireA_Y
|
||||
Var CouponExireA_Y = CouponExireA_Y + 0
|
||||
|
||||
If CouponExireA_M = "01" Then
|
||||
Var CouponExireA_M = "January"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "02" Then
|
||||
Var CouponExireA_M = "February"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "03" Then
|
||||
Var CouponExireA_M = "March"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "04" Then
|
||||
Var CouponExireA_M = "April"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "05" Then
|
||||
Var CouponExireA_M = "May"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "06" Then
|
||||
Var CouponExireA_M = "June"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "07" Then
|
||||
Var CouponExireA_M = "July"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "08" Then
|
||||
Var CouponExireA_M = "August"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "09" Then
|
||||
Var CouponExireA_M = "September"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "10" Then
|
||||
Var CouponExireA_M = "October"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "11" Then
|
||||
Var CouponExireA_M = "November"
|
||||
EndIf
|
||||
|
||||
If CouponExireA_M = "12" Then
|
||||
Var CouponExireA_M = "December"
|
||||
EndIf
|
||||
|
||||
Var CouponExpireA = CouponExpireA + CouponExireA_D
|
||||
Var CouponExpireA = CouponExpireA + " "
|
||||
Var CouponExpireA = CouponExpireA + CouponExireA_M
|
||||
Var CouponExpireA = CouponExpireA + " "
|
||||
Var CouponExpireA = CouponExpireA + CouponExireA_Y
|
||||
|
||||
Var CouponExpireA = "Expires " + CouponExpireA
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
If CouponIDB = "" Then
|
||||
Else
|
||||
|
||||
|
||||
Var CouponSTB = "Enable"
|
||||
Var CouponExireB_D = ""
|
||||
Var CouponExireB_M = ""
|
||||
Var CouponExireB_Y = ""
|
||||
Var CouponTypeB = ""
|
||||
Var CouponNameB = ""
|
||||
|
||||
SPLIT CouponInfoB "/" 2 CouponTypeB
|
||||
SPLIT CouponInfoB "/" 4 CouponExireB_D
|
||||
SPLIT CouponInfoB "/" 5 CouponExireB_M
|
||||
SPLIT CouponInfoB "/" 6 CouponExireB_Y
|
||||
|
||||
|
||||
If CouponTypeB = "100" Then
|
||||
Var CouponNameB = "/imgCouponC33.png"
|
||||
EndIf
|
||||
If CouponTypeB = "101" Then
|
||||
Var CouponNameB = "/imgCouponC44.png"
|
||||
EndIf
|
||||
If CouponTypeB = "102" Then
|
||||
Var CouponNameB = "/imgCouponC39.png"
|
||||
EndIf
|
||||
If CouponTypeB = "103" Then
|
||||
Var CouponNameB = "/imgCouponC40.png"
|
||||
EndIf
|
||||
If CouponTypeB = "105" Then
|
||||
Var CouponNameB = "/imgCouponC38.png"
|
||||
EndIf
|
||||
If CouponTypeB = "106" Then
|
||||
Var CouponNameB = "/imgCouponC41.png"
|
||||
EndIf
|
||||
If CouponTypeB = "107" Then
|
||||
Var CouponNameB = "/imgCouponC42.png"
|
||||
EndIf
|
||||
If CouponTypeB = "109" Then
|
||||
Var CouponNameB = "/imgCouponC33.png"
|
||||
EndIf
|
||||
If CouponTypeB = "112" Then
|
||||
Var CouponNameB = "/imgCoupon112.png"
|
||||
EndIf
|
||||
If CouponTypeB = "113" Then
|
||||
Var CouponNameB = "/imgCoupon113.png"
|
||||
EndIf
|
||||
|
||||
INT CouponExireB_D
|
||||
INT CouponExireB_Y
|
||||
Var CouponExireB_Y = CouponExireB_Y + 0
|
||||
|
||||
If CouponExireB_M = "01" Then
|
||||
Var CouponExireB_M = "January"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "02" Then
|
||||
Var CouponExireB_M = "February"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "03" Then
|
||||
Var CouponExireB_M = "March"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "04" Then
|
||||
Var CouponExireB_M = "April"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "05" Then
|
||||
Var CouponExireB_M = "May"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "06" Then
|
||||
Var CouponExireB_M = "June"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "07" Then
|
||||
Var CouponExireB_M = "July"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "08" Then
|
||||
Var CouponExireB_M = "August"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "09" Then
|
||||
Var CouponExireB_M = "September"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "10" Then
|
||||
Var CouponExireB_M = "October"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "11" Then
|
||||
Var CouponExireB_M = "November"
|
||||
EndIf
|
||||
|
||||
If CouponExireB_M = "12" Then
|
||||
Var CouponExireB_M = "December"
|
||||
EndIf
|
||||
|
||||
Var CouponExpireB = CouponExpireB + CouponExireB_D
|
||||
Var CouponExpireB = CouponExpireB + " "
|
||||
Var CouponExpireB = CouponExpireB + CouponExireB_M
|
||||
Var CouponExpireB = CouponExpireB + " "
|
||||
Var CouponExpireB = CouponExpireB + CouponExireB_Y
|
||||
|
||||
Var CouponExpireB = "Expires " + CouponExpireB
|
||||
|
||||
EndIf
|
||||
|
||||
Var CouponText = "Coupons (" + CouponNum
|
||||
Var CouponText = CouponText + ")"
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
Var bn_exit = "/bn_cancel2.png"
|
||||
Var bp_exit = "/bp_cancel2.png"
|
||||
Else
|
||||
Var bn_exit = "/bn_main.png"
|
||||
Var bp_exit = "/bp_main.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Var text5Img = "/text5-AUS.png"
|
||||
|
||||
|
||||
INT TaobinCredit
|
||||
Var TaobinCreditStr !assigned StringFmt( TaobinCredit, DisplayFormat, PreScaleConvertShow )
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
</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>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 719 </X>
|
||||
<Y> 411 </Y>
|
||||
<State> buttonState </State>
|
||||
<Filename> Var( DirImage + "/bn_changePin.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bn_changePin.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var ChangePinPage1 = CountryRootPath + "xml/page_payment_changePin1.lxml"
|
||||
Open ChangePinPage1
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 162 </X>
|
||||
<Y> 560 </Y>
|
||||
<Filename> Var( DirImage + text5Img )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 617 </X>
|
||||
<Y> 587 </Y>
|
||||
<Filename> Var( DirImage + TaobinLeveImg )</Filename>
|
||||
</Image>
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 253 </X>
|
||||
<Y> 669 </Y>
|
||||
<Size> 35 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Value> TaobinName </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 253 </X>
|
||||
<Y> 720 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Value> TNumberTaobinMemberXXX </Value>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 546 </X>
|
||||
<Y> 865 </Y>
|
||||
<Size> 70 </Size>
|
||||
<Width> 384 </Width>
|
||||
<Align> Center </Align>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> CoffeePointRank </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 162 </X>
|
||||
<Y> 865 </Y>
|
||||
<Size> 70 </Size>
|
||||
<Width> 384 </Width>
|
||||
<Align> Center </Align>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> TaobinCreditStr </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 159 </X>
|
||||
<Y> 1000 </Y>
|
||||
<Size> 25 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> TaobinLevelDesc1 </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 159 </X>
|
||||
<Y> 1032 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> TaobinLevelDesc2 </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1746 </Y>
|
||||
<Filename> Var( DirImage + bn_exit )</Filename>
|
||||
<FilenamePress> Var( DirImage + bp_exit )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 159 </X>
|
||||
<Y> 1121 </Y>
|
||||
<Size> 36 </Size>
|
||||
<Width> 240 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> CouponText </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 166 </X>
|
||||
<Y> 1228 </Y>
|
||||
<State> CouponSTA </State>
|
||||
<Filename> Var( DirImage + CouponNameA )</Filename>
|
||||
<FilenamePress> Var( DirImage + CouponNameA )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
Var CouponSendSms = CouponIDA
|
||||
Var CouponExpireDate = CouponExpireA
|
||||
Var CouponName = CouponNameA
|
||||
Var BmiYear = CouponSendSms
|
||||
Var PointCrm = ""
|
||||
Var GetScore = ""
|
||||
AddData 12 TelephoneNumber BmiYear PointCrm GetScore
|
||||
Var CheckMemberPage3 = CountryRootPath + "xml/page_check_member3.lxml"
|
||||
Open CheckMemberPage3
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 372 </X>
|
||||
<Y> 1370 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 600 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> CouponExpireA </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 166 </X>
|
||||
<Y> 1470 </Y>
|
||||
<State> CouponSTB </State>
|
||||
<Filename> Var( DirImage + CouponNameB )</Filename>
|
||||
<FilenamePress> Var( DirImage + CouponNameB )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
Var CouponSendSms = CouponIDB
|
||||
Var CouponExpireDate = CouponExpireB
|
||||
Var CouponName = CouponNameB
|
||||
Var BmiYear = CouponSendSms
|
||||
Var PointCrm = ""
|
||||
Var GetScore = ""
|
||||
AddData 12 TelephoneNumber BmiYear PointCrm GetScore
|
||||
Var CheckMemberPage3 = CountryRootPath + "xml/page_check_member3.lxml"
|
||||
Open CheckMemberPage3
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 372 </X>
|
||||
<Y> 1613 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 600 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> CouponExpireB </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 65 </X>
|
||||
<Y> 1405 </Y>
|
||||
<State> PolygonST1 </State>
|
||||
<Filename> "ROOT/taobin_project/image/display_point/Polygon1.png"</Filename>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CouponPage = CouponPage - 1
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 1405 </Y>
|
||||
<State> PolygonST2 </State>
|
||||
<Filename> "ROOT/taobin_project/image/display_point/Polygon2.png"</Filename>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CouponPage = CouponPage + 1
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<EventUnitTest4>
|
||||
Var CheckMemberPage3 = CountryRootPath + "xml/page_check_member3.lxml"
|
||||
Open CheckMemberPage3
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
195
inter/mys/xml/page_check_member3.lxml
Normal file
195
inter/mys/xml/page_check_member3.lxml
Normal file
|
|
@ -0,0 +1,195 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
;Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</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>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
|
||||
;
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 593 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 237 </X>
|
||||
<Y> 1480 </Y>
|
||||
<Filename> Var( DirImage + "/bn_useCoupon.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_useCoupon.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 398 </X>
|
||||
<Y> 1597 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
;Var BmiYear = "30/30"
|
||||
;Var PointCrm = ""
|
||||
;Var GetScore = ""
|
||||
;AddData 11 TelephoneNumber BmiYear PointCrm GetScore
|
||||
|
||||
If MakeDrinkState = 1 Then
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 158 </X>
|
||||
<Y> 661 </Y>
|
||||
<Filename> Var( DirImage + CouponName )</Filename>
|
||||
<FilenamePress> Var( DirImage + CouponName )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 415 </X>
|
||||
<Y> 815 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 300 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> CouponExpireDate </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
710
inter/mys/xml/page_check_newmember1.lxml
Normal file
710
inter/mys/xml/page_check_newmember1.lxml
Normal file
|
|
@ -0,0 +1,710 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var TimeoutSMS = 0
|
||||
Var StateBGetSMS = "Enable"
|
||||
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowText = "Enable"
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
|
||||
Var ReqFlag = 0
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext = 246
|
||||
|
||||
Var Ext1a = ""
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var StepX = 0
|
||||
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_create_new_pin.mp3"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
Open CheckMemberPage
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
|
||||
Refresh
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "0"
|
||||
Trim PinNumber 4
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim PinNumber -1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
If TelNumLen < 1 Then
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 2 Then
|
||||
Var ShowTextNumber2= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 3 Then
|
||||
Var ShowTextNumber3= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 4 Then
|
||||
Var ShowTextNumber4= "Invisible"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 398 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If GetAccFlag = 0 Then
|
||||
Var PinNumber_New = PinNumber
|
||||
Var CheckNewMember2 = CountryRootPath + "xml/page_check_newmember2.lxml"
|
||||
Open CheckNewMember2
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 242 </X>
|
||||
<Y> 830 </Y>
|
||||
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 289 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber1 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 446 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber2 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 603 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber3 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 758 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber4 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 640 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowText </State>
|
||||
<Filename> Var( DirImage + "/text_23.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 638 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowErrorText </State>
|
||||
<Filename> Var( DirImage + "/text_25.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
Open CheckMemberPage
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
865
inter/mys/xml/page_check_newmember2.lxml
Normal file
865
inter/mys/xml/page_check_newmember2.lxml
Normal file
|
|
@ -0,0 +1,865 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var TimeoutSMS = 0
|
||||
Var StateBGetSMS = "Enable"
|
||||
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowText = "Enable"
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
|
||||
Var ReqFlag = 0
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext = 246
|
||||
|
||||
Var Ext1a = "ok"
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var StepX = 0
|
||||
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_confirm_your_pin_again.mp3"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 40 Then
|
||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
Open CheckMemberPage
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
|
||||
|
||||
If StepX = 1 Then
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Var TaobinName = Ext1d
|
||||
Var TaobinCoupons = Ext1g
|
||||
Var TaobinExpire = Ext1f
|
||||
Var TaobinLevel = Ext1e
|
||||
|
||||
Var TNumberTaobinMemberXXX = TelephoneNumber
|
||||
|
||||
Var CoffeePointRank = Ext1b
|
||||
INT CoffeePointRank
|
||||
Var CoffeePointRankTmp = CoffeePointRank
|
||||
|
||||
|
||||
GETACCEXT TelephoneNumber 15
|
||||
|
||||
Var StepX = 2
|
||||
Var Ext1a = ""
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
EndIf
|
||||
Else
|
||||
If StepX = 2 Then
|
||||
|
||||
|
||||
Var PolygonST1 = "Invisible"
|
||||
Var PolygonST2 = "Invisible"
|
||||
Var CouponSTA = "Invisible"
|
||||
Var CouponSTB = "Invisible"
|
||||
|
||||
Var CouponPage = 1
|
||||
Var MakeDrinkState = 0
|
||||
Var CouponInfo1 = Ext1a
|
||||
Var CouponInfo2 = Ext1b
|
||||
Var CouponInfo3 = Ext1c
|
||||
Var CouponInfo4 = Ext1d
|
||||
Var CouponInfo5 = Ext1e
|
||||
Var CouponInfo6 = Ext1f
|
||||
Var CouponInfo7 = Ext1g
|
||||
Var CouponInfo8 = Ext1h
|
||||
Var CouponInfo9 = Ext1i
|
||||
Var CouponInfo10 = Ext1j
|
||||
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If GetAccFlag = 1 Then
|
||||
Var GetAccFlag = 2
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Var TaobinName = ""
|
||||
Var TaobinCoupons = ""
|
||||
Var TaobinExpire = ""
|
||||
Var TaobinLevel = ""
|
||||
|
||||
Var TNumberTaobinMemberXXX = TelephoneNumber
|
||||
|
||||
Var CoffeePointRank = 0
|
||||
INT CoffeePointRank
|
||||
Var CoffeePointRankTmp = CoffeePointRank
|
||||
|
||||
Var PolygonST1 = "Invisible"
|
||||
Var PolygonST2 = "Invisible"
|
||||
Var CouponSTA = "Invisible"
|
||||
Var CouponSTB = "Invisible"
|
||||
|
||||
Var CouponPage = 1
|
||||
Var MakeDrinkState = 0
|
||||
Var CouponInfo1 = ""
|
||||
Var CouponInfo2 = ""
|
||||
Var CouponInfo3 = ""
|
||||
Var CouponInfo4 = ""
|
||||
Var CouponInfo5 = ""
|
||||
Var CouponInfo6 = ""
|
||||
Var CouponInfo7 = ""
|
||||
Var CouponInfo8 = ""
|
||||
Var CouponInfo9 = ""
|
||||
Var CouponInfo10 = ""
|
||||
|
||||
Var TaobinCredit = 0
|
||||
GETACCEXT TelephoneNumber 14
|
||||
Var StepX = 1
|
||||
Var Ext1a = "ok"
|
||||
|
||||
;Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
If GetAccFlag > 0 Then
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
If StepX = 1 Then
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
EndIf
|
||||
If StepX = 2 Then
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
EndIf
|
||||
Refresh
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "0"
|
||||
Trim PinNumber 4
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim PinNumber -1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
If TelNumLen < 1 Then
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 2 Then
|
||||
Var ShowTextNumber2= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 3 Then
|
||||
Var ShowTextNumber3= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 4 Then
|
||||
Var ShowTextNumber4= "Invisible"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 398 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If GetAccFlag = 0 Then
|
||||
|
||||
If PinNumber_New = PinNumber Then
|
||||
|
||||
Var BmiYear = PinNumber_New
|
||||
Var PointCrm = ""
|
||||
Var GetScore = "setPin"
|
||||
|
||||
AddData 21 TelephoneNumber BmiYear PointCrm GetScore
|
||||
|
||||
Var GetAccFlag = 1
|
||||
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 242 </X>
|
||||
<Y> 830 </Y>
|
||||
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 289 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber1 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 446 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber2 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 603 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber3 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 758 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber4 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 640 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowText </State>
|
||||
<Filename> Var( DirImage + "/text_30.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 638 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowErrorText </State>
|
||||
<Filename> Var( DirImage + "/text_25.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CheckMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
Open CheckMemberPage
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
370
inter/mys/xml/page_member_topup.lxml
Normal file
370
inter/mys/xml/page_member_topup.lxml
Normal file
|
|
@ -0,0 +1,370 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
|
||||
Var SumCreditAmount = TaobinCredit
|
||||
Var CashlessPayFlag = 0
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var alphaState = "Invisible"
|
||||
Var PayAmount = 0
|
||||
Var AdditionalAmount = 0
|
||||
Var ChangeOK = 0
|
||||
|
||||
|
||||
Var QRErrorState = "Invisible"
|
||||
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/aus/image/page_member_topup"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
Var text_4 = "/text_4-AUS.png"
|
||||
|
||||
Var PayCreditChannel = "credit-card"
|
||||
|
||||
Var OptionAmount1 = 2900
|
||||
Var OptionAmount2 = 3900
|
||||
Var OptionAmount3 = 4900
|
||||
|
||||
Var AmountAdditionCredit1 = 0
|
||||
Var AmountAdditionCredit2 = 0
|
||||
Var AmountAdditionCredit3 = 0
|
||||
|
||||
; Enable / Disable promotion additional credit
|
||||
Var PromotionAdditionCredit = 1
|
||||
|
||||
If PromotionAdditionCredit = 1 Then
|
||||
Var AmountAdditionCredit1 = 300
|
||||
Var AmountAdditionCredit2 = 500
|
||||
Var AmountAdditionCredit3 = 800
|
||||
EndIf
|
||||
|
||||
INT TaobinCredit
|
||||
Var TaobinCreditStr !assigned StringFmt( TaobinCredit, DisplayFormat, PreScaleConvertShow )
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var alphaState = "Invisible"
|
||||
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var QRErrorState = "Invisible"
|
||||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
CashlessReq FAIL
|
||||
Else
|
||||
CashlessReq OFF
|
||||
EndIf
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
If VendingCashless = "OK" Then
|
||||
CashlessReq SUCCESS
|
||||
|
||||
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||
Open ToppupSuccessPage
|
||||
EndIf
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
|
||||
If VendingCashless = "ERROR" Then
|
||||
Var Timeout = 0
|
||||
|
||||
;Var QRErrorFlag = 1
|
||||
If alphaState = "Enable" Then
|
||||
Var QRErrorState = "Enable"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
EndIf
|
||||
|
||||
CashlessReq FAIL
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
</EventActionError>
|
||||
|
||||
<EventCashlessCard>
|
||||
|
||||
Var CreditCardRef = ""
|
||||
GenHashWithTimeStamp CreditCardRef
|
||||
DEBUGVAR VendingCashless
|
||||
|
||||
If VendingCashless = "READY" Then
|
||||
Var Timeout = 0
|
||||
Var QRErrorState = "Invisible"
|
||||
Var QR_POPUP = "/img_popup8-2.png"
|
||||
Var VendingCashless = "-"
|
||||
Var LOADING_STATE = "Enable"
|
||||
Var alphaState = "Enable"
|
||||
Var TopupAmount = PayAmount
|
||||
Var PromoAmount = AdditionalAmount
|
||||
CashlessPayV2 TopupAmount CreditCardRef PromoAmount
|
||||
Var CashlessPayFlag = 1
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
</EventCashlessCard>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 70 </X>
|
||||
<Y> 499 </Y>
|
||||
<Filename> Var( DirImage + "/text_3.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 252 </X>
|
||||
<Y> 1223 </Y>
|
||||
<Filename> Var( DirImage + text_4 )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1280 </Y>
|
||||
<Size> 120 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> TaobinCreditStr </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 670 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_29.png") </Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_topup_29.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_29.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PayAmount = OptionAmount1
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If PromotionAdditionCredit = 1 Then
|
||||
Var AdditionalAmount = AmountAdditionCredit1
|
||||
EndIf
|
||||
|
||||
If alphaState = "Invisible" Then
|
||||
Var QR_POPUP = "/img_popup8.png"
|
||||
Var alphaState = "Enable"
|
||||
Coin CARD
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 800 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_39.png") </Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_topup_39.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_39.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PayAmount = OptionAmount2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If PromotionAdditionCredit = 1 Then
|
||||
Var AdditionalAmount = AmountAdditionCredit2
|
||||
EndIf
|
||||
|
||||
If alphaState = "Invisible" Then
|
||||
Var QR_POPUP = "/img_popup8.png"
|
||||
Var alphaState = "Enable"
|
||||
Coin CARD
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 930 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_topup_49.png") </Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_topup_49.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_49.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PayAmount = OptionAmount3
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If PromotionAdditionCredit = 1 Then
|
||||
Var AdditionalAmount = AmountAdditionCredit3
|
||||
EndIf
|
||||
|
||||
If alphaState = "Invisible" Then
|
||||
Var QR_POPUP = "/img_popup8.png"
|
||||
Var alphaState = "Enable"
|
||||
Coin CARD
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1622 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
CashlessReq FAIL
|
||||
EndIf
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; QR popup
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<State> alphaState </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 249 </X>
|
||||
<Y> 748 </Y>
|
||||
<State> alphaState </State>
|
||||
<Filename> Var( DirImage + QR_POPUP )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 267 </X>
|
||||
<Y> 1065 </Y>
|
||||
<State> LOADING_STATE </State>
|
||||
<Filename> Var( DirImage + "/loadingText.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<GIF>
|
||||
<X> 493 </X>
|
||||
<Y> 968 </Y>
|
||||
<Width> 94 </Width>
|
||||
<Height> 94 </Height>
|
||||
<State> LOADING_STATE </State>
|
||||
<Filename> Var( DirImage + "/loading.gif" )</Filename>
|
||||
</GIF>
|
||||
|
||||
<Button>
|
||||
<X> 438 </X>
|
||||
<Y> 1345 </Y>
|
||||
<State> alphaState </State>
|
||||
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var QRErrorState = "Invisible"
|
||||
Var alphaState = "Invisible"
|
||||
|
||||
CashlessReq OFF
|
||||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
CashlessReq FAIL
|
||||
EndIf
|
||||
|
||||
DEBUGVAR LOADING_STATE
|
||||
DEBUGVAR QRErrorState
|
||||
DEBUGVAR alphaState
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 267 </X>
|
||||
<Y> 960 </Y>
|
||||
<State>QRErrorState</State>
|
||||
<Filename> Var( DirImage + "/QRError.png" ) </Filename>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<EventUnitTest4>
|
||||
Var MemberToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||
Open MemberToppupSuccessPage
|
||||
</EventUnitTest4>
|
||||
|
||||
</Popup>
|
||||
|
||||
168
inter/mys/xml/page_member_topupSuccess.lxml
Normal file
168
inter/mys/xml/page_member_topupSuccess.lxml
Normal file
|
|
@ -0,0 +1,168 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
DEBUGVAR PayAmount
|
||||
DEBUGVAR PromotionAdditionCredit
|
||||
DEBUGVAR AdditionalAmount
|
||||
DEBUGVAR TaobinCredit
|
||||
|
||||
INT TaobinCredit
|
||||
INT PayAmount
|
||||
INT AdditionalAmount
|
||||
|
||||
Var SumCreditAmount = TaobinCredit + PayAmount
|
||||
Var SumCreditAmount = SumCreditAmount + AdditionalAmount
|
||||
Var ServiceAmount2 = PayAmount
|
||||
Var ServiceCharge = 0
|
||||
Var Donate = ""
|
||||
Var SuggestID = ""
|
||||
|
||||
Var SumCreditAmountStr !assigned StringFmt( SumCreditAmount, DisplayFormat, PreScaleConvertShow )
|
||||
|
||||
Var text_4 = "/text_4-AUS.png"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
|
||||
Var FlagPayCredit = 1
|
||||
Var ExitState = "Disable"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
If Timeout > 1 Then
|
||||
If FlagPayCredit = 1 Then
|
||||
If PayCreditChannel = "credit-card" Then
|
||||
Var TelephoneNumber = TelephoneNumber
|
||||
|
||||
Var VendingDiscount = 0
|
||||
Var VendingCampaign = 0
|
||||
Var ServiceType = "credit"
|
||||
Var SessionID2 = "00-00-00-0000"
|
||||
Var ServiceCredit = "coffee"
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
Var FlagPayCredit = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var ExitState = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
|
||||
</EventMachine>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
<Image>
|
||||
<X> 70 </X>
|
||||
<Y> 741 </Y>
|
||||
<Filename> Var( DirImage + "/PaymentSuccess.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 252 </X>
|
||||
<Y> 1053 </Y>
|
||||
<Filename> Var( DirImage + text_4 )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1123 </Y>
|
||||
<Size> 120 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> SumCreditAmountStr </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 99 </X>
|
||||
<Y> 1688 </Y>
|
||||
<State> ExitState </State>
|
||||
<Filename> Var( DirImage + "/bn_main.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_main.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If Timeout > 2 Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 695 </X>
|
||||
<Y> 1688 </Y>
|
||||
<State> ExitState </State>
|
||||
<Filename> Var( DirImage + "/bn_drink.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_drink.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If Timeout > 2 Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
|
||||
761
inter/mys/xml/page_payment_changePin1.lxml
Normal file
761
inter/mys/xml/page_payment_changePin1.lxml
Normal file
|
|
@ -0,0 +1,761 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var TimeoutSMS = 0
|
||||
Var StateBGetSMS = "Enable"
|
||||
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowText = "Enable"
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
|
||||
Var ReqFlag = 0
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext = 246
|
||||
|
||||
Var Ext1a = ""
|
||||
Var GetAccFlag = 0
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
|
||||
|
||||
If GetAccFlag = 1 Then
|
||||
If Ext1a = "ok" Then
|
||||
Var ChangePinPage2 = CountryRootPath + "xml/page_payment_changePin2.lxml"
|
||||
Open ChangePinPage2
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
If GetAccFlag = 1 Then
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "0"
|
||||
Trim PinNumber 4
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim PinNumber -1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
If TelNumLen < 1 Then
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 2 Then
|
||||
Var ShowTextNumber2= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 3 Then
|
||||
Var ShowTextNumber3= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 4 Then
|
||||
Var ShowTextNumber4= "Invisible"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 188 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Filename> Var( DirImage + "/bn_getSMSPage.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_getSMSPage.png") </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var BmiYear = ""
|
||||
Var PointCrm = ""
|
||||
Var GetScore = ""
|
||||
AddData 13 TelephoneNumber BmiYear PointCrm GetScore
|
||||
Var PinSMSFlag = 0
|
||||
Var ChangePinPageSMS = CountryRootPath + "xml/page_payment_changePinSMS.lxml"
|
||||
Open ChangePinPageSMS
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 616 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_continue.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_continue.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If GetAccFlag = 0 Then
|
||||
|
||||
Var DataTmp = TelephoneNumber + "/"
|
||||
Var DataTmp = DataTmp + PinNumber
|
||||
|
||||
GETACCEXT DataTmp 13
|
||||
|
||||
Var GetAccFlag = 1
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 242 </X>
|
||||
<Y> 830 </Y>
|
||||
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 289 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber1 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 446 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber2 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 603 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber3 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 758 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber4 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 640 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowText </State>
|
||||
<Filename> Var( DirImage + "/text_21.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 638 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowErrorText </State>
|
||||
<Filename> Var( DirImage + "/text_25.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
783
inter/mys/xml/page_payment_changePin2.lxml
Normal file
783
inter/mys/xml/page_payment_changePin2.lxml
Normal file
|
|
@ -0,0 +1,783 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var TimeoutSMS = 0
|
||||
Var StateBGetSMS = "Enable"
|
||||
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
Var PinNumberNew = ""
|
||||
|
||||
Var ReqFlag = 0
|
||||
Var ReqT = 0
|
||||
|
||||
Var Xtext = 246
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext = 246
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
Var Ext1a = ""
|
||||
Var TextWaiting = ""
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
If ReqFlag = 0 Then
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
EndIf
|
||||
Var ChangePinPageFailed = CountryRootPath + "xml/page_payment_changePinFailed.lxml"
|
||||
Open ChangePinPageFailed
|
||||
EndIf
|
||||
|
||||
|
||||
If ReqFlag = 1 Then
|
||||
Var TimeoutSMS = TimeoutSMS + 1
|
||||
If TimeoutSMS > 10 Then
|
||||
Var DataTmp = TelephoneNumber
|
||||
GETACCEXT DataTmp 13
|
||||
Var ReqFlag = 2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
<EventIDCard>
|
||||
|
||||
|
||||
|
||||
|
||||
</EventIDCard>
|
||||
|
||||
<EventCoin>
|
||||
|
||||
|
||||
|
||||
</EventCoin>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
If ReqFlag = 1 Then
|
||||
Var DataTmp = TelephoneNumber
|
||||
GETACCEXT DataTmp 13
|
||||
Var ReqFlag = 2
|
||||
Else
|
||||
|
||||
If ReqFlag = 2 Then
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
Var PinNumberServer = Ext1c
|
||||
If PinNumberServer = PinNumberNew Then
|
||||
Var ChangePinPageSuccess = CountryRootPath + "xml/page_payment_changePinSuccess.lxml"
|
||||
Open ChangePinPageSuccess
|
||||
Else
|
||||
Var DataTmp = TelephoneNumber
|
||||
GETACCEXT DataTmp 13
|
||||
Var ReqFlag = 2
|
||||
|
||||
EndIf
|
||||
Else
|
||||
Var ChangePinPageFailed = CountryRootPath + "xml/page_payment_changePinFailed.lxml"
|
||||
Open ChangePinPageFailed
|
||||
Var ShowErrorText = "Enable"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
|
||||
If ReqFlag = 1 Then
|
||||
Var ChangePinPageFailed = CountryRootPath + "xml/page_payment_changePinFailed.lxml"
|
||||
Open ChangePinPageFailed
|
||||
Else
|
||||
If ReqFlag = 2 Then
|
||||
Var ChangePinPageFailed = CountryRootPath + "xml/page_payment_changePinFailed.lxml"
|
||||
Open ChangePinPageFailed
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "0"
|
||||
Trim PinNumber 4
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim PinNumber -1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
If TelNumLen < 1 Then
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 2 Then
|
||||
Var ShowTextNumber2= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 3 Then
|
||||
Var ShowTextNumber3= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 4 Then
|
||||
Var ShowTextNumber4= "Invisible"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_continue.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bn_continue.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bn_continue.png" )</FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
If ReqFlag = 0 Then
|
||||
|
||||
Var BmiYear = PinNumber
|
||||
Var PointCrm = ""
|
||||
Var GetScore = "1"
|
||||
|
||||
Var PinNumberNew = PinNumber
|
||||
|
||||
AddData 20 TelephoneNumber BmiYear PointCrm GetScore
|
||||
|
||||
Var ReqFlag = 1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var TextWaiting = "Please wait..."
|
||||
Else
|
||||
Var TextWaiting = "กรุณารอซักครู่..."
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 242 </X>
|
||||
<Y> 830 </Y>
|
||||
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 289 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber1 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 446 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber2 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 603 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber3 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 758 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber4 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 5 </X>
|
||||
<Y> 1700 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Size> 30 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xFF0000 </Color>
|
||||
<Value> TextWaiting </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 640 </Y>
|
||||
<Filename> Var( DirImage + "/text_23.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
133
inter/mys/xml/page_payment_changePinFailed.lxml
Normal file
133
inter/mys/xml/page_payment_changePinFailed.lxml
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 248 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_back3.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_back3.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 558 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_tryAgainPin.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_tryAgainPin.png" )</FilenamePress>
|
||||
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var ChangePinPage1 = CountryRootPath + "xml/page_payment_changePin1.lxml"
|
||||
Open ChangePinPage1
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 189 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> Var( DirImage + "/PinFailed.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
138
inter/mys/xml/page_payment_changePinSMS.lxml
Normal file
138
inter/mys/xml/page_payment_changePinSMS.lxml
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
|
||||
If PinSMSFlag = 1 Then
|
||||
If show_eng = "true" Then
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Press_next_to_receive_code_via_SMS.mp3"
|
||||
Else
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Press_next_to_receive_code_via_SMS.mp3"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
If PinSMSFlag = 1 Then
|
||||
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
|
||||
Open CheckMemberPage1
|
||||
Else
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_continue.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bn_continue.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If PinSMSFlag = 1 Then
|
||||
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
|
||||
Open CheckMemberPage1
|
||||
Else
|
||||
Var ChangePinPage1 = CountryRootPath + "xml/page_payment_changePin1.lxml"
|
||||
Open ChangePinPage1
|
||||
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 189 </X>
|
||||
<Y> 965 </Y>
|
||||
<Filename> Var( DirImage + "/smartphone.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If PinSMSFlag = 1 Then
|
||||
Var CheckMemberPage1 = CountryRootPath + "xml/page_check_member1.lxml"
|
||||
Open CheckMemberPage1
|
||||
Else
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
129
inter/mys/xml/page_payment_changePinSuccess.lxml
Normal file
129
inter/mys/xml/page_payment_changePinSuccess.lxml
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 248 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_back3.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_back3.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 558 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_catalog.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_catalog.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 189 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> Var( DirImage + "/PinSuccess.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||
Open CheckMemberPage2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
245
xml/dummy_layout_multiple_pro.inc
Normal file
245
xml/dummy_layout_multiple_pro.inc
Normal file
|
|
@ -0,0 +1,245 @@
|
|||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> "Enable" </State>
|
||||
<Button>
|
||||
<State> "Enable" </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_water_roomtemp.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_water_roomtemp.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_water_roomtemp.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "DRINKING WATER"
|
||||
Var NameDrinkTH = "น้ำดื่ม"
|
||||
Var DrinkDescriptionTH = "น้ำ"
|
||||
Var DrinkDescription = "Water"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_water_roomtemp.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0016.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0016"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0016.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
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-05-02-0016"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
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 = $12-05-02-0016.NameE
|
||||
Var menu_desc_eng_cold = $12-05-02-0016.descriptionE
|
||||
Var menu_name_thai_cold = $12-05-02-0016.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0016.description
|
||||
|
||||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||||
Var menu_desc_thai_blender = $##-##-##-####.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> "DRINKING WATER" </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> "Water" </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> $12-05-02-0016.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-05-02-0016.Button </State>
|
||||
<Value> StringFmt( $12-05-02-0016.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> "Invisible" </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> "Invisible" </State>
|
||||
<Value> StringFmt( $-.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 $Sum1205020016 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0016.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.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> $Sum1205020016 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
|
|
@ -548,19 +548,129 @@
|
|||
|
||||
|
||||
<FrameScroll>
|
||||
<Max> 16 </Max>
|
||||
<Max> 4 </Max>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Column> 2 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 40
|
||||
;block1
|
||||
<Block>
|
||||
<State> PromotionState1 </State>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 484 </Width>
|
||||
<Height> 602 </Height>
|
||||
|
||||
<Button>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png"
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
</Block>
|
||||
;endblock1
|
||||
;block2
|
||||
<Block>
|
||||
<State> PromotionState2 </State>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 484 </Width>
|
||||
<Height> 602 </Height>
|
||||
|
||||
<Button>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
</Block>
|
||||
;endblock2
|
||||
;block3
|
||||
<Block>
|
||||
<State> "Enable" </State>
|
||||
<Width> 1032 </Width>
|
||||
<Height> 636 </Height>
|
||||
<FrameScroll>
|
||||
<Max> 8 </Max>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1032 </Width>
|
||||
<Height> 636 </Height>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
;TAGESP
|
||||
; ==================> Len = 17
|
||||
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
|
||||
|
|
@ -569,7 +679,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,Disable=Invisible,$Sum120201003912020200391202030039) </State>
|
||||
<State> Flag( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,$Sum120201003912020200391202030039) </State>
|
||||
<Button>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_SingPark.png" </Filename>
|
||||
|
|
@ -825,7 +935,7 @@
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0009.Button,Disable=Invisible,$Sum1203030009) </State>
|
||||
<State> Flag( 12-03-03-0009.Button,$Sum1203030009) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030009 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo.png" </Filename>
|
||||
|
|
@ -1078,7 +1188,7 @@ VOLCANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0002.Button,12-03-02-0002.Button,12-03-03-0002.Button,Disable=Invisible,$Sum120301000212030200021203030002) </State>
|
||||
<State> Flag( 12-03-01-0002.Button,12-03-02-0002.Button,12-03-03-0002.Button,$Sum120301000212030200021203030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_cocoa.png" </Filename>
|
||||
|
|
@ -1333,7 +1443,7 @@ VOLCANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0029.Button,Disable=Invisible,$Sum1203030029) </State>
|
||||
<State> Flag( 12-03-03-0029.Button,$Sum1203030029) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030029 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_BananaOreo_smoothie.png" </Filename>
|
||||
|
|
@ -1587,7 +1697,7 @@ Sugar, Oreo" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0024.Button,12-03-02-0024.Button,12-03-03-0024.Button,Disable=Invisible,$Sum120301002412030200241203030024) </State>
|
||||
<State> Flag( 12-03-01-0024.Button,12-03-02-0024.Button,12-03-03-0024.Button,$Sum120301002412030200241203030024) </State>
|
||||
<Button>
|
||||
<State> $Sum120301002412030200241203030024 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_ChocoBanana_milk.png" </Filename>
|
||||
|
|
@ -1844,7 +1954,7 @@ BANANA MILK" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0041.Button,Disable=Invisible,$Sum1203030041) </State>
|
||||
<State> Flag( 12-03-03-0041.Button,$Sum1203030041) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030041 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_CARAMEL_MILK _BISCOFF.png" </Filename>
|
||||
|
|
@ -2099,7 +2209,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0042.Button,Disable=Invisible,$Sum1203030042) </State>
|
||||
<State> Flag( 12-03-03-0042.Button,$Sum1203030042) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030042 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_STRAWBERRY_MILK_MINT_BISCOFF.png" </Filename>
|
||||
|
|
@ -2354,7 +2464,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0043.Button,Disable=Invisible,$Sum1203030043) </State>
|
||||
<State> Flag( 12-03-03-0043.Button,$Sum1203030043) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030043 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_STRAWBERRY_MILK_BISCOFF.png" </Filename>
|
||||
|
|
@ -2609,7 +2719,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-82-0011.Button,12-03-83-0011.Button,Disable=Invisible,$Sum12038200111203830011) </State>
|
||||
<State> Flag( 12-03-82-0011.Button,12-03-83-0011.Button,$Sum12038200111203830011) </State>
|
||||
<Button>
|
||||
<State> $Sum12038200111203830011 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_Strawberry_Oat_smoothie.png" </Filename>
|
||||
|
|
@ -2861,7 +2971,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-82-0041.Button,12-03-83-0041.Button,Disable=Invisible,$Sum12038200411203830041) </State>
|
||||
<State> Flag( 12-03-82-0041.Button,12-03-83-0041.Button,$Sum12038200411203830041) </State>
|
||||
<Button>
|
||||
<State> $Sum12038200411203830041 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_Yuzu_Oat_smoothie.png" </Filename>
|
||||
|
|
@ -3113,7 +3223,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-82-0042.Button,12-03-83-0042.Button,Disable=Invisible,$Sum12038200421203830042) </State>
|
||||
<State> Flag( 12-03-82-0042.Button,12-03-83-0042.Button,$Sum12038200421203830042) </State>
|
||||
<Button>
|
||||
<State> $Sum12038200421203830042 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_Lychee_Oat_smoothie.png" </Filename>
|
||||
|
|
@ -3365,7 +3475,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-82-0043.Button,12-03-83-0043.Button,Disable=Invisible,$Sum12038200431203830043) </State>
|
||||
<State> Flag( 12-03-82-0043.Button,12-03-83-0043.Button,$Sum12038200431203830043) </State>
|
||||
<Button>
|
||||
<State> $Sum12038200431203830043 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_Lime_Oat_smoothie.png" </Filename>
|
||||
|
|
@ -3617,7 +3727,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0037.Button,12-02-02-0037.Button,12-02-03-0037.Button,Disable=Invisible,$Sum120201003712020200371202030037) </State>
|
||||
<State> Flag( 12-02-01-0037.Button,12-02-02-0037.Button,12-02-03-0037.Button,$Sum120201003712020200371202030037) </State>
|
||||
<Button>
|
||||
<State> $Sum120201003712020200371202030037 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_hojicha_milk_tea_sing.png" </Filename>
|
||||
|
|
@ -3872,7 +3982,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0026.Button,12-02-02-0026.Button,12-02-03-0026.Button,Disable=Invisible,$Sum120201002612020200261202030026) </State>
|
||||
<State> Flag( 12-02-01-0026.Button,12-02-02-0026.Button,12-02-03-0026.Button,$Sum120201002612020200261202030026) </State>
|
||||
<Button>
|
||||
<State> $Sum120201002612020200261202030026 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_milk_tea.png" </Filename>
|
||||
|
|
@ -4127,7 +4237,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0022.Button,12-03-02-0022.Button,12-03-03-0022.Button,Disable=Invisible,$Sum120301002212030200221203030022) </State>
|
||||
<State> Flag( 12-03-01-0022.Button,12-03-02-0022.Button,12-03-03-0022.Button,$Sum120301002212030200221203030022) </State>
|
||||
<Button>
|
||||
<State> $Sum120301002212030200221203030022 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Melon_smoothie.png" </Filename>
|
||||
|
|
@ -4382,7 +4492,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0003.Button,12-01-02-0001.Button,Disable=Invisible,$Sum12010100031201020001) </State>
|
||||
<State> Flag( 12-01-01-0003.Button,12-01-02-0001.Button,$Sum12010100031201020001) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100031201020001 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_america_no.png" </Filename>
|
||||
|
|
@ -4637,7 +4747,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0003.Button,12-21-02-0001.Button,Disable=Invisible,$Sum12210100031221020001) </State>
|
||||
<State> Flag( 12-21-01-0003.Button,12-21-02-0001.Button,$Sum12210100031221020001) </State>
|
||||
<Button>
|
||||
<State> $Sum12210100031221020001 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_america_no.png" </Filename>
|
||||
|
|
@ -4892,7 +5002,7 @@ Sugar, Biscof" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0014.Button,12-01-02-0011.Button,Disable=Invisible,$Sum12010100141201020011) </State>
|
||||
<State> Flag( 12-01-01-0014.Button,12-01-02-0011.Button,$Sum12010100141201020011) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100141201020011 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light.png" </Filename>
|
||||
|
|
@ -5151,7 +5261,7 @@ ETHIOPAI GUJI" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0019.Button,12-01-02-0019.Button,Disable=Invisible,$Sum12010100191201020019) </State>
|
||||
<State> Flag( 12-01-01-0019.Button,12-01-02-0019.Button,$Sum12010100191201020019) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100191201020019 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_bluedaddy.png" </Filename>
|
||||
|
|
@ -5410,7 +5520,7 @@ Note: Blue Berry & Floral" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0021.Button,12-01-02-0021.Button,Disable=Invisible,$Sum12010100211201020021) </State>
|
||||
<State> Flag( 12-01-01-0021.Button,12-01-02-0021.Button,$Sum12010100211201020021) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100211201020021 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_mozart.png" </Filename>
|
||||
|
|
@ -5669,7 +5779,7 @@ Note: Strawberry & Floral" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0025.Button,12-01-02-0025.Button,Disable=Invisible,$Sum12010100251201020025) </State>
|
||||
<State> Flag( 12-01-01-0025.Button,12-01-02-0025.Button,$Sum12010100251201020025) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100251201020025 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_whiskydude.png" </Filename>
|
||||
|
|
@ -5928,7 +6038,7 @@ Note: Whisky & Vanilla" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0023.Button,12-01-02-0023.Button,Disable=Invisible,$Sum12010100231201020023) </State>
|
||||
<State> Flag( 12-01-01-0023.Button,12-01-02-0023.Button,$Sum12010100231201020023) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100231201020023 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_snowwhite.png" </Filename>
|
||||
|
|
@ -6187,7 +6297,7 @@ Note: Jasmine & Honey" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0027.Button,12-01-02-0027.Button,Disable=Invisible,$Sum12010100271201020027) </State>
|
||||
<State> Flag( 12-01-01-0027.Button,12-01-02-0027.Button,$Sum12010100271201020027) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100271201020027 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_peacher.png" </Filename>
|
||||
|
|
@ -6446,7 +6556,7 @@ Note: Peach, tea, chocolate" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0032.Button,12-01-02-0032.Button,Disable=Invisible,$Sum12010100321201020032) </State>
|
||||
<State> Flag( 12-01-01-0032.Button,12-01-02-0032.Button,$Sum12010100321201020032) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100321201020032 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_pure_beauty.png" </Filename>
|
||||
|
|
@ -6704,7 +6814,7 @@ AMERICANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0035.Button,12-01-02-0035.Button,Disable=Invisible,$Sum12010100351201020035) </State>
|
||||
<State> Flag( 12-01-01-0035.Button,12-01-02-0035.Button,$Sum12010100351201020035) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100351201020035 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_geisha.png" </Filename>
|
||||
|
|
@ -6961,7 +7071,7 @@ AMERICANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0038.Button,12-01-02-0038.Button,Disable=Invisible,$Sum12010100381201020038) </State>
|
||||
<State> Flag( 12-01-01-0038.Button,12-01-02-0038.Button,$Sum12010100381201020038) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100381201020038 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_rosalyn.png" </Filename>
|
||||
|
|
@ -7220,7 +7330,7 @@ Pink Rose & Berry" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0044.Button,12-01-02-0044.Button,Disable=Invisible,$Sum12010100441201020044) </State>
|
||||
<State> Flag( 12-01-01-0044.Button,12-01-02-0044.Button,$Sum12010100441201020044) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100441201020044 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_chopin.png" </Filename>
|
||||
|
|
@ -7479,7 +7589,7 @@ Note: Strawberry & Floral" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0047.Button,12-01-02-0047.Button,Disable=Invisible,$Sum12010100471201020047) </State>
|
||||
<State> Flag( 12-01-01-0047.Button,12-01-02-0047.Button,$Sum12010100471201020047) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100471201020047 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_Mandarine.png" </Filename>
|
||||
|
|
@ -7736,7 +7846,7 @@ AMERICANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0050.Button,12-01-02-0050.Button,Disable=Invisible,$Sum12010100501201020050) </State>
|
||||
<State> Flag( 12-01-01-0050.Button,12-01-02-0050.Button,$Sum12010100501201020050) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100501201020050 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_opus_one.png" </Filename>
|
||||
|
|
@ -7993,7 +8103,7 @@ AMERICANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0045.Button,12-02-02-0045.Button,12-02-03-0046.Button,Disable=Invisible,$Sum120201004512020200451202030046) </State>
|
||||
<State> Flag( 12-02-01-0045.Button,12-02-02-0045.Button,12-02-03-0046.Button,$Sum120201004512020200451202030046) </State>
|
||||
<Button>
|
||||
<State> $Sum120201004512020200451202030046 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_jasmine_tea.png" </Filename>
|
||||
|
|
@ -8248,7 +8358,7 @@ AMERICANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0046.Button,12-02-02-0046.Button,12-02-03-0047.Button,Disable=Invisible,$Sum120201004612020200461202030047) </State>
|
||||
<State> Flag( 12-02-01-0046.Button,12-02-02-0046.Button,12-02-03-0047.Button,$Sum120201004612020200461202030047) </State>
|
||||
<Button>
|
||||
<State> $Sum120201004612020200461202030047 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_jasmine_milk_tea.png" </Filename>
|
||||
|
|
@ -8503,7 +8613,7 @@ AMERICANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0001.Button,12-03-02-0001.Button,12-03-03-0001.Button,Disable=Invisible,$Sum120301000112030200011203030001) </State>
|
||||
<State> Flag( 12-03-01-0001.Button,12-03-02-0001.Button,12-03-03-0001.Button,$Sum120301000112030200011203030001) </State>
|
||||
<Button>
|
||||
<State> $Sum120301000112030200011203030001 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_caramel.png" </Filename>
|
||||
|
|
@ -8758,7 +8868,7 @@ AMERICANO" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-02-0006.Button,12-03-03-0006.Button,Disable=Invisible,$Sum12030200061203030006) </State>
|
||||
<State> Flag( 12-03-02-0006.Button,12-03-03-0006.Button,$Sum12030200061203030006) </State>
|
||||
<Button>
|
||||
<State> $Sum12030200061203030006 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_pink_milk.png" </Filename>
|
||||
|
|
@ -9011,7 +9121,7 @@ Sugar" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0011.Button,Disable=Invisible,$Sum1203030011) </State>
|
||||
<State> Flag( 12-03-03-0011.Button,$Sum1203030011) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030011 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_strawberrymilk_smoothie.png" </Filename>
|
||||
|
|
@ -9264,7 +9374,7 @@ SMOOTHIE" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0007.Button,12-05-03-0007.Button,Disable=Invisible,$Sum12050200071205030007) </State>
|
||||
<State> Flag( 12-05-02-0007.Button,12-05-03-0007.Button,$Sum12050200071205030007) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200071205030007 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi.png" </Filename>
|
||||
|
|
@ -9515,7 +9625,7 @@ SMOOTHIE" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0046.Button,12-05-03-0046.Button,Disable=Invisible,$Sum12050200461205030046) </State>
|
||||
<State> Flag( 12-05-02-0046.Button,12-05-03-0046.Button,$Sum12050200461205030046) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200461205030046 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_plum.png" </Filename>
|
||||
|
|
@ -9766,7 +9876,7 @@ SMOOTHIE" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0035.Button,12-05-03-0035.Button,Disable=Invisible,$Sum12050200351205030035) </State>
|
||||
<State> Flag( 12-05-02-0035.Button,12-05-03-0035.Button,$Sum12050200351205030035) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200351205030035 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_soda.png" </Filename>
|
||||
|
|
@ -10018,7 +10128,7 @@ DRINK SODA" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0025.Button,12-05-03-0025.Button,Disable=Invisible,$Sum12050200251205030025) </State>
|
||||
<State> Flag( 12-05-02-0025.Button,12-05-03-0025.Button,$Sum12050200251205030025) </State>
|
||||
<Button>
|
||||
<State> $Sum12050200251205030025 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_ume_lime_soda.png" </Filename>
|
||||
|
|
@ -10263,6 +10373,10 @@ LIMENADE SODA" </Value>
|
|||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
</Block>
|
||||
;endblock3
|
||||
;block4;endblock4
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
|
|
@ -10281,8 +10395,6 @@ LIMENADE SODA" </Value>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
<Button>
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1 +0,0 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
|
|
@ -1 +0,0 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
|
|
@ -1 +0,0 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
|
|
@ -1 +0,0 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,125 +0,0 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </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 = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepsi_second_cup_30.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/pepsi_second_cup_30/pro_pepsi_second_cup_30_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/pepsi_second_cup_30/pro_pepsi_second_cup_30_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 559 </X>
|
||||
<Y> 519 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
|
@ -1,125 +0,0 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </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 = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_lipit.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/lipit/pro_lipit_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/lipit/pro_lipit_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 559 </X>
|
||||
<Y> 519 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
|
@ -1,125 +0,0 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </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 = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_lipit.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/lipit/pro_lipit_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/lipit/pro_lipit_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 559 </X>
|
||||
<Y> 519 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
|
@ -1,125 +0,0 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </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 = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepsi_second_cup_30.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/pepsi_second_cup_30/pro_pepsi_second_cup_30_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/pepsi_second_cup_30/pro_pepsi_second_cup_30_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 559 </X>
|
||||
<Y> 519 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
|
@ -6,12 +6,6 @@ else:
|
|||
#print( "dir= " + directory_to_process + "/page_catalog_group_recommend.xml");
|
||||
file_recommend = open(directory_to_process + "/page_catalog_group_recommend.xml", 'r')
|
||||
content_recommend = file_recommend.read()
|
||||
|
||||
file_recommend_double_pro = open(directory_to_process + "/page_catalog_group_recommend_double_pro.xml", "r")
|
||||
content_recommend_double_pro = file_recommend_double_pro.read()
|
||||
|
||||
file_recommend_triple_pro = open(directory_to_process + "/page_catalog_group_recommend_triple_pro.xml", "r")
|
||||
content_recommend_triple_pro = file_recommend_triple_pro.read()
|
||||
#print(file_xml.read())
|
||||
# ; include-file=dummy_layout.inc
|
||||
# file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
|
||||
|
|
@ -19,7 +13,6 @@ else:
|
|||
|
||||
|
||||
file_recommend.close()
|
||||
file_recommend_double_pro.close()
|
||||
if "template1" in param:
|
||||
|
||||
file_inc1 = open(directory_to_process + "/event/promotion_template1.inc", 'r')
|
||||
|
|
@ -240,338 +233,70 @@ else:
|
|||
file_xml4.write( content_data)
|
||||
file_xml4.close()
|
||||
|
||||
if "double_template1" in param:
|
||||
file_inc_double1 = open(directory_to_process + "/event/double_promotion_template1.inc", 'r')
|
||||
file_inc_double1_content = file_inc_double1.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_double_template1", 'r')
|
||||
file_inc_double1_img_content = file_inc_img.read()
|
||||
if "multi_promotion" in param:
|
||||
files = os.listdir(directory_to_process + "/event/")
|
||||
files = [f for f in files if f.startswith("multi_promotion_config")]
|
||||
for filename in files:
|
||||
recommend_multi_pro = open(directory_to_process + "/page_catalog_group_recommend_multi_pro.xml", "r")
|
||||
recommend_multi_pro_buff = recommend_multi_pro.read()
|
||||
recommend_multi_pro.close()
|
||||
|
||||
# replace key.
|
||||
#read config
|
||||
multi_pro_config_file = open(directory_to_process + "/event/"+ filename)
|
||||
multi_pro_config = json.load(multi_pro_config_file)
|
||||
|
||||
index = 0
|
||||
promotion_name = []
|
||||
while index < len(multi_pro_config):
|
||||
promotion_config = multi_pro_config[index]
|
||||
index += 1
|
||||
|
||||
sp_key = file_inc_double1_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_inc_double1_content = file_inc_double1_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
# add promotion name for create filename later
|
||||
promotion_name.append(promotion_config["name"])
|
||||
|
||||
#load template
|
||||
template_file = open(directory_to_process + promotion_config["template"])
|
||||
template = template_file.read()
|
||||
template_file.close()
|
||||
for key, value in promotion_config["config"].items():
|
||||
template = template.replace("###"+key, '"' + value.strip() + '"')
|
||||
|
||||
promotion_block_str = '\r\n<Block>\r\n\t<State> PromotionState{0} </State>\r\n\t<MarginLeft> 33 </MarginLeft>\r\n\t<MarginTop> 22 </MarginTop>\r\n\t<Width> 484 </Width>\r\n\t<Height> 602 </Height>\r\n'.format(index)
|
||||
|
||||
promotion_block_str += template
|
||||
promotion_block_str += '\r\n</Block>\r\n'
|
||||
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index), r'\1{0}\2'.format(promotion_block_str), recommend_multi_pro_buff)
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/double_promotion_onclick1.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc_double1_content = file_inc_double1_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
# print(file_inc_double1_content)
|
||||
|
||||
# print( file_inc_content)
|
||||
|
||||
file_inc = open(directory_to_process + "/dummy_layout_double_pro.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend_double_pro.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc_double1_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_xml_double1_out = open(directory_to_process + "/event/out_put_file_double_pro1.txt", 'r')
|
||||
file_xml_double1_out_content = file_xml_double1_out.read()
|
||||
file_xml_double1_out_content = file_xml_double1_out_content.strip()
|
||||
file_xml_double1_out_content = file_xml_double1_out_content.replace("\r", "")
|
||||
file_xml_double1_out_content = file_xml_double1_out_content.replace("\n", "")
|
||||
|
||||
file_xml_double1 = open(directory_to_process + file_xml_double1_out_content, 'w')
|
||||
file_xml_double1.write( content_data)
|
||||
file_xml_double1.close()
|
||||
|
||||
if "double_template2" in param:
|
||||
file_inc_double2 = open(directory_to_process + "/event/double_promotion_template2.inc", 'r')
|
||||
file_inc_double2_content = file_inc_double2.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_double_template2", 'r')
|
||||
file_inc_double2_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc_double2_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_inc_double2_content = file_inc_double2_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/double_promotion_onclick2.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc_double2_content = file_inc_double2_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
# print(file_inc_double2_content)
|
||||
|
||||
# print( file_inc_content)
|
||||
|
||||
file_inc = open(directory_to_process + "/dummy_layout_double_pro.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend_double_pro.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc_double2_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_xml_double2_out = open(directory_to_process + "/event/out_put_file_double_pro2.txt", 'r')
|
||||
file_xml_double2_out_content = file_xml_double2_out.read()
|
||||
file_xml_double2_out_content = file_xml_double2_out_content.strip()
|
||||
file_xml_double2_out_content = file_xml_double2_out_content.replace("\r", "")
|
||||
file_xml_double2_out_content = file_xml_double2_out_content.replace("\n", "")
|
||||
|
||||
file_xml_double2 = open(directory_to_process + file_xml_double2_out_content, 'w')
|
||||
file_xml_double2.write( content_data)
|
||||
file_xml_double2.close()
|
||||
|
||||
if "double_template3" in param:
|
||||
file_inc_double3 = open(directory_to_process + "/event/double_promotion_template3.inc", 'r')
|
||||
file_inc_double3_content = file_inc_double3.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_double_template3", 'r')
|
||||
file_inc_double3_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc_double3_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_inc_double3_content = file_inc_double3_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/double_promotion_onclick3.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc_double3_content = file_inc_double3_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
# print(file_inc_double3_content)
|
||||
|
||||
# print( file_inc_content)
|
||||
|
||||
file_inc = open(directory_to_process + "/dummy_layout_double_pro.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend_double_pro.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc_double3_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_xml_double3_out = open(directory_to_process + "/event/out_put_file_double_pro3.txt", 'r')
|
||||
file_xml_double3_out_content = file_xml_double3_out.read()
|
||||
file_xml_double3_out_content = file_xml_double3_out_content.strip()
|
||||
file_xml_double3_out_content = file_xml_double3_out_content.replace("\r", "")
|
||||
file_xml_double3_out_content = file_xml_double3_out_content.replace("\n", "")
|
||||
|
||||
file_xml_double3 = open(directory_to_process + file_xml_double3_out_content, 'w')
|
||||
file_xml_double3.write( content_data)
|
||||
file_xml_double3.close()
|
||||
|
||||
if "double_template4" in param:
|
||||
file_inc_double4 = open(directory_to_process + "/event/double_promotion_template4.inc", 'r')
|
||||
file_inc_double4_content = file_inc_double4.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_double_template4", 'r')
|
||||
file_inc_double4_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc_double4_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_inc_double4_content = file_inc_double4_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/double_promotion_onclick4.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc_double4_content = file_inc_double4_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
# print(file_inc_double4_content)
|
||||
|
||||
# print( file_inc_content)
|
||||
|
||||
file_inc = open(directory_to_process + "/dummy_layout_double_pro.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend_double_pro.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc_double4_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]
|
||||
|
||||
tmp2 = content_data[ end_text:-1]
|
||||
#print("tmp1=" + tmp1)
|
||||
#print("tmp2=" + tmp2)
|
||||
|
||||
content_data = tmp1 + tmp2
|
||||
|
||||
file_xml_double4_out = open(directory_to_process + "/event/out_put_file_double_pro4.txt", 'r')
|
||||
file_xml_double4_out_content = file_xml_double4_out.read()
|
||||
file_xml_double4_out_content = file_xml_double4_out_content.strip()
|
||||
file_xml_double4_out_content = file_xml_double4_out_content.replace("\r", "")
|
||||
file_xml_double4_out_content = file_xml_double4_out_content.replace("\n", "")
|
||||
|
||||
file_xml_double4 = open(directory_to_process + file_xml_double4_out_content, 'w')
|
||||
file_xml_double4.write( content_data)
|
||||
file_xml_double4.close()
|
||||
|
||||
if "triple_template1" in param:
|
||||
file_inc_triple1 = open(directory_to_process + "/event/triple_promotion_template1.inc", 'r')
|
||||
file_inc_triple1_content = file_inc_triple1.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_triple_template1", 'r')
|
||||
file_inc_triple1_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc_triple1_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_inc_triple1_content = file_inc_triple1_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/triple_promotion_onclick1.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc_triple1_content = file_inc_triple1_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
# print(file_inc_triple1_content)
|
||||
|
||||
# print( file_inc_content)
|
||||
|
||||
file_inc = open(directory_to_process + "/dummy_layout_triple_pro.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend_triple_pro.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc_triple1_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_xml_triple1_out = open(directory_to_process + "/event/out_put_file_triple_pro1.txt", 'r')
|
||||
file_xml_triple1_out_content = file_xml_triple1_out.read()
|
||||
file_xml_triple1_out_content = file_xml_triple1_out_content.strip()
|
||||
file_xml_triple1_out_content = file_xml_triple1_out_content.replace("\r", "")
|
||||
file_xml_triple1_out_content = file_xml_triple1_out_content.replace("\n", "")
|
||||
|
||||
file_xml_triple1 = open(directory_to_process + file_xml_triple1_out_content, 'w')
|
||||
file_xml_triple1.write( content_data)
|
||||
file_xml_triple1.close()
|
||||
|
||||
if "triple_template2" in param:
|
||||
file_inc_triple2 = open(directory_to_process + "/event/triple_promotion_template2.inc", 'r')
|
||||
file_inc_triple2_content = file_inc_triple2.read()
|
||||
file_inc_img = open(directory_to_process + "../image/event/image_triple_template2", 'r')
|
||||
file_inc_triple2_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc_triple2_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_inc_triple2_content = file_inc_triple2_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/triple_promotion_onclick1.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc_triple2_content = file_inc_triple2_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
# print(file_inc_triple2_content)
|
||||
|
||||
# print( file_inc_content)
|
||||
|
||||
file_inc = open(directory_to_process + "/dummy_layout_triple_pro.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
|
||||
content_data_was_repack = content_recommend_triple_pro.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc_triple2_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_xml_triple2_out = open(directory_to_process + "/event/out_put_file_triple_pro2.txt", 'r')
|
||||
file_xml_triple2_out_content = file_xml_triple2_out.read()
|
||||
file_xml_triple2_out_content = file_xml_triple2_out_content.strip()
|
||||
file_xml_triple2_out_content = file_xml_triple2_out_content.replace("\r", "")
|
||||
file_xml_triple2_out_content = file_xml_triple2_out_content.replace("\n", "")
|
||||
|
||||
file_xml_triple2 = open(directory_to_process + file_xml_triple2_out_content, 'w')
|
||||
file_xml_triple2.write( content_data)
|
||||
file_xml_triple2.close()
|
||||
if index == 2:
|
||||
# expend block3 to full width bottom
|
||||
inner_block = re.search(r'(?is);block{0}(.*);endblock{0}'.format(index+1), recommend_multi_pro_buff).group(1)
|
||||
inner_block = inner_block.replace("<Width> 516 </Width>", "<Width> 1032 </Width>", 2)
|
||||
inner_block = inner_block.replace("<Max> 4 </Max>", "<Max> 8 </Max>", 1)
|
||||
inner_block = inner_block.replace("<Column> 2 </Column>", "<Column> 4 </Column>", 1)
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index+1), r'\1{0}\2'.format(inner_block), recommend_multi_pro_buff)
|
||||
|
||||
# remove block4
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index+2), r'\1\2', recommend_multi_pro_buff)
|
||||
|
||||
if index == 3:
|
||||
# create expand block
|
||||
inner_block2 = re.search(r'(?is)(;block{0}.*;endblock{0})'.format(index+1), recommend_multi_pro_buff).group(1)
|
||||
inner_block2 = inner_block2.replace(";block{0}".format(index+1), ";block{0}-expand".format(index+1))
|
||||
inner_block2 = inner_block2.replace(";endblock{0}".format(index+1), ";endblock{0}-expand".format(index+1))
|
||||
|
||||
inner_block2 = inner_block2.replace("<Width> 516 </Width>", "<Width> 1032 </Width>", 2)
|
||||
# inner_block2 = inner_block2.replace("<State> \"Enable\" </State> ", "<State>\r\n\teval(\r\n\tIf PromotionState{0} = \"Enable\" Then\r\n\t\tVar block_expend_show = \"Invisible\"\r\n\tElse\r\n\t\tVar block_expend_show = \"Enable\"\r\n\tEndIf\r\n\tVar return = block_expend_show\r\n\t)\r\n</State>".format(index), 1)
|
||||
inner_block2 = inner_block2.replace("<Max> 4 </Max>", "<Max>\r\neval(\r\n\tIf CountEnablePromotion > 2 Then\r\n\t\tVar max_count = 4\r\n\tElse\r\n\t\tVar max_count = 8\r\n\tEndIf\r\n\tVar return = max_count\r\n)\r\n</Max>", 1)
|
||||
inner_block2 = inner_block2.replace("<Column> 2 </Column>", "<Column>\r\neval(\r\n\tIf CountEnablePromotion > 2 Then\r\n\t\tVar column_count = 2\r\n\tElse\r\n\t\tVar column_count = 4\r\n\tEndIf\r\n\tVar return = column_count\r\n)\r\n</Column>", 1)
|
||||
recommend_multi_pro_buff = re.sub(r'(?is);block{0}.*;endblock{0}'.format(index+1), inner_block2, recommend_multi_pro_buff)
|
||||
|
||||
|
||||
# create promotion file
|
||||
count_name_dict = {
|
||||
2: "double_",
|
||||
3: "triple_"
|
||||
}
|
||||
promo_file = open(directory_to_process + "/event/" + count_name_dict[len(multi_pro_config)]+ "promotion_" + "_and_".join(promotion_name) + ".xml", "w")
|
||||
promo_file.write(recommend_multi_pro_buff)
|
||||
promo_file.close()
|
||||
|
|
|
|||
43
xml/event/multi_promotion_config_1-17_03_2024.json
Normal file
43
xml/event/multi_promotion_config_1-17_03_2024.json
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
43
xml/event/multi_promotion_config_18_03-5_04_2024.json
Normal file
43
xml/event/multi_promotion_config_18_03-5_04_2024.json
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
28
xml/event/multi_promotion_config_6-30_04_2024.json
Normal file
28
xml/event/multi_promotion_config_6-30_04_2024.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"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 +0,0 @@
|
|||
/event/double_promotion_pepsi_second_cup_30_and_monday_banana.xml
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/double_promotion_lipit_and_monday_banana.xml
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/double_promotion_lipit_and_free_energy_drink.xml
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/double_promotion_pepsi_second_cup_30_and_free_energy_drink.xml
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/triple_promotion_pepsi_second_cup_30_and_monday_banana_and_free_energy_drink.xml
|
||||
|
|
@ -1 +0,0 @@
|
|||
/event/triple_promotion_lipit_and_monday_banana_and_free_energy_drink.xml
|
||||
38
xml/event/promotion_template.inc
Normal file
38
xml/event/promotion_template.inc
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
|
||||
<Button>
|
||||
|
||||
<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>
|
||||
|
||||
Open ###event_on_click
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
71
xml/event/promotion_video_template.inc
Normal file
71
xml/event/promotion_video_template.inc
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
|
||||
<Button>
|
||||
|
||||
<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>
|
||||
|
||||
Open ###event_on_click
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
||||
<Video>
|
||||
<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> ###video_thai </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
<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> ###video_eng </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
@ -10,6 +10,10 @@ DEBUGVAR PepsiSecondCup30Enable
|
|||
DEBUGVAR FreeEnergyDrink
|
||||
DEBUGVAR EnergyDrinkEnable
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
Var PromotionState3 = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
|
@ -21,152 +25,103 @@ If CocktailShow = "true" Then
|
|||
Else
|
||||
; check profile to enable free energy drink promotion
|
||||
STRCONTAIN "ProEnergyDrinkFreePerCardID" XMLProfile EnableFreeEnergyDrink
|
||||
|
||||
|
||||
Var BigButtonEnable = "Enable"
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
|
||||
;Var FreeEnergyDrink = 1
|
||||
;Var EnableFreeEnergyDrink = "true"
|
||||
DEBUGVAR EnableFreeEnergyDrink
|
||||
|
||||
Var CountEnablePromotion = 0
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
; zone promote
|
||||
|
||||
If LipitPro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If MondayBananaPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
|
||||
Var PromotionState3 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_lipit_and_monday_banana_and_free_energy_drink.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_lipit.xml"
|
||||
EndIf
|
||||
Else
|
||||
If PepsiSecondCup30Enable = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If MondayBananaPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
|
||||
Var PromotionState3 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_pepsi_second_cup_30_and_monday_banana_and_free_energy_drink.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_pepsi_second_cup_30.xml"
|
||||
EndIf
|
||||
Else
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
Var FreePowerup = "Enable"
|
||||
|
||||
If MondayBananaPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_free_energy_drink_and_monday_banana.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_powerup_free_1.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If MondayBananaPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_monday_banana.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
DEBUGVAR BigButtonEnable
|
||||
|
||||
If LipitPro = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
|
||||
If MondayBananaPro = 1 Then
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/triple_promotion_lipit_and_monday_banana_and_free_energy_drink.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/double_promotion_lipit_and_monday_banana.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/double_promotion_lipit_and_monday_banana.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
Else
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/double_promotion_lipit_and_free_energy_drink.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_lipit.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_lipit.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If PepsiSecondCup30Enable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
If MondayBananaPro = 1 Then
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/double_promotion_pepsi_second_cup_30_and_monday_banana.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
Else
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/double_promotion_pepsi_second_cup_30_and_free_energy_drink.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_pepsi_second_cup_30.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_pepsi_second_cup_30.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_powerup_free_1.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
OpenInst 2 FileRecommendToOpen
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
If LipitPro = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
If MondayBananaPro = 1 Then
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/triple_promotion_lipit_and_monday_banana_and_free_energy_drink.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/double_promotion_lipit_and_monday_banana.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/double_promotion_lipit_and_monday_banana.xml"
|
||||
EndIf
|
||||
Else
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/double_promotion_lipit_and_free_energy_drink.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/promotion_lipit.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/promotion_lipit.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If PepsiSecondCup30Enable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
If MondayBananaPro = 1 Then
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/triple_promotion_pepsi_second_cup_30_and_monday_banana_and_free_energy_drink.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/double_promotion_pepsi_second_cup_30_and_monday_banana.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/double_promotion_pepsi_second_cup_30_and_monday_banana.xml"
|
||||
EndIf
|
||||
Else
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/double_promotion_pepsi_second_cup_30_and_free_energy_drink.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/promotion_pepsi_second_cup_30.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/promotion_pepsi_second_cup_30.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_powerup_free_1.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Open FileRecommendToOpen
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
Var OpenFromPageBoard = 0
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1 +0,0 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
|
|
@ -1 +0,0 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,163 +0,0 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </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 = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepsi_second_cup_30.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/pepsi_second_cup_30/pro_pepsi_second_cup_30_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/pepsi_second_cup_30/pro_pepsi_second_cup_30_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 559 </X>
|
||||
<Y> 519 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 1153 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###third_normal_eng
|
||||
Else
|
||||
Var return = ###third_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###third_normal_eng
|
||||
Else
|
||||
Var return = ###third_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###third_normal_eng
|
||||
Else
|
||||
Var return = ###third_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
|
@ -1,163 +0,0 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </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 = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_lipit.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/lipit/pro_lipit_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/lipit/pro_lipit_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 559 </X>
|
||||
<Y> 519 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###second_normal_eng
|
||||
Else
|
||||
Var return = ###second_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 1153 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###third_normal_eng
|
||||
Else
|
||||
Var return = ###third_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###third_normal_eng
|
||||
Else
|
||||
Var return = ###third_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###third_normal_eng
|
||||
Else
|
||||
Var return = ###third_normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
|
@ -60,6 +60,11 @@
|
|||
else:
|
||||
triple_pro_gen = False
|
||||
|
||||
if current_file_name == "page_catalog_group_recommend_multi_pro.skt":
|
||||
multi_pro_gen = True
|
||||
else:
|
||||
multi_pro_gen = False
|
||||
|
||||
if current_file_name == "page_catalog_group_pro_15THB.skt":
|
||||
fixed_price = 15
|
||||
else:
|
||||
|
|
@ -169,24 +174,25 @@
|
|||
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:
|
||||
out_xml('<Max> 4 </Max>\r\n')
|
||||
out_xml('<X> 10 </X>\r\n')
|
||||
out_xml('<Y> 497 </Y>\r\n')
|
||||
out_xml('<Width> 1080 </Width>\r\n')
|
||||
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
|
||||
if multi_pro_gen:
|
||||
out_xml('<Column> 2 </Column>\r\n')
|
||||
else:
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
out_xml('<Script>\r\n')
|
||||
|
||||
if "all" in verbose:
|
||||
print("current_file_name " + current_file_name)
|
||||
|
||||
if triple_pro_gen == True:
|
||||
out_xml('\t Var block_index_override = 0\r\n')
|
||||
out_xml('\t Var block_index_move = 0\r\n')
|
||||
elif double_pro_gen == True:
|
||||
out_xml('\t Var block_index_override = 0\r\n')
|
||||
out_xml('\t Var block_index_move = 0\r\n')
|
||||
elif touch_less_gen == False:
|
||||
|
||||
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')
|
||||
|
|
@ -248,10 +254,9 @@
|
|||
|
||||
if double_pro_gen == True or triple_pro_gen:
|
||||
out_xml(';dummy_layout.inc\r\n')
|
||||
|
||||
|
||||
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
for spl in menu_new_list:
|
||||
|
||||
def GenListMenu():
|
||||
for spl in menu_new_list:
|
||||
#product_code = s
|
||||
if spl[0] == "IGNORE":
|
||||
continue
|
||||
|
|
@ -277,14 +282,14 @@
|
|||
str_con += spl[5] + '.Button,'
|
||||
if spl[6] != '-':
|
||||
str_con += spl[6] + '.Button,'
|
||||
|
||||
|
||||
if spl[4] != '-':
|
||||
str_con_var += spl[4] + '-'
|
||||
if spl[5] != '-':
|
||||
str_con_var += spl[5] + '-'
|
||||
if spl[6] != '-':
|
||||
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:
|
||||
str_con += "Disable=Invisible,"
|
||||
|
|
@ -495,8 +500,8 @@
|
|||
if menu_white_color_catalog == True:
|
||||
menu_color_font = '0xFFFFFF'
|
||||
desc_color_font = '0xFFFFFF'
|
||||
|
||||
|
||||
|
||||
|
||||
if spl[1] != "None":
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
|
|
@ -588,7 +593,7 @@
|
|||
out_xml( '\t<State> ' + shw + ' </State>\r\n')
|
||||
|
||||
#out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price ) </Value>\r\n')
|
||||
|
||||
|
||||
if "inter" in param:
|
||||
if "free" in param:
|
||||
out_xml( '\t<Value> "Free" </Value>\r\n')
|
||||
|
|
@ -850,14 +855,14 @@
|
|||
str_con += spl[9] + '.Button,'
|
||||
if spl[6] != '-':
|
||||
str_con += spl[10] + '.Button,'
|
||||
|
||||
|
||||
if spl[8] != '-':
|
||||
str_con_var += spl[8] + '-'
|
||||
if spl[9] != '-':
|
||||
str_con_var += spl[9] + '-'
|
||||
if spl[10] != '-':
|
||||
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:
|
||||
str_con += "Disable=Invisible,"
|
||||
|
|
@ -884,7 +889,7 @@
|
|||
pd_code_3 = pd_code_available
|
||||
pd_stage3 = '"Disable2"'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
out_xml( '\t<Button>\r\n')
|
||||
|
|
@ -1022,7 +1027,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 164 </Y>\r\n')
|
||||
|
|
@ -1316,10 +1321,41 @@
|
|||
if spl[0].startswith("TAG"):
|
||||
out_xml( '\t;' + spl[0] + '\r\n')
|
||||
|
||||
count_test = count_test + 1
|
||||
count_test = count_test + 1
|
||||
#if count_test > 8 :
|
||||
# break
|
||||
|
||||
|
||||
|
||||
if multi_pro_gen:
|
||||
for i in range(1, 5):
|
||||
out_xml(';block'+str(i)+'\r\n')
|
||||
out_xml('\t<Block>\r\n')
|
||||
out_xml('\t\t<State> \"Enable\" </State> \r\n')
|
||||
# out_xml('\t\t<MarginTop> 22 </MarginTop>\r\n')
|
||||
# out_xml('\t\t<MarginLeft> 33 </MarginLeft>\r\n')
|
||||
out_xml('\t\t<Width> 516 </Width>\r\n')
|
||||
out_xml('\t\t<Height> 636 </Height>\r\n')
|
||||
out_xml('\t\t<FrameScroll>\r\n')
|
||||
out_xml('\t\t\t<Max> 4 </Max>\r\n')
|
||||
out_xml('\t\t\t<X> 0 </X>\r\n')
|
||||
out_xml('\t\t\t<Y> 0 </Y>\r\n')
|
||||
out_xml('\t\t\t<Width> 516 </Width>\r\n')
|
||||
out_xml('\t\t\t<Height> 636 </Height>\r\n')
|
||||
out_xml('\t\t\t<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
||||
out_xml('\t\t\t<Scroll> "Vertical" </Scroll>\r\n')
|
||||
out_xml('\t\t\t<Column> 2 </Column>\r\n')
|
||||
out_xml('\t\t\t<Script>\r\n')
|
||||
out_xml('\t\t\t\tVar block_index_override = 0\r\n')
|
||||
out_xml('\t\t\t\tVar block_index_move = 0\r\n')
|
||||
out_xml('\t\t\t</Script>\r\n')
|
||||
GenListMenu()
|
||||
out_xml('\t\t</FrameScroll>\r\n')
|
||||
out_xml('\t\t</Block>\r\n')
|
||||
out_xml(';endblock'+str(i)+'\r\n')
|
||||
else:
|
||||
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
GenListMenu()
|
||||
|
||||
|
||||
|
||||
out_xml('</FrameScroll>\r\n')
|
||||
|
|
@ -1339,4 +1375,4 @@
|
|||
out_xml('</EventClick>\r\n')
|
||||
out_xml('</Button>\r\n')
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -406,7 +406,7 @@
|
|||
|
||||
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||
|
||||
|
||||
|
||||
Var showCart = "Invisible"
|
||||
|
|
@ -879,13 +879,13 @@
|
|||
Else
|
||||
Var LanguageObjectShow = "Invisible"
|
||||
Var NoLangObjectShow = "Enable"
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
Var RootPath = "ROOT/taobin_project/"
|
||||
|
||||
|
||||
EndIf
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||
|
||||
|
||||
Var StrXMLPageVer = "ver=" + XMLPageVersionInt
|
||||
|
|
@ -1491,7 +1491,12 @@
|
|||
Var ChackMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
OpenInst 2 ChackMemberPage
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
If CountryName = "Malaysia" Then
|
||||
Var ChackMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
OpenInst 2 ChackMemberPage
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
|
|
|
|||
|
|
@ -2327,8 +2327,8 @@ Water" </Value>
|
|||
<EventOnClick>
|
||||
Var NameDrink = "sum balm spf 15 pa++"
|
||||
Var NameDrinkTH = "เคาะค่ะ"
|
||||
Var DrinkDescriptionTH = "น้ำเชื่อมคาราเมล น้ำเชื่อมมินต์ นมและน้ำแข็ง"
|
||||
Var DrinkDescription = "Mint Syrup, Caramel Syrup, Milk and Ice"
|
||||
Var DrinkDescriptionTH = "น้ำเชื่อมคาราเมล มัทฉะ นมและน้ำแข็ง"
|
||||
Var DrinkDescription = "Caramel Syrup, Matcha Milk and Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Caramel_Mint_Milk_Sum_Balm_SPF_15.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
|
|
@ -2410,7 +2410,7 @@ Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "น้ำเชื่อมคาราเมล น้ำเชื่อมมินต์ นมและน้ำแข็ง" </Value>
|
||||
<Value> "น้ำเชื่อมคาราเมล มัทฉะ นมและน้ำแข็ง" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -2431,7 +2431,7 @@ Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Mint Syrup, Caramel Syrup, Milk and Ice" </Value>
|
||||
<Value> "Caramel Syrup, Matcha Milk and Ice" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
39491
xml/page_catalog_group_recommend_multi_pro.xml
Normal file
39491
xml/page_catalog_group_recommend_multi_pro.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,85 +0,0 @@
|
|||
<?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 Menu1Selected = "PressForever"
|
||||
|
||||
Var OreoBigButtonEnable = "Enable"
|
||||
|
||||
If $12-01-01-0001.Button = "Invisible" Then
|
||||
Var esp102101001Enable = "Invisible"
|
||||
Var esp122101001Enable = "Enable"
|
||||
|
||||
Else
|
||||
Var esp102101001Enable = "Enable"
|
||||
Var esp122101001Enable = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
Else
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
|
||||
EndIf
|
||||
|
||||
<?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
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<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>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
|
|
@ -59,39 +59,7 @@
|
|||
|
||||
;inter-condition
|
||||
;inter-image not use. because customer auto assige member.
|
||||
If CountryName = "Malaysia" Then
|
||||
;Var img_popup2 = "/img_popup2-MYR.png"
|
||||
;Var img_popup3 = "/img_popup3-MYR.png"
|
||||
|
||||
Var MemberState1 = "Enable"
|
||||
Var MemberState2 = "Invisible"
|
||||
Var MemberState3 = "Invisible"
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If CountryName = "Indonesia" Then
|
||||
;Var img_popup2 = "/img_popup2-IDR.png"
|
||||
;Var img_popup3 = "/img_popup3-IDR.png"
|
||||
|
||||
Var MemberState1 = "Enable"
|
||||
Var MemberState2 = "Invisible"
|
||||
Var MemberState3 = "Invisible"
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If CountryName = "Australia" Then
|
||||
;Var img_popup2 = "/img_popup2-AUS.png"
|
||||
;Var img_popup3 = "/img_popup3-AUS.png"
|
||||
|
||||
Var MemberState1 = "Enable"
|
||||
Var MemberState2 = "Invisible"
|
||||
Var MemberState3 = "Invisible"
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If CountryName = "Singapore" Then
|
||||
;Var img_popup2 = "/img_popup2-SGP.png"
|
||||
;Var img_popup3 = "/img_popup3-SGP.png"
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
Var MemberState1 = "Enable"
|
||||
Var MemberState2 = "Invisible"
|
||||
|
|
|
|||
|
|
@ -413,11 +413,7 @@
|
|||
; fruit_raya
|
||||
If FromFruityRaya = 1 Then
|
||||
Var Seeker.VendingCode = "RAYA"
|
||||
Var Seeker.IntVendingCampaign = 0
|
||||
Var Seeker.FreeVendingCampaign = 0
|
||||
Var Seeker.CodeChannel = 1
|
||||
Var Seeker.CodeNumber = IDNum
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
8
xml/sometime/top_spender.xml
Normal file
8
xml/sometime/top_spender.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<Popup>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 846 </Height>
|
||||
<Background> "0xFF0000" </Background>
|
||||
<EventOpen>
|
||||
</EventOpen>
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue