Web/Controls/StarShop.ascx

(完整代码) 3KB

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StarShop.ascx.cs" Inherits="MrZeng.Web.Controls.StarShop" %>
<div style="width:202px;">
     <div style="width:100%; height:31px; background-image: url('../Images/Common_Top.jpg');">
           <div style="padding-top:5px; padding-left:10px; text-align:left;">
                <span style="color:#CC0033; font-size:18px; font-weight:bold;">明星店铺</span>
           </div>
     </div>
     <div style="width:100%; background-image: url('../Images/Common_bg.jpg');">
          <div style="width:100%; text-align:center;">
               <img src="../Images/Span1.jpg" alt="" width="190px" height="6px" />
          </div>
          <div style="width:100%; text-align:center;">
              <asp:ImageButton ID="ImageBtnCent" runat="server" ImageUrl="~/Images/Sort1.jpg" 
                  onclick="ImageBtnCent_Click" />
              &nbsp;&nbsp;
              <asp:ImageButton ID="ImageBtnPrestige" runat="server" 
                  ImageUrl="~/Images/Sort2.jpg" onclick="ImageBtnPrestige_Click" />
          </div>
          <div style="width:100%;">
              <asp:DataList ID="DLStarShop" runat="server" DataKeyField="ID" 
                  RepeatColumns="1" RepeatDirection="Vertical" Font-Size="12px" 
                  ForeColor="#333333" onitemcommand="DLStarShop_ItemCommand">
                  <ItemTemplate>
                      <div style="float:left;width:100%">
                           <div style="width:100%; text-align:center;">
                               <img src="../Images/Span1.jpg" alt="" width="190px" height="6px" />
                           </div>
                           <div style="width:100%; padding-top:2px;">
                               <div style="width:70px; height:70px; float:left; display:inline; padding-left:3px;">
                                    <asp:LinkButton ID="LinkBtnDetails" runat="server" CommandName="details">
                                        <img alt='<%# GetSubName(Eval("ShopName")) %>' src='..<%# Eval("ImageUrl")%>' width="70px" height="70px" style="border:0px;" />
                                    </asp:LinkButton>
                               </div>
                               <div style="width:120px; float:right; display:inline; padding-right:3px; padding-left:3px; height:70px;">
                                    <div style="width:100%;">
                                         <asp:LinkButton ID="LinkBtnDetails2" runat="server" CommandName="details" Font-Overline="false" ForeColor="#333333">
                                            <asp:Label ID="ShopName" runat="server" Text='<%# GetSubName(Eval("ShopName")) %>' Font-Bold="true" ></asp:Label>
                                         </asp:LinkButton>
                                    </div>
                                    <div style="width:100%; text-align:left; padding-top:2px;">
                                         信誉度:<img alt="" src='../<%# GetPrestige(Eval("PrestigeCount")) %>' />
                                    </div>
                                    <div style="width:100%; text-align:left; padding-top:2px;">
                                         点击率:<asp:Label ID="Label1" runat="server" Text='<%# Eval("ClickCount") %>'></asp:Label>
                                    </div>
                                    <div style="width:100%; text-align:left; padding-top:2px;">
                                         <asp:LinkButton ID="LinkButton1" runat="server" CommandName="details" Font-Overline="false" ForeColor="#333333">进去看看>></asp:LinkButton>
                                    </div>
                               </div>
                           </div>
                      </div>
                  </ItemTemplate>
             </asp:DataList>
         </div>
     </div>
     <div style="width:100%;"><img src="../Images/Common_bottom.jpg" alt="" /></div>
</div>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。