Files
baiyun_books/src/template/admins/delete_user.php
2021-12-26 20:47:31 +08:00

40 lines
2.0 KiB
PHP
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- Content -->
<div class="flex flex-1 flex-col md:px-6 pt-10" id="content">
<!-- Title -->
<div class="px-6 md:px-0 flex justify-between items-center -order-1">
<div>
<h2 class="font-normal">删除用户</h2>
<p class="text-grey-dark mt-2">修改不可逆,请谨慎操作!</p>
<p class="mt-2" style="color:red">
    <?=strip_tags($_GET['error']??' ')?>
</p>
<p class="text-grey-dark mt-2">
 用户名:<?=$user['username']?>
</p>
<p class="text-grey-dark mt-2">
 性 别:<?=$user['sex']?'男':'女'?>
</p>
<p class="text-grey-dark mt-2">
 生 日:<?=$user['birthday']?>
</p>
<p class="text-grey-dark mt-2">
 身份证:<?=$user['id_card']?>
</p>
<p class="text-grey-dark mt-2">
借书配额:<?=$user['borrow_num']?>
</p>
<p class="text-grey-dark mt-2">
用户类型:<?=$user['type']?'管理员':'普通用户'?>
</p>
<p class="text-grey-dark mt-2">
 
</p>
<a class="no-underline" href="/admin/users?page=<?=$_GET['page']?>">
<input class="bg-indigo-dark hover:bg-indigo-darker text-white text-sm py-2 px-4 rounded-full transition-normal hover:shadow hover:translate-y-1 active:translate-y-1 focus:outline-none" type="button" value="返回列表" />
</a>
<a class="no-underline" href="/admin/do/delete-user?page=<?=$_GET['page']?>&uid=<?=$user['uid']?>">
<input class="bg-magenta-dark hover:bg-magenta-darker text-white text-sm py-2 px-4 rounded-full transition-normal hover:shadow hover:translate-y-1 active:translate-y-1 focus:outline-none" type="button" value="确认删除" />
</a>
</div>
</div>
</div>