﻿{"TITLE":"\u0420\u0430\u0434\u0438\u043e","DESCRIPTION":"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0434\u0438\u043e","CODE":"$sql = \"SELECT * FROM app_radio;\";\r\n$rec = SQLSelect($sql);\r\n$total = count($rec);\r\nfor($i = 0; $i < $total; $i++) {\r\n    $option[] = $this->buildInlineKeyboardButton($text=$rec[$i][\"name\"],\"\",\"CallbackRadio_\".$rec[$i][\"name\"],\"\");\r\n}\r\n$option[] = $this->buildInlineKeyboardButton($text=\"\u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c\",\"\",\"CallbackRadio_off\",\"\");\r\n$count_row = 3;\r\n$option = array_chunk($option, $count_row);\r\n$keyb = $this->buildInlineKeyBoard($option);\r\n$content = array('chat_id' => $chat_id, 'text' => \"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0434\u0438\u043e:\", 'reply_markup' => $keyb);\r\n$this->sendContent($content);","ACCESS":"3","SHOW_MODE":"1","LINKED_OBJECT":"","LINKED_PROPERTY":"","CONDITION":"1","CONDITION_VALUE":"","PRIORITY":"0"}