<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>帐号设置 - {aspbbs:guestConfig.SiteName}</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
{aspbbs:template src=common/link}
<style>
.avatar-add a{text-decoration:underline}
</style>
</head>
<body>

{aspbbs:template src=common/header_user}

<div class="layui-container fly-marginTop fly-user-main">
{aspbbs:template src=common/user-nav}
  
  
  <div class="fly-panel fly-panel-user" pad20>
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title" id="LAY_mine">
        <li class="layui-this" lay-id="avatar">设置头像库</li>
        <li><a href="{aspbbs:indexprefix}user{aspbbs:guestConfig.PageSuffix}">用户中心</a></li>
		<!--
        <li lay-id="avatar">头像</li>
        <li lay-id="pass">密码</li>
        <li lay-id="bind">帐号绑定</li>
		-->
      </ul>
      <div class="layui-tab-content" style="padding: 20px 0;">
        <div class="layui-form layui-form-pane layui-tab-item layui-show">
          <form method="post" action="{aspbbs:indexprefix}Manage_editAvatarType">
			 <div class="fly-msg" style="margin-bottom: 10px;">
				头像库路径在<span style="color:red">{aspbbs:func:objCMS.getTplFolderPath()}/res/images/</span>，需要设置为头像库的文件夹给其命名，不设置的留空即可。头像库的头像名称为<span style="color:red">N.jpg</span>，N值从0开始，如0.jpg、1.jpg，……
			</div>
			
			{aspbbs:file type=folder path={aspbbs:func:objCMS.getTplFolderPath()}/res/images num=20}
            <div class="layui-form-item">
              <label for="L_city" class="layui-form-label">[file:name]</label>
              <div class="layui-input-inline">
				<input type="hidden" name="value[file:i]" value="[file:name]" />
                <input type="text" name="title[file:i]" autocomplete="off" value='[file:name func=POP_MVC.tpl_vars("avatar")(@me)]' class="layui-input" />
              </div>
            </div>
			{/aspbbs:file}
            <div class="layui-form-item">
              <button class="layui-btn" key="set-mine" lay-filter="*" alert="alert" lay-submit>确认修改</button>
            </div>
		 </form>
          </div>
	  
		  
        </div>

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

{aspbbs:template src=self/footer}

</body>
</html>