	<!-- 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>
                <form action="/admin/do/add-stock?page=<?=$_GET['page']?>&bid=<?=$_GET['bid']?>" method="post">
                    <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">
                        　书架号：<input type="text" name="place" />
                    </p>
                    <p class="text-grey-dark mt-2">
                        受损程度：<select name="health">
                            <option value="0">正常</option>
                            <option value="1">中等</option>
                            <option value="2">受损</option>
                        </select>
                    </p>
                    <p class="text-grey-dark mt-2">
                        借阅状态：<select name="state">
                            <option value="0">在馆</option>
                            <option value="1">借出</option>
                        </select>
                    </p>
                    <p class="text-grey-dark mt-2">
                        　
                    </p>
                    <a class="no-underline" href="/admin/stock?bid=<?=$_GET['bid']?>&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>
                    <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="submit" value="　添　加　" />
                </form>
			</div>
		</div>
	</div>