<?php 
foreach($list as $v) {  ?>
<div class="m_item clearfix">
    <div class="status_bor status_inner radius5 status_bor2">
        <div class="clearfix">
            <div class="pic_box_m pic_box_m_01">
                <div class="pic_show pic_show02" style="height:160px;">
                    <div class="pic pic_02"><a ><img alt="" width="160" height="120" src="<?=$v['block_image']?>"></a></div>
                    <div class="info02"><span style="width: 80px;" class="block_name"><a class="link" href="<?=  get_blockinfo_url($v['block_id'])?>" target="_blank" ><?=$v['block_name']?></a></span>
                    </div>
                </div>
                <div class="hot_box"><span class="title">搜索热度：</span>
                    <div class="hot_bg">
                        <?=BlockLevelHeat::friendlyShow($v['block_heat_level'])?>
                    </div>
                </div>
            </div>
            <div class="status_box_m status_box_m02" style="width: 200px;">
                <div class="status_m_inner status_m_inner04">

                    <div class="t_tex_over"><?=$v['bid_status_str']?></div>
                </div>
                <div>
                    <span style="padding-left: 58px;">本期推广时间</span>
                    <span class="time"><?=date("Y.m.d",strtotime($v['tg_start_time']))?>-<?=date("Y.m.d",strtotime($v['tg_end_time']))?></span>
                </div>
            </div>
            <div class="logbuch_box_m logbuch_box_m02">
                <div class="tex_over_m" style="font-size: 14px;">离下期开始还剩
                    <span>
                        <?=date("F d,Y H:i:s",strtotime($v['start_time']))?>
                    </span>
                </div>
                <div style="margin-top: 60px;">
                    <?php if($v['all_prev_stat']) { ?>
                    <p>截止到上期，已有<?=$v['all_prev_stat']['number']?>人参与</p>
                    <p>竞投成功：最高<?=$v['all_prev_stat']['max']?>房豆，最低<?=$v['all_prev_stat']['min']?>房豆</p>
                    <?php } else { ?>
                    <p>&nbsp;</p>
                    <p>截止到上期,还没有人参与</p>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
    <div class="status_bor status_fun radius5 status_bor2">
        <!--<div class="title">我要投入</div>-->
        <div class="title_tip_box">&nbsp;</div>
        <div class="forms functionBox functionBox_m">
            <dl class="list">
                <dd class="list_item clearfix">
                    <div class="fields">
                        <div class="fgInput nameInput ">
                            <div class="title">我要投入</div>
                            <div class="fgInput fgInput_p jsNameInput jsFgInput">
                                <label class="labelPrev labelPrevN jslabelPrev" for="jsNameInputNF6_<?=$v['bid_id']?>" style="display: block;"><?=$v['score_input_default']['value']?></label>
                                <input type="text" autocomplete="off" disabled="" default="<?=$v['min_score']['score']?>" value="" id="jsNameInputNF6_<?=$v['bid_id']?>" readonly class="input_text w70 readonly_input_text">
                            </div>
                            <p class="textFg">房豆</p>
                        </div>
                    </div>
                </dd>
            </dl>
        </div>
        <div class="sata">可用房豆：<span><?=$v['my_credit']?></span>房豆</div>
        <div class="btnFBbox"> <a href="javascript:void(0)" class="btnB btnSubmit btnSubmitNone radius5">竞投</a> </div>
        <div class="tip">
            <p>竞投期间投中状态房豆冻结</p><p>如未投中将会返还</p>
        </div>
    </div>
</div>
<?php } ?>
