<!--#include file="../conn.asp"-->
<!--#include file="../sql.asp"-->
<!--#include file="../config.asp" -->
<!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=gb2312" />
<title>ADD book_<%=config("title")%></title>
<link href="../images/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"> 
function check(){ 
if (document.add.title.value==""){ 
alert('请填写留言标题！'); 
document.add.title.focus(); 
return false; 
} 
if (document.add.name.value==""){ 
alert('请填写姓名！'); 
document.add.name.focus(); 
return false; 
} 
if (document.add.tel.value==""){ 
alert('请填写联系电话！'); 
document.add.tel.focus(); 
return false; 
} 
if (document.add.body.value==""){ 
alert('请填写留言内容！'); 
document.add.body.focus(); 
return false; 
} 
} 
</script>
</head>

<body><div class="bg">
<!--#include file="../entop.asp" -->
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="220" bgcolor="#EFFAFE"><!--#include file="enleft.asp" --></td>
    <td width="760"><table width="100%" height="500" border="0" cellpadding="0" cellspacing="0" id="line">
      <tr>
        <td valign="top"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div id="lat">Location：<a href="/enindex.asp">HOME</a> > book > Post a comment</div></td>
          </tr>
        </table>
          <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#EEF2FA" style=" margin:20px auto">
  <tr>
    <td width="698" valign="top">
     <table width="100%" align="center" cellpadding="5" cellspacing="1">
<form action="add_book_pass.asp" method="post" name="add" onSubmit="return check()"> 
  <tr>
    <td width="25%" height="30" bgcolor="#FFFFFF"><div align="center">Title：</div></td>
    <td width="75%" bgcolor="#FFFFFF"><label>
      <input name="title" type="text" size="40"/>
    　*</label></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF"><div align="center">Nmae：</div></td>
    <td bgcolor="#FFFFFF"><input name="name" type="text" size="40"/>
      　*</td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF"> <div align="center">ＱＱ：</div></td>
    <td bgcolor="#FFFFFF"><input name="qq" type="text" size="40"/></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF"><div align="center">E-Mail：</div></td>
    <td bgcolor="#FFFFFF"><input name="mail" type="text" size="40"/></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF"><div align="center">Tel：</div></td>
    <td bgcolor="#FFFFFF"><input name="tel" type="text" size="40"/>
      　*
        <input name="sh" type="hidden" value="<%=config("booksh")%>" size="10"/></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF"><div align="center">Content：</div></td>
    <td bgcolor="#FFFFFF"><label>
      <textarea name="body" cols="45" rows="8"></textarea>
    　*</label></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF"><div align="center">Authentication：</div></td>
    <td bgcolor="#FFFFFF"><input name="VerifyCode" type="text" class="input"  size="10" /> <img src="../safecode.asp?" onClick="this.src+=Math.random()" alt="图片看不清？点击重新得到验证码" style="cursor:hand;" /> *</td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF"><label>
      <input type="submit" name="button" id="button" value="Submitted" />
    </label></td>
  </tr></form>
</table>
</td>
  </tr>
</table>
          </td>
      </tr>
    </table></td>
  </tr>
</table>
<!--尾部开始 -->
<div id="foot"><!--#include file="../enfoot.asp" --></div> 

<!--尾部结束 -->


</div>
</body>
</html>
