+
-
-
-
INFORMAZIONI applicativo
-
-
- - <%: versione %>
- - © <%: copyRight %> 2006-<%: DateTime.Now.Year %>
-
-
+
+
<%: cognomeNome %>
+
<%: email %>
+
<%: IP %>
+
+
+

+
+
+
+
+
INFORMAZIONI applicativo
+
+
+ - <%: versione %>
+ - © <%: copyRight %> 2006-<%: DateTime.Now.Year %>
+
+
+
+
INFORMAZIONI installazione
+
+
+ - Cliente:
+
+
+ - Applicazione:
+
+
+ - Licenze indicate:
+
+
+ - Scadenza Licenze:
+
+
+
+ Auth Key:
+
+
+
+
+
+

+
+
+
+
+ Sede Operativa
+ via Nazionale, 93
+ 24068 Seriate - BG
+ P:
+ 035.290178
+ P:
+ 035.460560
+
+
+
+
+ Sede Legale
+ via Briolo Fuori, 27
+ 24015 San Giovanni Bianco
+ Bergamo - ITALY
+ VAT:03274190168
+
diff --git a/GPW_Smart/WebUserControls/cmp_info.ascx.cs b/GPW_Smart/WebUserControls/cmp_info.ascx.cs
index 734a2a1..618bcb5 100644
--- a/GPW_Smart/WebUserControls/cmp_info.ascx.cs
+++ b/GPW_Smart/WebUserControls/cmp_info.ascx.cs
@@ -1,11 +1,8 @@
-using SteamWare;
+using GPW_data;
+using SteamWare;
using System;
-using System.Collections.Generic;
using System.Configuration;
-using System.Linq;
-using System.Web;
using System.Web.UI;
-using System.Web.UI.WebControls;
namespace GPW_Smart.WebUserControls
{
@@ -13,7 +10,32 @@ namespace GPW_Smart.WebUserControls
{
protected void Page_Load(object sender, EventArgs e)
{
+ if (!Page.IsPostBack)
+ {
+ lblInstallation.Text = licenzeGPW.installazione;
+ lblApplication.Text = licenzeGPW.applicazione;
+ lblNumLic.Text = string.Format("{1} ({0} disp)", licenzeGPW.licenzeAttive, licenzeGPW.licenzeDb);
+ lblNumLic.ToolTip = "licenze valide (licenze su db)";
+ lblExpiryDate.Text = licenzeGPW.scadenzaLicenza.ToShortDateString();
+ lblAuthKey.Text = licenzeGPW.authKey;
+ }
+ }
+ public string cssCheckClass
+ {
+ get
+ {
+ string answ = "";
+ if (licenzeGPW.scadenzaLicenza >= DateTime.Now)
+ {
+ answ = "table-success";
+ }
+ else
+ {
+ answ = "table-danger";
+ }
+ return answ;
+ }
}
public string hashEmail
@@ -59,5 +81,8 @@ namespace GPW_Smart.WebUserControls
return string.Format("{0}", ConfigurationManager.AppSettings.Get("copyRight"));
}
}
+
+
+
}
}
\ No newline at end of file
diff --git a/GPW_Smart/WebUserControls/cmp_info.ascx.designer.cs b/GPW_Smart/WebUserControls/cmp_info.ascx.designer.cs
index 50e1a98..aa4cde6 100644
--- a/GPW_Smart/WebUserControls/cmp_info.ascx.designer.cs
+++ b/GPW_Smart/WebUserControls/cmp_info.ascx.designer.cs
@@ -11,5 +11,50 @@ namespace GPW_Smart.WebUserControls {
public partial class cmp_info {
+
+ ///
+ /// Controllo lblInstallation.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblInstallation;
+
+ ///
+ /// Controllo lblApplication.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblApplication;
+
+ ///
+ /// Controllo lblNumLic.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblNumLic;
+
+ ///
+ /// Controllo lblExpiryDate.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblExpiryDate;
+
+ ///
+ /// Controllo lblAuthKey.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblAuthKey;
}
}
diff --git a/HOME/Views/Home/Contact.cshtml b/HOME/Views/Home/Contact.cshtml
index ee36744..7ebc020 100644
--- a/HOME/Views/Home/Contact.cshtml
+++ b/HOME/Views/Home/Contact.cshtml
@@ -9,7 +9,7 @@
Sede Operativa
Steamware s.r.l.
- via Dante Alighieri, 16
+ via Nazionale, 93
24068 Seriate - BG
P:
035.290178