AppMaster.master
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:7k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Master Language="C#" AutoEventWireup="true" CodeFile="AppMaster.master.cs" Inherits="AppMaster" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  4. <head id="Head1" runat="server">
  5.   <link rel="shortcut icon" type="image/ico" href="~/favicon.ico" />
  6.   <title>两列CSS布局模板</title>
  7. </head>
  8. <body>
  9.   <form runat="server" id="mainForm">
  10.     <a href="#copy" id="skiptocontent" title="直接查看内容正文">直接查看内容正文</a><br />
  11.     <div id="sizer">
  12.       <div id="header">
  13.         <div id="headertop">
  14.           <table width="100%">
  15.             <tr>
  16.               <td width="60%">
  17.                 <div id="ownername">
  18.                   <strong><a href="http://ebdoing.zhan.cn.yahoo.com">都赢电子商务</a></strong>欢迎你的到来!
  19.                 </div>
  20.               </td>
  21.               <td width="40%" align="left">
  22.                 <div id="ownerinfo">
  23.                   <address>
  24.                     <asp:LinkButton ID="Loginlnk" runat="server" ForeColor="White" OnClick="Loginlnk_Click" Text="登录"></asp:LinkButton>
  25.                     <asp:LinkButton ID="Reglnk" runat="server" ForeColor="White" OnClick="Reglnk_Click">注册</asp:LinkButton>
  26.                     <asp:LinkButton ID="Loginoutlnk" runat="server" ForeColor="White" OnClick="Loginoutlnk_Click" Text="注销" Visible="false"></asp:LinkButton>
  27.                     <asp:LinkButton ID="Cart" runat="server" ForeColor="White" OnClick="Cart_Click" Text="购物车" Visible="false"></asp:LinkButton>
  28.                     <asp:LinkButton ID="showorder" runat="server" ForeColor="White" OnClick="showorder_Click" Style="position: static" Visible="False">查看定单</asp:LinkButton>
  29.                   </address>
  30.                 </div>
  31.               </td>
  32.             </tr>
  33.             <tr>
  34.               <td colspan="2" width="100%">
  35.                 <div id="mainmenu">
  36.                   <asp:SiteMapDataSource ID="sitemapDS" runat="server" ShowStartingNode="false" />
  37.                   <asp:Menu ID="mainMenu" runat="server" DataSourceID="sitemapDS" StaticDisplayLevels="1">
  38.                   </asp:Menu>
  39.                 </div>
  40.               </td>
  41.             </tr>
  42.             <tr>
  43.               <td style="width: 100%; vertical-align: top;">
  44.                 &nbsp;<div id="content">
  45.                   <div id="headerimgwrapper">
  46.                     <div id="headerimg">
  47.                       <%-- Leave blank. --%>
  48.                     </div>
  49.                   </div>
  50.                   <div id="copy" style="vertical-align: top">
  51.                     <asp:ContentPlaceHolder ID="phMain" runat="server">
  52.                     </asp:ContentPlaceHolder>
  53.                   </div>
  54.                 </div>
  55.               </td>
  56.               <td style="width: 100%; vertical-align: top;">
  57.                 &nbsp;<div id="contentwrapper">
  58.                   <div id="sidebar">
  59.                     <blockquote id="quote">
  60.                       <a href="http://ebdoing.zhan.cn.yahoo.com">都赢电子商务</a>公司,为你提供优质产品!<br />
  61.                       <div id="themepicker">
  62.                         选择你喜欢的主题:
  63.                         <br />
  64.                         <asp:ImageButton ID="ibTheme1" runat="server" AlternateText="Green Theme" CausesValidation="false" CommandName="green" ImageUrl="~/Assets/Images/green_theme_thumb.jpg" OnCommand="Themepicker_Command" SkinID="themethumb" TabIndex="20" ToolTip="Green theme" />&nbsp;
  65.                         <asp:ImageButton ID="ibTheme2" runat="server" AlternateText="Brown Theme" CausesValidation="false" CommandName="brown" ImageUrl="~/Assets/Images/brown_theme_thumb.jpg" OnCommand="Themepicker_Command" SkinID="themethumb" TabIndex="21" ToolTip="Brown theme" />&nbsp;
  66.                         <asp:ImageButton ID="ibTheme3" runat="server" AlternateText="Red Theme" CausesValidation="false" CommandName="red" ImageUrl="~/Assets/Images/red_theme_thumb.jpg" OnCommand="Themepicker_Command" SkinID="themethumb" TabIndex="22" ToolTip="Red theme" />
  67.                       </div>
  68.                     </blockquote>
  69.                     <div id="sidebarcontent">
  70.                       <asp:ContentPlaceHolder ID="phSidebar" runat="server">
  71.                         <h3>
  72.                           商品搜索</h3>
  73.                         <div class="sbcontentcontainer">
  74.                           <p>
  75.                             &nbsp;<asp:TextBox ID="goodsname_txt" runat="server"></asp:TextBox>
  76.                             <asp:Button ID="gosearch_btn" runat="server" OnClick="gosearch_btn_Click" TabIndex="1"
  77.                               Text="GO" />输入产品名称!
  78.                           </p>
  79.                         </div>
  80.                         <h3>
  81.                           友情链接</h3>
  82.                         <div class="sbcontentcontainer">
  83.                           <ul>
  84.                             <li><a href="http://ebdoing.zhan.cn.yahoo.com" target="_blank" title="电子商务网站">都赢电子商务</a></li>
  85.                             <li><a href="http://www.qq.com" title="腾讯QQ网站">腾讯</a></li>
  86.                             <li><a href="http://www.baidu.com" title="百度搜索引擎">百度</a></li>
  87.                             <li><a href="http://www.9sky.com" title="九天音乐网站">九天</a></li>
  88.                             <li><a href="http://www.gxa-edu.com" title="国信安教育基地">国信安</a></li>
  89.                           </ul>
  90.                         </div>
  91.                         <h3>
  92.                           产品信息</h3>
  93.                         <div class="sbcontentcontainer">
  94.                           <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" OnSelectedIndexChanged="GridView2_SelectedIndexChanged" DataKeyNames="GoodsID" Width="100%">
  95.                             <Columns>
  96.                               <asp:ImageField DataImageUrlField="GoodsLnkLogo" DataImageUrlFormatString="Image/{0}" >
  97.                               </asp:ImageField>
  98.                               <asp:ButtonField CommandName="Select" DataTextField="GoodsName" Text="选择" InsertVisible="False" />
  99.                             </Columns>
  100.                           </asp:GridView>
  101.                           <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:CartConnectionString %>"
  102.                             SelectCommand="SELECT top 5 [GoodsName], [GoodsID], [GoodsLnkLogo] FROM [tb_GoodsInfo]">
  103.                           </asp:SqlDataSource>
  104.                         </div>
  105.                       </asp:ContentPlaceHolder>
  106.                     </div>
  107.                   </div>
  108.                 </div>
  109.               </td>
  110.             </tr>
  111.             <tr>
  112.               <td colspan="2" style="height: 21px">
  113.                 <div id="footer">
  114.                   © 2007 都赢电子商务, all rights reserved.
  115.                   <a href="http://ebdoing.zhan.cn.yahoo.com" target="_blank" title="电子商务网站">都赢电子商务</a> <a href="Admin/adminlogin.aspx">管理员登录</a>
  116.                 </div>
  117.               </td>
  118.             </tr>
  119.           </table>
  120.         </div>
  121.       </div>
  122.     </div>
  123.   </form>
  124. </body>
  125. </html>