search_users_by_letter($db, $letter, $pos, $amount); } else { $users_info = $user->search_users($db, $name, $staj, $dlujnost_id, $nauchno_zvanie_id, $area_id, $organization, $working_pratice_id, $city, $pos, $amount); } } // echo $func->table_var_dump($users_info); $max_results = "0"; if (is_array($users_info)) { $max_results = $users_info['num_res']; } $query_string = $_SERVER['QUERY_STRING']; $query_string = str_replace("pos=", "&", $query_string); ?> Psychology-BG.com
 

 
   
  , ,
 
  0) { echo "<<"; } for ($i = 0; $i < ($max_results / $amount); $i++) { if (($pos / $amount) == $i) { echo " | ".($i + 1).""; } else { echo " | ".($i + 1).""; } } if (($pos) < (($max_results) - $amount)) { echo " |  >> "; } ?>