{include file="$template_path/html/header.html"}
{include file="$template_path/js/arc.html"}
{include file="$template_path/html/jstemplate.html"}
<script src="/mbthemes/scripts/canvas/animation.js"></script>
</head>
<body>
<div class="app" id="app">
  {include file="$template_path/html/mobile-nav.html"}
  <!-- content -->
  <div id="content" class="app-content box-shadow-z4" role="main">

    {include file="$template_path/html/pagenav.html"}
    <div ui-view class="app-body" id="view">
      <!-- ############ PAGE START-->


      <div class="clearfix white b-t">
        <div class="container">
          <div class="row-col">
            <div class="col-sm w-xl box w-auto-xs b-r b-l right-bar">
              {include file="$template_path/users/edit_nav.html"}
            </div>
            <div class="col-sm" id="taber">
              {if $smarty.session.user.quiz == 'true'}
              <div class="box edit pos-rlt b-r m-b-0">
                <div class="p-a">
                  {$errorMessage}
                  <div class="box-body" id="profile">
                    <form role="form" action="" method="post">
                      <fieldset>
                        <div class="form-group">
                          <label class="h6 p-b-md block">许可类型：</label>
                          <label class="md-switch m-r-md" for="extended">
                            <input id="extended" class="has-value" name="license[extended]" type="checkbox" value="extended" {if isset($smarty.session.user.license.extended)}checked="checked"{/if} />
                            <i class="skin"></i>
                            专有许可
                          </label>
                          <label class="md-switch" for="personal">
                            <input id="personal" class="has-value" name="license[personal]" type="checkbox" value="personal" {if isset($smarty.session.user.license.personal)}checked="checked"{/if} />
                            <i class="skin"></i>
                            共享许可
                          </label>
                        </div>

                        <div class="form-group m-t-md m-b-0">
                          <input type="hidden" name="save_license" value="yes" />
                          <button class="btn skin b-skin" type="submit">保存</button>
                        </div>
                      </fieldset>
                    </form>
                  </div>
                </div>
              </div>
              {/if}

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


    </div>
    <!-- ############ PAGE END-->
    {include file="$template_path/html/footer.html"}
  </div>
  {include file="$template_path/html/backtop.html"}
  {include file="$template_path/html/mb-settings.html"}
  <!-- ############ LAYOUT END-->
</div>
{literal}
<style>
  .right-bar.fix .box-bar {
    top: 0;
    width: 278px;
  }
  .box.edit{
    min-height: 744px;
  }
</style>
{/literal}
</body>
</html>