-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathPromotions.aspx.vb
More file actions
26 lines (23 loc) · 1.09 KB
/
Copy pathPromotions.aspx.vb
File metadata and controls
26 lines (23 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
'========================================================================
'Kartris - www.kartris.com
'Copyright 2024 CACTUSOFT
'GNU GENERAL PUBLIC LICENSE v2
'This program is free software distributed under the GPL without any
'warranty.
'www.gnu.org/licenses/gpl-2.0.html
'KARTRIS COMMERCIAL LICENSE
'If a valid license.config issued by Cactusoft is present, the KCL
'overrides the GPL v2.
'www.kartris.com/t-Kartris-Commercial-License.aspx
'========================================================================
Partial Class Promotions
Inherits PageBaseClass
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If KartSettingsManager.GetKartConfig("frontend.promotions.enabled") = "y" Then
Page.Title = GetGlobalResourceObject("Kartris", "SubHeading_Promotions") & " | " & Server.HtmlEncode(GetGlobalResourceObject("Kartris", "Config_Webshopname"))
UC_Promotions.LoadAllPromotions(Session("LANG"))
Else
mvwMain.SetActiveView(viwNotExist)
End If
End Sub
End Class