<!--#include file="conn.asp"-->
<%if session("bjxadmin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>2 then
response.Write "<p align=center><font color=red>您没有此项目管理权限！</font></p>"
response.End
end if
end if
%>
<html><head><title><%=redcaff%>-添加专题文章</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">

<script language="javascript">
<!--
function checkdata()
{
if (document.form1.title.value=="")
	{
	  alert("对不起，请输入文章标题！")
	  document.form1.title.focus()
	  return false
	 }
if (document.form1.Content.value.length==0)
	{
	  alert("对不起，请输入文章内容！")
	  //document.form1.content.focus()
	  return false
	 }
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
</head><body>
<form name="form1" method="post" action="zhuantiadd2.asp" OnSubmit="return checkdata()" onReset="return ResetForm();">
<table class="tableBorder" width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#6a7f9a">
<tr> 
<td colspan="4" align="center" background="../images/admin_bg_1.gif"><b><font color="#ffffff">添加专题文章</font></b></td>
</tr>
<tr > 
<td width="20%" align="right" valign="top">文章标题：</td>
<td width="80%">
<input name="title" id=me type="TEXT" size=50 maxlength=100 style="background-color:ffffff;border: 1 double"  onMouseOver="window.status='在这里输入要添加的文章标题，必填';return true;" onMouseOut="window.status='';return true;" title='在这里输入要添加的文章标题，必填'>
<span style='cursor:hand' title='缩短对话框' onClick='if (me.size>10)me.size=me.size-2'>-</span>
<span style='cursor:hand' title='加长对话框' onClick='if (me.size<102)me.size=me.size+2'>+</span> 
<br><SELECT size=1 id=title_color name=title_color LANGUAGE=javascript onchange="return title_color_onchange()" style="width:55">
            <OPTION value="0" selected>颜色</OPTION>
            <OPTION value="#003399" style="background-color:#000000"></OPTION>
            <OPTION value="#000000" style="background-color:#000000"></OPTION>
            <OPTION value="#6a7f9a" style="background-color:#6a7f9a"></OPTION>
            <OPTION value="#008000" style="background-color:#008000"></OPTION>
            <OPTION value="#800000" style="background-color:#800000"></OPTION>
            <OPTION value="#808000" style="background-color:#808000"></OPTION>
            <OPTION value="#000080" style="background-color:#000080"></OPTION>
            <OPTION value="#800080" style="background-color:#800080"></OPTION>
            <OPTION value="#808080" style="background-color:#808080"></OPTION>
            <OPTION value="#FFFF00" style="background-color:#FFFF00"></OPTION>
            <OPTION value="#00FF00" style="background-color:#00FF00"></OPTION>
            <OPTION value="#00FFFF" style="background-color:#00FFFF"></OPTION>
            <OPTION value="#FF00FF" style="background-color:#FF00FF"></OPTION>
            <OPTION value="#FF0000" style="background-color:#FF0000"></OPTION>
            <OPTION value="#0000FF" style="background-color:#0000FF"></OPTION>
            <OPTION value="#008080" style="background-color:#008080"></OPTION>
          </SELECT>
          <SELECT size=1 id=title_size name=title_size LANGUAGE=javascript onchange="return title_size_onchange()" style="width:55">
            <OPTION value="0" selected>大小</OPTION>
            <OPTION value="1">1(8px)</OPTION>
            <OPTION value="2">2(10px)</OPTION>
            <OPTION value="3">3(12px)</OPTION>
            <OPTION value="4">4(14px)</OPTION>
            <OPTION value="5">5(18px)</OPTION>
            <OPTION value="6">6(24px)</OPTION>
            <OPTION value="7">7(36px)</OPTION>
          </SELECT>
          <SELECT size=1 id=title_type name=title_type LANGUAGE=javascript onchange="return title_type_onchange()" style="width:55">
            <OPTION value="0" selected>类型</OPTION>
            <OPTION value="0">普通</OPTION>
            <OPTION value="b">加粗</OPTION>
            <OPTION value="i">倾斜</OPTION>
            <OPTION value="u">下划线</OPTION>
            <OPTION value="1">加粗倾斜</OPTION>
          </SELECT>
          <SELECT size=1 id=title_face name=title_face LANGUAGE=javascript onchange="return title_face_onchange()" style="width:55">
            <OPTION value="0" selected>字体</OPTION>
            <option value="宋体">宋体</option>
            <option value="楷体_GB2312">楷体</option>
            <option value="新宋体">新宋体</option>
            <option value="黑体">黑体</option>
            <option value="隶书">隶书</option>
            <option value="幼圆">幼圆</option>
          </SELECT></td>
</tr>
<tr > 
<td align="right" valign="top">文章内容：</td>
<td valign="top">
<%
dim bjxc,bjxi
bjxc	= ""
bjxi    = "Content"
%><input type="hidden" id="myEditor" value="" style="display:none" /><textarea id="Content" name="Content" style="display:none"><div><%= bjxc %></div></textarea><iframe id="Content___Frame" src="Iheeo_editor/editor.htm?id=Content&ReadCookie=0" frameborder="0" scrolling="no" width="621" height="457"></iframe>
</td>
</tr>
<tr > 
<td height="30"></td>
<td> 
<input type="submit" value=" 添 加 " name="Submit" class="unnamed5" >&nbsp;
<input type="reset" value=" 清 除 " name="Reset" class="unnamed5">&nbsp;
<input type="button" value=" 返 回 " onclick="javascript:history.go(-1)" class="unnamed5">&nbsp;
</td>
</tr>
</table>
</form>
</body>
</html>
