<script>
$(document).ready(function() {
    initFancyBox("a.viewValue");
});
</script>
</head>
<body>
    <div class="caringValue">
        <div class="caringValue-head pr">
            <h2>爱心值排行榜</h2>
            <ul class="caringValue-tabs clearfix">
            <li class="<?=(empty($type) || 'week'==$type)? 'caringValue-tabs-active': ''?>">
                    <a href="<?=SpaceHeartBillboard::weekRankUrl()?>"> 一周TOP50 </a>
                </li>
                <li class="<?=(isset($type) && 'whole'==$type)? 'caringValue-tabs-active': ''?>"> 
                    <a href="<?=SpaceHeartBillboard::wholeRankUrl()?>">总榜TOP50</a>
                </li> </ul> <a href="http://<?=URL_PREFIX?>passport.haodf.com/doctorreg/aixinzhi" class="pa knowCaringValue" target="_blank">什么是爱心值?</a>
        </div>
        <div class="caringValue-content">
            <div style="border-top: solid 1px #ddd; font-size: 13px; line-height: 30px; color: #294e85; cursor: pointer;" onclick="window.location.href='/api/present/promotion';">
                <?php if('whole' == $type){?>开通网站以来<?php } else {?>最近7天累计<?php } ?>爱心值最高的前50名大夫,实时更新。每一份心意礼物,都会使大夫的爱心值立即获得一定数量的提升,<a href="http://www.<?=URL_PREFIX?>haodf.com/api/present/promotion?isButtonClick=true" class="orange">点击这里</a>立即让您心中的好大夫榜上有名。
            </div>
            <table class="rankTable f14">
                <tr style='text-align:center;'>
                    <th class="rankTable-item1"><span>排名</span></th>
                    <th class="rankTable-item2"><span>爱心值</span></th>
                    <th class="rankTable-item3"><span>大夫</span></th>
                    <th class="rankTable-item4"><span>科室</span></th>
                    <th class="rankTable-item5"><span>上榜理由</span></th>
                    <th class="rankTable-item6 last"><span>服务</span></th>
                </tr>