<%@ page language="C#" autoeventwireup="true" inherits="fclp_photo, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar_time" TagPrefix="UC" Src="~/s/include/tip_bar_time.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<%@ Register TagName="fclp_head" TagPrefix="UC" Src="~/fclp/head.ascx" %>
<!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">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title><%=lpName%>楼盘相册_<%=ZK.config("fclptitle")%></title>
    <meta name="keywords" content="<%=ZK.config("fclpkeywords") %>" />
    <meta name="description" content="<%=ZK.config("fclpdescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <link type="text/css" rel="stylesheet" href="/fclp/skin/fclp.css" />   
    <script type="text/javascript">
        function self_showupload(){
            var url="fclp_p_upload.aspx?type=1&fid=<%=WM.RQ("id") %>&rd="+Math.random();
            TINY.box.show("<iframe allowtransparency=\"true\" width=\"680\" height=\"126\" frameborder=\"0\" scrolling=\"no\" src=\""+url+"\"></iframe>",0,680,126,1,0);
        }
    </script>    
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <div class="box">
            <div class="tip_bar mt5">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div class="path">
                                <strong>您当前的位置：</strong><span><a href="/">网站首页</a></span><span><a href="/fclp/">房产楼盘</a></span><%=lpName%>
                            </div>
                        </td>
                        <td align="right"><UC:tip_bar_time ID="tip_bar_time1" runat="server" /></td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="box">
            <div class="fclp_view">
                <UC:fclp_head ID="fclp_head1" runat="server" />
                <div class="c1 mt5">
                    <div class="b">
                        <div class="fl"></div>
                        <div class="con" style="width:500px"><span class="nor"><%=lpName%></span>楼盘相册</div>
                        <div class="fr"><asp:Literal ID="Literal1" runat="server"></asp:Literal></div>
                        <div class="clear"></div>
                    </div>
                    <div class="v">
                        <form id="form1" runat="server">
                        <%@ register assembly="Pager" namespace="Wuqi.Webdiyer" tagprefix="DataPager" %>
                              <asp:Panel ID="Panel_Nodata" runat="server" Visible="false" style="padding:10px;">
                                <div class="tip_nodata" id="tip_nodata" style="background-position: 12px 13px;color:#999;">亲，还未上传图片！&nbsp;</div>
                            </asp:Panel>
                        <asp:Panel ID="Panel_List" runat="server">                        
                            <%--imgbox start--%>
                                <script type="text/javascript" src="/space/fancybox/jquery.min.js"></script>
                                <script type="text/javascript" src="/space/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
                                <script type="text/javascript" src="/space/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
                                <link rel="stylesheet" type="text/css" href="/space/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
                                <script type="text/javascript">
		                                $(document).ready(function() {
			                                $("a[rel=example_group]").fancybox({
				                                'transitionIn'		: 'none',
				                                'transitionOut'		: 'none',
				                                'titlePosition' 	: 'over',
				                                'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					                                //return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				                                    //return '<span id="fancybox-title-over">' + (title.length ?  title : '&nbsp;') + '</span>';
				                                    return '';	
				                                }
			                                });			
		                                });
	                            </script>
                            <%--imgbox start--%>
                            <asp:Repeater ID="Repeater1" runat="server">
                                <HeaderTemplate><div class="fclp_photo_list"><ul></HeaderTemplate>
                                <ItemTemplate>
                                    <li><a href="<%#Eval("thumbnail").ToString() %>" target="_blank" title="" rel="example_group"><img alt="" src="<%#ZK.getProportionImage(Eval("thumbnail").ToString(),"",200,"",200) %>" /><%#GetDel(Eval("id").ToString())%><%#Eval("title")%></a></li>
                                </ItemTemplate>
                                <FooterTemplate></ul><div class="clear"></div></div></FooterTemplate>
                            </asp:Repeater>
                        </asp:Panel>
                        <asp:Panel ID="Panel_Turn" runat="server" Visible="false">
                            <div id="DataPager">
                                <table border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto">
                                    <tr>
                                        <td>
                                            <DataPager:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged"
                                                UrlPagingTarget="_self" PageSize="16" UrlPaging="true" FirstPageText="最前页" PrevPageText="上一页"
                                                NextPageText="下一页" LastPageText="最后页" PagingButtonSpacing="0" CssClass="turn"
                                                CurrentPageButtonClass="turn_on" SubmitButtonClass="pager_but" PageIndexBoxClass="pager_inp"
                                                SubmitButtonText="转到" ShowPageIndexBox="Auto" ShowBoxThreshold="0" ShowDisabledButtons="false"
                                                NumericButtonCount="6" FirstLastButtonsClass="turn_flpn" PrevNextButtonsClass="turn_flpn">
                                            </DataPager:AspNetPager>
                                        </td>
                                    </tr>
                                </table>
                                <div class="clear" style="height: 8px"></div>
                            </div>
                        </asp:Panel>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
<script type="text/javascript">if(location.href.indexOf("act=upload")!=-1)self_showupload();</script>