	<!-- 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">
                    　
                </p>
                <img src="<?=$book['cover']?>" />
                <p class="text-grey-dark mt-2">
                    　书　名：<?=$book['name']?>
                </p>
                <p class="text-grey-dark mt-2">
                    　作　者：<?=$book['author']?>
                </p>
                <p class="text-grey-dark mt-2">
                    　出版社：<?=$book['publish']?>
                </p>
                <p class="text-grey-dark mt-2">
                    ＩＳＢＮ：<?=$book['isbn']?>
                </p>
                <p class="text-grey-dark mt-2">
                    书籍类型：<?php foreach ($categories as $category) if ($category['cid'] == $book['cid']) echo $category['name']; ?>
                </p>
                <p class="text-grey-dark mt-2">
                    书籍语言：<?=$book['lang']=='zh-cn'?'简体中文':'英文'?>
                </p>
                <p class="mt-2" style="color:red">
                    　　　　<?=strip_tags($_GET['error']??'　')?>
                </p>
                <p class="text-grey-dark mt-2">
                    　书架号：<?=$book['place']?>
                </p>
                <p class="text-grey-dark mt-2">
                    受损程度：<?=$book['health']?($book['health']==2?'破损':'中等'):'正常'?>
                </p>
                <p class="text-grey-dark mt-2">
                    借阅状态：<?=$book['state']?'借出':'在馆'?>
                </p>
                <p class="text-grey-dark mt-2">
                    　
                </p>
                <a class="no-underline" href="/admin/stock?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-stock?page=<?=$_GET['page']?>&sid=<?=$book['sid']?>">
                    <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>
                </form>
			</div>
		</div>
	</div>