<%@ page language="C#" autoeventwireup="true" inherits="admin_company_cadd, s1.chapk.com" 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 runat="server">
    <title>公司栏目添加</title>
    <link rel="stylesheet" href="../css/table.css" type="text/css" media="all" />
<script type="text/javascript" src="../editor/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../editor/xheditor-zh-cn.min.js"></script>
<script type="text/javascript">
$(pageInit);
function pageInit()
{
	$('#s_details').xheditor({upLinkUrl:"../editor/upload.aspx",upLinkExt:"zip,rar,txt",upImgUrl:"../editor/upload.aspx",upImgExt:"jpg,jpeg,gif,png",upFlashUrl:"../editor/upload.aspx",upFlashExt:"swf",upMediaUrl:"../editor/upload.aspx",upMediaExt:"wmv,avi,wma,mp3,mid",shortcuts:{'ctrl+enter':submitForm}});
}
function insertUpload(msg)
{
	msg=msg[0];
	 $("#uploadList").append('<option value="'+msg.id+'">'+msg.localname+'</option>');
}
function submitForm(){$('#frmDemo').submit();}
</script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="my_alt">公司栏目添加</div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%" class="tb">
            <tr>
                <td class="tl">名称：</td>
                <td class="tr"><asp:TextBox ID="s_mc" runat="server"></asp:TextBox>文字长度不能超过25个汉字<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="s_mc"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="tl">栏目：</td>
                <td class="tr">
                    <asp:DropDownList ID="s_lb" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="tl">内容：</td>
                <td class="tr">
<textarea id="s_details" name="s_details" rows="18" cols="80" runat="server" style="width: 80%">
	</textarea></td>
            </tr>            
            <tr>
                <td class="tl"></td>
                <td class="tr"><asp:Button ID="btn_ok" runat="server" Text=" 保存 " OnClick="btn_ok_Click" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
