c3bc2d1cea
Fix bootstrap5
41 lines
1.5 KiB
C#
41 lines
1.5 KiB
C#
using GPW_data;
|
|
using SteamWare;
|
|
using System;
|
|
using System.Configuration;
|
|
|
|
public partial class mod_menuBottom : System.Web.UI.UserControl
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
// sistemo le stringhe...
|
|
//lblApp.Text = string.Format("<b>{0}</b> v.{1}.{2}", ConfigurationManager.AppSettings.Get("appName"), ConfigurationManager.AppSettings.Get("mainRev"), ConfigurationManager.AppSettings.Get("minRev"));
|
|
lblApp.Text = string.Format("<b>{0}</b> v.{1}", ConfigurationManager.AppSettings.Get("appName"), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
|
|
lblCopyRight.Text = string.Format("<b>{0}</b>", ConfigurationManager.AppSettings.Get("copyRight"));
|
|
string postazione_IP = Request.UserHostName;
|
|
lblDateTime.Text = DateTime.Now.ToString("HH:mm:ss");
|
|
lblInfo.Text = "";
|
|
try
|
|
{
|
|
lblInfo.Text += string.Format("{0}", dnsUtils.DetermineCompName(postazione_IP));
|
|
}
|
|
catch
|
|
{ }
|
|
try
|
|
{
|
|
lblInfo.Text += string.Format(" ({0})", postazione_IP);
|
|
}
|
|
catch
|
|
{ }
|
|
if (licenzeGPW.checkLicenze)
|
|
{
|
|
pnlCheck.CssClass = "btnVerdeGrad ui-corner-all shadowBox w-100";
|
|
}
|
|
else
|
|
{
|
|
pnlCheck.CssClass = "btnRossoGrad ui-corner-all shadowBox w-100";
|
|
lblWarning.Text = "Attenzione: numero licenze superato! MR attiva.";
|
|
lblWarning.Visible = true;
|
|
}
|
|
}
|
|
}
|