44 lines
1015 B
C#
44 lines
1015 B
C#
using Foresight.Fleet.Services.User;
|
|
using IronIntel.Contractor;
|
|
using IronIntel.Contractor.Site;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
public partial class FITracker : FITrackerBasePage
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
string tp = Request.Params["tp"];
|
|
if (string.Compare(tp, "ashx", true) == 0)
|
|
{
|
|
ProcessRequest();
|
|
}
|
|
else if (!IsPostBack)
|
|
{
|
|
Title = PageTitle;
|
|
if (CheckLoginSession())
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
protected override int FeatureID
|
|
{
|
|
get
|
|
{
|
|
return Foresight.Fleet.Services.User.Feature.M3;
|
|
}
|
|
}
|
|
|
|
protected override bool AllowCurrentLoginSessionEnter()
|
|
{
|
|
if (SystemParams.HasLicense("FITracker"))
|
|
return base.AllowCurrentLoginSessionEnter();
|
|
else
|
|
return false;
|
|
}
|
|
} |