|
|
@@ -373,7 +373,8 @@ class Workshopshow extends Start_Controller
|
|
|
$page = $this->input->post('page',true);
|
|
|
$perpage = $this->input->post('perpage',true);
|
|
|
|
|
|
- $month_one = date("Y-m-d", strtotime("-1 month"));
|
|
|
+ $timetkk = $this->input->post('timetkk',true);
|
|
|
+ $timetjj = $this->input->post('timetjj',true);
|
|
|
|
|
|
if(empty($page))
|
|
|
{
|
|
|
@@ -385,7 +386,8 @@ class Workshopshow extends Start_Controller
|
|
|
$start = ($page - 1)*$perpage;
|
|
|
}
|
|
|
|
|
|
- $this->db->where("time >",strtotime($month_one));
|
|
|
+ $this->db->where("time >= ",strtotime($timetkk));
|
|
|
+ $this->db->where("time < ",strtotime($timetkk));
|
|
|
$this->db->not_like('rk', '|11|','before');
|
|
|
$this->db->where("ycrk_type",0);
|
|
|
$this->db->order_by('id','desc');
|
|
|
@@ -395,7 +397,8 @@ class Workshopshow extends Start_Controller
|
|
|
$info_list = $info_list->result_array();
|
|
|
|
|
|
|
|
|
- $this->db->where("time >",strtotime($month_one));
|
|
|
+ $this->db->where("time >= ",strtotime($timetkk));
|
|
|
+ $this->db->where("time < ",strtotime($timetkk));
|
|
|
$this->db->not_like('rk', '|11|','before');
|
|
|
$this->db->where("ycrk_type",0);
|
|
|
$total = $this->db->count_all_results('systemtransfer');
|