<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_TemplatePageSet, HoWaveVGO" title="Untitled Page" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script src="Js/tabpane.js" type="text/javascript"></script>
<%--<style type="text/css">
.tab_tab{
    width:100%;
}
.tab_tab tr th{
    text-align:right;
    width:200px;
    background-color:#EEF4F9;
}
.tab_tab tr td{
    text-align:left;
}
</style>--%>
<script language="javascript">
function OpenFileList(boj){
    
    window.open("Admin_PageFileList.aspx?obj=ctl00_ContentPlaceHolder1_FormView1_"+boj,"","width=500px; height=350px; help=no; scroll=no; status=no; edge=sunken;");
}
</script>
 <asp:FormView ID="FormView1" runat="server" DefaultMode="Edit" DataSourceID="ObjectDataSource1" Width="100%" OnItemUpdated="FromView1_ItemUpdated">
     <EditItemTemplate>
         <div class="tab-page" id="labeltempate_module">
          <script type="text/javascript">
                   var tabPane1 = new WebFXTabPane( document.getElementById( "labeltempate_module" ), 1 )
                </script>
                <div class="tab-page" id="tem_passport">
                    <h2 class="tab">通行证</h2>
                    <script type=text/javascript>
                       tabPane1.addTabPage( document.getElementById( "tem_passport" ) );
                    </script>
                    <table class="tableForm">
                        <tr>
                            <th>注册页模板：</th>
                            <td><asp:TextBox ID="UserReg" runat="server" Text='<%# Bind("UserReg") %>' Width="300px" />
                            <input name="UserRegbutton" type="button" id="UserRegbutton" value="浏 览" onclick="return OpenFileList('UserReg')" />
                            </td>
                        </tr>
                        <tr>
                            <th>登录页模板：</th>
                            <td><asp:TextBox ID="Login" runat="server" Text='<%# Bind("Login") %>' Width="300px"/>
                            <input name="Loginbutton" type="button" id="Button1" value="浏 览" onclick="return OpenFileList('Login')" />
                            </td>
                        </tr>
                    </table>
               
                </div>
                <div class="tab-page" id="tem_index">
                   <h2 class="tab">商城首页</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_index" ) );
                   </script>
                    <table class="tableForm">
                        <tr>
                            <th>商城首页模板：</th>
                            <td><asp:TextBox ID="Index" runat="server" Text='<%# Bind("Index") %>' Width="300px" />
                            <input name="Indexbutton" type="button" id="Button2" value="浏 览" onclick="return OpenFileList('Index')" />
                            </td>
                        </tr>                       
                    </table>                 
                   
                </div>
                <div class="tab-page" id="tem_special">
                   <h2 class="tab">专题模板</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_special" ) );
                   </script> 
                     <table class="tableForm">
                        <tr>
                            <th>专题页模板：</th>
                            <td><asp:TextBox ID="SpecialDefault" runat="server" Text='<%# Bind("SpecialDefault") %>' Width="300px" />
                            <input name="Specialbutton" type="button" id="Specialbutton" value="浏 览" onclick="return OpenFileList('SpecialDefault')" />
                            </td>
                        </tr>                                             
                    </table>                 
                </div>
                 <div class="tab-page" id="tem_shop">
                   <h2 class="tab">店铺模板</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_shop" ) );
                   </script> 
                    <table class="tableForm">
                        <tr>
                            <th>商品介绍模板：</th>
                            <td><asp:TextBox ID="ShopIntro" runat="server" Text='<%# Bind("ShopIntro") %>' Width="300px" />
                            <input name="ShopIntrobutton" type="button" id="Button11" value="浏 览" onclick="return OpenFileList('ShopIntro')" />
                            </td>
                        </tr>  
                         <tr>
                            <th>信用评价模板：</th>
                            <td><asp:TextBox ID="ShopReview" runat="server" Text='<%# Bind("ShopReview") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button12" value="浏 览" onclick="return OpenFileList('ShopReview')" />
                            </td>
                        </tr> 
                        <tr>
                            <th>全部留言：</th>
                            <td><asp:TextBox ID="ShopAllMessage" runat="server" Text='<%# Bind("ShopAllMessage") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button32" value="浏 览" onclick="return OpenFileList('ShopAllMessage')" />
                            </td>
                        </tr>
                         <tr>
                            <th>普通店铺模板：</th>
                            <td><asp:TextBox ID="CommonShopIndex" runat="server" Text='<%# Bind("CommonShopIndex") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button26" value="浏 览" onclick="return OpenFileList('CommonShopIndex')" />
                            </td>
                        </tr>
                         <tr>
                            <th>高级店铺模板：</th>
                            <td><asp:TextBox ID="SeniorShopIndex" runat="server" Text='<%# Bind("SeniorShopIndex") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button27" value="浏 览" onclick="return OpenFileList('SeniorShopIndex')" />
                            </td>
                        </tr>                                                                   
                    </table>                   
                </div>
                 <div class="tab-page" id="tem_product">
                   <h2 class="tab">商品信息</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_product" ) );
                   </script> 
                   <table class="tableForm">
                        <tr>
                            <th>商品详细信息模板：</th>
                            <td><asp:TextBox ID="Auction" runat="server" Text='<%# Bind("Auction") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button4" value="浏 览" onclick="return OpenFileList('Auction')" />
                            </td>
                        </tr>
                        <tr>
                            <th>商品详细信息预览模板：</th>
                            <td><asp:TextBox ID="PublishPreview" runat="server" Text='<%# Bind("PublishPreview") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button23" value="浏 览" onclick="return OpenFileList('PublishPreview')" />
                            </td>
                        </tr>   
                         <tr>
                            <th>商品出售选择模板：</th>
                            <td><asp:TextBox ID="Sell" runat="server" Text='<%# Bind("Sell") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button3" value="浏 览" onclick="return OpenFileList('Sell')" />
                            </td>
                        </tr>
                         <tr>
                            <th>商品比较页模板：</th>
                            <td><asp:TextBox ID="AuctionCompare" runat="server" Text='<%# Bind("AuctionCompare") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button5" value="浏 览" onclick="return OpenFileList('AuctionCompare')" />
                            </td>
                        </tr> 
                         <tr>
                            <th>求购信息模板：</th>
                            <td><asp:TextBox ID="Browseoffer" runat="server" Text='<%# Bind("Browseoffer") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button13" value="浏 览" onclick="return OpenFileList('Browseoffer')" />
                            </td>
                        </tr>
                         <tr>
                            <th>商品分类选择模板：</th>
                            <td><asp:TextBox ID="AuctionClassChoose" runat="server" Text='<%# Bind("AuctionClassChoose") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button28" value="浏 览" onclick="return OpenFileList('AuctionClassChoose')" />
                            </td>
                        </tr> 
                        <tr>
                            <th>商品发布页模板：</th>
                            <td><asp:TextBox ID="AuctionSaleProduct" runat="server" Text='<%# Bind("AuctionSaleProduct") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button29" value="浏 览" onclick="return OpenFileList('AuctionSaleProduct')" />
                            </td>
                        </tr>  
                        <tr>
                            <th>商品编辑页模板：</th>
                            <td><asp:TextBox ID="AuctionProductEdit" runat="server" Text='<%# Bind("AuctionProductEdit") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button30" value="浏 览" onclick="return OpenFileList('AuctionProductEdit')" />
                            </td>
                        </tr>
                                                               
                    </table> 
                                     
                </div>
                 <div class="tab-page" id="tem_class">
                   <h2 class="tab">分类信息</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_class" ) );
                   </script> 
                    <table class="tableForm">
                        <tr>
                            <th>商品分类信息模板：</th>
                            <td><asp:TextBox ID="CategoryList" runat="server" Text='<%# Bind("CategoryList") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button6" value="浏 览" onclick="return OpenFileList('CategoryList')" />
                            </td>
                        </tr>  
                         <tr>
                            <th>商品分类列表商品模板：</th>
                            <td><asp:TextBox ID="ShopCategory" runat="server" Text='<%# Bind("ShopCategory") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button7" value="浏 览" onclick="return OpenFileList('ShopCategory')" />
                            </td>
                        </tr>
                        <tr>
                            <th>店铺大厅列表模板：</th>
                            <td><asp:TextBox ID="ShopIndex" runat="server" Text='<%# Bind("ShopIndex") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button14" value="浏 览" onclick="return OpenFileList('ShopIndex')" />
                            </td>
                        </tr>
                         <tr>
                            <th>商城店铺分类列表模板：</th>
                            <td><asp:TextBox ID="ShopList" runat="server" Text='<%# Bind("ShopList") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button8" value="浏 览" onclick="return OpenFileList('ShopList')" />
                            </td>
                        </tr>                                           
                    </table>
                                     
                </div>
                <div class="tab-page" id="tem_member">
                   <h2 class="tab">会员中心</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_member" ) );
                   </script> 
                    <table class="tableForm">
                        <tr>
                            <th>会员中心柜架页模板：</th>
                            <td><asp:TextBox ID="MemberIndex" runat="server" Text='<%# Bind("MemberIndex") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button15" value="浏 览" onclick="return OpenFileList('MemberIndex')" />
                            </td>
                        </tr>                         
                                                                  
                    </table>                 
                </div>
                <div class="tab-page" id="tem_buy">
                   <h2 class="tab">订购流程</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_buy" ) );
                   </script> 
                   <table class="tableForm">
                        <tr>
                            <th>商品购买页面模板：</th>
                            <td><asp:TextBox ID="ShopBuy" runat="server" Text='<%# Bind("ShopBuy") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button9" value="浏 览" onclick="return OpenFileList('ShopBuy')" />
                            </td>
                        </tr>  
                         <tr>
                            <th>商品购买反馈结果模板：</th>
                            <td><asp:TextBox ID="ShopBuyResult" runat="server"  Text='<%# Bind("ShopResult") %>'  Width="300px" />
                            <input name="Loginbutton" type="button" id="Button10" value="浏 览" onclick="return OpenFileList('ShopBuyResult')" />
                            </td>
                        </tr>
                                                                  
                    </table>
                                     
                </div>
                <div class="tab-page" id="tem_payonline">
                   <h2 class="tab">搜索页模板</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_payonline" ) );
                   </script> 
                    <table class="tableForm">
                        <tr>
                            <th>商品搜索页面模板：</th>
                            <td><asp:TextBox ID="SearchProduct" runat="server" Text='<%# Bind("SearchProduct") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button16" value="浏 览" onclick="return OpenFileList('SearchProduct')" />
                            </td>
                        </tr> 
                         <tr>
                            <th>店铺搜索页面模板：</th>
                            <td><asp:TextBox ID="SearchShop" runat="server" Text='<%# Bind("SearchShop") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button33" value="浏 览" onclick="return OpenFileList('SearchShop')" />
                            </td>
                        </tr>
                       
                                                                  
                    </table>                 
                </div>
                <div class="tab-page" id="tem_identify">
                   <h2 class="tab">认证页模板</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_identify" ) );
                   </script> 
                    <table class="tableForm">
                        <tr>
                            <th>认证方式选择模板：</th>
                            <td><asp:TextBox ID="IdentifyChoose" runat="server" Text='<%# Bind("IdentifyChoose") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button18" value="浏 览" onclick="return OpenFileList('IdentifyChoose')" />
                            </td>
                        </tr> 
                         <tr>
                            <th>认证协议模板：</th>
                            <td><asp:TextBox ID="IdentifyAgree" runat="server" Text='<%# Bind("IdentifyAgree") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button19" value="浏 览" onclick="return OpenFileList('IdentifyAgree')" />
                            </td>
                        </tr> 
                         <tr>
                            <th>个人身份认证申请模板：</th>
                            <td><asp:TextBox ID="IdentifyUser" runat="server" Text='<%# Bind("IdentifyUser") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button20" value="浏 览" onclick="return OpenFileList('IdentifyUser')" />
                            </td>
                        </tr> 
                         <tr>
                            <th>企业认证申请模板：</th>
                            <td><asp:TextBox ID="IdentifyCompany" runat="server" Text='<%# Bind("IdentifyCompany") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button21" value="浏 览" onclick="return OpenFileList('IdentifyCompany')" />
                            </td>
                        </tr> 
                        <tr>
                            <th>认证资料提交成功模板：</th>
                            <td><asp:TextBox ID="IdentifySuccess" runat="server" Text='<%# Bind("IdentifySuccess") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button22" value="浏 览" onclick="return OpenFileList('IdentifySuccess')" />
                            </td>
                        </tr> 
                        <tr>
                            <th>认证提示页面模板：</th>
                            <td><asp:TextBox ID="IdentifyAlert" runat="server" Text='<%# Bind("IdentifyAlert") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button31" value="浏 览" onclick="return OpenFileList('IdentifyAlert')" />
                            </td>
                        </tr>
                       
                                                                  
                    </table>                 
                </div>
                <div class="tab-page" id="tem_msg">
                   <h2 class="tab">文章模板</h2>
                   <script type="text/javascript">
                       tabPane1.addTabPage( document.getElementById( "tem_msg" ) );
                   </script>
                   <table class="tableForm">
                        <tr>
                            <th>文章游览页面模板：</th>
                            <td><asp:TextBox ID="Article" runat="server" Text='<%# Bind("Article") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button17" value="浏 览" onclick="return OpenFileList('Article')" />
                            </td>
                        </tr>
                        <tr>
                            <th>文章列表页面模板：</th>
                            <td><asp:TextBox ID="ArticleList" runat="server" Text='<%# Bind("ArticleList") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button25" value="浏 览" onclick="return OpenFileList('ArticleList')" />
                            </td>
                        </tr>
                        <tr>
                            <th>公告游览页面模板：</th>
                            <td><asp:TextBox ID="Announce" runat="server" Text='<%# Bind("Announce") %>' Width="300px" />
                            <input name="Loginbutton" type="button" id="Button24" value="浏 览" onclick="return OpenFileList('Announce')" />
                            </td>
                        </tr>  
                       
                                                                  
                    </table> 
                                     
                </div>
               
             </div>  
             <div style="text-align:center;">
                 <asp:Button ID="UpdatePageSetButton" runat="server" CommandName="update" Text="保存修改" />&nbsp;
                 <input type="button" onclick="location.href='Admin_ManageTemplate.aspx'" value="取消" />
             </div>
     </EditItemTemplate>
 </asp:FormView>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetSiteConfig"
        TypeName="SetupBLL" UpdateMethod="UpdateTemplateSet"  >
        <UpdateParameters>
            <asp:Parameter Name="UserReg" Type="String" />
            <asp:Parameter Name="Login" Type="String" />
            <asp:Parameter Name="Password" Type="String" />
            <asp:Parameter Name="Auction" Type="String" />
            <asp:Parameter Name="Sell" Type="String" />
            <asp:Parameter Name="AuctionCompare" Type="String" />
            <asp:Parameter Name="CategoryList" Type="String" />
            <asp:Parameter Name="ShopCategory" Type="String" />
            <asp:Parameter Name="ShopList" Type="String" />
            <asp:Parameter Name="ShopBuy" Type="String" />
            <asp:Parameter Name="ShopIndex" Type="String" />
            <asp:Parameter Name="Index" Type="String" />
            <asp:Parameter Name="SpecialDefault" Type="String" />
            <asp:Parameter Name="Browseoffer" Type="String" />
            <asp:Parameter Name="SearchProduct" Type="String" />
            <asp:Parameter Name="Article" Type="String" />
            <asp:Parameter Name="ArticleList" Type="String" />
            <asp:Parameter Name="ShopReview" Type="String" />
            <asp:Parameter Name="ShopIntro" Type="String" />
            <asp:Parameter Name="MemberIndex" Type="String" />
            <asp:Parameter Name="IdentifySuccess" Type="String" />
            <asp:Parameter Name="IdentifyCompany" Type="String" />
            <asp:Parameter Name="IdentifyUser" Type="String" />
            <asp:Parameter Name="IdentifyAgree" Type="String" />
            <asp:Parameter Name="IdentifyChoose" Type="String" />
            <asp:Parameter Name="ShopResult" Type="String" />
            <asp:Parameter Name="PublishPreview" Type="String" />
            <asp:Parameter Name="Announce" Type="String" />
            <asp:Parameter Name="CommonShopIndex" Type="String" />
            <asp:Parameter Name="SeniorShopIndex" Type="String" />
            <asp:Parameter Name="AuctionClassChoose" Type="String" />
            <asp:Parameter Name="AuctionSaleProduct" Type="String" />
            <asp:Parameter Name="AuctionProductEdit" Type="String" />
            <asp:Parameter Name="IdentifyAlert" Type="String" />
            <asp:Parameter Name="ShopAllMessage" Type="String" />
            <asp:Parameter Name="SearchShop" Type="String" />
        </UpdateParameters>
    </asp:ObjectDataSource>
               
</asp:Content>

