Для вывода select с собственными данными можно использовать функцию
дополнительные параметры
$sel = array('element'=>array(echo theme_select($sel);
'#type' => 'select',
'#ajax_processed'=>'myfunc',
'#options' =>array(1=>'first', 2=>'second', 3=>'third')
));
дополнительные параметры
//Array ( [element] => Array ( [#type] => select
//[#default_value] =>
//[#empty_value] => -1
//[#title_display] => invisible
//[#title] => Регион для блока Сейчас на сайте
//[#options] => Array ( [-1] => - Нет - [sidebar_first] => Левая колонка [sidebar_second] => Правая колонка [content] => Содержимое [header] => Заголовок [footer] => Подвал [highlighted] => Закреплено [help] => Справка )
//[#input] => 1
//[#multiple] => [#process] => Array ( [0] => form_process_select [1] => ajax_process_form )
//[#theme] => select
//[#theme_wrappers] => Array ( [0] => form_element )
//[#pre_render] => Array ( [0] => ctools_dependent_pre_render )
//[#defaults_loaded] => 1
//[#tree] => 1
//[#parents] => Array ( [0] => blocks [1] => user_online [2] => region )
//[#array_parents] => Array ( [0] => blocks [1] => user_online [2] => region )
//[#weight] => 0.005 [#processed] => 1
//[#required] =>
//[#attributes] => Array ( [class] => Array ( [0] => block-region-select [1] => block-region--1 ) )
//[#id] => edit-blocks-user-online-region
//[#name] => blocks[user_online][region]
//[#value] =>
//[#empty_option] => - Нет -
//[#ajax_processed] =>
//[#sorted] => 1
//[#children] => ) )