
<!---->
<div id="centre" class="layout">
    <div class="centreInner ">
        <div class="mainInner radius5 ">
            <!---->

            <div class="titleTabBox">
                <div class="titleTab">
                    <div class="titleTabB clearfix">
                        <dl class="list">
                            <dd class="item "> <a class="link" href="/my_complain/complain/">竞投房源举报</a> </dd>
                            <dd class="item itemOn"> <a class="link" href="/my_complain/myList/"> 我的举报 </a></dd>
                        </dl>
                    </div>
                </div>
            </div>
            <!---->
            <div class="belongBox radius3 belongBox_jub">
                <p class="title"><span class="b">举报规则：</span><span class="tex_fg">1、每个经纪人每天最多只能举报5条房源&nbsp;&nbsp;&nbsp; 2、一条房源最多只能被不同公司的三个不同的经纪人投诉</span></p>
                <p class="title"><span class="b">温馨提示：</span>
                    房源举报经核实后可赢取房豆奖励哦!举报虚假房源冻结可获得<span class="f_color"><?=$credit['bid']?>房豆/条</span>,举报虚假房源删除可获得<span class="f_color"><?=$credit['delete']?>房豆/条</span>。
                    <!--竞投房源举报经核实后可赢取房豆奖励哦!举报竞投房源成功可获得<span class="f_color"><?=$credit['bid']?>房豆/条</span>,举报普通房源成功可获得<span class="f_color"><?=$credit['comman']?>房豆/条</span>。-->&nbsp;&nbsp;&nbsp;<a  style="color:#2280ff" href="<?=$documentation['complain_rule']?>" target="_blank">详细规则>></a></p>
            </div>
            <!---->

            <div class="forms functionBox functionBoxPay functionBoxPay_bz">
                <dl class="list">
                    <dd class="list_item clearfix">
                        <div class="fields">
                            <div class="fgInputRight">
                                <p class="textFg">状态筛选:</p>
                                <div class="fgInput jsFgInput">
                                    <div class="imitateSelect">
                                        <label class="labelImitate" >全部</label>
                                        <input type="text" value="<?php if($status!=""){echo $allStatus[$status];}else{echo "全部";} ?>" readonly class="imitate imitateIe" name="">
                                        <input type="hidden" value="<?=$status?>" class="jsImitateHidden" name="">
                                        <div class="listImitate" style="display: none;">
                                            <dl class="inner">
                                                <dd><a href="/my_complain/myList/" oid="" class="link <?php if($status==""){?>linkOn<?php }?>">全部</a></dd>
                                                <?php foreach($allStatus as $key=>$value){?>
                                                    <dd><a href="/my_complain/myList/?status=<?=$key?>" oid="<?=$key?>" class="link <?php if($status==$key){?>linkOn<?php }?>"><?=$value?></a></dd>

                                                <?php }?>
                                            </dl>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </dd>
                </dl>
            </div>

            <!---->
            <form name = 'search_form' id='search_form' method='get' action ='' >
                <div class="branchCommon_p_box">
                    <div class="branchCommon_p branchCommon_p_2 branchCommon_p_marketing">
                        <table class="table">
                            <tbody>
                            <tr class="bg">
                                <th class="th w110">投诉房源</th>
                                <th class="th w100">房东电话</th>
                                <th class="th w160">房源地址</th>
                                <th class="th w115" >投诉原因</th>
                                <th class="th w110" >举报时间</th>
                                <th class="th w90" >状态</th>
                                <th class="th" >反馈</th>
                            </tr>


                            <?php if($data_info){?>
                                <?php foreach($data_info as $key=>$value){    ?>
                                    <?php if($key%2==0){?>	<tr> <?php }else{ ?><tr class="bg"><?php } ?>
                                    <td class="td"> <?=$value['house_id']?> </td>
                                    <td class="td"><div style="width:90px;padding:0 5px;"><?=$value['house_telno']?></div></td>
                                    <td class="td"> <div style="width:150px;padding:0 5px;"><?=$value['house_address']?></div></td>
                                    <td class="td"><?=$value['reason']?> </td>
                                    <td class="td" style="width:125px"> <?=$value['add_time']?></td>
                                    <td class="td"> <?=$value['status']?> </td>
                                    <td class="td"> <?php if(isset($value['feedback'])){
                                            echo $value['feedback'];}else{echo "────";}?> </td>
                                    </tr>
                                <?php }?>
                            <?php }else{?>
                                <tr>
                                    <td colspan="7" class="itemInfoBach  radius4" style="text-align: center; line-height: 67px;">
                                        没有符合条件的记录
                                    </td>
                                </tr>
                            <?php }?>



                            </tbody>
                        </table>
                    </div>
                    <?php if (!empty($pagination)) { ?>
                        <div class="picPreviewPagBox">
                            <div class="picPreviewPag">
                                <?php echo $pagination; ?>

                            </div>
                        </div>

                        <input type='hidden' name='page' value='<?=$page?>'>
                    <?php } ?>
                    <?php if(is_array($successComplainList)&&!empty($successComplainList)){?>
                        <div class="belongBox radius3 belongBox_jub_s">
                            <div class="hd">举报有奖</div>
                            <div class="scoll">
                                <div id="jsStatistics">
                                    <?php $i=0;$count= count($successComplainList) ?>
                                    <?php foreach($successComplainList as $key=>$value){?>
                                        <?php if($key%4==0){?>
                                            <dl class="list">
                                        <?php }?>
                                        <?php $i++; ?>
                                        <dd class="item"><?php echo csubstr($value['username'],3);?>*** <?php echo csubstr($value['truename'],1);?>** 举报成功获得<span class="b"><?php if($value['is_bid']==1){echo $credit['bid'];}elseif($value['report_status']==5){echo $credit['delete'];}else{echo $credit['comman'];}?></span>房豆<span
                                                    class="t"><?php echo $value['check_time'];?></span></dd>

                                        <?php if($i==4||$count==$key+1){?>
                                            </dl>
                                            <?php $i=0;}?>
                                    <?php }?>

                                </div>
                            </div>
                        </div>
                    <?php }?>

                    <style>
                        .belongBox_jub_s {
                            padding: 16px 0;
                        }

                        .belongBox_jub_s .hd {
                            height: 21px;
                            line-height: 21px;
                            font-weight: bold;
                            padding-left: 22px;
                        }

                        .belongBox_jub_s .item {
                            color: #666;
                            float: left;
                            height: 26px;
                            line-height: 26px;
                            margin-right: 60px;
                            width: 365px;
                            overflow: hidden;
                        }

                        .belongBox_jub_s .list {
                            height: 52px;
                            overflow: hidden;
                        }

                        .belongBox_jub_s .scoll {
                            width: 850px;
                            margin-left: 22px;
                            height: 52px;
                            overflow: hidden;
                        }

                        .belongBox_jub_s .b {
                            color: #1fb682;
                            font-weight: bold;
                            padding: 0 5px;
                        }

                        .belongBox_jub_s .t {
                            color: #b2b2b2;
                            padding-left: 25px;
                        }
                    </style>

                    <script>

                        $(function(){//首页 新发房源 房源总量 删除冒充房源  滚动
                            var oNum = 52;//每次翻滚的高度
                            var oDiv = $("#jsStatistics");
                            var oHtml = oDiv.html()+oDiv.html();
                            var oTimeAuto = null;
                            var autoStatistics = function(){
                                oDiv.animate({
                                    marginTop:parseInt(oDiv.css("margin-top")) - oNum
                                },800,function(){
                                    if(parseInt(oDiv.css("margin-top")) <= -(oDiv.height()*0.5))
                                    {
                                        oDiv.css("margin-top",0)
                                    }
                                })
                            };
                            oDiv.css("margin-top",0 +"px").html(oHtml).hover(function(){
                                clearInterval(oTimeAuto);
                            },function(){
                                oTimeAuto = setInterval( autoStatistics , 4000);
                            });

                            oTimeAuto = setInterval( autoStatistics , 4000);
                        })
                    </script>
                </div>
            </form>
            <!---->
        </div>
    </div>
</div>
<script type="text/javascript" src="<?=STATIC_SOURCE_URL?>/min/?f=zsb/js/v1.0/js2.js"></script>
</body>
</html>
