<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.edit_article" Codebehind="edit_article.aspx.vb" %>
<%@ Import namespace="work_plan_web_deploy"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD id="HEAD1" runat="server">
		<title>信息修改</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<LINK href="site_css.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
			<style type="text/css">
			.STYLE1 { COLOR: #999999 }
			.STYLE2 { COLOR: #ff0000 }
			    .style1
                {
                    color: #FF0000;
                }
			    .style2
                {
                    color: #808080;
                }
			</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>
	</HEAD>
	<body>
		<form id="Form1" runat="server">
			<div id="title">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td align="center" height="20">信息资源 — 信息修改</td>
					</tr>
				</table>
			</div>
			<div id="place">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td height="30">您当前的位置：信息资源 &gt;&gt; 信息修改</td>
					</tr>
				</table>
			</div>
			<div id="contentdiv">
				<table class="maintable" cellSpacing="0" cellPadding="2" width="100%" border="0">
					<tr>
						<td align="right" bgColor="#e0eef5" height="22">所属栏目：</td>
						<td width="93%" height="22" align="left">
                            <asp:DropDownList ID="lmid" runat="server">
                                <asp:ListItem Value="0">请选择</asp:ListItem>
                            </asp:DropDownList>
&nbsp;<span class="style1">*</span><asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ControlToValidate="lmid" ErrorMessage="所属栏目必须选择"  
                                Operator="GreaterThan" ValueToCompare="0"></asp:CompareValidator>
                        </td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="22">所属单位：</td>
						<td width="93%" height="22" align="left">
                            <asp:TextBox ID="dpmid" onclick="showDIV(this,dwtree);" 
                                    runat="server" ReadOnly="True"></asp:TextBox>
                            <span class="style2">（信息所属单位和下属单位的用户可见该信息）</span></td>
					</tr>
					<tr>
						<td width="7%" height="22" rowspan="3" align="right" bgColor="#e0eef5">信息标题：</td>
						<td align="left" height="22">简短标题：<asp:DropDownList ID="ts" runat="server">
                            <asp:ListItem 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" 
                                Width="237px" style="width:237px;"></asp:TextBox>                      
    <asp:DropDownList ID="ys" runat="server">
<asp:ListItem value="无">默认颜色</asp:ListItem>
<asp:ListItem value="#000000" style="background-color:#000000"></asp:ListItem>
<asp:ListItem value="#FFFFFF" style="background-color:#FFFFFF"></asp:ListItem>
<asp:ListItem value="#008000" style="background-color:#008000"></asp:ListItem>
<asp:ListItem value="#800000" style="background-color:#800000"></asp:ListItem>
<asp:ListItem value="#808000" style="background-color:#808000"></asp:ListItem>
<asp:ListItem value="#000080" style="background-color:#000080"></asp:ListItem>
<asp:ListItem value="#800080" style="background-color:#800080"></asp:ListItem>
<asp:ListItem value="#808080" style="background-color:#808080"></asp:ListItem>
<asp:ListItem value="#FFFF00" style="background-color:#FFFF00"></asp:ListItem>
<asp:ListItem value="#00FF00" style="background-color:#00FF00"></asp:ListItem>
<asp:ListItem value="#00FFFF" style="background-color:#00FFFF"></asp:ListItem>
<asp:ListItem value="#FF00FF" style="background-color:#FF00FF"></asp:ListItem>
<asp:ListItem value="#FF0000" style="background-color:#FF0000"></asp:ListItem>
<asp:ListItem value="#0000FF" style="background-color:#0000FF"></asp:ListItem>
<asp:ListItem value="#008080" style="background-color:#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;<span class="style1">*</span>
							<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" 
                                    ControlToValidate="jdbt" ErrorMessage="简短标题不能为空"></asp:requiredfieldvalidator>
							
                                
                        </td>
					</tr>
					<tr>
						<td height="22" align="left">完整标题：<asp:TextBox ID="wzbt" runat="server" 
                                Width="479px" style="width:479px;"></asp:TextBox>                      </td>
					</tr>
					<tr>
						<td height="22" align="left">副 标 题：<asp:TextBox ID="fbt" runat="server" 
                                Width="479px" style="width:479px;"></asp:TextBox>                      </td>
					</tr>
					<tr>
						<td align="right" width="7%" bgColor="#e0eef5" height="22">关 键 词：</td>
						<td height="22" align="left">
                            <asp:TextBox ID="gjz" runat="server" Width="306px" style="width:306px;"></asp:TextBox>                      
                            <span class="style2">（用于相关信息检索，多过关键词用符号“|”分隔，如：通知|学习|昆明精神）</span></td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="22">作者：</td>
						<td height="22" align="left">
                            <asp:TextBox ID="zz" runat="server" Width="82px" style="width:82px;"></asp:TextBox>                      		</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="22">信息来源：</td>
						<td height="22" align="left">
                            <asp:TextBox ID="wzly" runat="server" Width="223px" style="width:223px;"></asp:TextBox>                      		</td>
					</tr>
                    <tr>
						<td align="right" bgColor="#e0eef5" height="22">发布时间：</td>
						<td height="22" align="left">
                            <asp:TextBox ID="tjsj" runat="server" Width="135px" style="width:135px;"></asp:TextBox>                      		
                        </td>
					</tr>
					<tr>
						<td align="right" width="7%" bgColor="#e0eef5" height="22">点击次数：</td>
						<td height="22" align="left">
                            <asp:TextBox ID="djcs" runat="server" Width="93px" style="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 align="right" width="7%" bgColor="#e0eef5" height="22">排序权重：</td>
						<td height="22" align="left">
                            <asp:TextBox ID="qz" runat="server" Width="93px" style="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 width="7%" height="22" align="right" bgcolor="#e0eef5">转向链接：</td>
						<td align="left" height="22">
                            <asp:TextBox ID="zxlj" runat="server" Width="528px" style="width:528px;"></asp:TextBox>                      </td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="22">略图地址：</td>
						<td align="left" height="22">
                            <asp:TextBox ID="ltdz" runat="server" Width="528px" style="width:528px;"></asp:TextBox>                      </td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="70">信息简介：</td>
						<td height="70" align="left">
                            <asp:TextBox ID="wzjs" runat="server" Height="64px" TextMode="MultiLine" 
                                Width="528px" style="width:528px;height:64px;"></asp:TextBox>                      </td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="300">信息内容：</td>
						<td height="300" align="left" valign="top">
                           <textarea id ="nr" name="nr" runat="server" style="height:500px;width:1024px;"></textarea>

                            </td>
					</tr>
			  </table>
			</div>
			<table cellSpacing="0" cellPadding="0" width="300" align="center" border="0">
				<tr>
					<td vAlign="middle" align="center" height="40">&nbsp;
						<asp:button id="Button1" runat="server" Text="保存信息(ALT+S)" AccessKey="s" 
                            Width="120px"></asp:button>　　<asp:button id="Button2" runat="server" 
                            Width="120px" Text="取消修改(ALT+C)" 
                            CausesValidation="False" AccessKey="c"></asp:button>
                        <asp:HiddenField ID="aid" runat="server" />
                    </td>
				</tr>
			</table>
             <!--隐藏开始-->
			<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" Font-Size="8pt" 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>