<%@ page language="C#" autoeventwireup="true" inherits="Fanmv.CMS.admin_Info_InfoAdd, Fanmv.CMS" enableeventvalidation="false" validaterequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>信息管理-添加信息</title>
<script type="text/javascript"  src="../../common/jquery.js"></script>
<script type="text/javascript"  src="../skin/sysifrm.js"></script>
<link href="../skin/syscss.css" rel="stylesheet" type="text/css" />

<script type="text/javascript"  src="../../common/jquery.js"></script>
<script type="text/javascript" src="../../common/jquery.colorpicker.js"></script>
<script type="text/javascript">
<!--
$(function(){
//更多选择
$("#dsbtn").click(function(){		
	$('#dscon').toggle();
});	
	
//标题颜色
$("#icolor").colorpicker({
            fillcolor:true,
            success:function(o,color){
                $("#Title").css("color",color);
				$("#iFontColor").val(color);
            }
});

})
        
//-->
</script>

<script type="text/javascript" charset="utf-8" src="/teditor/teditor.js"></script>
<script type="text/javascript" charset="utf-8" src="/teditor/tconfig.js"></script>
</head>
<body>
<form id="form1" runat="server">
<div class="fheader" id="pTitle" runat="server">添加信息<a href="javascript:igoto();" onclick="javascript:iurl('InfoAdd.aspx.cs');return false;"><strong>+</strong>添加内容</a></div>

<div class="fcontent">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="std1">信息标题：</td>
    <td class="std2"><asp:TextBox ID="Title" runat="server" CssClass="iwc"></asp:TextBox>&nbsp;<img src="../skin/colorpicker.png" id="icolor" style="cursor:pointer" alt="标题颜色选择"  align="absmiddle"/><input name="iFontColor" type="hidden" id="iFontColor" value="" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Title"
            ErrorMessage="标题必须填写"></asp:RequiredFieldValidator>
    </td>
  </tr>
  
    <tr>
    <td class="std1">文件别名：</td>
    <td class="std2"><asp:TextBox ID="VisitFile" runat="server" CssClass="iwc"></asp:TextBox>.html
        <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label></td>
  </tr>
  
  <tr>
    <td class="std1">
        信息内容：</td>
    <td class="std2">
        <asp:TextBox ID="Content" runat="server" TextMode="MultiLine"></asp:TextBox>
        <script type="text/javascript">UE.getEditor('Content');</script>
        </td>
  </tr>
  
  <tr>
    <td class="std1"><a href="javascript:void(0);" id="dsbtn" >更多选项&lt;</a></td>
    <td class="std2">&nbsp;</td>
  </tr>
  
  <tr>
    <td colspan="2" >
 <table width="100%" border="0" cellspacing="0" cellpadding="0" id="dscon" style="display:none">
    <tr>
    <td class="std1">
        形象图片：</td>
    <td class="std2">
        <asp:FileUpload ID="FileUpload1" runat="server" Width="360px" /></td>
  </tr>
  
  
  <tr>
    <td class="std1">
        信息导读：</td>
    <td class="std2">
        <asp:TextBox ID="Intro" runat="server" TextMode="MultiLine"  CssClass="itt"></asp:TextBox></td>
  </tr>
  

  <tr>
    <td class="std1">
        关键词：</td>
    <td class="std2">
        <asp:TextBox ID="Keywords" runat="server" CssClass="iwd"></asp:TextBox></td>
  </tr>
   <tr>
    <td class="std1">
        网页描述：</td>
    <td class="std2">
        <asp:TextBox ID="Description" runat="server" CssClass="iwd"></asp:TextBox></td>
  </tr>
  
      <tr>
    <td class="std1">
        其它选项：</td>
    <td class="std2">
        作者：<asp:TextBox ID="Author" runat="server" Width="210px" CssClass="input input_wa"></asp:TextBox>
        &nbsp;&nbsp;来源：<asp:TextBox ID="CopyFrom" runat="server" Width="210px" CssClass="input input_wa"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;时间： <asp:TextBox ID="PubTime" runat="server" Width="208px" CssClass="input input_wa"></asp:TextBox>
        </td>
  </tr>
    
    </table>
    
    </td>
  </tr>
  
  
    <tr>
    <td colspan="2" class="scontrol"><asp:Button ID="Button1" runat="server"  Text="保存添加" CssClass="btn"  OnClick="Button1_Click" /></td>
    </tr>
</table>
</div>
</form>
</body>
</html>

