<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\App\Web\Layout; use ModStart\Core\Util\AgentUtil; use ModStart\Layout\Page; class WebPage extends Page { public function view($x0USf = null) { if (null === $x0USf) { goto aH17L; M5oq7: $IqGx1 = "theme.{$X3e5_}.pc.page"; goto vx8TD; aH17L: if ($this->view) { return $this->view; } goto LGVMD; k8Xqt: if (view()->exists($vPogT)) { return $vPogT; } goto xClf1; xClf1: return 'modstart::app.web.page'; goto FsnA6; Xk5te: if (AgentUtil::isMobile()) { if (view()->exists($v103X)) { return $v103X; } if (view()->exists($oVL2E)) { return $oVL2E; } } goto i6UlB; vx8TD: $vPogT = 'theme.default.pc.page'; goto Xk5te; JZObl: $v103X = "theme.{$X3e5_}.m.page"; goto qnEqV; i6UlB: if (view()->exists($IqGx1)) { return $IqGx1; } goto k8Xqt; qnEqV: $oVL2E = 'theme.default.m.page'; goto M5oq7; LGVMD: $X3e5_ = modstart_config()->getWithEnv('siteTemplate', 'default'); goto JZObl; FsnA6: } return parent::view($x0USf); } public function useBlank() { $this->view = 'modstart::app.web.pageBlank'; } public function useNarrow() { $this->view = 'modstart::app.web.pageNarrow'; } }