
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>修改连载图书</title>
<link href="form_new.css" rel="stylesheet" type="text/css" />
<link href="css_body.css" rel="stylesheet" type="text/css" />
<link href="company_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="main.js"></script>
<script language="javascript" src="../include/dedeajax2.js"></script>
<script language="javascript" src="story.js"></script>
<style type="text/css">
<!--
#addCatalog {
	position:absolute;
	left:455px;
	top:64px;
	width:325px;
	height:238px;
	z-index:2;
	background-color: #F2FDDB;
	border:1px solid #889D8F;
	padding:6px;
	display:none
}
#editCatalog {
	position:absolute;
	left:455px;
	top:64px;
	width:325px;
	height:238px;
	z-index:1;
	background-color: #F2FDDB;
	border:1px solid #889D8F;
	padding:6px;
	display:none
}
.bline{
	text-align:left;
}
-->
</style>
</head>
<body leftmargin='8' topmargin='8'>
<center>
<div id="container">
<!-- 头部开始 -->
<?php  include(dirname(__FILE__)."/head.htm"); ?>
<!-- 中部开始 -->

    <div id="manage_company_main">
		<!-- 中部左边开始 -->
      <?php  include(dirname(__FILE__)."/menu.php"); ?>
		<!-- 中部右边开始 -->
      <div id="myask_right">
        	<div id="myask_info">
            	<div class="myask_title">
                	<ul><li>修改连载图书</li></ul>
                    <div class="subask">
					[<a href="story_books.php"><u>连载内容列表</u></a>]
					</div>
                </div>
            </div>
<br>

<form name='form1' action='story_edit_action.php' enctype="multipart/form-data" method='post' onSubmit="return checkSubmitEdit();">
<input type='hidden' name='bookid' value='<?php echo $bookid; ?>' />
<table width="100%" border="0" cellpadding="1" cellspacing="1" align="center" style=" border:1px solid #E2F5BC;line-height:31px;margin:auto;">
<tr>
<td height="116" bgcolor="#FFFFFF" style="padding:3px 3px 3px 6px;" >
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="bline" width="105">隶属栏目：</td>
    <td class="bline">
    <select name="catid" id="catid">
    <option value='0'>请选择栏目</option>
    <?php
    foreach($btypes as $k=>$v){
    	if($books['catid']==$k) echo "<option value='$k' selected>$v</option>\r\n";
    	else echo "<option value='$k'>$v</option>\r\n";
    	foreach($stypes[$k] as $kk=>$vv){
    		if($books['catid']==$kk)  echo "<option value='$kk' selected> --$vv</option>\r\n";
    		else  echo "<option value='$kk'> --$vv</option>\r\n";
    	}
    }
    ?>
    </select>    </td>
  </tr>
  <tr>
    <td height="32" class="bline">图书名称：</td>
    <td class="bline">
    	<input name="bookname" type="text" id="bookname" size="35" value="<?php echo $books['bookname'];  ?>" />
      </td>
  </tr>
  <tr>
    <td height="32" class="bline">免费章节：</td>
    <td class="bline">
    	<input name="freenum" type="text" id="freenum" size="5" value="<?php echo $books['freenum']; ?>" />
      (-1 表示全部免费，0 表示全部收费)
    </td>
  </tr>
   <tr>
    <td height="32" class="bline">图书状态：</td>
    <td class="bline">
    	<input type='radio' name='status' value='0'<?php if($books['status']==0) echo ' checked';  ?> />连载中
    	<input type='radio' name='status' value='1'<?php if($books['status']==1) echo ' checked';  ?> />已完成连载
    	<input type='radio' name='ischeck' value='0'<?php if($books['ischeck']==0) echo ' checked';  ?> disabled="1" />未审核
    	<input type='radio' name='ischeck' value='1'<?php if($books['ischeck']==1) echo ' checked';  ?> disabled="1" />已审核
    </td>
  </tr>
  <tr>
    <td height="114" class="bline">封面图片：</td>
    <td class="bline" style="margin:3px 0px 3px 0px">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="75%" height="81">
        	<table width="100%" border="0" cellspacing="1" cellpadding="1">
          <tr>
            <td height="30"> 本地直接上传请点击“浏览”按钮
              <input name="litpic" type="file" style="width:300px" id="litpic"  onchange="SeePic($Obj('picview'),$Obj('litpic'));" />            </td>
          </tr>
          <tr>
            <td height="30">
            	<input name="litpicname" type="hidden" id="litpicname" style="width:150px" value="<?php echo $books['litpic']; ?>" />
           </td>
          </tr>
        </table></td>
        <td align="center">
        	<img src="<?php if($books['litpic']=='') echo 'img/pview.gif'; else echo $books['litpic']; ?>" name="picview" width="104" height="116" id="picview" />        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="32" class="bline">其它：</td>
    <td class="bline">
      <input name="click" type="hidden" value="<?php echo $books['click']; ?>" />
      作  者：
      <input name="author" type="text" id="author" size="5"  value="<?php echo $books['author']; ?>" />
      上架时间：
      <input name="pubdate" type="text" id="pubdate" size='30' value="<?php echo GetDateTimeMk($books['pubdate']); ?>"  />
     </td>
  </tr>

  <tr>
    <td height="60" class="bline">关键字：</td>
    <td class="bline">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="36%"><textarea name="keywords" cols="35" style="width:180px" rows="3" id="keywords"><?php echo $books['keywords']; ?></textarea></td>
          <td width="20%" align="center">摘　要：</td>
          <td><textarea name="description" cols="35" rows="3" style="width:180px" id="description"><?php echo $books['description']; ?></textarea></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="32" class="bline">具体介绍：</td>
    <td class="bline">&nbsp;</td>
  </tr>
  <tr>
    <td height="82" colspan="2">
   <?php
	GetEditor("body",$books['body'],300,"MemberLit");
	?>
	  </td>
    </tr>
  <tr>
    <td height="70">&nbsp;</td>
    <td><input type="submit" name="Submit" value="保 存" />　　
      <input type="reset" name="Submit2" value="重 置" /></td>
  </tr>
</table></td>
</tr>
</table>
</form>
</div>
</div>
</div>
</center>
</body>
</html>