@{
string style = "";
if (ViewBag.Banner != null)
{
style = "background: url(\"" + ViewBag.Banner + "\") center center fixed;background-size:cover;";
}
}
Welcome to Project: Unite! Things are a bit barren right now and not a lot of stuff is implemented - but feel free to explore!
@if (!ACL.UserEmailConfirmed(User.Identity.Name))
{
Email address not confirmed! Hi! It appears that your email has not been confirmed. Please check your email. @Html.ActionLink("Resend confirmation link", "ResendConf", "Account")
}
@if (ViewBag.Moderator == true)
{
@Html.ActionLink("Home", "Index", "Moderator")
@if (ACL.Granted(User.Identity.Name, "CanIssueBan"))
{
@Html.ActionLink("Bans", "Bans", "Moderator")
}
@if (ACL.Granted(User.Identity.Name, "CanEditProfiles"))
{
@Html.ActionLink("Users", "Users", "Moderator")
}
@Html.ActionLink("Audit logs", "Logs", "Moderator")
@RenderBody();
}
else if (ViewBag.Developer == true)
{
@Html.ActionLink("Home", "Index", "Developer")
@Html.ActionLink("Releases", "Releases", "Developer")
@Html.ActionLink("Wiki", "Wiki", "Developer")
@Html.ActionLink("Bugs", "Bugs", "Developer")
@RenderBody();
}
else if (ACL.Granted(User.Identity.Name, ViewBag.ACLRule))
{
if (ViewBag.Admin == true)
{
if (ACL.Granted(User.Identity.Name, "CanAccessAdminCP"))
{
@Html.ActionLink("Home", "Index", "Admin")
@if (ACL.Granted(User.Identity.Name, "CanEditRoles"))
{
@Html.ActionLink("Roles", "Roles", "Admin")
@Html.ActionLink("Access Control", "AccessControl", "Admin")
}
@if (ACL.Granted(User.Identity.Name, "CanEditProfiles"))
{
@Html.ActionLink("Users", "Users", "Admin")
}
@if (ACL.Granted(User.Identity.Name, "CanEditForumCategories"))
{
@Html.ActionLink("Forum Categories", "Forums", "Admin")
}
@Html.ActionLink("Audit logs", "Logs", "Admin")
@RenderBody();
}
else
{
Access denied.
You do not have permission to access this page. Contact an admin if this is in error.
}
}
else
{
@RenderBody()
}
}
else
{
Access denied.
You do not have permission to access this page. Contact an admin if this is in error.
}
© @DateTime.Now.Year Michael VanOverbeek and the ShiftOS Dev Team
Website styling courtesy of Victor Tran .
Community
@Html.ActionLink("Forums", "Index", "Forum")
@Html.ActionLink("Discord", "Discord", "Home")
@Html.ActionLink("Wiki", "Index", "Wiki")
@Html.ActionLink("Skin Repository", "Index", "Skins")
Help & About
@Html.ActionLink("Terms of service", "TOS", "Legal")
@Html.ActionLink("Privacy Policy", "Privacy", "Legal")
@Html.ActionLink("About Project: Unite", "AboutUnite", "Home")
@Html.ActionLink("About ShiftOS", "About", "Home")
@Html.ActionLink("Get in touch", "Contact", "Home")
We'd like to formally thank Philip Adams. Without him, we would not exist. Phil has contributed years of work and help to ShiftOS and is the original developer of the game. He has written code that is still used to this day in modern ShiftOS, and much of the ideas and mechanics in the game are from his mind.
Check Phil out on YouTube: OSFirstTimer | AstralPhaser | YouTube Millionaire
@if (ACL.Granted(User.Identity.Name, "CanAccessAdminCP"))
{
@Html.ActionLink("Administrator Control Panel", "Index", "Admin")
}
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/bootstrap")
@RenderSection("scripts", required: false)