<%@ page language="C#" autoeventwireup="true" inherits="ShopsHome, App_Web_flu4wwrf" enableviewstate="false" enableEventValidation="false" %>
<%@ OutputCache Duration="1800" Location="Any" VaryByParam="none" %>

<%@ Import Namespace="System.Data" %>
<%@ Register src="~/inc/PageHead.ascx" tagname="PageHead" tagprefix="uc1" %>
<%@ Register src="~/inc/PageSearchBox.ascx" tagname="PageSearchBox" tagprefix="uc2" %>
<%@ Register src="~/inc/PageFooter.ascx" tagname="PageFooter" tagprefix="uc3" %>
<%@ Register src="~/inc/NewsRight.ascx" tagname="NewsRight" tagprefix="uc4" %>
<%@ Register src="~/inc/ParamPageNavigator.ascx" tagname="ParamPageNavigator" tagprefix="uc5" %>
<%@ Register src="~/inc/ShopListLeft.ascx" tagname="ShopListLeft" tagprefix="uc6" %>

<%@ Register src="inc/ShopScrolling.ascx" tagname="ShopScrolling" tagprefix="uc7" %>

<!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 id="Head1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    
    <title>福州婚嫁商家中心_<%= ConfigurationManager.AppSettings["app_name"] %>_<%= ConfigurationManager.AppSettings["app_domain"] %></title>
    <meta name="description" content="汇集全福建的最新婚庆公司,婚庆论坛,摄影工作室,婚庆,写真,艺术,旅游,珠宝,摄影,酒店,旅行等各类商家" />
    <meta name="keywords" content="福建摄影工作室,福州婚庆,福州写真,福州艺术,福州旅游,福州珠宝,福州摄影,福州酒店,福州旅行" />
    
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/css/front.css" rel="stylesheet" type="text/css" />
    <style type="text/css"></style>
    <script type="text/javascript" src="/Js/jquery.js"></script>
    <script type="text/javascript" src="/Js/_effect.js"></script>
    <script type="text/javascript" src="/js/jcarousellite.js"></script>
    <script type="text/javascript" src="/Js/utils.js"></script>
    <script type="text/javascript">
        $(function() {
            $(".stor .star span").each(function() {
                //alert(parseFloat($(this).attr("title")) / 5 * 68);
                $(this).css("width", parseFloat($(this).attr("title")) / 5 * 63);
                //$(this).css("width", 12);
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="wrapper shopshome">
            <uc1:PageHead ID="PageHead1" runat="server" />
            
            <div class="body">
                <!-- 主要内容开始 -->
                <uc2:PageSearchBox ID="PageSearchBox1" runat="server" />
                
                <div class="shoplist">
                    <uc7:ShopScrolling ID="ShopScrolling1" runat="server" />
                    <div class="clear"></div>
                    
                    <div class="actvitiys">
                        <div class="left">
                            <div><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=scriptmain name=scriptmain codebase="http://download.macromedia.com/pub/shockwave/cabs/
        flash/swflash.cab#version=6,0,29,0" width="500" height="200">
            <param name="movie" value="/flash/bcastr.swf?bcastr_flie=<%= ImageLinks %>">
            <param name="quality" value="high">
            <param name=scale value=noscale>
            <param name="LOOP" value="false">
            <param name="menu" value="false">
            <param name="wmode" value="transparent">
            <embed src="/flash/bcastr.swf?bcastr_flie=<%= ImageLinks %>" width="500" height="200" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="T" name="scriptmain" menu="false" wmode="transparent"></embed>
          </object></div>
                        </div>
                        <div class="right">
                            <div class="tit">最新活动 hot</div>
                            <div class="cnt">
                                <asp:Repeater ID="rptActivitys" runat="server">
                                <HeaderTemplate>
                                <ul>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <li>[<%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "startdate")).ToString("MM-dd")%>]<a href="/vip/<%# DataBinder.Eval(Container.DataItem, "buid") %>/act_<%# DataBinder.Eval(Container.DataItem, "activityid") %>.html" class="subject" target="_blank"><%# Utils.FormatNumberString(Utils.GetShortText(DataBinder.Eval(Container.DataItem, "activityname"), 40)) %></a><a href="/vip/<%# DataBinder.Eval(Container.DataItem, "buid") %>/" class="com"><%# Utils.GetShortText(DataBinder.Eval(Container.DataItem, "companyname"),20)%></a></li>
                                </ItemTemplate>
                                <FooterTemplate>
                                </ul>
                                </FooterTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                    </div>
                    
                    <div class="clear"></div>
                    
                    <div class="titblock logos">
                        <div class="btit vip_bis"></div>
                        <div class="bcnt">
                            <asp:Repeater ID="rptBusinessLogo" runat="server">
                            <HeaderTemplate>
                            <ul>
                            </HeaderTemplate>
                            <ItemTemplate>
                            <li>
                            <div class="img"><a target="_blank" href="/vip/<%# DataBinder.Eval(Container.DataItem, "buid") %>/"><img src="/uploadfiles/<%# DataBinder.Eval(Container.DataItem, "logo") %>" /></a></div>
                            <a target="_blank" href="/vip/<%# DataBinder.Eval(Container.DataItem, "buid") %>/" class="txt"><%# Utils.GetShortText(DataBinder.Eval(Container.DataItem, "companyname"), 40)%></a>
                            </li>
                            </ItemTemplate>
                            <FooterTemplate>
                            </ul>
                            </FooterTemplate>
                            </asp:Repeater>
                            <div class="clear"></div>
                        </div>
                    </div>
                    
                    <div class="shblock">
                        <div class="titblock left">
                            <div class="btit auth_busi"></div>
                            <div class="bcnt">
                                <ul class="lst">
                                <% 
                                    int index = 0;
                                    foreach (string[] item in Utils.arrBusinessCategorys)
                                   {
                                       if (item[1] != "0" && (dtVIPCompanys.Select("cid=" + item[0]).Length > 0))
                                       {
                                    %>
                                    <li class="cate <%= index % 2 == 1 ? "bg" : "" %> subitem">
                                        <div class="icon" style="background-image:url(/images/ico/<%= item[0] %>.gif);"><a href="/shop/<%= item[4]%>/"><%= item[2]%></a></div>
                                        <div class="items">
                                            <ul>
                                            <%
                                                DataRow[] drs = dtVIPCompanys.Select("cid=" + item[0]);
                                                if (drs.Length == 0)
                                                {
                                                    %>
                                                    <li>该类别下暂无商家</li>
                                                    <%
                                                }
                                                foreach (DataRow dr in drs)
                                                { %>
                                                <li><a href="/vip/<%= dr["buid"] %>/" target="_blank"><%= dr["companyname"] %></a></li>
                                                <%} %>
                                            </ul>
                                            <div class="more"><a href="/shop/<%= item[4] %>/">更多..</a></div>
                                        </div>
                                        <div class="clear"></div>
                                    </li>
                                     <%
                                         index++;
                                       }
                                   }%>
                                </ul>
                            </div>
                        </div>
                        <div class="titblock right">
                            <div class="btit hot_act"></div>
                            <div class="bcnt">
                                <asp:Repeater ID="rptCoupon" runat="server">
                                <HeaderTemplate>
                                <ul>
                                </HeaderTemplate>
                                <ItemTemplate>
                                <li>
                                    <div class="img"><a target="_blank" href="/vip/<%# DataBinder.Eval(Container.DataItem, "buid") %>/act_<%# DataBinder.Eval(Container.DataItem, "activityid") %>.html"><img src="/uploadfiles/<%# DataBinder.Eval(Container.DataItem, "picurl") %>" /></a></div>
                                    <div class="txt">
                                        主题：<a target="_blank" href="/vip/<%# DataBinder.Eval(Container.DataItem, "buid") %>/act_<%# DataBinder.Eval(Container.DataItem, "activityid") %>.html" class="tit"><%# DataBinder.Eval(Container.DataItem, "activityname")%></a><br />
                                        商家：<a target="_blank" href="/vip/<%# DataBinder.Eval(Container.DataItem, "buid") %>/" class="com"><%# DataBinder.Eval(Container.DataItem, "companyname") %></a>
                                    </div>
                                </li>
                                </ItemTemplate>
                                <FooterTemplate>
                                </ul>
                                </FooterTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                    </div>


                <!-- 主要内容结束 -->
                <uc3:PageFooter ID="PageFooter1" runat="server" />
            </div>
        </div>
    </form>
    
    <script type="text/javascript">
        $(".ads .scolling").jCarouselLite({
            auto: 3000,
            speed: 1000,
            visible: 6
        });
    </script>
</body>
</html>
