<!DOCTYPE html >
<%~set search_widget = 1%>
<html lang="en">
<head>
  <title><%cat_full_name%>: <%forum_name%>: <%if ban_ip%>IP<%else%>User<%endif%> Banned</title>
  <%include include_common_head.html%>
</head>

<%~if in.ban_type eq ban_ip%><%set content_header_title = 'IP Address'%><%else%><%set content_header_title = 'User'%><%endif%>
<%~set content_header_title .= ' Banned'%>

<body class="page-<%page_id%> confirmation-page">
  <div class="container-b">
    <%include include_header.html%>

    <div class="main">
      <div class="contentwrapper clearfix">
        <div class="sidebar">
            <%include include_sidebar.html%>
        </div>

        <%~init array breadcrumbs%><%init hash breadcrumbs.0%><%init hash breadcrumbs.1%>
        <%~set breadcrumbs.0.name = $forum_name%>
        <%~set breadcrumbs.0.url  = GForum::SEO::url(params => "forum=$forum_id")%>
        <%~set breadcrumbs.1.name = $content_header_title%>

        <%include include_breadcrumb.html%>

        <div class="content"><%-- start content--%>
          <%include include_content_header.html%>

          <p>
          <%if ban_ip%>IP '<%ban_ip%>'<%else%><%include include_username.html%><%endif%> has been banned from <%cat_full_name%>: <%forum_name%>
          <%~if ban_expiry%> until <%ban_expiry_date%><%endif%>.
          </p>

        </div><%-- end content --%>
      </div>
    </div>
    <%include include_footer.html%>
  </div>
</body>
<%~include include_global_js.html%>
</html>
