<!--#include file="conn.asp"-->
<%
exec="select * from learning where articleid="&request.querystring("articleid")
set rs=server.createobject("adodb.recordset")
rs.open exec,conn
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>修改笑话</title>
<STYLE type=text/css>
BODY {
	COLOR: #000000; FONT-SIZE: 12px
}
TD {
	COLOR: #000000; FONT-SIZE: 12px
}
TH {
	COLOR: #6f1006; FONT-SIZE: 12px
}
A {
	FONT-SIZE: 12px
}
A:link {
	COLOR: blue;TEXT-DECORATION: none;
}
A:visited {
	COLOR: blue;TEXT-DECORATION: none;

}
A:hover {
	COLOR: green;
}
A.top:link {
	COLOR: #000000; TEXT-DECORATION: none
}
A.top:visited {
	COLOR: #000000; TEXT-DECORATION: none
}
A.top:hover {
	COLOR: blue; TEXT-DECORATION: underline
}
.style1 {color: #666666}
</STYLE>


</head>

<body topmargin="2" leftmargin="0" bgcolor="#FFFFFF">
<table border="0" cellpadding="0" cellspacing="0" width="469" align="center">                        
                        <tr>                                                                   
                          <td width="469" bgcolor="#000000">                                                                   
                            <table border="0" cellspacing="1" width="100%" height="35">                                                                   
                              <tr>                                                                   
                                <td width="100%" bgcolor="#00659C" height="31">                                                                   
                                  <table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">                                                                   
                                    <tr>                                                                   
                                      <td width="100%" bgcolor="#00659C">                                                                   
                                        <table border="0" cellspacing="1" width="100%" height="287">
                    <tr>                                                                  
                                            
                      <td width="100%" bgcolor="#40BDE8" align="center" height="21"> 
                         您好，欢迎您修改笑话！
                      </td>                                                                                                                                 
                                          </tr>                                          
                                                                            
                                                                                                                                             
                                                                                        
                                  <tr>                                                                                   
                                            
                      <td width="100%" bgcolor="#ffffff" align="left" height="247" valign="top"> 
                        <table border="0" cellspacing="0" width="96%" cellpadding="0" height="173" align="center">
                                                
                                                <tr>
                                                  <td width="100%" height="201"><br> <table align="center">
 <tr><td>
 <form name="form1" method="post" action="modifysave.asp?articleid=<%=rs("articleid")%>">
 <table align="center">
  
  <tr><TD>
    题目:</TD><TD>
          <input type="text" name="title" size="40" value="<%=rs("title")%>">
		        </TD></TR>  
<tr><TD>
		  
类型:</TD><TD>
          <select  size=1 name=typeid>
         <option selected value="<%=rs("typeid")%>">不修改</option>
         <option value=1>儿童篇</option>
         <option value=2>夫妻篇</option>
         <option value=4>医疗篇</option>
         <option value=5>爱情篇</option>
         <option value=9>家庭篇</option>
         <option value=10>政治篇</option>
         <option value=11>电脑篇</option>
         <option value=12>军事篇</option>
         <option value=13>古代篇</option>
         <option value=14>文化篇</option>
         <option value=15>艺术篇</option>
         <option value=16>经营篇</option>
         <option value=17>司法篇</option>
         <option value=18>体育篇</option>
         <option value=19>交通篇</option>
         <option value=20>宗教篇</option>
         <option value=21>鬼话篇</option>
         <option value=22>名人篇</option>
         <option value=23>校园篇</option>
         <option value=24>交往篇</option>
         <option value=25>愚人篇</option>
         <option value=26>民间篇</option>
         <option value=27>综合篇</option>
         <option value=28>原创篇</option>
             </select> 
          <span class="style1">不修改请不要选择,默认为原分类</span></TD>
</TR>  
<tr>
  <td>选项:</td>
  <td><input type="checkbox" value="0" name="hidden" <%if rs("hidden")=0 then response.write "checked" %>>
    <span class="style1">选择表示显示此笑话 </span>   
	&nbsp&nbsp&nbsp
	<input type="text" name="hits" size="5" value="<%=rs("hits")%>">
	<span class="style1">人气值 </span> </td>
</tr>
 <tr><TD>
    时间:</TD><TD>
          <input type="text" name="dateandtime" size="40" value="<%=rs("dateandtime")%>">
		        </TD></TR>  
<tr><TD> 正文:</TD>
 <TD> <textarea name="content" cols="40" rows="10"><%=rs("content")%></textarea>  </TD></TR>
 <tr>
 <TD align="center" colspan=2>
  <input  type="submit" class="btn" name="Submit" value="提 交">
  &nbsp&nbsp&nbsp
   <input  type="reset" class="btn" name="reset" value="重 写">
</TD></TR></table>
 </form>

</td></tr></table></td>
                                                </tr><tr>
                                                  <td width="100%" height="16">
                                                    <hr style="border-style: dotted" size="1" color="#808080">
                                                  </td>
                                                </tr>
                                                <tr>
                                                  <td width="100%" height="17">说明1：本站欢迎各位网友添加笑话。</td>
                                                </tr>
                                                <tr>
                                                  <td width="100%" height="17">  说明2：添加后，须管理员审核会方可显示。</td>
                                                </tr>
												 <tr>
                                                  <td width="100%" height="17">  说明3：请勿添加色情、迷信、分裂祖国等非法信息，否则将给予删除！</td>
                                                </tr>
                                              </table>
                                    </td>                                                                                                                               
                                          </tr>                                                 
                                                                                        
                                     <tr>                                                                               
                                            
                      <td width="100%" bgcolor="#40BDE8" align="left" height="17"><div align="center"><A href="javascript:window.close()">[关闭窗口]</A></div> 
                      </td>                                                                      
                                          </tr>                                                                      
                                                                      
                                        </table>                                                                      
                                      </td>                                                                      
                                    </tr>                                                                      
                                  </table>                                                                      
                                </td>                                                                      
                              </tr>                                                                      
                            </table>                                                                      
                          </td>                                                                      
                        </tr>                                                                      
                      </table>                                                                                                                                    

    
</body>    
    
</html> 
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
