<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use frontend\assets\WebAsset; use common\widgets\Alert; WebAsset::register($this); $this->title = "r2 technology"; $this->beginPage(); ?> <!DOCTYPE html> <html lang="<?php echo Yii::$app->language; ?> "> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <?php echo Html::csrfMetaTags(); ?> <title><?php echo Html::encode($this->title); ?> </title>
<?php /* @var $this yii\web\View */ /* @var $name string */ /* @var $message string */ /* @var $exception Exception */ use yii\helpers\Html; use frontend\assets\WebAsset; $baseUrl = WebAsset::register($this)->baseUrl; $this->title = $name; //TODO traducir textos a español pagina error ?> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12"> <div class="error-content"> <div class="error-img"> <!-- <img src="/img/404.jpg" alt="">--> </div> <div class="error-content"> <h1><?php echo Html::encode($this->title); ?> </h1> <p><?php echo nl2br(Html::encode($message)); ?> </p> <h3>To find a product, please type its name in the field below.</h3> <form action="#" method="post"> <label>Search our product catalog:</label>
<?php /* @var $this yii\web\View */ /* @var $name string */ /* @var $message string */ /* @var $exception Exception */ use yii\web\View; use yii\widgets\Pjax; use yii\helpers\Html; use common\components\MensajeriaHelper; \frontend\assets\WebAsset::register($this); $this->registerJs("var wsTopicPub = '" . Yii::$app->websocket->generaTopicPublico() . "';", View::POS_HEAD); $this->registerJs("var wsTopicPri = '" . Yii::$app->websocket->generaTopicPrivado() . "';", View::POS_HEAD); $this->registerJs("var wsTipo = '" . Yii::$app->websocket->tipoTopic() . "';", View::POS_HEAD); $this->registerJs("var wsUrl = '" . Yii::$app->websocket->url . "';", View::POS_HEAD); //WebsocketAsset::register($this); use common\models\Usuarios; use common\components\Mensajeria; $id = 1; //$usuario = Usuarios::findOne(['idusuario'=>$id]); //MensajeriaHelper::enviarBienvenidaUsuario($usuario); use yii\bootstrap\ActiveForm; use common\widgets\formulario\MultipleInput; $model = new \common\models\forms\CrearEditarDescuentoForm(); echo '<pre>'; print_r([__LINE__, __METHOD__, 'hola mundo', $post]); echo '</pre>'; //use common\models\Conversaciones; //$mensajes = Conversaciones::find()->one(); //$mensajes = Conversaciones::find()->where(['propietario' => 1])->all(); //print_r(['',$mensajes[0]->getMensajes()->sinLeer()->count()]);//die();