| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 | <{include file='../public/admin_header.html'}><{include file='../public/admin_navi.html'}><!-- Right side column. Contains the navbar and content of the page --><aside class="right-side">	<!-- Content Header (Page header) -->	<section class="content-header">		<h1>			账号管理			<small>Control panel</small>		</h1>		<ol class="breadcrumb">			<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>			<li class="active">Blank page</li>		</ol>	</section>	<!-- Main content -->	<section class="content">		<div class="span9">			<{if $info}>			<div   class="alert alert-success  nodisplay"><{$info}></div>			<{/if}>			<{if $error}>			<div   class="alert alert-error nodisplay"><{$error}></div>			<{/if}>			<div id='main' class="form-actions">				<a href="/?a=user_admin&m=add" style="cursor:pointer;height: 39px; width: 120px;margin-top:10px; font-size: 16px; font-weight: bold; text-decoration: underline;" />添加新账号</a>				<table class="table table-bordered" style="margin-top:15px;">					<tr>						<th>用户ID</th>						<th>用户名</th>						<!--<th>角色</th>-->						<!--<th>直属领导</th>-->						<th>操作</th>					</tr>					<{foreach from=$all_user item=item}>					<tr>						<td><{$item.id}></td>						<td><{$item.uname}></td>						<!--<td>-->							<!--<{if $item.role==1}>-->							<!--职员-->							<!--<{else}>-->							<!--部门主管-->							<!--<{/if}>-->						<!--</td>-->						<!--<td>-->							<!--<{if $item.header_uid}>-->							<!--<{$headerList[$item.header_uid]}>-->							<!--<{else}>-->							<!--无-->							<!--<{/if}>-->						<!--</td>-->						<td>							<!--<{if $item.uname!='admin'}>-->							<!--<a href="/?a=user_admin&m=setPersission&uname=<{$item.uname}>">分配权限</a>-->							<!--    -->							<!--<{/if}>-->							<!--<{if $item.uname!='admin'}>-->							<!--<a href="/?a=user_admin&m=setRole&uname=<{$item.uname}>" style="margin-right:50px;">分配角色</a>-->							<!--    -->							<!--<{/if}>-->							<a href="/?a=user_admin&m=update&uname=<{$item.uname}>" >修改密码</a>							    							<{if $item.uname!='admin'}>							<a href="/?a=user_admin&m=delete&uname=<{$item.uname}>" style="margin-left:40px;">删除</a>							<{else}>							超级管理员不能删除							<{/if}>						</td>					</tr>					<{/foreach}>				</table>				</form>			</div>		</div>	</section><!-- /.content --></aside><!-- /.right-side --></div><!-- ./wrapper --><script>	$('#treeview5').addClass('active');</script></body></html>
 |