<!-- #include file="const.asp" -->
<!-- #include file="admin_judge.asp" -->
<!-- #include file="../fckeditor/fckeditor.asp" -->
<%
skdate=date()
sBasePath = "../fckeditor/"
Set Fck = New FCKeditor
%>
<html>
<head>
<title>添加新闻</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<script src="../js/date.js" type="text/javascript"></script>
<script src="../js/public.js" type="text/javascript"></script>
<link href="../css/admin_style.css" rel="stylesheet" type="text/css" media="all"/>
</head>
<body leftmargin=5 topmargin=5 rightmargin=5>
<%
  page_name = "添加新闻"	
%>
<!-- #include file="welcome_head.asp" -->
<br>
<form name="form" method="post" action="news_add_save.asp">
<table width=760 border="1" align=center cellpadding="5" cellspacing="0" bordercolor="#84BADF" id="t1" style="border-collapse: collapse">
<input type=hidden name="htcode"  size="18" >
<tr height=40 >
<td width=100 align=center><b>新闻标题</td>
<td width=200 ><input name="newstitle" type=text size=30 value=""></td>
<td width=100 align=center><b>新闻类别</td>
<td>
<select name="category">
<%
set rs = server.createobject("adodb.recordset")
q = "select * from t_news_class order by c_paixu desc"
rs.open q,conn,1,1
while not rs.eof
response.write "<option value=" & rs("c_name") & " >--" & rs("c_name") & "--</option>"
rs.movenext
wend
rs.close
set rs=nothing
%>
</select>
</td>
</tr>
<tr>
<td align=center><b>新闻内容</td>
<td colspan=3>
<%
Fck.width = "610"
Fck.height = "300"
Fck.ToolbarSet = "shopwind"
Fck.BasePath = sBasePath
Fck.Value	= ""
Fck.Create "news_describe"
%>
</tr>
<tr height=40 >
<td align=center><b>添加日期</td>
<td>&nbsp<input type="text" name="begindate" size="18" value="<%=skdate%>">
	<input type=image style="cursor:hand" border=0 src="../images/date.gif" onClick="setDay(begindate);return false;"><font color=red> *</font></td>
<td width=100 align=center><b>作者</td>
<td><input name="author" type=text value=""></td>
</tr>
<tr height=40 >
<td align=center><b>新闻来源</td>
<td><input name=origin type=text size=20 ></td>
<td align=center><b>是否在线</td>
<td><input type="radio" name="online" value="1" checked style="border:0;" >是&nbsp;<input type="radio" name="online" value="0" style="border:0;" >否&nbsp;</td></tr>
</table><br>
<center><input class=button type=submit name=ok value="确  定">　
<input class=button type=button name=retu value="取  消" onclick=history.go(-1)>
</form>
<!-- #include file="welcome_footer.asp" -->
</body>
</html>
<%Connclose()%>