<?php 
foreach($list as $v) {  ?>
<div id="bid<?=$v['bid_id']?>" 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>
                        <?php if($v['attention_id']) { ?>
                        <span class="block_gz"><a href="#" bidid="<?=$v['bid_id']?>" class="link">已关注</a></span>
                        <?php } else { ?>
                        <span class="block_gz attention" ><a href="#" bidid="<?=$v['bid_id']?>" class="link">关注</a></span>
                        <?php } ?>
                    </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">
                <div class="status_m_inner status_m_inner0<?=$v['timeRing']?>">
                    <div class="t_sata"><?=$v['bid_status_str']?></div>
                    <div class="t_tex">剩余</div>
                    <div class="t_time"><?=date("F d,Y H:i:s",strtotime($v['time']))?></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="item_title">目前有 <strong class="color_title"><?=$v['number']?></strong>人已出价<a bid_id="<?=$v['bid_id']?>" class="link link03 refreshRank" href="#">刷新战况</a></div>
                <div class="tex" style="margin-bottom: 5px;">目前房豆投入情况</div>
                <div class="fraction_rank_box" style="margin-bottom: 6px;">
                    <?=$growthBrokerBidBlockExpert->rankList($v['record'],$bidPeriodsStatus,null,$v['my_record'],$v['bid']['max_win_number'])?>
                </div>
                <?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 class="status_bor status_fun radius5 status_bor2">
        <!--	<div class="title">我要投入</div>-->
        <div class="title_tip_box"><?=$v['tip1']?></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"><?=$v['score_input_default']['span']?></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" <?php if($v['tip']) { echo 'readonly'; } ?> default="<?=$v['min_score']['score']?>" value="" id="jsNameInputNF6_<?=$v['bid_id']?>" class="input_text w70">
                            </div>
                            <p class="textFg">房豆</p>
                        </div>
                    </div>
                </dd>
            </dl>
        </div>
        <p class="tip_ts"><?=$v['tip']?></p>
        <p class="tip_ts total"><?=$v['score_input_default']['totalTip']?></p>
        <div class="sata">可用房豆：<span><?=$v['my_credit']?></span>房豆</div>
        <div class="btnFBbox"> <a class="btnB btnSubmit <?php if($v['tip']) { echo 'btnSubmitNone'; } ?> radius5" bid_id="<?=$v['bid_id']?>" href="javascript:void(0)">竞投</a> </div>
        <div class="tip">
            <p>竞投期间投中状态房豆冻结</p><p>如未投中将会返还</p>
        </div>
    </div>
</div>
<?php } ?>
