<%On Error Resume Next%>
<!--#include file="conn.asp"-->
<!--#include file="chk_logs.asp"-->


<%
lb=trim(replace(request.QueryString("lb"),"'",""))
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>企业信息发布平台V8.0</title>
<style type="text/css">
<!--
@import url("css2.css");
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {	color: #FFFFFF;
	font-weight: bold;
}
-->
</style>
</head>

<body class="admin-top-bg">
<table width="100%" height="480" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="1%" height="480" align="left" valign="top">&nbsp;</td>
    <td width="99%" align="left" valign="top"><table width="100%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table>
      <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="163" valign="top" bgcolor="3AA3D0"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr>
            <td height="25" bgcolor="254B8F"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="left"><span class="bsz">&nbsp; ⊙ 添加</span></td>
                <td align="right"><span class="bsz">当前位置：网站后台管理___信息添加</span>&nbsp;&nbsp; </td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="135" valign="top" bgcolor="#E4F4FC">
<script language="javascript">
function CheckForm()
{
	if(document.myform.f01.value=="")
	{
		alert("请输入您的称呼，它不能为空！");
		document.myform.f01.focus();
		return false;
	}
	
}

</script>
			
                <table width="100%"  border="0" cellpadding="2" cellspacing="1" bgcolor="#012567">
                 <form name="myform" method="post" action="xinwen_add_do.asp" onSubmit="return CheckForm();"> 
				
				 <tr bgcolor="#FFFFFF">
                    <td align="right" bgcolor="#E4F4FC" class="wz">标题：</td>
                    <td align="left" bgcolor="#E4F4FC" class="wz"><input name="f01" type="text" class="textline" id="f01" size="60">
                      <%if lb="学校新闻" or lb="教研成果" then%>
                      <select name="lx" size="1" id="lx">
                        <option>选择</option>
                        <option value="隐藏">隐藏</option>
                        <option value="显示">显示</option>
                      </select>
                      <%end if%></td>
                  </tr>
				   <% if lb<>"最新公告" then %>
                  <tr bgcolor="#FFFFFF">
                    <td width="16%" align="right" bgcolor="#E4F4FC" class="wz"><%if lb="友情链接" then%>
                      链接地址
                        <%else%>
                        信息来源<%end if%>： </td>
                    <td align="left" bgcolor="#E4F4FC" class="wz"><input name="f02" type="text" class="textline" id="f02" size="30"></td>
                  </tr>
				  <% end if %>
				  <tr bgcolor="#FFFFFF">
                    <td align="right" bgcolor="#E4F4FC" class="wz">正文：</td>
                    <td align="left" bgcolor="#E4F4FC" class="wz">
					<textarea cols="" name="content" rows="" class="textarea" style="display:none"></textarea><iframe id="eWebEditor1" src="ewebeditor/ewebeditor.asp?id=content&style=s_blue" frameborder="0" scrolling="no" width="600" height="400"></iframe>					</td>
                  </tr>
				  <% if lb<>"最新公告" then %>
                  <tr>
                <td width="16%" align="right" class="wz" bgcolor="#E4F4FC"><span class="STYLE3">上传附件</span>：</td>
                <td width="84%" class="wz" bgcolor="#E4F4FC"><label>
                  <input name="xtp" type="text" id="xtp" size="30">
                  <span class="STYLE3"><span class="STYLE1">
                  <input type="button" name="Submit2" value="上传附件" onClick="window.open('upload_flash.asp?formname=myform&editname=xtp&uppath=up_photo&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">
                </span> </span></label></td>
              </tr>
			        <% end if %>
                  <tr>
                    <td align="center" bgcolor="#E4F4FC" class="wz">&nbsp;</td>
                    <td align="left" bgcolor="#E4F4FC" class="wz"><input type="submit" name="Submit" value="添加" >
                        <input name="lb" type="hidden" value="<%=lb%>"></td>
                  </tr>
				  </form>
                </table>
      
			</td>
          </tr>
          
        </table></td>
      </tr>
    </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
