<?php $title = '修改小说《'.$book['bookname'].'》 - ' . setting('webname');?>
<?php include_once tpl('header');?>
<script type="text/javascript" src="<?php echo getJsFile('book.js');?>"></script>
<form method="post" action="<?php echo $this->url('system',array('s'=>'author','c'=>'book','a'=>'edit','bid'=>$book['bookid']));?>">
<table>
	<tbody>
		<tr>
			<td>书名：</td>
			<td><?php echo $book['bookname'];?>(暂时不允许修改书名)</td>
		</tr>
		<tr>
			<td>简介：</td>
			<td><textarea name="bookinfo" maxlength="400" class="basic-input" style="width: 500px; height: 240px;" id="bookinfo" onkeyup='$("#totalNum").html(this.value.length);' onblur="filterChar();"><?php echo $book['bookinfo'];?></textarea><br/><font color="red">*</font>请不要超过400字，是内容简介，不是章节内容，千万别传章节上去<br/><br/>当前字数：<span id="totalNum"><?php echo mb_strlen($book['bookinfo'], 'utf-8');?></span></td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" class="btn-submit" onclick="return checkBookSubmit(true);" value="提交修改"></td>
		</tr>
	</tbody>
</table>
</form>
<?php include_once tpl('footer');?>