user->identity; $seo = Yii::$app->get('seo'); $feedback = new Feedback(); $settings = Settings::getInstance(); $controller = Yii::$app->controller; $default_controller = Yii::$app->defaultRoute; $isHome = ( ( $controller->id === $default_controller ) && ( $controller->action->id === $controller->defaultAction ) ) ? true : false; $pageCategories = PageCategory::find() ->with( [ 'lang', 'pages' => function (ActiveQuery $query) { $query->with('lang.alias') ->where([ 'in_menu' => true ]) ->orderBy([ 'sort' => SORT_ASC ]); }, ] ) ->where([ 'status' => true ]) ->orderBy([ 'sort' => SORT_ASC ]) ->all(); $logo = null; if ($settings->logo) { $logo_img = ImageManager::findOne($settings->logo); if ($logo_img) { $logo = $logo_img->getImagePathPrivate() ?? $logo; } } $this->registerMetaTag( [ 'name' => 'description', 'content' => $seo->desc, ] ) ?> beginPage() ?>
= Html::csrfMetaTags() ?>= Html::submitButton( \Yii::t('app', 'send1'), [ 'class' => 'send-form btn btn-lg btn-template-primary', ] ) ?>
= \Yii::t('app', 'contact_datas') ?>
= $form->field($feedback, 'topic') ->hiddenInput(['value' => Feedback::SCENARIO_CALCULATOR]) ->label(false)?> =$form->field($feedback, "name")->textInput()?> =$form->field($feedback, "phone")->textInput()?> =$form->field($feedback, "email")->textInput()?>= \Yii::t('app', 'ses_info_install') ?>
= \Yii::t('app', 'coord1_title') ?>:
=$form->field($feedback, "latitude") ->textInput() ->label( \Yii::t( 'app', 'Latitude' ) )?> =$form->field($feedback, "longitude") ->textInput() ->label( \Yii::t( 'app', 'Longitude' ) )?> =$form->field($feedback, "south_deviation") ->textInput() ->label( \Yii::t( 'app', 'south_deviation' ) )?>= \Yii::t('app', 'info_power_ses') ?>
= \Yii::t( 'app', 'info_power_ses_auth' ) ?>
=\Yii::t('app', 'reply_thanks')?>