<%@ page language="C#" autoeventwireup="true" inherits="e_city_public, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/e/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/e/head.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/e/foot.ascx" %>
<!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">
    <UC:meta ID="meta1" runat="server" />
</head>
<body>
    <form id="form1" runat="server" autocomplete="off">
    <asp:Label ID="pathcode" runat="server" Style="display: none">
   &nbsp;&raquo;&nbsp;系统设置&nbsp;&raquo;&nbsp;代码片段
    </asp:Label>
    <UC:head ID="head1" runat="server" />
    <%--main start--%>
    <div class="c1">
        <div class="b1">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td class="b1_l">
                    </td>
                    <td>
                        <div class="con1">
                            <ul>
                                <li class="on" onclick="movearea(this,'moveareav1')"><a href="javascript:void(0)">网站导航</a></li>
                                <li onclick="movearea(this,'moveareav1')"><a href="javascript:void(0)">副导航</a></li>
                                <li onclick="movearea(this,'moveareav1')"><a href="javascript:void(0)">底部导航</a></li>
                                <li onclick="movearea(this,'moveareav1')"><a href="javascript:void(0)">便民导航</a></li>
                                <li onclick="movearea(this,'moveareav1')" style="width: 100px"><a href="javascript:void(0)">
                                    底部版权区域</a></li>
                                <li id="DefaultTemplate1" onclick="movearea(this,'moveareav1')" style="width: 80px"><a href="javascript:void(0)">
                                    首页幻灯片</a></li>
                                <li onclick="movearea(this,'moveareav1')" style="width: 120px"><a href="javascript:void(0)">
                                    活动推广文字广告</a></li>
                                <li onclick="movearea(this,'moveareav1')" style="width: 132px"><a href="javascript:void(0)">
                                    活动推广幻灯片区域</a></li>
                                <li onclick="movearea(this,'moveareav1')" style="width: 104px"><a href="javascript:void(0)">
                                    路径栏左侧代码</a></li>
                                <li onclick="movearea(this,'moveareav1')" style="width: 104px"><a href="javascript:void(0)">
                                    路径栏右侧代码</a></li>
                            </ul>
                            <div class="clear">
                            </div>
                        </div>
                    </td>
                    <td align="right">
                        <div class="con2">
                        </div>
                    </td>
                    <td class="b1_r">
                    </td>
                </tr>
            </table>
        </div>
        <div class="v1">
            <div class="do1">
                <div id="moveareav1">
                    <blockquote class="block">

                        <script type="text/javascript">
                         function check1(){
                         var strTemp="";var list=document.getElementById("pars1").getElementsByTagName("input");var list1=document.getElementById("pars1").getElementsByTagName("select");                     
                         for(var i=0;i<list.length/2;i++)
                         {
                         strTemp+=document.getElementById("pars1_"+i+"a").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars1_"+i+"b").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars1_"+i+"c").value+"知科系统参数分割符号";
                         }
                         document.getElementById("HiddenField_nav").value=strTemp;
                         }                     
                        
                        </script>

                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>网站导航：</b>
                                </td>
                                <td>
                                    <asp:Literal ID="nav" runat="server"></asp:Literal><asp:HiddenField ID="HiddenField_nav"
                                        runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit1" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit1_Click"
                                        OnClientClick="return check1()" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">

                        <script type="text/javascript">
                         function check2(){
                         var strTemp="";var list=document.getElementById("pars2").getElementsByTagName("input");var list1=document.getElementById("pars2").getElementsByTagName("select");                     
                         for(var i=0;i<list.length/2;i++)
                         {
                         strTemp+=document.getElementById("pars2_"+i+"a").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars2_"+i+"b").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars2_"+i+"c").value+"知科系统参数分割符号";
                         }
                         document.getElementById("HiddenField_subnav").value=strTemp;
                         }                     
                        
                        </script>

                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>副导航：</b>
                                </td>
                                <td>
                                    <asp:Literal ID="subnav" runat="server"></asp:Literal><asp:HiddenField ID="HiddenField_subnav"
                                        runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit2" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit2_Click"
                                        OnClientClick="return check2()" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">

                        <script type="text/javascript">
                         function check3(){
                         var strTemp="";var list=document.getElementById("pars3").getElementsByTagName("input");var list1=document.getElementById("pars3").getElementsByTagName("select");                     
                         for(var i=0;i<list.length/2;i++)
                         {
                         strTemp+=document.getElementById("pars3_"+i+"a").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars3_"+i+"b").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars3_"+i+"c").value+"知科系统参数分割符号";
                         }
                         document.getElementById("HiddenField_botmenu").value=strTemp;
                         }                     
                        
                        </script>

                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>底部导航：</b>
                                </td>
                                <td>
                                    <asp:Literal ID="botmenu" runat="server"></asp:Literal><asp:HiddenField ID="HiddenField_botmenu"
                                        runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit3" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit3_Click"
                                        OnClientClick="return check3()" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">

                        <script type="text/javascript">
                         function check4(){
                         var strTemp="";var list=document.getElementById("pars4").getElementsByTagName("input");var list1=document.getElementById("pars4").getElementsByTagName("select");                     
                         for(var i=0;i<list.length/2;i++)
                         {
                         strTemp+=document.getElementById("pars4_"+i+"a").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars4_"+i+"b").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars4_"+i+"c").value+"知科系统参数分割符号";
                         }
                         document.getElementById("HiddenField_conveniencenav").value=strTemp;
                         }                     
                        
                        </script>

                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>便民导航：</b>
                                </td>
                                <td>
                                    <asp:Literal ID="conveniencenav" runat="server"></asp:Literal><asp:HiddenField ID="HiddenField_conveniencenav"
                                        runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit4" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit4_Click"
                                        OnClientClick="return check4()" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">
                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>底部版权区域：</b>
                                </td>
                                <td>
                                    <FCKeditorV2:FCKeditor ID="copyright" runat="server" BasePath="~/s/tool/fck/" Height="300"
                                        Width="800" ToolbarSet="Edit3" FormatOutput="false" FormatSource="false" EnableSourceXHTML="false"
                                        EnableXHTML="false" EditorAreaCSS="/s/tool/fck/1.css">
                                    </FCKeditorV2:FCKeditor>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit5" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit5_Click" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">

                        <script type="text/javascript">
                         function check8(){
                         var strTemp="";var list=document.getElementById("pars8").getElementsByTagName("input");var list1=document.getElementById("pars8").getElementsByTagName("select");                     
                         for(var i=0;i<list.length/2;i++)
                         {
                         strTemp+=document.getElementById("pars8_"+i+"a").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars8_"+i+"b").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars8_"+i+"c").value+"知科系统参数分割符号";
                         }
                         document.getElementById("HiddenField_mainslide").value=strTemp;
                         }                     
                        
                        </script>

                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>首页幻灯片区域：</b>
                                </td>
                                <td>                                
                                    <asp:Literal ID="mainslide" runat="server"></asp:Literal><asp:HiddenField ID="HiddenField_mainslide"
                                        runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit8" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit8_Click"
                                        OnClientClick="return check8()" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">
                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>活动推广文字区域：</b>
                                </td>
                                <td>
                                    <FCKeditorV2:FCKeditor ID="activitytxt" runat="server" BasePath="~/s/tool/fck/" Height="300"
                                        Width="800" ToolbarSet="Edit4" FormatOutput="false" FormatSource="false" EnableSourceXHTML="false"
                                        EnableXHTML="false" EditorAreaCSS="/s/tool/fck/2.css">
                                    </FCKeditorV2:FCKeditor>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit6" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit6_Click" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">

                        <script type="text/javascript">
                         function check7(){
                         var strTemp="";var list=document.getElementById("pars7").getElementsByTagName("input");var list1=document.getElementById("pars7").getElementsByTagName("select");                     
                         for(var i=0;i<list.length/2;i++)
                         {
                         strTemp+=document.getElementById("pars7_"+i+"a").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars7_"+i+"b").value.replace(/\,/g,'').replace(/\"/g,'\'')+","+document.getElementById("pars7_"+i+"c").value+"知科系统参数分割符号";
                         }
                         document.getElementById("HiddenField_activityslide").value=strTemp;
                         }                     
                        
                        </script>

                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>活动推广幻灯片区域：</b>
                                </td>
                                <td>
                                    <asp:Literal ID="activityslide" runat="server"></asp:Literal><asp:HiddenField ID="HiddenField_activityslide"
                                        runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit7" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit7_Click"
                                        OnClientClick="return check7()" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">
                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>路径栏左侧代码：</b>
                                </td>
                                <td>
                                    <FCKeditorV2:FCKeditor ID="pathleftgg" runat="server" BasePath="~/s/tool/fck/" Height="300"
                                        Width="800" ToolbarSet="Edit4" FormatOutput="false" FormatSource="false" EnableSourceXHTML="false"
                                        EnableXHTML="false" EditorAreaCSS="/s/tool/fck/3.css" ForcePasteAsPlainText="true">
                                    </FCKeditorV2:FCKeditor>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit9" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit9_Click" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                    <blockquote class="none">
                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>路径栏右侧代码：</b>
                                </td>
                                <td>
                                    <FCKeditorV2:FCKeditor ID="pathrightgg" runat="server" BasePath="~/s/tool/fck/" Height="300"
                                        Width="800" ToolbarSet="Edit4" FormatOutput="false" FormatSource="false" EnableSourceXHTML="false"
                                        EnableXHTML="false" EditorAreaCSS="/s/tool/fck/3.css" ForcePasteAsPlainText="true">
                                    </FCKeditorV2:FCKeditor>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit10" runat="server" CssClass="but1" Text="确定保存" OnClick="ButtonSubmit10_Click" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                </div>
            </div>
        </div>
    </div>
    <%--main end--%>
    <UC:foot ID="foot1" runat="server" />
    </form>
</body>
</html>
<script>
    function DefaultTemplate()
    {
        if('<%=WMxml.GetConfig("indextype")%>'!="")
        {
            document.getElementById("DefaultTemplate1").style.display="none";
        }
        else
        {
            document.getElementById("DefaultTemplate1").style.display="";
        }
    }
    DefaultTemplate();
</script>