You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
2.2 KiB
41 lines
2.2 KiB
<!-- 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>
|
|
<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">
|
|
ISBN:<?=$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="text-grey-dark mt-2">
|
|
|
|
</p>
|
|
<a class="no-underline" href="/admin/books?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-book?page=<?=$_GET['page']?>&bid=<?=$book['bid']?>">
|
|
<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>
|