<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Util; use Illuminate\Support\Facades\View; class RenderUtil { public static function view($Y65Gr, $dTnlu = array()) { return View::make($Y65Gr, $dTnlu)->render(); } public static function viewScript($Y65Gr, $dTnlu = array()) { goto yBHww; dYtAy: return trim($gP2DQ); goto RXxoW; Dx7W2: $gP2DQ = preg_replace('/<\\/script>$/', '', $gP2DQ); goto dYtAy; yBHww: $gP2DQ = trim(self::view($Y65Gr, $dTnlu)); goto CNJhA; CNJhA: $gP2DQ = preg_replace('/^<script>/', '', $gP2DQ); goto Dx7W2; RXxoW: } public static function display($gP2DQ, $Ek1VD = false) { goto CypJ6; EYi1I: return str_replace(array_keys($jc9BF), array_values($jc9BF), $gP2DQ); goto XSWz1; CypJ6: if ($Ek1VD) { $gP2DQ = htmlspecialchars($gP2DQ); } goto h4Gaj; h4Gaj: $jc9BF = array('@parent' => '&#64;parent'); goto EYi1I; XSWz1: } }