Status:
@if (Model.Banned)
{
Banned
}
else
{
In Good Standing
}
Rank:
@(Model.Rank == null ? "None" : Model.Rank.Name)
@if (Model.Rank != null && (Model.Rank.Name == "Member" || Model.Rank.Name == "EliteMember"))
{
Rank Expires:
@(DateTime.FromFileTimeUtc(Model.Expires))
}
IpIpAddresses:
@if (Model.IpAddresses != null && Model.IpAddresses.Count > 0)
{
foreach (var ipAddress in Model.IpAddresses)
{
@ipAddress.Address
}
}
else
{
None
}