Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach ($icons as $key => $value) {
- if ($key == 0) continue;
- $i = 0;
- if ($i <= 5)
- {
- $mass_botton[] = [$vk->buttonText($value, 'blue', ['command' => "icon_{$key}"])];
- $i++;
- }
- else
- {
- $mass_botton[] = [$vk->buttonText($value, 'blue', ['command' => "icon_{$key}"])];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement