 <style>
    table .rank {
        color :#F57B38
    }
    table .rank02 {
        color:#000
    }
    .marketing_table_box {
    padding-top: 0px
}
</style>
<?php require APPPATH.'/views/'.TEMPLATE_NAME.'/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="<?=$schoolName?>" name="schoolName" 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">
                <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['school_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($schoolName) {
                                                    echo '很遗憾，没有找到匹配关键词的学区，换个关键词试试吧！';
                                                } else {
                                                    echo '很遗憾，没有找到您的学区专家竞投历史哦！';
                                                } ?>
                                                <br>
                                                <a class="link" href="/market_bid_school_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> 