<!DOCTYPE html >
<%~set search_widget = 1%>
<html lang="en">
<head>
  <title><%cat_full_name%>: Message already posted</title>
  <meta http-equiv="refresh" content="5;url=<%GForum::SEO::url(type => "forum", id => $forum_id, param_type => "query")%>" />
<%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 = 'Message already posted'%>
        <%~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>
            You attempted to post a message more than once. Your post has already
            been posted in <%cat_full_name%>: <%forum_name%>. You will be
            automatically redirected to the forum shortly.
          </p>

          <p>
            <%~set url_anchor = ""%>
            <%~if not current.user_id or current.user_default_post_display%><%set url_anchor = "p$post_id"%><%endif%>
            <a href="<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor)%>">Click here to view the post</a>
            or choose the forum you wish to visit:
          </p>

          <div id="toolbar2" class="toolbar clear">
            <form action="<%GForum::SEO::url()%>">
              <%hidden_form%>
              <select name="jump">
                <%GForum::Forum::jump_list($forum_id)%>
              </select>
              <input type="submit" value="Jump to forum" class="btn" />
            </form>
          </div>

        </div><%-- end content --%>
      </div>
    </div>

    <%include include_footer.html%>

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