0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: mod_dchtml.php.tar
home/academiac/www/modules/mod_dchtml/mod_dchtml.php 0000604 00000001530 15137263512 0016614 0 ustar 00 <?php // no direct access defined('_JEXEC') or die('Go Away'); $html = $params->get( 'fwd_html' ); $clean_js = $params->get( 'clean_js' ); $clean_css = $params->get( 'clean_css' ); $clean_all = $params->get( 'clean_all' ); if (!$clean_all) { if ($clean_js) { preg_match("/<script(.*)>(.*)<\/script>/i", $html, $matches); if ($matches) { foreach ($matches as $i=>$match) { $clean_js = str_replace('<br />', '', $match); $html = str_replace($match, $clean_js, $html); } } } if ($clean_css) { preg_match("/<style(.*)>(.*)<\/style>/i", $html, $matches); if ($matches) { foreach ($matches as $i=>$match) { $clean_js = str_replace('<br />', '', $match); $html = str_replace($match, $clean_js, $html); } } } } else { $html = str_replace('<br />', '', $html); } echo $html; ?>
©
2018.