begin of thinksaas 3.68

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2023-06-22 13:33:25 +08:00
commit 963ec1b2ea
2746 changed files with 331806 additions and 0 deletions
+73
View File
@@ -0,0 +1,73 @@
{php include pubTemplate("header_admin")}
<div class="midder">
{php include template("admin/menu");}
<div class="mb-3">
<form method="post" action="{SITE_URL}index.php?app=user&ac=admin&mg=group&ts=add">
<input type="text" name="ugname" placeholder="用户组名称" /> <input type="text" name="uginfo" placeholder="用户组介绍" /> <input type="submit" value="创建用户组" />
</form>
</div>
<table class="table table-hover">
<thead class="thead-light">
<tr>
<th>UGID</th>
<th>组名</th>
<th>介绍</th>
<th>操作</th>
</tr>
</thead>
<tbody>
{loop $arrGroup $key $item}
{if !in_array($item['ugid'],array(1,2,3,4))}
<form method="post" action="index.php?app=user&ac=admin&mg=group&ts=edit">
<tr>
<td>{$item['ugid']}</td>
<td><input name="ugname" value="{tsTitle($item['ugname'])}"></td>
<td><input name="uginfo" value="{tsTitle($item['uginfo'])}"></td>
<td>
<input type="hidden" name="ugid" value="{$item['ugid']}">
<input type="submit" class="btn btn-sm btn-outline-secondary" value="修改">
<a class="btn btn-sm btn-outline-secondary" onclick="return confirm('确定删除吗?')" href="{SITE_URL}index.php?app=user&ac=admin&mg=group&ts=delete&ugid={$item['ugid']}">删除</a>
</td>
</tr>
</form>
{else}
<tr>
<td>{$item['ugid']}</td>
<td>{tsTitle($item['ugname'])}</td>
<td class="fs12 c9">{tsTitle($item['uginfo'])}</td>
<td>
</td>
</tr>
{/if}
{/loop}
</tbody>
</table>
</div>
{php include pubTemplate("footer_admin")}