{include file="$template_path/html/header.html"}
{include file="$template_path/js/index.html"}
{include file="$template_path/html/jstemplate.html"}
</head>
<body>
<div class="app" id="app">
  {include file="$template_path/html/mobile-nav.html"}
  <!-- content -->
  <div id="content" class="app-content" role="main">
    {include file="$template_path/html/pagenav.html"}
    <div class="app-body" id="view">
      <div class="clearfix text-center">


        <div class="container">


          {$errorMessage}

          <div class="row">

            <div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-3 m-t-lg m-b-lg m-xs-t-none m-xs-b-none">
              <section class="box no-shadow p-t-md p-b-sm m-t-lg m-b-lg m-xs-t-none m-xs-b-md">
                <div class="box-heading h3 h3-xs">选择发布主分类</div>
                <div class="box-body">
                  <form id="begin-upload" action="/{$languageURL}upload/form/" method="get">
                    <div class="radiogroup clearfix m-b-md">
                      {if $mainCategories}
                      {foreach from=$mainCategories item=c name=foo}
                      <label class="md-check m-r-md" for="category_{$c.id}">
                        <input type="radio" name="category"{if $smarty.foreach.foo.first} checked="checked"{/if} id="category_{$c.id}" value="{$c.id}">
                        <i class="skin"></i>
                        {$c.name}
                      </label>
                      {/foreach}
                      {/if}
                    </div>
                    <button type="submit" class="btn skin b-skin btn-block">下一步</button>
                  </form>
                </div>

              </section>
            </div>
          </div>
        </div>


      </div>
    </div>
    <!-- ############ PAGE END-->
  </div>
  {include file="$template_path/html/mb-settings.html"}
  <!-- ############ LAYOUT END-->
</div>
</body>
</html>