<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Util; use Illuminate\Support\Facades\View; class RenderUtil { public static function view($d1G11, $Sj05q = array()) { return View::make($d1G11, $Sj05q)->render(); } public static function viewScript($d1G11, $Sj05q = array()) { goto zdoCp; zdoCp: $LTC5O = trim(self::view($d1G11, $Sj05q)); goto uFr92; x7Hqw: return trim($LTC5O); goto p4EZi; Vnwqn: $LTC5O = preg_replace('/<\\/script>$/', '', $LTC5O); goto x7Hqw; uFr92: $LTC5O = preg_replace('/^<script>/', '', $LTC5O); goto Vnwqn; p4EZi: } public static function display($LTC5O, $ubHxg = false) { goto bycHl; bycHl: if ($ubHxg) { $LTC5O = htmlspecialchars($LTC5O); } goto BQLHd; bdL3b: return str_replace(array_keys($Jy4JJ), array_values($Jy4JJ), $LTC5O); goto Urpl2; BQLHd: $Jy4JJ = array('@parent' => '&#64;parent'); goto bdL3b; Urpl2: } }