controller->id; $action = Yii::$app->controller->action->id; if(($controller!="site" && $action!="index") && Yii::$app->deviceDetect->isMobile() ):?> switch (rand(1,3)) { case 1: $this->registerJsFile("//s.clickiocdn.com/t/202435/360.js",['position'=>\yii\web\View::POS_HEAD, 'async'=>true]); $this->registerJsFile("//s.luxupadva.com/t/common_403.js",['position'=>\yii\web\View::POS_HEAD, 'async'=>true]); ?>
break; case 2: ?> break; case 3: ?> break; } /* }else{ ?> } */ ?>