<!DOCTYPE html >
<html lang="en">
<head>
  <title><%cat_full_name%>: <%forum_name%>: Message posted!</title>
<%~if current.user_do_after_post eq 'post_confirm_post'%>
  <meta http-equiv="refresh" content="5;url=<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor, param_type => "query")%>" />
<%~else%>
  <meta http-equiv="refresh" content="5;url=<%GForum::SEO::url(type => "forum", id => $forum_id, param_type => "query")%>" />
<%~endif%>
<%include include_common_head.html%>
</head>

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

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

        <%~set content_header_title = $content_header_title%>
        <%~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%>

          <%~if attachment_errors%>
          <p class="error"><%attachment_errors%></p>
          <%~endif%>

          <%~if current.user_do_after_post eq post_confirm_post%>
          <p>
            Your message has been posted to <%cat_full_name%>: <%forum_name%>. You
            will be automatically redirected to your post shortly.
          </p>
          <p>
            <b><a href="<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor))%>">Click here to view your post</a></b>
            or choose the forum you wish to visit:
          </p>
          <%~else%>
          <p>
            Your message has been posted to <%cat_full_name%>: <%forum_name%>. You  will be automatically redirected to the forum shortly.
          </p>
          <p>
            <b><a href="<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor))%>">Click here to view your post</a></b>
            or choose the forum you wish to visit:
          </p>
          <%~endif%>

          <form action="<%GForum::SEO::url()%>">
            <%hidden_form%>
            <div class="row">
              <select name="jump">
                <%GForum::Forum::jump_list($forum_id)%>
              </select>
              &nbsp;
              <input type="submit" value="Jump to forum" class="btn" />
            </div>
          </form>
        </div><%-- end content --%>

      </div>

    </div>
  </div>

  <%include include_footer.html%>

</div>
</body>
<%~include include_global_js.html%>
</html>
