$this - > db - > select($this - > user_select);
$this - > db - > from('users u');
$this - > db - > join('types t', 't.id = u.type_id');
$this - > db - > where('u.type_id', $type_id);
$this - > db - > where('u.category_id', $category_id);
$this - > db - > limit('10', $this - > uri - > segment(3));