<%@ Page Language="C#" AutoEventWireup="true" CodeFile="show.aspx.cs" Inherits="item_show" %>

<%@ Register src="../inClude/bottom.ascx" tagname="bottom" tagprefix="uc1" %>
<%@ Register src="../inClude/head.ascx" tagname="head" tagprefix="uc2" %>
<!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></title>
    <link rel="Shortcut Icon" href="/Images/favicon.ico" />
    <link href="../inClude/style.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery.min.js" type="text/javascript"></script>
    <script src="/Scripts/all.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <uc2:head ID="head1" runat="server" />
    <div class="height10px"></div>    
   <div class="divWidth">
        <div class="divHuiLine" style="padding:12px 2px 6px 10px;">
            <table cellpadding="0" cellspacing="0" border="0" align="center">
                <tr style="padding:0px;">
                    <asp:Literal ID="classTD" runat="server" ViewStateMode="Disabled"></asp:Literal>
                </tr>
            </table>
        </div>
    </div>
    <div class="height10px"></div>
    <div class="divWidth">
        <div style="overflow: hidden; text-overflow: ellipsis;white-space: nowrap;">
            <asp:Literal ID="navClass" runat="server" ViewStateMode="Disabled"></asp:Literal>            
        </div>
    </div>
    <div class="divWidth">
        <div style="text-align:left; font-size:18px; color:Black; height:50px; line-height:50px;"><asp:Literal ID="tbTitle" runat="server" ViewStateMode="Disabled"></asp:Literal></div>
    </div>

    <div class="divWidth">
        <div class="divLeft" style="background-image:url('/images/linebg.gif'); background-repeat:repeat; width:580px;">
            <div style="padding:10px; width:560px; text-align:center;">
                <asp:Literal ID="pic" runat="server" ViewStateMode="Disabled"></asp:Literal>
            </div>
        </div>

        <div class="divRight" style="width:340px;">
            <div>
                <table cellspacing="0" cellpadding="0" border="0" class="showTable">
                    <tr>
                        <td><img src="../images/buy1.gif" alt="购买" /></td>
                        <td><img src="../images/like2.gif" alt="喜欢" /></td>
                        <td><img src="../images/share2.gif" alt="分享" /></td>
                    </tr>
                </table>
            </div>
            <div style="height:20px;"></div>
            <div>
                <ul style="line-height:38px;">
                    <li>价　格：<span style="color:#333333; font-size:22px;"><asp:Literal ID="tbPrice" runat="server" ViewStateMode="Disabled"></asp:Literal></span></li>
                    <li>区　域：<asp:Literal ID="location" runat="server" ViewStateMode="Disabled"></asp:Literal></li>
                    <li>月销售：<span style="color:#cc0000; font-weight:bold;"><asp:Literal ID="buyNums" runat="server" ViewStateMode="Disabled"></asp:Literal></span> 件</li>
                    <li>信　用：<asp:Literal ID="shopStar" runat="server" ViewStateMode="Disabled"></asp:Literal></li>
                    <li class="height10px"></li>
                    <li style="text-align:left; height:60px; line-height:60px;"><asp:Literal ID="buy" runat="server" ViewStateMode="Disabled"></asp:Literal></li>
                    <li><!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare">
        <a class="bds_qzone"></a>
        <a class="bds_tsina"></a>
        <a class="bds_tqq"></a>
        <a class="bds_renren"></a>
        <span class="bds_more">更多</span>
    </div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;mini=1&amp;uid=612209" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END --></li>
                </ul>
            </div>
        </div>        
    </div>
    <div class="divWidth">
        <div style="height:38px; line-height:38px;">标签：<asp:Literal ID="bqClass" 
                runat="server" ViewStateMode="Disabled"></asp:Literal></div>
    </div>
    <div class="divWidth" style="height:50px; line-height:50px; color:Black; font-size:14px; font-weight:bold;">
        喜欢此宝贝的还喜欢：
    </div>
    <div class="divWidth">
        <asp:Repeater ID="RepeaterList" runat="server" ViewStateMode="Disabled">
            <HeaderTemplate>
                <table border="0" cellpadding="0" cellspacing="0">
            </HeaderTemplate>
            <ItemTemplate>
                <asp:PlaceHolder ID="PlaceHolder1" runat="server" Visible='<%# (Container.ItemIndex + 1) % 4 ==1 %>'>
                    <tr>
                </asp:PlaceHolder>
                <td onmouseover="this.className='divRedLine'" onmouseout="this.className='divOutLine'"
                    valign="top" class="divOutLine">
                    <ul>
                        <li style="text-align:center;"><a href="/show/<%# Eval("num_iid").ToString().Trim() %>.htm" target="_blank"><img id="imgshow" src="<%# Eval("pic_url").ToString().Trim() %>_b.jpg" alt="<%# Eval("title").ToString().Trim() %>" title="<%# Eval("title").ToString().Trim() %>" style="width: 211px;" /></a></li>
                    <li class="height5px"></li>
                    <li style="line-height: 20px; height:40px; text-align: left; color: #787878; overflow: hidden; text-overflow: ellipsis;"><a href="/show/<%# Eval("num_iid").ToString().Trim() %>.htm" target="_blank" style="color:#333333;"><%# Eval("title").ToString().Trim() %></a></li>
                    <li class="moneyFont" style="height: 26px; line-height: 26px; text-align: left;">
                            <%# money(Eval("price").ToString().Trim())%></li>
                    </ul>                    
                </td>
                <asp:PlaceHolder ID="PlaceHolder3" runat="server" Visible='<%# (Container.ItemIndex + 1) % 4 >0 %>'>
                    <td style="width:10px;"></td>
                </asp:PlaceHolder>                
                <asp:PlaceHolder ID="PlaceHolder2" runat="server" Visible='<%# (Container.ItemIndex + 1) % 4 ==0 %>'>
                    </tr>
                    <tr><td colspan="4" class="height10px"></td></tr>
                </asp:PlaceHolder>                
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>

    <uc1:bottom ID="bottom1" runat="server" />
    </form>
    <script type="text/javascript">
        $(function () {
            $('img[id="imgshow"]').each(function () {
                $(this).LoadImage({ scaling: true, width: 211, loadpic: "/images/loading.gif" });
            });
        });
        $(function () {
            $('img[id="bigImg"]').each(function () {
                $(this).LoadImage({ scaling: true, width: 560,height: 560, loadpic: "/images/loading.gif" });
            });
        });
    </script>
</body>
</html>
