public function run()
{
$months = [0 => 'Январь', 1 => 'Февраль', 2 => 'Март', 3 => 'Апрель', 4 => 'Май', 5 => 'Июнь', 6 => 'Июль', 7 => 'Август', 8 => 'Сентябрь', 9 => 'Октябрь', 10 => 'Ноябрь', 11 => 'Декабрь'];
$time = time();
$request = \Yii::$app->request;
$time = $request->get('time', $time);
$month = date('n', $time);
$year = date('Y', $time);
echo '<div class="b-calendar b-calendar--along">';
echo '<h4 class="text-center">';
echo Html::a(Html::icon('triangle-left'), '?time=' . strtotime('-1 month', $time), ['class' => 'pull-left']);
echo $months[$month - 1] . ' ' . $year;
echo Html::a(Html::icon('triangle-right'), '?time=' . strtotime('+1 month', $time), ['class' => 'pull-right']);
echo '</h4>';
echo $this->draw_calendar($month, 2016);
echo '</div>';
}