<?php require APPPATH_MVC.'views/header.php'; ?>
<div class="w960 clearfix mt10 pepcenterBox">
<?php require APPPATH_MVC.'views/left.php'; ?>

<!--会员左侧 End-->
<div class="user-main user-main02">
    <?php echo form_open('',$form_attributes);?>
    <div class="hd-bar pos-r"><h2>匹配统计</h2></div>
    <div class="user-main user-main03">
        <div class="handle">
        <label class="data-label left" style="margin-left:20px">选择时间：
        <input readonly type="text" name='count_date' value="<?=$count_date?>" onFocus="WdatePicker({dateFmt:'yyyy-M-d',minDate:'%y-%M-{%d-30}',maxDate:'%y-%M-{%d}'})" class="data-input"/>
        </label>
        <div class="ctr-label left">
              	<span class="left">需求类型：</span>
                <div id="operate-select" class="selectSimulate left">
                <input type="hidden" name="tbl" class="selectSimulate-input" value="<?=$want_tbl?>">
                    <span  class="selectSimulate-value"><?php if( $want_tbl != '' ){ echo $tbl_arr[$want_tbl];}else{ echo '求购';}?></span>
                    <ul class="selectSimulate-list" style="display: none;">
                        <?php foreach( $tbl_arr as $key=>$type ):?>
                        <li rel="<?=$key?>"><?=$type?></li>
                        <?php endforeach;?>
                    </ul>
                </div>
              </div>
        <a href="###" onclick = "sub_form()" class="btn1 left search-btn">查询</a>
        </div>
        <div class="mod-list statistical">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-style-a">
            <tr>
            <th width="33%">发布量</th>
            <th width="33%">参与人数</th>
            <th width="34%">匹配成功房源数</th>
            </tr>
            <tr>
            <td><?=$want_num?></td>
            <td><?=$match_broker_num?></td>
            <td><?=$match_num?></td>
            </tr>
        </table>
        </div>
    </div>
    </div>
    <!--会员右侧 End-->
</div>
<script>
function sub_form()
{
    $('#search_form').submit();
}
</script>
<!--会员中心主体 End-->
<?php require APPPATH_MVC.'views/footer.php'; ?>