<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Util; use Illuminate\Support\Facades\View; class RenderUtil { public static function view($x0USf, $zonFp = array()) { return View::make($x0USf, $zonFp)->render(); } public static function viewScript($x0USf, $zonFp = array()) { goto vxKnc; nV_8D: $BWI89 = preg_replace('/^<script>/', '', $BWI89); goto FKcB9; vxKnc: $BWI89 = trim(self::view($x0USf, $zonFp)); goto nV_8D; q_npk: return trim($BWI89); goto AYnuL; FKcB9: $BWI89 = preg_replace('/<\\/script>$/', '', $BWI89); goto q_npk; AYnuL: } public static function display($BWI89, $an80A = false) { goto tsLHL; udO2x: return str_replace(array_keys($rNHGz), array_values($rNHGz), $BWI89); goto y4ixf; tsLHL: if ($an80A) { $BWI89 = htmlspecialchars($BWI89); } goto pjJe9; pjJe9: $rNHGz = array('@parent' => '&#64;parent'); goto udO2x; y4ixf: } }