<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo _conf( 'WEB_SITE_SEO_TOP_WORD' ) ?>读 书 - <?php echo _conf( 'WEB_SITE_NAME' ) ?></title>
<meta name="keywords" content="<?php echo _conf( 'WEB_SITE_SEO_META_KEYWORD' ) ?>">
<meta name="description" content="<?php echo _conf( 'WEB_SITE_SEO_META_DESCRIP' ) ?>">
<?php echo _conf('WEB_SITE_SEO_HEADER_CODE'); ?>
<link href="res/css/douya.css" rel="stylesheet" type="text/css">
<script src="res/js/core.js"></script>
<script src="lib/fckeditor.js"></script>
</head>

<body>

<?php  
	include_once( ROOT . 'res/tpl/header.tpl.html' );
?>
<table border="0" width="98%" id="table1" cellspacing="5" cellpadding="5" height="400px" align="center">
	<tr>
		<td valign="top">
		<!-- main -->
		<form action="?u=book_save" method="POST" name="book_add_form">
		<h2>填写新书刊的详细资料</h2>
		<div style="padding:30px">
		<table width="500px" border="0"  cellspacing="5" cellpadding="5">
						<tr class="info_box">
				<td width="60px" class="top">
					书名
				</td>
				<td class="top">
					<input name="dy_book_title" id="dy_book_title" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					简介
				</td>
				<td class="top">
					<textarea name="dy_book_intro" id="dy_book_intro" cols="60" rows="5" rel="fck"></textarea>
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					作者
				</td>
				<td class="top">
					<input name="dy_book_author" id="dy_book_author" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					出版年份
				</td>
				<td class="top">
					<input name="dy_book_year" id="dy_book_year" >
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					图标
				</td>
				<td class="top">
					<img border="0" id="dy_book_pic_pic"> <input name="dy_book_pic" id="dy_book_pic" onchange="dy_book_pic_pic.src=this.value" style="width:200px">
				</td>
			</tr>
						<tr class="info_box">
				<td width="60px" class="top">
					相关标签
				</td>
				<td class="top">
					<input type="text" name="dy_tags" style="width:300px"><br/><span class="explain">多个标签请用空格分隔</span>
				</td>
			</tr>
			<tr class="info_box">
				<td width="60px" class="top">
					
				</td>
				<td class="top" align="center">
					<input class="dbutton" type="submit" value="提交" style="width:120px">
				</td>
			</tr>
		</table>
		</div>
		</form><script LANGUAGE="JavaScript" src="res/js/vf.js"></script>
<script LANGUAGE="JavaScript">
var f = new Validator("book_add_form"); 
f.addV( "dy_book_title" , "req" , "请填写书名" );
f.addV( "dy_book_intro" , "req" , "请填写简介" );
f.addV( "dy_book_author" , "req" , "请填写作者" );
f.addV( "dy_book_pic" , "req" , "请填写图标" );
</script>

		
		</td>
		<td width="300px" class=top>
		<!-- right -->
		
		</td>
	</tr>
</table>
<?php  
	include_once( ROOT . 'res/tpl/footer.tpl.html' );
?>
</body>

</html>