$region_id = trim($_REQUEST['region_id']);
$name = trim($_REQUEST['name']);
$sql_select = "SELECT * FROM users WHERE region_id ='$region_id' or name ='$name' ORDER BY id DESC {$sqlAdd} LIMIT ". $paginator->skip() .", ". $paginator->take();
$sql_select = "SELECT * FROM users WHERE ".($name==""?"region_id ='$region_id' or ":"")."name ='$name' ORDER BY id DESC ...";