<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Util; use Illuminate\Support\Facades\View; class RenderUtil { public static function view($FOcXW, $zvN10 = array()) { return View::make($FOcXW, $zvN10)->render(); } public static function viewScript($FOcXW, $zvN10 = array()) { goto d8TzV; di7zy: $vVYCS = preg_replace('/^<script>/', '', $vVYCS); goto KUTkH; KUTkH: $vVYCS = preg_replace('/<\\/script>$/', '', $vVYCS); goto icDJY; d8TzV: $vVYCS = trim(self::view($FOcXW, $zvN10)); goto di7zy; icDJY: return trim($vVYCS); goto q6BNy; q6BNy: } public static function display($vVYCS, $F4tP8 = false) { goto dJ9Me; cyY5X: $ccom9 = array('@parent' => '&#64;parent'); goto p28f5; p28f5: return str_replace(array_keys($ccom9), array_values($ccom9), $vVYCS); goto PfB9W; dJ9Me: if ($F4tP8) { $vVYCS = htmlspecialchars($vVYCS); } goto cyY5X; PfB9W: } }