⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 left.ascx

📁 网开商城系统网开商城系统网开商城系统网开商城系统
💻 ASCX
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="left.ascx.cs" Inherits="mycontrols_left" %>


<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table">
      <tr>
        <td valign="top">
        <%if (Session["People"]!=null)
          { %>
        <table width="94%" border="0" cellspacing="0" cellpadding="4" >
          <tr>
            <td colspan="3" align="center" class="hei12"><img src="images/login.jpg" width="93" height="34" /></td>
          </tr>
          <tr>
            <td align="right" class="hei12" style="width: 387px">欢迎用户</td>
            <td colspan="2" align="left" class="hei12"><%=Session["People"].ToString()%>
                &nbsp;</td>
          </tr>
          <tr>
            <td align="right" class="hei12" style="width: 387px; height: 27px">
                <a href="Mycategory.aspx">看购物车</a></td>
            <td colspan="2" align="left" class="hei12" style="height: 27px"><a href="Myorder.aspx">查看订单</a></td>
          </tr>
          <tr>
            <td align="right" class="hei12" style="width: 387px; height: 32px;">
                  <a href="MyInfor.aspx">修改资料</a></td>
     
            <td align="left" valign=middle class="hei12" style="height: 32px; width: 517px;">
                 <a href="Changepassword.aspx">修改密码</a></td>
          </tr>
           <tr>
            <td align="right" class="hei12" style="width: 387px; height: 32px;">
               <a href="outlogin.aspx"> 退出登录</a></td>
            <td colspan="2" class="hei12" align=left style="height: 32px"></td>
          </tr> </table>
           <%
          }
          else
          {%>
          
        
        <table width="94%" border="0" cellspacing="0" cellpadding="4"  >
          <tr>
            <td colspan="3" align="left" class="hei12"><img src="images/login.jpg" width="93" height="34" /></td>
          </tr>
          <tr>
            <td width="130" align="center" class="hei12" style="width: 130px; height: 32px;">
                用户:</td>
            <td colspan="2" align="left" class="hei12" style="height: 32px">
            <asp:TextBox ID="username" runat="server" CssClass="login"  dataType="Require" msg="用户名不能为空"></asp:TextBox></td>
          </tr>
          <tr>
            <td align=center class="hei12" style="width: 130px; height: 27px">密码:</td>
            <td colspan="2" align="left" class="hei12" style="height: 27px"><asp:TextBox ID="password" runat="server" CssClass="login"  dataType="Require" msg="密码不能为空" TextMode="Password"></asp:TextBox></td>
          </tr>
          <tr>
            <td width="130" align="center" class="hei12" style="width: 130px; height: 32px;">验证:</td>
            <td width="50" align="left" class="hei12" style="height: 32px"><asp:TextBox ID="checkcode" runat="server" CssClass="code"  dataType="Require" msg="验证码不能为空"  ></asp:TextBox></td>
            <td align="left" valign=middle class="hei12" style="height: 32px; width: 517px;"><span class="hei12" style="height: 32px"><img src="images.aspx" id="MzImgExpPwd" name="MzImgExpPwd"   onclick="document.getElementById('MzImgExpPwd').src='images.aspx?temp='+ (new Date().getTime().toString(36)); return false" alt="请输入验证码,看不清楚?点击换一个" height="22" width="55" /></span></td>
          </tr>
           <tr>
            <td align="right" class="hei12" style="width: 63px; height: 32px;">
                <asp:Button ID="Button1" runat="server" Text="登陆" CssClass="submit" OnClick="Button1_Click1" OnClientClick="return Validator.Validate(form1,2);"   /></td>
            <td colspan="2" class="hei12" align=left style="height: 32px">&nbsp;<asp:Button ID="Button2" runat="server" Text="注册"  CssClass="submit" OnClick="Button2_Click1"   /></td>
          </tr>
        &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;</table>
          <%} %>
        </td>
      </tr>
      
    </table>
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="8" class="hei12"><img src="images/Category.jpg" width="168" height="36" /></td>
        </tr>
        <tr>
          <td height="7">
          <asp:DataList ID="Category" runat="server" Width="165px" RepeatColumns="2" RepeatDirection="Horizontal">
          <HeaderTemplate> 
          <table width="88%" height="20" border="0" cellpadding="0" cellspacing="0"><tr></HeaderTemplate>
            <ItemTemplate>
            <td style="color:Gray; line-height:3.0; font-size:12px; text-align:center; font-weight:bold;">
                <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl='<%# String.Format("~/ClassBig.aspx?BigClass={0}",Eval("BigClass")) %>' ForeColor=gray><%#Eval("BigClass") %></asp:LinkButton>

            
            
            </td></ItemTemplate>
          <FooterTemplate></tr></table></FooterTemplate>
           </asp:DataList>
          </td>
        </tr>
      </table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -