<!--标签零售样式-->
<style>
#asideBox .bq1 { background: url("http://esf.s.house365.com/zsb/images/v1.0/bq_sprites.png") no-repeat 0 -138px ;}
#asideBox .on .bq1{ background: url("http://esf.s.house365.com/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;}
</style>
<!--标签零售样式结束-->
<style>
    table .rank {
        color :#F57B38
    }
    table .rank02 {
        color:#000
    }
    .marketing_table_box {
    padding-top: 0px
}
</style>
<?php require APPPATH.'/views/page_css.php'; ?>
<div class="layout" id="centre">
    <div class="centreInner ">
        <div class="mainInner radius5 "> 
            <!---->
            <div class="personalBox_top">
                <?=$person?>
            </div>
            <!---->

            <div class="titleTabBox">
                <?=$tabs?>
            </div>
            <div class="forms functionBox functionBox2">
                <dl class="list">
                    <dd class="list_item clearfix">
                        <form method="GET" action="">
  <div class="fields"> 
                            <div class="fgInput jsFgInput">
                                <div class="imitateSelect">
                                    <label class="labelImitate" style="display: none;">小区名称</label>
                                    <input type="text" value="小区名称" name="k_name" disabled readonly="" class="imitate imitateIe imitate2">
                                </div>
                            </div>
                            <div class="fgInput nameInput ">
                                <div class="fgInput jsNameInput jsFgInput">
                                    <label class="labelPrev labelPrevN jslabelPrev" for="jsNameInputNF" id="jsHouseNume">请输入小区名称</label>
                                    <input type="text" value="<?=$blockName?>" name="blockName" id="jsNameInputNF" class="input_text w170">
                                </div>
                            </div>
                            <p class="textFg textFg2">&nbsp;</p>
                            <!---->
                            <div class="fgInput  nameInput "> 
                                <!---->
                                <p class="textFg textFg2">&nbsp;</p>
                                <div class="fgInput"> <input type="submit" value="查询" class="btn btnCon radius5" style="cursor: pointer;"> </div>
                                <!----> 

                                <!----> 
                            </div>
                            <!----> 
                        </div>
                       </form>
                    </dd>
                    
                </dl>
            </div>
            <!---->

            <div class="branchCommon_p_box" style="height:600px;">
                <div class="marketing_table_box"> 
                    <!---->
                    <div class="branchCommon_p branchCommon_p_2">
                        <table class="table">
                            <tbody><tr class="bg">
                                    <th class="th w235">小区</th>
                                    <th class="th w160">竞投状态</th>
                                    <th class="th w160">我的结果</th>
                                    <th class="th">实时状态</th>
                                </tr>
                            </tbody></table>
                    </div>
                    <!---->
                    <?php if($list) {
                        foreach($list as $v) {
                     ?>
                    <div class="branchCommon_p branchCommon_m branchCommon_m02">
                        <table class="table">
                            <tbody><tr>
                                    <td class="td w235"><strong class="blod name_c">【小区专家】<?=$v['block_name']?></strong>
                                        <p class="time_c"><?=date("Y.m.d",strtotime($v['tg_start_time']))?>-<?=date("Y.m.d",strtotime($v['tg_end_time']))?></p></td>
                                    <td class="td w160"><?=$v['bid_status']?></td>
                                    <td class="td w160">
                                        <p><?=$v['my_result']?></p>
                                        投入<span class="color_c "><?=$v['my_score']?></span>房豆 <?=$v['my_result_tip']?>
                                    </td>
                                    <td class="td"><div class="sata_tex_fg sata_tex_fg_t">共有<span class="blod num"><?=$v['number']?></span>人出价，竞投成功的房豆投入情况</div>
                                        <div class="sata_tex_fg" style="text-align: left; padding-left: 25px; height: 50px;">
                                            <?=$v['record_list']?>
                                        </div>
                                    </td>
                                </tr>
                            </tbody></table>
                    </div>
                    <?php
                        }
                    } else {
                    ?>
                    <div class="branchCommon_p_box">
                                <div class="none_house_box">
                                        <div class="info">
                                                <?php if($blockName) {
                                                    echo '很遗憾，没有找到匹配关键词的小区，换个关键词试试吧！';
                                                } else {
                                                    echo '很遗憾，没有找到您的小区专家竞投历史哦！';
                                                } ?>
                                                <br>
                                                <a class="link" href="/market_bid_block_expert/index/">赶快去竞投吧&gt;&gt;</a>
                                        </div>
                                </div>
			</div>
                    <?php
                    }?>
                    
                    <!---->
                </div>

                <!--翻页-->
                <div class="picPreviewPagBox">
                        <?=$page?>
                </div>
                <!----> 
            </div>

            <!----> 
        </div>
    </div>
</div>
<script>
$(function(){
$("#loginactivity").click(function(){
var name = $(this).attr("name");
if(name==1){
openWin("notloginactivity");
return false;
}
var brokerid = $(this).attr("value");
$.post('login_activity.php',{id:brokerid},function(data) {
if(data==0){
alert("领房豆失败，重新领一次把！");
}else{
$('#loginactivity').attr('class','logined') ;
data = data.split(",");
$("#b_c_crdeit").text("+"+data[0]);
$("#b_c_exp").text("+"+data[1]);
openWin("loginactivitysuccess");
$("#loginactivity").attr("name",1);
$("#loginactivity").addClass("a_font_color");
}
});
});
});
</script> 