| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/zomuaban.com/public_html/site/views/backend/pages/itemad_reported/ |
Upload File : |
<style>
.panel-heading label{margin-top:9px;}
#review-frame {
position: fixed;
width: 600px;
bottom: 0;
top: -7px;
right: -800px;
z-index: 9999;
box-shadow: 15px 15px 15px 19px #aaa;
}
#hideframe-btn{
font-size: 35px;
color: #fff;
text-decoration: none!important;
float: right;
padding: 9px;
}
.greate-scroller{
max-height: 300px;
height: 280px;
padding: 5px 15px;
}
.auto-fill{
display:block;
color: #444;
}
.item-blocked{ background-color: #FFECEC;}
.item-pending{ background-color: #FFFEF0;}
.item-active{ }
.item-done{ background-color: #F4FFF3;}
.item-expirate{ background-color: #f3f3f3;}
</style>
<div class="clearfix">
<!-- START FILTER -->
<table id="admin-search" class="table well" style="z-index:99">
<tbody>
<tr>
<td class="col-xs-1"> <input id="id" placeholder="ID" class="form-control" value="<?=$gData->id?>"></td>
<td class="col-xs-3"> <input id="title" placeholder="Tiêu đề" class="form-control" value="<?=$gData->key?>"></td>
<td class="col-xs-3"> <input id="email" placeholder="Email" class="form-control" value="<?=$gData->email?>"></td>
<td class="col-xs-3"> <input id="phone" placeholder="Phone" class="form-control" value="<?=$gData->phone?>"></td>
<td style="min-width: 190px;"><?=getBlock('cate/cate_all', array('cateId'=> $gData->cate->cid))?></td>
<?php
$ta = new stdClass();
$ta->value = $gData->ta ? $gData->ta : 'anytime';
$ta->text = time_selector()[$ta->value];
?>
<td><?=getBlock('selector/time_ago_selector', $ta )?></td>
<td class="col-xs-2" style="min-width: 75px;">
<div class="pull-right btn-group">
<button id="clearBtn" type="submit" class="btn btn-warning"><i class="fa fa-remove"></i> </button>
<button id="searchBtn" type="submit" class="btn btn-info">Search</button>
</div>
</td>
</tr>
<tr class="hidden">
<td colspan="12">
<form class="checkbox" style="margin-top:0">
<label class="checkbox-inline col-xs-3 help-block">
<input type="checkbox" id="owner-item" <?php if($gData->owner==true)echo "checked"; ?> /> Tin chính chủ
</label>
</form>
</td>
</tr>
</tbody>
</table>
<!-- END FILTER -->
<div class="well hidden">
<label>QUERY : </label>
<?=$lastquery?>
</div>
<?php if($active!='all'){?>
<div class="well checkbox" style="margin-top:0">
<label>
<input id="all-item-check" type="checkbox" <?=$active=='all'?'checked':''?>>
<b>Tất cả tin đăng</b>
</label>
</div>
<?php } ?>
<?php if($active=='notyet'){
echo '<div class="panel panel-warning"><div class="panel-heading clearfix"> <label><i class="fa fa-list-ul"></i> '.$total.' TIN CHỜ DUYỆT</label>';
}else if ($active == 'active') {
echo '<div class="panel panel-info"><div class="panel-heading clearfix"> <label><i class="fa fa-list-ul"></i> '.$total.' TIN ĐANG ĐƯỢC ĐĂNG</label>';
}else if($active=='done'){
echo '<div class="panel panel-success"><div class="panel-heading clearfix"> <label><i class="fa fa-list-ul"></i> '.$total.' TIN ĐĂNG THÀNH CÔNG</label>';
}else if($active=='outdate'){
echo '<div class="panel panel-danger"><div class="panel-heading clearfix"> <label><i class="fa fa-list-ul"></i> '.$total.' TIN ĐÃ HẾT HẠN</label>';
}else{
echo '<div class="panel panel-default"><div class="panel-heading clearfix"> <label><i class="fa fa-list-ul"></i> '.$total.' TẤT CẢ TIN ĐĂNG</label>';
}
?>
<?php if (isset($this->pagination) && $this->pagination->total_rows > $this->pagination->per_page){ ?>
<ul class="pagination pull-right clearfix" style="margin:0">
<li class="disabled"><a>Trang</a></li>
<?=$this->pagination->create_links()?>
</ul>
<?php }?>
</div>
<!-- Table -->
<table class="table table-bordered">
<thead id="filter">
<tr>
<th>
<div class="checkbox" style="margin:0">
<label>
<input id="checkAllKey" type="checkbox" value="">
<b>#</b>
</label>
</div>
</th>
<th>Tiêu đề</th>
<th>Người đăng</th>
<th>Thời gian</th>
<th>Thông tin</th>
<th>Action</th>
</tr>
</thead>
<tbody id="listing">
<?php foreach($list as $item) {
$itemview = $active == 'reported' || $active == 'not-approve' || $active == 'blocked' ?'item-report-row' :'item-row';
echo getPageIncBkend($itemview,full_item_prop($item));
}?>
</tbody>
</table>
</div>
<?php if (isset($this->pagination) && $this->pagination->total_rows > $this->pagination->per_page){ ?>
<ul class="pagination pull-right">
<li class="disabled"><a>Trang</a></li>
<?=$this->pagination->create_links()?>
<div class="clearfix"></div>
</ul>
<?php } else { ?>
<div class="alert"></div>
<?php } ?>
</div>
<div id="review-frame">
<a id="hideframe-btn" href="#" class="btn-info" style="float: left;margin-left: -38px;margin-top: 7px;">
<i class="fa fa-angle-double-right"></i>
</a>
<iframe width="100%" height="100%" frameborder="none"></iframe>
</div>