예제 #1
0
 public function reportsTABLEpage($id)
 {
     /*$data['email'] = self::$session_data['email'];
       $data['type'] = self::$session_data['type'];
       $data['id'] = self::$session_data['id'];*/
     /*$_type = $data['type'];
       $_id = $data['id'];*/
     //self::$data['count'];
     self::$data['count'] = $this->session->userdata('count');
     //
     $home = new home();
     self::$data['count'] = $home->forcounter(self::$_type, self::$_id);
     Tables::getonerow($id);
     $row = Tables::getTableReports(self::$_type);
     //$data['rw'] = $row;
     self::$data['rw'] = $row;
     switch (self::$_type) {
         case 'a':
             $this->load->view('reportstable', self::$data);
             break;
         case 'u':
             $this->load->view('replytable', self::$data);
             break;
     }
 }