{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">
              <div class="box pos-rlt b-r m-b-0">
                <div class="p-a">
                  {$errorMessage}
                  <div class="box-body" id="profile">
                    <form role="form" class="horizontal-form disable-on-submit" action="" method="post" enctype="multipart/form-data">
                      <fieldset>
                        <div class="form-group">
                          <label class="h5 p-b-xs" for="profile_image">你的头像</label>
                          <div class="inputs p-y">
                            {if $smarty.session.user.avatar != ''}
                            <img alt="{$smarty.session.user.username}" src="{$data_server}/uploads/users/{$smarty.session.user.user_id}/A_{$smarty.session.user.avatar}" class="w-128 img-circle m-r" />
                            <img alt="{$smarty.session.user.username}" src="{$data_server}/uploads/users/{$smarty.session.user.user_id}/A_{$smarty.session.user.avatar}" class="w-64 img-circle m-r" />
                            <img alt="{$smarty.session.user.username}" src="{$data_server}/uploads/users/{$smarty.session.user.user_id}/A_{$smarty.session.user.avatar}" class="w-32 img-circle" />
                            {/if}
                            <input type="file" id="profile_image" name="profile_image" class="form-control m-y-sm">
                            <small class="block text-muted">JPEG 90x90px</small>
                          </div>
                        </div>
                        <div class="form-group">
                          <label class="h5 p-b" for="profile_image">主页图片</label>
                          <div class="inputs">
                            {if $smarty.session.user.homeimage != ''}
                            <img alt="{$smarty.session.user.username}" src="{$data_server}/uploads/users/{$smarty.session.user.user_id}/A_{$smarty.session.user.homeimage}" class="w-full" />
                            {/if}
                            <input type="file" id="homepage_image" name="homepage_image" class="form-control">
                            <small class="block text-muted m-t">JPEG 590x242</small>
                          </div>
                        </div>

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

            </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;
  }
</style>
{/literal}
</body>
</html>