|
@@ -868,8 +868,8 @@ class Transfer extends Start_Controller {
|
|
$this->data['vip'] = $user['vip'];
|
|
$this->data['vip'] = $user['vip'];
|
|
$transfer_ids = array_column($transfer,'id');
|
|
$transfer_ids = array_column($transfer,'id');
|
|
$transfer_str = implode(",",$transfer_ids);
|
|
$transfer_str = implode(",",$transfer_ids);
|
|
- $this->data['cz_1_num'] = $this->systemtransfer_cr->find_count("orver_flag = 1 and is_over = 0 and time > ".(time()-3600*24*14) ." and lx in (".$transfer_str.")");
|
|
|
|
- $this->data['cz_2_num'] = $this->systemtransfer_cr->find_count("orver_flag = 2 and is_over = 0 and time > ".(time()-3600*24*14) ." and lx in (".$transfer_str.")");
|
|
|
|
|
|
+ $this->data['cz_1_num'] = $this->systemtransfer_cr->find_count("orver_flag = 1 and is_over = 0 and time > ".(time()-3600*24*21) ." and lx in (".$transfer_str.")");
|
|
|
|
+ $this->data['cz_2_num'] = $this->systemtransfer_cr->find_count("orver_flag = 2 and is_over = 0 and time > ".(time()-3600*24*21) ." and lx in (".$transfer_str.")");
|
|
//$jiaji_num = 0;
|
|
//$jiaji_num = 0;
|
|
|
|
|
|
// $jiaji_num = $this->systemtransfer->find_count(" is_jiaji = 2 and time > ".(time()-3600*24*7)." and rk not like '%|11|%'" );
|
|
// $jiaji_num = $this->systemtransfer->find_count(" is_jiaji = 2 and time > ".(time()-3600*24*7)." and rk not like '%|11|%'" );
|
|
@@ -882,7 +882,7 @@ class Transfer extends Start_Controller {
|
|
$this->data['jiaji_num'] = -1;
|
|
$this->data['jiaji_num'] = -1;
|
|
}else{
|
|
}else{
|
|
$transfer_str = implode(",",$transfer_ids);
|
|
$transfer_str = implode(",",$transfer_ids);
|
|
- $sql_r = $this->db->query("select s.id,s.is_jiaji,s.rk,c.is_over,c.time,c.lx,c.id from crowd_systemtransfer as s inner join crowd_systemtransfer_cr as c on c.fid = s.id and c.is_over = 0 and c.time > ".(time()-3600*24*14) ." and c.lx in (".$transfer_str.") where s.is_jiaji = 2 and s.rk not like '%|11|%'");
|
|
|
|
|
|
+ $sql_r = $this->db->query("select s.id,s.is_jiaji,s.rk,c.is_over,c.time,c.lx,c.id from crowd_systemtransfer as s inner join crowd_systemtransfer_cr as c on c.fid = s.id and c.is_over = 0 and c.time > ".(time()-3600*24*21) ." and c.lx in (".$transfer_str.") where s.is_jiaji = 2 and s.rk not like '%|11|%'");
|
|
// print_r("select s.id,s.is_jiaji,s.rk,c.is_over,c.time,c.lx,c.id from crowd_systemtransfer as s inner join crowd_systemtransfer_cr as c on c.fid = s.id and c.is_over = 0 and c.time > ".(time()-3600*24*7) ." and c.lx in (".$transfer_str.") where s.is_jiaji = 2 and s.rk not like '%|11|%'");
|
|
// print_r("select s.id,s.is_jiaji,s.rk,c.is_over,c.time,c.lx,c.id from crowd_systemtransfer as s inner join crowd_systemtransfer_cr as c on c.fid = s.id and c.is_over = 0 and c.time > ".(time()-3600*24*7) ." and c.lx in (".$transfer_str.") where s.is_jiaji = 2 and s.rk not like '%|11|%'");
|
|
|
|
|
|
$tmp_list= $sql_r->result_array();
|
|
$tmp_list= $sql_r->result_array();
|