<%@ page language="C#" autoeventwireup="true" inherits="admin_system_config, 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>
    <title>参数设置</title>
        <link rel="stylesheet" href="../css/table.css" type="text/css" media="all" />
<script charset="utf-8" src="../editor/kindeditor-min.js"></script>
<script charset="utf-8" src="../editor/lang/zh_CN.js"></script>
<script>
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="txt10"]', {
					resizeType : 1,
					allowPreviewEmoticons : false,
                    uploadJson : '../editor/asp.net/upload_json.ashx',
					allowImageUpload : true,
					items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'image', 'link']
				});
				K('#image1').click(function() {
					editor.loadPlugin('image', function() {
						editor.plugin.imageDialog({
							imageUrl : K('#url').val(),
							clickFn : function(url, title, width, height, border, align) {
								K('#url').val(url);
								editor.hideDialog();
							}
						});
					});
				});			
			});

</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="txt2" runat="server" Width="250px"></asp:TextBox>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                        ControlToValidate="txt2"></asp:RequiredFieldValidator> 域名格式:http://www.name.com/ 最后的那一个/一定要加上  
                </td>
            </tr>        
            <tr>
                <td class="tl">
                    标题</td>
                <td class="tr">
                    <asp:TextBox ID="txt1" runat="server" Width="556px" Height="20px"></asp:TextBox>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                        ControlToValidate="txt1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    关键字</td>
                <td class="tr">
                    <asp:TextBox ID="txt8" runat="server" Height="85px" TextMode="MultiLine" Width="450px"></asp:TextBox>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
                        ControlToValidate="txt8"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    描述</td>
                <td class="tr">
                    <asp:TextBox ID="txt9" runat="server" Height="85px" TextMode="MultiLine" Width="450px"></asp:TextBox>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*"
                        ControlToValidate="txt9"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    版权</td>
                <td class="tr">
                <textarea id="txt10" name="txt10" runat="server" style="width:500px;height:100px"></textarea>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*"
                        ControlToValidate="txt10"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    网站logo</td>
                <td class="tr">
                    <input type="text" id="url" runat="server" value="" /> <input type="button" id="image1" value="选择文件" />
                </td>
            </tr>            
            <tr>
                <td class="tl">
                    在线客服</td>
                <td class="tr">
                    <asp:CheckBox ID="kefu" runat="server" Text="启用" />
                </td>
            </tr>
            <tr>
                <td class="tl">
                    友情链接</td>
                <td class="tr">
                    <asp:CheckBox ID="link" runat="server" Text="启用" />
                </td>
            </tr>  
            <tr>
                <td class="tl">
                    伪静态化</td>
                <td class="tr">
                    <asp:CheckBox ID="wurl" runat="server" Text="启用" /> 扩展名: *.<asp:TextBox ID="ext" runat="server" Width="50px"></asp:TextBox> 例如aspx 该功能需要您的站点IIS支持
                </td>
            </tr>                      
            <tr>
                <td class="tl">
                    运费</td>
                <td class="tr">
                    <asp:TextBox ID="txt11" runat="server" Width="60px"></asp:TextBox>
                </td>
            </tr>              
            <tr>
                <td class="tl">
                    </td>
                <td class="tr">
                    <asp:Button ID="Button1" runat="server" Text="添加保存" OnClick="btn_ok_Click" />
                </td>
            </tr>                        
        </table>
    </form>
</body>
</html>
