<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="HteamDd.Web.Default" %>

<!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>
    <meta http-equiv="Content-Type" content="text/html;charset=gb2312"/>
    <link rel="stylesheet" type="text/css" href="/css/index.css" />
    <link rel="stylesheet" type="text/css" href="/css/public.css" />
    <link href="css/Dd_default_1221.css" rel="stylesheet" type="text/css" />
    <script src="/jscript/jquery-1.4.2.js" type="text/javascript"></script>
    <script src="/jscript/Dd_image_deal.js" type="text/javascript"></script>
    <script type="text/javascript">
        var user = "";
        var jq = jQuery.noConflict();
        jq(document).ready(function () {
            var cookie_info = '<%=user_Mes%>';
            if (cookie_info != "") {
                user = cookie_info.split(',');
                blogname.innerHTML = user[1];
                img_user(user[0], "1"); //处理个人图片问题
            }
            else {
                window.location.href = "/Dd_login.aspx";
            }
            //退出时，进行session和cookie的清空
            jq("#uer_Exit").click(function () {
                jq.ajax({
                    type: "post",
                    url: '/ashx/Dd_userExit.ashx',
                    data: { type: "exit", time: new Date().getDate() },
                    success: function (data) {
                        if (data == "1") {
                            window.location.href = "/Dd_login.aspx";
                        }
                    },
                    error: function () {

                    }
                });
            });
            (function () {
                var $backToTopTxt = "返回顶部", $backToTopEle = jq('<div class="backToTop"></div>').appendTo(jq("body"))
                .text($backToTopTxt).attr("title", $backToTopTxt).click(function () {
                    jq("html, body").animate({ scrollTop: 0 }, 120);
                }), $backToTopFun = function () {
                    var st = jq(document).scrollTop(), winh = jq(window).height();
                    (st > 0) ? $backToTopEle.show() : $backToTopEle.hide();
                    //IE6下的定位

                    if (!window.XMLHttpRequest) {
                        $backToTopEle.css("top", st + winh - 166);
                    }
                };
                jq(window).bind("scroll", $backToTopFun);
                jq(function () { $backToTopFun(); });
            })(); 

        });      
    </script>
    <script src="/jscript/index.js" type="text/javascript"></script>
</head>
<body>
<div id="wrap">

    <div id="header" class="clearfix">
        <div id="logo">
            <a href="/Default.aspx">海客网</a>
        </div>
        <ul id="nav">
            <li id="nav-index" class="active">
                <a class="nav-item" href="/Default.aspx">首页</a>
                <a id="new-feed-count" class="header-pop-notice" style="display:none"></a>
            </li>
            <li>
                <a id="nav-explore" class="nav-item" href="/Web/Dd_discover/Dd_FerverTag.aspx">发现</a>
            </li>
        </ul>
        <ul id="sub-nav">
            <li>
                <a href="/Dd_login.aspx" id="uer_Exit">退出</a>
            </li>
            <li>
                <a href="/Web/Dd_setting.aspx">设置</a>
            </li>
            <li>
                <a href="/Web/Dd_Intro_Master/Dd_aboutme.aspx">关于</a>
            </li>
           <%-- <li>
                <a href="#">手机</a>
            </li>
            <li>
                <a href="#">邀请</a>
            </li>--%>
           
        </ul>
        <ul id="nav-blog-list" class="clearfix">
            <li id="nav-blog-8500453" dd-event="blog-item">
                <a href="/Web/Dd_private_index.aspx">
                    <span class="nav-blog-avatar">
                        <img width="20" height="20" id="img_personal" src="/images/avatar_30_30.$1095.png"/>
                    </span>
                   <span class="nav-blog-name" id="blogname"></span>

                </a>
            </li>
        </ul>
    </div>
    <div id="content-holder"> 
        <div id="content">
            <div id="main">
                <div id="publisher" class="publisher clearfix">
                    <div class="pb-avatar">
                        <a style="background-image:url(/images/avatar_64_64_$1095.png)" id="pb-blog-avatar" href="Web/Dd_profile/Dd_profile.aspx" class="blog-avatar">超级管理员</a>
                        <span id="upload-avatar-when-no-avatar">上传头像</span>
                    </div>
                    <div class="pb-action-holder">
                        <div class="pb-triangle"></div>
                        <div id="pb-action" class="pb-action" >
                            <ul class="clearfix">
                                <li>
                                    <a class="text" href="/Web/Dd_text.aspx">文字</a>
                                </li>
                                <li>
                                    <a class="photo" href="/Web/Dd_picture.aspx">图片</a>
                                </li>
                                <li>
                                    <a class="music" href="/Web/Dd_music.aspx">音乐</a>
                                </li>
                                <li>
                                    <a class="link" href="/Web/Dd_link.aspx">链接</a>
                                </li>
                                <li>
                                    <a class="video" href="/Web/Dd_video.aspx">视频</a>
                                </li>
                             
                            </ul>
                        </div>
                    </div>
                </div>
                <div id="feed-list" class="feed-list">
                   <div id="mes_warn" style="  margin-left:300px; width:100px; height:30px; background:url('/images/load.gif') no-repeat scroll 0 0 transparent;"></div>                  
                </div>
            </div>
            <div id="aside">
                <ul class="sidemenu sidebox">
                    <li class="first active aside-follow-content">
                        <a href="/Web/Dd_Attention/Dd_Attention_Mange.aspx">
                            <span class="aside-icon"></span>
                            我关注了<%=Getcout()%>个博客
                        </a>
                        <a class="aside-manage-follow" title="管理关注" href="/Web/Dd_Attention/Dd_Attention_Mange.aspx">管理</a>
                    </li>
                    <li class="sub aside-manage-following">
                        <a href="/Web/Dd_Attention/Dd_Attention_Mange.aspx">
                            <span class="aside-icon"></span>
                            管理我的关注
                        </a>
                    </li>
                </ul>
                <div id="side-search-holder" class="sidebox">
                    <form id="side-search-form">
                        <div id="side-search-box">
                            <input id="side-search-input" class="input-tip" type="text" tip="{"class":"input-tip","text":"搜索标签"}"autocomplete="off" />
                        </div>
                        <button id="side-go-search" type="submit">搜索</button>
                    </form>
                </div>
                <!--<script></script>-->
                <ul class="sidemenu sidebox js-hook-track-tag">
                    <li class="aside-explore-wall first last">
                        <a href="/Web/Dd_discover/Dd_FerverTag.aspx">
                            <span class="aside-icon"></span>
                            探索海客网
                        </a>
                    </li>
                    <%--<li><button id="next-page" type="button">下一页</button></li>--%>
                    <li style="display:none;"><input type="hidden" id="time" /></li>
                </ul>
                <!--<ul class="sidemenu sidebox"></ul>-->
                <div class="radarpro js-hook-radar">
                    <div class="radarpro-prev" style="visibility:hidden;">上一张</div>
                    <div class="radarpro-next" style="visibility:hidden;">下一张</div>
                    <div class="radarpro-items-wrap">
                        <div class="radarpro-items ks-switchable-content">
                            
                        </div>
                    </div>
                </div>
                <div class="dd-school"></div>
            </div>
        </div>
    </div>
</div>
<a class="web-guide" href="Web/Dd_feedback.aspx">意见反馈</a>
<div id="Dd_loading"style=" position:fixed; bottom:0px; left:30%; width:500px; height:50px; ">
<div id="load_image" style=" width:100px; height:20px; margin-top:10px; background: url('/images/load.gif') no-repeat scroll 0 0 transparent; float:left;display:none; "></div>
<div id="load_text" style=" width:400px; height:50px; float:left; display:none;"><h1> 正在加载，请稍后。。。</h1></div>
</div>
</body>
</html>
