update something

This commit is contained in:
wanlop run 2025-04-09 14:48:11 +07:00
parent f02028d22a
commit c1a02871d4
30 changed files with 4688 additions and 3838 deletions

View file

@ -248,59 +248,71 @@ DEBUGVAR MainAdvertiseRunSlot
;
; final call
; Protect edge of promotion.
If MainAdvertiseShowSlot < MainAdvertiseRunSlot Then
Var VideoMainPage = MainAdvertiseFileName[MainAdvertiseShowSlot]
If MainAdvertiseVideoEnd[MainAdvertiseShowSlot] = 0 Then
Var CountDownPauseVideoEnable = "ignore"
If MainAdvertiseShowSlot > 0 Then
If MainAdvertiseShowSlot < MainAdvertiseRunSlot Then
Var VideoMainPage = MainAdvertiseFileName[MainAdvertiseShowSlot]
If MainAdvertiseVideoEnd[MainAdvertiseShowSlot] = 0 Then
Var CountDownPauseVideoEnable = "ignore"
Else
Var CountDownPauseVideoEnable = ""
EndIf
Var MainAdvertiseShowSlot = MainAdvertiseShowSlot + 1
Else
Var CountDownPauseVideoEnable = ""
Var MainAdvertiseShowSlot = 0
Var VideoMainPage = MainAdvertiseFileName[MainAdvertiseShowSlot]
If MainAdvertiseVideoEnd[MainAdvertiseShowSlot] = 0 Then
Var CountDownPauseVideoEnable = "ignore"
Else
Var CountDownPauseVideoEnable = ""
EndIf
EndIf
Var MainAdvertiseShowSlot = MainAdvertiseShowSlot + 1
Else
Var MainAdvertiseShowSlot = 0
Var VideoMainPage = MainAdvertiseFileName[MainAdvertiseShowSlot]
If MainAdvertiseVideoEnd[MainAdvertiseShowSlot] = 0 Then
Var CountDownPauseVideoEnable = "ignore"
If VideoMainPage = "" Then
Var EventTurnOn = 0
EndIf
DEBUGVAR MainAdvertiseRunSlot
DEBUGVAR MainAdvertiseShowSlot
DEBUGVAR VideoMainPage
DEBUGVAR EventTurnOn
If EventTurnOn = 1 Then
Var CurrentMainVideoTemp = 1
;Var MainPageEventWithTimeout = 25
Var ShowButtonClickFull = "Invisible"
Var img_rest_main_page = "ROOT/taobin_project/image/main_page/bn_main_page_start.png"
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page/bn_main_page_member.png"
Var img_reset_topup = "ROOT/taobin_project/image/main_page/bn_main_page_topup.png"
Var CountDownShowButton = 0
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
Else
Var CountDownPauseVideoEnable = ""
Var MemberButtonFileNameRest = ""
Var img_rest_main_page = ""
Var img_reset_topup = ""
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
Var CountDownShowButton = 35
EndIf
EndIf
If VideoMainPage = "" Then
Var EventTurnOn = 0
EndIf
DEBUGVAR MainAdvertiseRunSlot
DEBUGVAR MainAdvertiseShowSlot
DEBUGVAR VideoMainPage
DEBUGVAR EventTurnOn
If EventTurnOn = 1 Then
Var CurrentMainVideoTemp = 1
;Var MainPageEventWithTimeout = 25
Var ShowButtonClickFull = "Invisible"
Var img_rest_main_page = "ROOT/taobin_project/image/main_page/bn_main_page_start.png"
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page/bn_main_page_member.png"
Var img_reset_topup = "ROOT/taobin_project/image/main_page/bn_main_page_topup.png"
Var CountDownShowButton = 0
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
Else
Var MemberButtonFileNameRest = ""
Var img_rest_main_page = ""
Var img_reset_topup = ""
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
Var MemberButtonFileNameRest = ""
Var img_rest_main_page = ""
Var img_reset_topup = ""
Var ShowButtonClick = "Enable"
Var ShowButtonClickFull = "Invisible"
Var CountDownShowButton = 35
Var CountDownShowButton = 35
EndIf
@ -308,7 +320,6 @@ EndIf
If taobin_notopup = "true" Then
GetFileSizeK "taobin_project/video/_main_page_notopup.mp4" MainfileSize
DEBUGVAR MainfileSize