<!--  2016-1-14 添加星级样式 -------start------- -->

<style>
    #asideBox .bq1 { background: url("<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/bq_sprites.png") no-repeat 0 -138px ;}
    #asideBox .on .bq1{ background: url("<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/bq_sprites.png") no-repeat 0 0 ;}
    .bq-record{border-collapse: collapse; border-spacing: 0;table-layout: fixed;margin:20px 10px;}
    .bq-record td,.bq-record th{border: solid 1px #d9d9d9; padding: 3px;text-align: center;height: 30px;width: 5%;}
    .bq-record th{color:#333;background-color: #ebebeb;}
    .bq-record td{color: #333;}
    .scoreStatisticalIndex{
        height: 16px;
        margin-top: 2px;
        margin-bottom: 1px;
    }
    .scoreStatisticalIndex .star_level{
        display: inline-block;width: 16px;
        height: 16px;background: url("<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/xing_add_2016_1_14.png") no-repeat 0px -29px;
    }
    .scoreStatisticalIndex .on{
        display: inline-block;width: 16px;
        height: 16px;background: url("<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/xing_add_2016_1_14.png") no-repeat 0px 0px;
    }

    .fl{
        float: left;
    }
    .yx_start_level{
        margin-right: 44px;float: left;
    }
    .yx_info_p{
        line-height: 21px;
    }
    .personalPInner .item .yx_info_p_wid{
        width: 261px;
    }

    .personalPInner .item .clorG{
        color: #52c06c;
    }
    .personalPInner .item .clorY_p{
        display: inline-block;
        line-height: 24px;
        *line-height:21px;
    }
</style>

<!--  2016-1-14 添加星级样式 -------end------- -->

<div id="centre" class="layout">
    <div class="centreInner ">
        <div class="mainInner radius5 collect-con">
            <div class="belongBox belongBox_p radius5">
                <div class="personalPInner clearfix">
                    <p class="collect-icon">放心看导购：</p>
                    <ul class="collect-voice">
                        <li>&middot; 深挖热点，独家定制房源导购，深度契合平台买房客户心理，为您的“放心看”房源提供多渠道曝光，流量蹭蹭蹭上涨。成交，就这么简单！</li>
                        <li>&middot; 针对“放心看”房源进行主题式包装，PC端和APP端多渠道推广，增加房源的曝光量，促进成交。</li>
                        <li>&middot; 经纪人只需加入放心看，在后台参与活动，填写房源编号进行报名，即可享受独家包装推广。</li>
                    </ul>

                </div>

            </div>
            <div class="belongBox belongBox_p radius5 collect-wap">
                <div class="personalPInner clearfix">
                    <div class="titleTabBox">
                        <div class="titleTab">
                            <div class="titleTabB clearfix">
                                <dl class="list">
                                    <dd class="item">
                                        <a class="link" href="/guide_project"> 我要推广</a>
                                    </dd>
                                    <dd class="item itemOn">
                                        <a class="link" href="/guide_project/my_apply"> 推广记录</a>
                                    </dd>
                                </dl>
                            </div>
                        </div>
                    </div>

                    <div class="cf collect-read">
                        <?=form_open(uri_string(),array('method'=>'POST','name'=>'search_form'))?>
                        <div class="branchCommon branchCommon_pay radius5 ">
                            <div class="hd">
                                <table class="tableExpert">
                                    <tbody>
                                    <tr>
                                        <td class="td " width="200">
                                            <div class="">专题</div>
                                        </td>
                                        <td class="td"width="400">
                                            <div class="">申请房源</div>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>

                            <div class="mod">
                                <?php if($apply_info){?>
                                <table class="tableExpert tableExpert_no">
                                    <!--无记录-->
                                    <tbody>
                                    <?php foreach ($apply_info as $key=>$value){?>
                                    <tr>

                                        <td class="td"width="200">
                                            <div class="">
                                                <?php echo $value['project_title'];?>
                                            </div>
                                        </td>
                                        <td class="td"width="400">
                                            <div class="">
                                                <?php foreach($value['hosue_id'] as $k=>$v){?>
                                                    <a href="http://nj.sell.house365.com/s_<?=$v?>.html" target="_blank" style="color: blue;"><?php echo $v;?>&nbsp;</a>
                                                <?php }?>
                                            </div>
                                        </td>

                                    </tr>
                                    <?php }?>
                                    </tbody>
                                </table>
                                <?php }else{ ?>
                                    <div style="text-align:center;font-size: 14px;">暂无申请记录</div>
                                <?php }?>
                            </div>

                        </div>
                        <!--翻页-->
                        <?php if (!empty($pagination)) { ?>
                            <div class="picPreviewPagBox">
                                <div class="picPreviewPag">
                                    <?php echo $pagination; ?>
                                </div>
                                <input type='hidden' name='page' value='1'>
                            </div>
                        <?php } ?>
                        <!--结束-->
                        <?=form_close()?>
                    </div>

                </div>

            </div>
        </div>

    </div>
</div>
<div class="dialog radius5" id="jsDialog_13_32" >
    <div class="hd">
        <h3 class="h3">提示</h3>
        <span class="close close-win" title="关闭">Χ</span> </div>
    <div class="mod">
        <div class="text">
            当前推广仅限放心看用户参加，是否立即加入？
        </div>
        <div style="text-align:center; padding-top:8px;">
            <a href="/realHouse/marginAccount/" target="_blank" class="btn savePrjoect btnConColor radius5" >确定</a>
            <a href="####" class="btn btnCon radius5 close-win">取消</a>
        </div>
    </div>
</div>
<!--脚部-->
<script>
    $(function(){
        $('.apply').on('click',function () {
            var guide_project_id = $(this).attr('data-id');
            $.ajax({
                'url' : '/guide_project/is_guide_apply'
                ,'type': 'get'
                ,'data': {guide_project_id:guide_project_id}
                ,'dataType':'json'
                ,success:function (data) {
                    if(data.code == 1){
                        window.open("/guide_project/guide_apply?guide_project_id="+guide_project_id);
                    }else if(data.code == 2){
                        openWin("jsDialog_13_32");
                    }else{
                        alert(data.msg);
                    }
                }
            })
        })
    })
</script>