<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.add_article" Codebehind="add_article.aspx.vb" EnableEventValidation="false" %>
<%@ Import namespace="work_plan_web_deploy"%>
<html>
	<head id="head1"  runat="server">
    <title><%=pagename %></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
        <style type="text/css">

			    .style1
                {
                    color: #FF0000;
                }
			    .STYLE1 { COLOR: #999999 }
			    .STYLE2 { COLOR: #ff0000 }
			    </style>
                <!-- 配置文件 -->
<script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="/ueditor/ueditor.all.js"></script>
<!-- 语言包文件(建议手动加载语言包，避免在ie下，因为加载语言失败导致编辑器加载失败) -->
<script type="text/javascript" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
			<script language="javascript">
			    function ResetButton() {
			        var btn = document.getElementById("Button1");
			        if (btn.disabled == true) {
			            btn.disabled = false;
			        }
			    }
			    function disableBtn(btn) {
			        btn.value = '系统正在执行操作...';
			        btn.disabled = 'disabled';
			        __doPostBack("Button1", "OnClick");
			        //doPostBack can now fire serverside event even if button is disabled  
			    }
  
			</script>
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">

            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
            <li><a href="department_article.aspx">信息管理</a> <span class="divider">/</span></li>
            <li class="active"><%=pagename %></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
                    
<div class="btn-toolbar">
    <asp:button id="Button1" runat="server" Text="保存(ALT+S)" AccessKey="s" 
        class="btn"></asp:button>
	<asp:button id="Button2" runat="server" Text="清除(ALT+C)" CausesValidation="False" AccessKey="C" class="btn"></asp:button>
    </div>
<div class="btn-group"></div>
<div class="well">


<table class="table" width="100%">
					<tr>
						<td class="td_a">编号：</td>
						<td class="td_b">
                            <span class="STYLE1">系统分配</span></td>
					</tr>
					<tr>
						<td class="td_a">所属部门：</td>
						<td class="td_b">
                            <asp:TextBox ID="dpmid" onclick="showDIV(this,dwtree);" 
                                    runat="server" ReadOnly="True" Width="170px"></asp:TextBox>                            </td>
					</tr>
					<tr>
						<td class="td_a"><span class="STYLE2">所属栏目：</span></td>
						<td class="td_b">
                            <asp:DropDownList ID="lmid" runat="server">
                                <asp:ListItem Selected="True" Value="0">请选择</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;<asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ControlToValidate="lmid" ErrorMessage="所属栏目必须选择" Operator="GreaterThan" 
                                ValueToCompare="0"></asp:CompareValidator>
                        </td>
					</tr>
					<tr>
						<td class="td_a"><span class="STYLE2">简短标题：</span></td>
						<td class="td_b">
                            <asp:DropDownList ID="ts" runat="server">
                                <asp:ListItem Selected="True" Value="无">无提示</asp:ListItem>
                                <asp:ListItem>[图文]</asp:ListItem>
                                <asp:ListItem>[组图]</asp:ListItem>
                                <asp:ListItem>[推荐]</asp:ListItem>
                                <asp:ListItem>[注意]</asp:ListItem>
                            </asp:DropDownList>
                            <asp:TextBox ID="jdbt" runat="server" style="width:237px;" Width="237px"></asp:TextBox>
                            <asp:DropDownList ID="ys" runat="server">
                                <asp:ListItem value="无">默认颜色</asp:ListItem>
                                <asp:ListItem style="background-color:#000000" value="#000000"></asp:ListItem>
                                <asp:ListItem style="background-color:#FFFFFF" value="#FFFFFF"></asp:ListItem>
                                <asp:ListItem style="background-color:#008000" value="#008000"></asp:ListItem>
                                <asp:ListItem style="background-color:#800000" value="#800000"></asp:ListItem>
                                <asp:ListItem style="background-color:#808000" value="#808000"></asp:ListItem>
                                <asp:ListItem style="background-color:#000080" value="#000080"></asp:ListItem>
                                <asp:ListItem style="background-color:#800080" value="#800080"></asp:ListItem>
                                <asp:ListItem style="background-color:#808080" value="#808080"></asp:ListItem>
                                <asp:ListItem style="background-color:#FFFF00" value="#FFFF00"></asp:ListItem>
                                <asp:ListItem style="background-color:#00FF00" value="#00FF00"></asp:ListItem>
                                <asp:ListItem style="background-color:#00FFFF" value="#00FFFF"></asp:ListItem>
                                <asp:ListItem style="background-color:#FF00FF" value="#FF00FF"></asp:ListItem>
                                <asp:ListItem style="background-color:#FF0000" value="#FF0000"></asp:ListItem>
                                <asp:ListItem style="background-color:#0000FF" value="#0000FF"></asp:ListItem>
                                <asp:ListItem style="background-color:#008080" value="#008080"></asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="zx" runat="server">
                                <asp:ListItem Selected="True" Value="0">默认字形</asp:ListItem>
                                <asp:ListItem Value="1">粗体</asp:ListItem>
                                <asp:ListItem Value="2">斜体</asp:ListItem>
                                <asp:ListItem Value="3">粗+斜</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="jdbt" ErrorMessage="简短标题不能为空"></asp:RequiredFieldValidator>
                        </td>
					</tr>
					<tr>
						<td class="td_a">完整标题：</td>
						<td class="td_b">
                            <asp:TextBox ID="wzbt" runat="server" style="width:479px;" Width="479px"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td class="td_a">副标题：</td>
						<td class="td_b">
                            <asp:TextBox ID="fbt" runat="server" style="width:479px;" Width="479px"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td class="td_a">关键词：</td>
						<td class="td_b">
                            <asp:TextBox ID="gjz" runat="server" style="width:306px;" Width="306px"></asp:TextBox>
                            <span class="style1">（用于相关信息检索，多过关键词用符号“|”分隔，如：通知|学习|昆明精神）</span></td>
					</tr>
					<tr>
						<td class="td_a">作者：</td>
						<td class="td_b">
                            <asp:TextBox ID="zz" runat="server" style="width:82px;" Width="82px"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td class="td_a">信息来源：</td>
						<td class="td_b">
                            <asp:TextBox ID="wzly" runat="server" style="width:223px;" Width="223px"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td class="td_a">点击次数：</td>
						<td class="td_b">
                            <asp:TextBox ID="djcs" runat="server" style="width:93px;" Width="93px">0</asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                ControlToValidate="djcs" ErrorMessage="点击次数不能为空"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                ControlToValidate="djcs" ErrorMessage="点击次数必须为整数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                        </td>
					</tr>
					<tr>
						<td class="td_a">排序权重：</td>
						<td class="td_b">
                            <asp:TextBox ID="qz" runat="server" style="width:93px;" Width="93px">0</asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                ControlToValidate="qz" ErrorMessage="权重不能为空"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                                ControlToValidate="qz" ErrorMessage="权重必须为整数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                        </td>
					</tr>
					<tr>
						<td class="td_a">刷新时间：</td>
						<td class="td_b">
                            <asp:TextBox ID="refresh" runat="server" style="width:93px;" Width="93px">0</asp:TextBox>
                            <span class="style1">（单位：秒，为0则不自动刷新正文页面）<asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator4" runat="server" ControlToValidate="refresh" 
                                ErrorMessage="刷新时间不能为空"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                                ControlToValidate="refresh" ErrorMessage="刷新时间必须为整数" 
                                ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                            </span></td>
					</tr>
					<tr>
						<td class="td_a">转向链接：</td>
						<td class="td_b">
                            <asp:TextBox ID="zxlj" runat="server" style="width:528px;" Width="528px"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td class="td_a">略图地址：</td>
						<td class="td_b">
                            <asp:TextBox ID="ltdz" runat="server" style="width:528px;" Width="528px"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td class="td_a">信息简介：</td>
						<td class="td_b">
                            <asp:TextBox ID="wzjs" runat="server" Height="64px" 
                                style="width:528px;height:64px;" TextMode="MultiLine" Width="528px"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td class="td_a">信息内容：</td>
						<td class="td_b">
                            <textarea id ="nr" name="nr" runat="server" style="width:1024px;height: 500px"></textarea></td>
					</tr>
					</table>



</div>
                  
            </div>
        </div>
    </div>
                <!--隐藏开始-->
			<div class="menudiv" id="dwtree">
            <asp:TreeView ID="fidTreeView" runat="server" ImageSet="XPFileExplorer" 
        NodeIndent="15" ShowLines="True">
            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
            <NodeStyle Font-Names="Tahoma" ForeColor="Black" 
                HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
    </form>
</body>
    <script type="text/javascript">
        var editor = UE.getEditor('nr')
</script>
</html>