<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>图标 - {aspbbs:guestConfig.SiteName}</title>
{aspbbs:template src=common/link}
<style>
/* 宫格 */
.site-doc-icon{margin-bottom: 50px; font-size: 0;}
.site-doc-icon li{display: inline-block; vertical-align: middle; width: 16.5%; height: 105px; line-height: 25px; padding: 20px 0; margin-right: -1px; margin-bottom: -1px; border: 1px solid #e2e2e2; font-size: 14px; text-align: center; color: #666; transition: all .3s; -webkit-transition: all .3s;}
.site-doc-anim li{height: auto;}
.site-doc-icon li .layui-icon{display: inline-block; font-size: 36px;}

.site-doc-icon li .doc-icon-name,
.site-doc-icon li .doc-icon-code{color: #c2c2c2;}
.site-doc-icon li .doc-icon-fontclass{height: 40px; line-height: 20px; padding: 0 5px; font-size: 13px; color: #333; }
.site-doc-icon li:hover{background-color: #f2f2f2; color: #000;}
</style>
</head>
<body>
{aspbbs:template src=common/header}


<div class="layui-container fly-marginTop">

  <div class="fly-panel fly-panel-user" pad20>
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title">
		{aspbbs:loopdata data=data}
        <li class="[loopdata:i eq#layui-this=1]" lay-id="[loopdata:value]">[loopdata:title]</li>
		{/aspbbs:loopdata}
		{if: S_("GroupID") - 1 = 0}
			<li><a href="{aspbbs:indexprefix}Manage_avatar{aspbbs:guestConfig.PageSuffix}">添加头像库</a></li>
		{end if}
      </ul>
      <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
		{aspbbs:loopdata data=data}
        <div class="layui-tab-item [loopdata:i eq#layui-show=1]">
    <ul class="site-doc-icon">
		{aspbbs:file path={aspbbs:func:objCMS.getTplFolderPath()}/res/images/[loopdata:value] num=200}
      <li>
		<a href="javascript:" class="aspbbs-editAvatar2" type="Avatar" style="text-decoration:underline"><img src="[file:filepath ]" style="width:auto;max-width:100%;max-height:100%;" /></a>
      </li>
		 {/aspbbs:file}
		 </ul>
	</div>
		{/aspbbs:loopdata}
        </div>
      </div>
    </div>
  </div>

</div>
{aspbbs:template src=self/footer}

</body>
</html>