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

<%@ 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;参数设置
    </asp:Label>
    <UC:head ID="head2" 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="config_index_1.aspx"
                                    onfocus="this.blur()">参数设置</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">
                        <table border="0" cellpadding="0" cellspacing="0" class="table1">
                            <tr>
                                <td class="tt">
                                    <b>LOGO图片地址：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="logo" runat="server" CssClass="inp1" Width="600" MaxLength="500"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>头部广告150*70：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="headgg" runat="server" CssClass="inp1" Width="600" Height="80" TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>页面广告136*231：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="gg1" runat="server" CssClass="inp1" Width="600" Height="80" TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>页面广告136*190：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="gg2" runat="server" CssClass="inp1" Width="600" Height="80" TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>焦点文字广告：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="focusgg" runat="server" CssClass="inp1" Width="600" Height="150"
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>首页自定区域(页面上部)：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexcustom1" runat="server" CssClass="inp1" Width="600" Height="550"
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>首页自定区域(页面下部)：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexcustom2" runat="server" CssClass="inp1" Width="600" Height="450"
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>首页多标签新闻栏目：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexnewstagids" runat="server" CssClass="inp1" Width="300" MaxLength="50" ToolTip="最多只能填写五个栏目"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>首页新闻栏目：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexnewsids" runat="server" CssClass="inp1" Width="300" MaxLength="200" onblur="if(this.value.indexOf('|')>0||this.value.indexOf('#')>0)document.getElementById('indexnewstabidsTR').style.display='none';"></asp:TextBox>
                                </td>
                            </tr>
                             <tr id="indexnewstabidsTR">
                                <td class="tt">
                                    <b>首页选项卡新闻栏目：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexnewstabids" runat="server" CssClass="inp1" Width="300" MaxLength="50"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt"><script>if(document.getElementById('indexnewsids').value.indexOf('|')>0||document.getElementById('indexnewsids').value.indexOf('#')>0)document.getElementById('indexnewstabidsTR').style.display='none';</script>
                                    <b>首页调用DZ论坛帖子：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexdzbbs" runat="server" CssClass="inp1" Width="600" Height="300"
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>首页新闻快讯信息控制：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexnewsmainclassid" runat="server" CssClass="inp1" Width="600" MaxLength="50" ToolTip="多个新闻类别编号请用英文逗号隔开"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>全站头部公共区域：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexcustomsitehead" runat="server" CssClass="inp1" Width="600" Height="450"
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>首页是否开启登录弹框：</b>
                                </td>
                                <td>
                                  <asp:DropDownList ID="indexloginmodalwindow" runat="server" Width="200">
                                    <asp:ListItem Value="1">开启</asp:ListItem>
                                    <asp:ListItem Value="0">关闭</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>首页显示黄页推荐数量：</b>
                                </td>
                                <td>
                                    <asp:TextBox ID="indexcompanytjtotal" runat="server" CssClass="inp1" Width="100" MaxLength="3"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    <b>首页频道区域显示开关：</b>
                                </td>
                                <td>
                                    <asp:DropDownList ID="companySwitch" runat="server" Width="140" style="color:#333">
                                        <asp:ListItem Value="1">显示“黄页推荐”</asp:ListItem>
                                        <asp:ListItem Value="0">不显示“黄页推荐”</asp:ListItem>
                                    </asp:DropDownList> 
                                    <asp:DropDownList ID="shopSwitch" runat="server" Width="140" style="color:#333">
                                        <asp:ListItem Value="1">显示“店铺推荐”</asp:ListItem>
                                        <asp:ListItem Value="0">不显示“店铺推荐”</asp:ListItem>
                                    </asp:DropDownList>                                    
                                    <asp:DropDownList ID="tuanSwitch" runat="server" Width="140" style="color:#333">
                                        <asp:ListItem Value="1">显示“团购热卖”</asp:ListItem>
                                        <asp:ListItem Value="0">不显示“团购热卖”</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:DropDownList ID="mallSwitch" runat="server" Width="175" style="color:#333">
                                        <asp:ListItem Value="5">显示“同城网购”，显示一行</asp:ListItem>
                                        <asp:ListItem Value="10">显示“同城网购”，显示二行</asp:ListItem>
                                        <asp:ListItem Value="15">显示“同城网购”，显示三行</asp:ListItem>
                                        <asp:ListItem Value="0">不显示“同城网购”</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="tt">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSubmit1" runat="server" CssClass="but1" Text="保存参数" OnClick="ButtonSubmit1_Click" />
                                </td>
                            </tr>
                        </table>
                    </blockquote>
                </div>
            </div>
        </div>
    </div>
    <%--main end--%>
    <UC:foot ID="foot1" runat="server" />
    </form>
</body>
</html>
