<%@ page language="C#" autoeventwireup="true" inherits="blog_index, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Assembly="Pager" Namespace="Wuqi.Webdiyer" TagPrefix="DataPager" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.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>会员日志_<%=ZK.config("sitetitle") %></title><meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <style type="text/css">
        .slide1box
        {
            width: 400px;
            padding: 4px;
            border: solid 1px #cce3fa;
            background-color: #fff;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border-radius: 5px;
        }
        #slide1
        {
            height: 300px;
            overflow: hidden;
            visibility: hidden;
        }
        #slide1 .KinSlideshow_titleBar
        {
            background: url(/s/skin/SlideTitleBg.png) repeat-x 0 0;
            overflow: hidden;
            _background: none;
            _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=image,src='/s/skin/SlideTitleBg.png');
        }
        #slide1 .KinSlideshow_titleBar .title
        {
            line-height: 30px;
        }
        #btnlistID
        {
            font-weight: bold;
        }
        #btnlistID li
        {
            border-radius: 11px;
        }
        /*——*/.main_blog
        {
            padding: 4px;
            border: solid 1px #cce3fa;
            background-color: #fff;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border-radius: 5px;
            width:525px;
            height: 300px;
            overflow: hidden;
        }
        .main_blog dl
        {
            width: 535px;
            overflow: hidden;
        }
        .main_blog dt
        {
            font-size: 22px;
            font-family: '微软雅黑' , '黑体';
            font-weight: bold;
            text-align: center;
            height: 30px;
            line-height: 30px;
            overflow: hidden;
            padding-top: 4px;
        }
        .main_blog dt a, .main_blog dt a:hover, .main_blog dd a, .main_blog dd a:hover
        {
            color: #c00;
        }
        .main_blog dd
        {
            color: #333;
            padding: 4px 10px 0;
            word-wrap: break-word;
            word-break: break-all;
        }
        /*——*/.bloglist
        {
            padding: 6px 0 6px 12px;
        }
        .bloglist li
        {
            height: 26px;
            line-height: 26px;
            overflow: hidden;
            font-size: 14px;
            float: left;
            width: 457px;
            padding-left: 10px;
            background: url(/skin/public/dian.jpg) no-repeat 0 center;
        }
    </style>
    <style type="text/css">
        .self_ulimg
        {
            padding-bottom: 9px;
            padding-left: 18px;
            overflow: hidden;
        }
        .self_ulimg li
        {
            float: left;
            width: 222px;
            margin-top: 11px;
            overflow: hidden;
            height: 256px;
            text-align: center;
            margin-right: 8px;
        }
        .self_ulimg li .img1
        {
            padding: 1px;
            height: 208px;
            width: 208px;
            border: 1px solid #ddd;
            display: block;
            margin-right: auto;
            margin-left: auto;
            -moz-border-radius: 15px;
            -webkit-border-radius: 15px;
            border-radius: 15px;
        }
        .self_ulimg li a
        {
            color: #999;
        }
        .self_ulimg li a:hover
        {
            color: #f60;
        }
        .self_ulimg li a:hover .img1
        {
            filter: Alpha(Opacity=80);
            -moz-opacity: 0.8;
            opacity: 0.8;
        }
        .self_ulimg li .con1
        {
            overflow: hidden;
            height: 20px;
            cursor: pointer;
            padding-top: 4px;
        }
        .self_ulimg li span
        {
            overflow: hidden;
            height: 20px;
            color: #333;
        }
        .self_ulimg li span a
        {
            color: #069;
            font-weight:bold;
        }
        .self_ulimg li span a:hover
        {
            color: #f60;
        }
    </style>
</head>
<body>
    <div class="wrap"><a name="pagetop" id="pagetop"></a><UC:head ID="head1" runat="server" />
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <div class="box pt5">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr valign="top">
                    <td width="410">
                        <div class="slide1box">
                            <div id="slide1"><%=幻灯片()%></div>
                        </div>
                    </td>
                    <td width="5">
                        &nbsp;
                    </td>
                    <td width="535">
                        <div class="main_blog"><%=头条日志()%>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="box pt5">
            <div class="c1">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con" style="width: 600px;">最新发表</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="v">
                    <div class="bloglist">
                        <ul>
                            <%=最新日志()%>
                        </ul>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="box">
            <div class="hto mt5">
                <div class="c3">
                    <div class="b">
                        <div class="fl">
                        </div><div class="con" style="width: 400px; padding-left: 0">
                                <div class="moveareab1">
                                    <ul>
                                        <li class="on"><a href="photo_more.htm">会员相册</a></li><asp:Literal ID="Literal1" runat="server"></asp:Literal></ul>
                                    <div class="clear">
                                    </div>
                                </div>
                            </div>
                        <div class="fr">
                        <a href="/plugin/gallery2/index.aspx?type=m_space_photo&classid=&uid=" target="_blank">全屏浏览</a>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="v">
                        <asp:Panel ID="Panel_Nodata" runat="server" Visible="false">
                            <div class="tip_nodata" style="">
                                还未上传照片！</div>
                        </asp:Panel>
                        <asp:Panel ID="Panel_List" runat="server" CssClass="photo_list">                   
                            <asp:Repeater ID="Repeater1" runat="server">
                                <HeaderTemplate>
                                    <div class="self_ulimg">
                                        <ul>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <%#get1( Eval("uid").ToString(), Eval("id").ToString(), Eval("title").ToString(), Eval("classid").ToString(), Eval("url").ToString())%>
                                </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="12" 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: 15px">
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>

<script type="text/javascript" src="/s/js/jquery-1.8.3.min.js"></script>

<script type="text/javascript">
    function init_slide1() {
        $("#slide1").KinSlideshow({
            moveStyle: "left",
            mouseEvent: "mouseover",
            intervalTime: 5,
            moveSpeedTime: 300,
            isHasTitleBar: false,
            titleBar: { titleBar_height: 30, titleBar_bgColor: "#000", titleBar_alpha: 0.5 },
            titleFont: { TitleFont_size: 14, TitleFont_color: "#fff", TitleFont_weight: "bold" },
            isHasBtn: true,
            btn: { btn_bgColor: "#fff", btn_bgHoverColor: "#f70", btn_fontColor: "#f70", btn_fontHoverColor: "#fff", btn_borderColor: "#d25213", btn_borderHoverColor: "#c24f02", btn_borderWidth: 1, btn_bgAlpha: 1 }
        });
        if ($.browser.msie) {
            $(".KinSlideshow_titleBar>.title").css({ "margin": "0", "padding": "1px 0 0 8px" });
        }
        else {
            $(".KinSlideshow_titleBar>.title").css({ "margin": "0", "padding": "0 0 0 8px" });
        }
        $(".KinSlideshow_btnBox").css({ "right": "5px" });
        $("#btnlistID li").each(function() {
            $(this).css({ "font-family": "Arial" });
            $(this).css({ "margin-left": "5px" });
            $(this).css({ "font-size": "14px" });
        });
    }
    //
    $(function() {
        $.getScript('/s/js/jquery.KinSlideshow-1.1.js', function() {
            init_slide1();
        });
    });
</script>

