<%@ page language="C#" autoeventwireup="true" inherits="CustomModuleAdd, LebiMall" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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><%=model.Title %>-用户自定义模块</title>
    <meta name="description" content=<%=model.Description %> />
    <meta name="keywords" content=<%=model.Keywords %> />
    <meta name="generator" content="LBMall 3.0.0" />
    <script type="text/javascript" src="images/js/shopjs.js"></script>
    <link href="images/css/css.css" rel="stylesheet" type="text/css">
    <link href="images/css/shopcss.css" rel="stylesheet" type="text/css" />
    <script>
        function search2(){
            var texts2=document.getElementById("ser2").value;
            var select_v2=document.getElementById("Select3").value;
            window.location="list.aspx?tid="+select_v2+"&titlec="+escape(texts2);
        }
    </script>
</head>
<body>

<div id="top-menu02">
        <div id="top-menu">
            <div class="right">
                <script type="text/javascript">indexhead();</script>
            </div>
        </div>
    </div>
    <div id="top">
        <div id="logo">
            <a href="http://<%=Request.Url.Host %><%=model.WebPath %>/">
                <img src="Upload/WebAdminImages/<%=model.Logoimg %>" border="0" /></a></div>
    </div>
    <div id="sp-menu">
        <ul>
            <li><a href="http://<%=Request.Url.Host %><%=model.WebPath %>/">首页</a></li>
            <%for (int i = 0; i < ds_tab.Tables[0].Rows.Count; i++){ %>
            <li><%if (model.Tab == "1")
                  { %>
                <a href="<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>/" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%}else{%>
                <a href="TopTab.aspx?type=<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%} %></li>
            <%} %>
            <li><a href="http://<%=Request.Url.Host %><%=model.WebPath %>/News/" target="_blank">资讯</a></li>
        </ul>
        <p>
            <span><a href="ShopCoupon.aspx">优惠券</a></span></p>
    </div>

    <div id="contenter2">
        <div id="contenter">
            <form id="form1" runat="server">
                <div class="mode_body">
                    <div class="mode_td">
                        <div class="mode_left">
                            模块名称：</div>
                        <div class="mode_right">
                            <asp:TextBox runat="server" ID="txtName" CssClass="rstext"></asp:TextBox><asp:RequiredFieldValidator
                                ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtName"></asp:RequiredFieldValidator></div>
                        <div style="color: #404040; font-size: 12px; padding-top: 4px;">
                            汉字推荐填写5个,英文推荐10个</div>
                    </div>
                    <div class="mode_td">
                        <div class="mode_left">
                            模块内容：</div>
                        <div class="mode_right">
                            <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/images/js/fckeditor/"
                                ToolbarSet="Mall" Height="200px" Width="400px">
                            </FCKeditorV2:FCKeditor>
                        </div>
                    </div>
                    <div style="clear: both; margin-left: 65px;">
                        <asp:Button runat="server" ID="btnAdd" CssClass="btn_submit" Text="添加" OnClick="btnAdd_Click" />
                        <input type="button" value="返回" class="btn_cancel" onclick="javascript:window.history.back();" /></div>
                </div>
            </form>
            <div class="both">
            </div>
                 <div id="footer">
                    <div id="copyright">
                        <div class="search">
                            <div class="search-left">
                                <div class="search-left-title">
                                    搜索：</div>
                                <div class="search-left-form">
                                    <input type="text" runat="server" id="ser2" size="30" /></div>
                                <div class="search-left-list">
                                    <select id="Select3" runat="server">
                                    </select>
                                </div>
                                <div class="search-left-button">
                                    <img src="images/search-buttom.gif" width="60" height="20" onclick="search2()" /></div>
                            </div>
                            <div class="search-right">
                                <div runat=server id="div_s2"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="copyright" runat="server" id="copr"></div>
        </div>
    </div>
 </body>
</html>
