"> $ ids_info [$ i]=(int) $ row [ id ]; ($ ids_info [$ i] == $ id)
$ current_i=$ i;
}
($ current_i!=0)
$ data_info [ prev_id ]=$ ids_info [$ current_i - 1];
$ data_info [ prev_id ]=$ ids_info [count ($ ids_info) - 1];
($ current_i!=count ($ ids_info) - 1)
$ data_info [ next_id ]=$ ids_info [$ current_i + 1];
$ data_info [ next_id ]=$ ids_info [0];
$ data_info;
}