lib_function->get_client_ip(); $view_ip = $this->database_model->row_array('public_view_ip',array('ip' => $client_ip, 'pos_id' => $meta['id'])); if(empty($view_ip)){ $data = array('ip' => $client_ip, 'pos_id' => $meta['id'], 'pos_user_id' => $meta['user_id'], 'pos_link' => base_url().$url_lag.'/cong-dong/'.$meta['id'].'-'.stripUnicode(trim($meta['name'])).'.html'); $this->db->insert('public_view_ip',$data); } //Get user info $row_user = $this->database_model->row_array('users_data',array('use_id' => $meta['user_id'])); ?>
'; } ?>