#LOCAL("IsActive", #INPUT.ViewAction EQ "ViewPaymentMoneybookers") #SET("ItemCount", #ItemCount+1) #SET("REAL_SGM",#MoneybookersMapSGM(#PaymentMethod.SplitGatewayMethod)) #IF(#IsActive OR #ItemPassed) #IF(#REAL_SGM EQ "WLT") #ELSE #ENDIF #ItemCount. #IF(#REAL_SGM EQ "WLT"){Moneybookers}#ELSE {ToPayment}#ENDIF {PaymentViaMoneybookers} #ELSE #IF(#REAL_SGM EQ "WLT") #ELSE #ENDIF #ItemCount. #IF(#REAL_SGM EQ "WLT"){Moneybookers}#ELSE {ToPayment}#ENDIF {PaymentViaMoneybookers} #ENDIF #ENDLOCAL