| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
http://flourishlib.com/docs/UTF-8 |
|---|
| 7 |
|
|---|
| 8 |
@copyright |
|---|
| 9 |
@author will@flourishlib.com |
|---|
| 10 |
@license http://flourishlib.com/license |
|---|
| 11 |
|
|---|
| 12 |
@package |
|---|
| 13 |
@link http://flourishlib.com/fXML |
|---|
| 14 |
|
|---|
| 15 |
@version |
|---|
| 16 |
@changes |
|---|
| 17 |
@changes |
|---|
| 18 |
@changes |
|---|
| 19 |
@changes |
|---|
| 20 |
|
|---|
| 21 |
class fXML implements ArrayAccess |
|---|
| 22 |
{ |
|---|
| 23 |
|
|---|
| 24 |
const encode = 'fXML::encode'; |
|---|
| 25 |
const sendHeader = 'fXML::sendHeader'; |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
@param |
|---|
| 32 |
@return |
|---|
| 33 |
|
|---|
| 34 |
static public function encode($content) |
|---|
| 35 |
{ |
|---|
| 36 |
return htmlspecialchars(html_entity_decode($content, ENT_QUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8'); |
|---|
| 37 |
} |
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
@return |
|---|
| 44 |
|
|---|
| 45 |
static public function sendHeader() |
|---|
| 46 |
{ |
|---|
| 47 |
header('Content-Type: text/xml; charset=utf-8'); |
|---|
| 48 |
} |
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
@var |
|---|
| 55 |
|
|---|
| 56 |
protected $__custom_prefixes; |
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
@var |
|---|
| 62 |
|
|---|
| 63 |
protected $__dom; |
|---|
| 64 |
|
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 |
@var |
|---|
| 69 |
|
|---|
| 70 |
protected $__xpath; |
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
|
|---|
| 75 |
@var |
|---|
| 76 |
|
|---|
| 77 |
protected $__xml; |
|---|
| 78 |
|
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
|
|---|
| 82 |
|
|---|
| 83 |
|
|---|
| 84 |
|
|---|
| 85 |
|
|---|
| 86 |
|
|---|
| 87 |
@throws |
|---|
| 88 |
|
|---|
| 89 |
@param |
|---|
| 90 |
@param |
|---|
| 91 |
@return |
|---|
| 92 |
|
|---|
| 93 |
public function __construct($source, $http_timeout=NULL) |
|---|
| 94 |
{ |
|---|
| 95 |
|
|---|
| 96 |
$old_setting = libxml_use_internal_errors(TRUE); |
|---|
| 97 |
|
|---|
| 98 |
$exception_message = NULL; |
|---|
| 99 |
try { |
|---|
| 100 |
if ($source instanceof DOMElement) { |
|---|
| 101 |
$this->__dom = $source; |
|---|
| 102 |
$xml = TRUE; |
|---|
| 103 |
|
|---|
| 104 |
} elseif ($source instanceof fFile) { |
|---|
| 105 |
$xml = simplexml_load_file($source->getPath()); |
|---|
| 106 |
|
|---|
| 107 |
|
|---|
| 108 |
} elseif (preg_match('#^(?P<protocol>http(s)?)://#', $source, $matches)) { |
|---|
| 109 |
|
|---|
| 110 |
if ($http_timeout === NULL) { |
|---|
| 111 |
$http_timeout = ini_get('default_socket_timeout'); |
|---|
| 112 |
} |
|---|
| 113 |
|
|---|
| 114 |
|
|---|
| 115 |
$context = stream_context_create(array( |
|---|
| 116 |
$matches['protocol'] => array('timeout' => $http_timeout) |
|---|
| 117 |
)); |
|---|
| 118 |
|
|---|
| 119 |
|
|---|
| 120 |
$old_level = error_reporting(error_reporting() & ~E_WARNING); |
|---|
| 121 |
$xml = file_get_contents($source, 0, $context); |
|---|
| 122 |
error_reporting($old_level); |
|---|
| 123 |
|
|---|
| 124 |
if (!$xml) { |
|---|
| 125 |
throw new fExpectedException('The URL specified, %s, could not be loaded', $source); |
|---|
| 126 |
} |
|---|
| 127 |
|
|---|
| 128 |
$xml = new SimpleXMLElement($xml); |
|---|
| 129 |
|
|---|
| 130 |
} else { |
|---|
| 131 |
$is_path = $source && !preg_match('#^\s*<#', $source); |
|---|
| 132 |
$xml = new SimpleXMLElement($source, 0, $is_path); |
|---|
| 133 |
} |
|---|
| 134 |
|
|---|
| 135 |
} catch (Exception $e) { |
|---|
| 136 |
$exception_message = $e->getMessage(); |
|---|
| 137 |
$xml = FALSE; |
|---|
| 138 |
} |
|---|
| 139 |
|
|---|
| 140 |
|
|---|
| 141 |
if ($xml === FALSE) { |
|---|
| 142 |
$errors = libxml_get_errors(); |
|---|
| 143 |
foreach ($errors as $error) { |
|---|
| 144 |
$exception_message .= "\n" . $error->message; |
|---|
| 145 |
} |
|---|
| 146 |
|
|---|
| 147 |
if (!$old_setting) { |
|---|
| 148 |
libxml_use_internal_errors(FALSE); |
|---|
| 149 |
} |
|---|
| 150 |
throw new fValidationException(str_replace('%', '%%', $exception_message)); |
|---|
| 151 |
} |
|---|
| 152 |
|
|---|
| 153 |
if (!$old_setting) { |
|---|
| 154 |
libxml_use_internal_errors(FALSE); |
|---|
| 155 |
} |
|---|
| 156 |
|
|---|
| 157 |
if (!$this->__dom) { |
|---|
| 158 |
$this->__dom = dom_import_simplexml($xml); |
|---|
| 159 |
} |
|---|
| 160 |
|
|---|
| 161 |
if ($this->__dom->namespaceURI && $this->__dom->prefix == '') { |
|---|
| 162 |
$this->addCustomPrefix('__', $this->__dom->namespaceURI); |
|---|
| 163 |
} |
|---|
| 164 |
} |
|---|
| 165 |
|
|---|
| 166 |
|
|---|
| 167 |
|
|---|
| 168 |
|
|---|
| 169 |
|
|---|
| 170 |
|
|---|
| 171 |
|
|---|
| 172 |
|
|---|
| 173 |
|
|---|
| 174 |
|
|---|
| 175 |
@internal |
|---|
| 176 |
|
|---|
| 177 |
@param |
|---|
| 178 |
@return |
|---|
| 179 |
|
|---|
| 180 |
public function __get($name) |
|---|
| 181 |
{ |
|---|
| 182 |
|
|---|
| 183 |
static $methods = array( |
|---|
| 184 |
'__construct' => TRUE, |
|---|
| 185 |
'__get' => TRUE, |
|---|
| 186 |
'__isset' => TRUE, |
|---|
| 187 |
'__sleep' => TRUE, |
|---|
| 188 |
'__toString' => TRUE, |
|---|
| 189 |
'__wakeup' => TRUE, |
|---|
| 190 |
'addCustomPrefix' => TRUE, |
|---|
| 191 |
'getName' => TRUE, |
|---|
| 192 |
'getNamespace' => TRUE, |
|---|
| 193 |
'getPrefix' => TRUE, |
|---|
| 194 |
'getText' => TRUE, |
|---|
| 195 |
'offsetExists' => TRUE, |
|---|
| 196 |
'offsetGet' => TRUE, |
|---|
| 197 |
'offsetSet' => TRUE, |
|---|
| 198 |
'offsetUnset' => TRUE, |
|---|
| 199 |
'toXML' => TRUE, |
|---|
| 200 |
'xpath' => TRUE |
|---|
| 201 |
); |
|---|
| 202 |
|
|---|
| 203 |
if (isset($methods[$name])) { |
|---|
| 204 |
return array($this, $name); |
|---|
| 205 |
} |
|---|
| 206 |
|
|---|
| 207 |
if ($this->__dom->namespaceURI && $this->__dom->prefix == '' && strpos($name, ':') === FALSE) { |
|---|
| 208 |
$name = '__:' . $name; |
|---|
| 209 |
} |
|---|
| 210 |
$first_child = $this->query($name . '[1]'); |
|---|
| 211 |
if ($first_child->length) { |
|---|
| 212 |
return $first_child->item(0)->textContent; |
|---|
| 213 |
} |
|---|
| 214 |
|
|---|
| 215 |
return NULL; |
|---|
| 216 |
} |
|---|
| 217 |
|
|---|
| 218 |
|
|---|
| 219 |
|
|---|
| 220 |
|
|---|
| 221 |
|
|---|
| 222 |
|
|---|
| 223 |
|
|---|
| 224 |
|
|---|
| 225 |
@internal |
|---|
| 226 |
|
|---|
| 227 |
@param |
|---|
| 228 |
@return |
|---|
| 229 |
|
|---|
| 230 |
public function __isset($name) |
|---|
| 231 |
{ |
|---|
| 232 |
if ($this->__dom->namespaceURI && $this->__dom->prefix == '' && strpos($name, ':') === FALSE) { |
|---|
| 233 |
$name = '__:' . $name; |
|---|
| 234 |
} |
|---|
| 235 |
return (boolean) $this->query($name . '[1]')->length; |
|---|
| 236 |
} |
|---|
| 237 |
|
|---|
| 238 |
|
|---|
| 239 |
|
|---|
| 240 |
|
|---|
| 241 |
|
|---|
| 242 |
@internal |
|---|
| 243 |
|
|---|
| 244 |
@param |
|---|
| 245 |
@param |
|---|
| 246 |
@return |
|---|
| 247 |
|
|---|
| 248 |
public function __set($name, $value) |
|---|
| 249 |
{ |
|---|
| 250 |
throw new fProgrammerException('The %s class does not support modifying XML', __CLASS__); |
|---|
| 251 |
} |
|---|
| 252 |
|
|---|
| 253 |
|
|---|
| 254 |
|
|---|
| 255 |
|
|---|
| 256 |
|
|---|
| 257 |
@internal |
|---|
| 258 |
|
|---|
| 259 |
@return |
|---|
| 260 |
|
|---|
| 261 |
public function __sleep() |
|---|
| 262 |
{ |
|---|
| 263 |
$this->__xml = $this->toXML(); |
|---|
| 264 |
return array('__custom_prefixes', '__xml'); |
|---|
| 265 |
} |
|---|
| 266 |
|
|---|
| 267 |
|
|---|
| 268 |
|
|---|
| 269 |
|
|---|
| 270 |
|
|---|
| 271 |
@return |
|---|
| 272 |
|
|---|
| 273 |
public function __toString() |
|---|
| 274 |
{ |
|---|
| 275 |
return (string) $this->__dom->textContent; |
|---|
| 276 |
} |
|---|
| 277 |
|
|---|
| 278 |
|
|---|
| 279 |
|
|---|
| 280 |
|
|---|
| 281 |
|
|---|
| 282 |
@internal |
|---|
| 283 |
|
|---|
| 284 |
@param |
|---|
| 285 |
@return |
|---|
| 286 |
|
|---|
| 287 |
public function __unset($name) |
|---|
| 288 |
{ |
|---|
| 289 |
throw new fProgrammerException('The %s class does not support modifying XML', __CLASS__); |
|---|
| 290 |
} |
|---|
| 291 |
|
|---|
| 292 |
|
|---|
| 293 |
|
|---|
| 294 |
|
|---|
| 295 |
|
|---|
| 296 |
@internal |
|---|
| 297 |
|
|---|
| 298 |
@return |
|---|
| 299 |
|
|---|
| 300 |
public function __wakeup() |
|---|
| 301 |
{ |
|---|
| 302 |
$this->__dom = dom_import_simplexml(new SimpleXMLElement($this->__xml)); |
|---|
| 303 |
$this->__xml = NULL; |
|---|
| 304 |
} |
|---|
| 305 |
|
|---|
| 306 |
|
|---|
| 307 |
|
|---|
| 308 |
|
|---|
| 309 |
|
|---|
| 310 |
|
|---|
| 311 |
|
|---|
| 312 |
|
|---|
| 313 |
@param |
|---|
| 314 |
@param |
|---|
| 315 |
@return |
|---|
| 316 |
|
|---|
| 317 |
public function addCustomPrefix($ns_prefix, $namespace) |
|---|
| 318 |
{ |
|---|
| 319 |
if (!$this->__custom_prefixes) { |
|---|
| 320 |
$this->__custom_prefixes = array(); |
|---|
| 321 |
} |
|---|
| 322 |
$this->__custom_prefixes[$ns_prefix] = $namespace; |
|---|
| 323 |
if ($this->__xpath) { |
|---|
| 324 |
$this->__xpath->registerNamespace($ns_prefix, $namespace); |
|---|
| 325 |
} |
|---|
| 326 |
} |
|---|
| 327 |
|
|---|
| 328 |
|
|---|
| 329 |
|
|---|
| 330 |
|
|---|
| 331 |
|
|---|
| 332 |
@return |
|---|
| 333 |
|
|---|
| 334 |
public function getName() |
|---|
| 335 |
{ |
|---|
| 336 |
return $this->__dom->localName; |
|---|
| 337 |
} |
|---|
| 338 |
|
|---|
| 339 |
|
|---|
| 340 |
|
|---|
| 341 |
|
|---|
| 342 |
|
|---|
| 343 |
@return |
|---|
| 344 |
|
|---|
| 345 |
public function getNamespace() |
|---|
| 346 |
{ |
|---|
| 347 |
return $this->__dom->namespaceURI; |
|---|
| 348 |
} |
|---|
| 349 |
|
|---|
| 350 |
|
|---|
| 351 |
|
|---|
| 352 |
|
|---|
| 353 |
|
|---|
| 354 |
@return |
|---|
| 355 |
|
|---|
| 356 |
public function getPrefix() |
|---|
| 357 |
{ |
|---|
| 358 |
return $this->__dom->prefix; |
|---|
| 359 |
} |
|---|
| 360 |
|
|---|
| 361 |
|
|---|
| 362 |
|
|---|
| 363 |
|
|---|
| 364 |
|
|---|
| 365 |
@return |
|---|
| 366 |
|
|---|
| 367 |
public function getText() |
|---|
| 368 |
{ |
|---|
| 369 |
return (string) $this->__dom->textContent; |
|---|
| 370 |
} |
|---|
| 371 |
|
|---|
| 372 |
|
|---|
| 373 |
|
|---|
| 374 |
|
|---|
| 375 |
|
|---|
| 376 |
|
|---|
| 377 |
|
|---|
| 378 |
|
|---|
| 379 |
|
|---|
| 380 |
|
|---|
| 381 |
@internal |
|---|
| 382 |
|
|---|
| 383 |
@param |
|---|
| 384 |
@return |
|---|
| 385 |
|
|---|
| 386 |
public function offsetExists($offset) |
|---|
| 387 |
{ |
|---|
| 388 |
return (boolean) $this->query('@' . $offset . '[1]')->length; |
|---|
| 389 |
} |
|---|
| 390 |
|
|---|
| 391 |
|
|---|
| 392 |
|
|---|
| 393 |
|
|---|
| 394 |
|
|---|
| 395 |
|
|---|
| 396 |
|
|---|
| 397 |
|
|---|
| 398 |
|
|---|
| 399 |
|
|---|
| 400 |
@internal |
|---|
| 401 |
|
|---|
| 402 |
@param |
|---|
| 403 |
@return |
|---|
| 404 |
|
|---|
| 405 |
public function offsetGet($offset) |
|---|
| 406 |
{ |
|---|
| 407 |
$attribute = $this->query('@' . $offset . '[1]'); |
|---|
| 408 |
if ($attribute->length) { |
|---|
| 409 |
return $attribute->item(0)->nodeValue; |
|---|
| 410 |
} |
|---|
| 411 |
return NULL; |
|---|
| 412 |
} |
|---|
| 413 |
|
|---|
| 414 |
|
|---|
| 415 |
|
|---|
| 416 |
|
|---|
| 417 |
|
|---|
| 418 |
@internal |
|---|
| 419 |
|
|---|
| 420 |
@param |
|---|
| 421 |
@return |
|---|
| 422 |
|
|---|
| 423 |
public function offsetSet($offset, $value) |
|---|
| 424 |
{ |
|---|
| 425 |
throw new fProgrammerException('The %s class does not support modifying XML', __CLASS__); |
|---|
| 426 |
} |
|---|
| 427 |
|
|---|
| 428 |
|
|---|
| 429 |
|
|---|
| 430 |
|
|---|
| 431 |
|
|---|
| 432 |
@internal |
|---|
| 433 |
|
|---|
| 434 |
@param |
|---|
| 435 |
@return |
|---|
| 436 |
|
|---|
| 437 |
public function offsetUnset($offset) |
|---|
| 438 |
{ |
|---|
| 439 |
throw new fProgrammerException('The %s class does not support modifying XML', __CLASS__); |
|---|
| 440 |
} |
|---|
| 441 |
|
|---|
| 442 |
|
|---|
| 443 |
|
|---|
| 444 |
|
|---|
| 445 |
|
|---|
| 446 |
@param |
|---|
| 447 |
@return |
|---|
| 448 |
|
|---|
| 449 |
protected function query($path) |
|---|
| 450 |
{ |
|---|
| 451 |
if (!$this->__xpath) { |
|---|
| 452 |
$this->__xpath = new DOMXPath($this->__dom->ownerDocument); |
|---|
| 453 |
if ($this->__custom_prefixes) { |
|---|
| 454 |
foreach ($this->__custom_prefixes as $prefix => $namespace) { |
|---|
| 455 |
$this->__xpath->registerNamespace($prefix, $namespace); |
|---|
| 456 |
} |
|---|
| 457 |
} |
|---|
| 458 |
} |
|---|
| 459 |
|
|---|
| 460 |
|
|---|
| 461 |
$old_setting = libxml_use_internal_errors(TRUE); |
|---|
| 462 |
|
|---|
| 463 |
$result = $this->__xpath->query($path, $this->__dom); |
|---|
| 464 |
|
|---|
| 465 |
|
|---|
| 466 |
if ($result === FALSE) { |
|---|
| 467 |
$errors = libxml_get_errors(); |
|---|
| 468 |
$exception_message = ''; |
|---|
| 469 |
|
|---|
| 470 |
foreach ($errors as $error) { |
|---|
| 471 |
$exception_message .= "\n" . $error->message; |
|---|
| 472 |
} |
|---|
| 473 |
|
|---|
| 474 |
|
|---|
| 475 |
if (!$old_setting) { |
|---|
| 476 |
libxml_use_internal_errors(FALSE); |
|---|
| 477 |
} |
|---|
| 478 |
|
|---|
| 479 |
throw new fProgrammerException(str_replace('%', '%%', trim($exception_message))); |
|---|
| 480 |
} |
|---|
| 481 |
|
|---|
| 482 |
if (!$old_setting) { |
|---|
| 483 |
libxml_use_internal_errors(FALSE); |
|---|
| 484 |
} |
|---|
| 485 |
|
|---|
| 486 |
return $result; |
|---|
| 487 |
} |
|---|
| 488 |
|
|---|
| 489 |
|
|---|
| 490 |
|
|---|
| 491 |
|
|---|
| 492 |
|
|---|
| 493 |
@return |
|---|
| 494 |
|
|---|
| 495 |
public function toXML() |
|---|
| 496 |
{ |
|---|
| 497 |
return $this->__dom->ownerDocument->saveXML($this->__dom->parentNode === $this->__dom->ownerDocument ? $this->__dom->parentNode : $this->__dom); |
|---|
| 498 |
} |
|---|
| 499 |
|
|---|
| 500 |
|
|---|
| 501 |
|
|---|
| 502 |
|
|---|
| 503 |
|
|---|
| 504 |
@param |
|---|
| 505 |
@param |
|---|
| 506 |
@return |
|---|
| 507 |
|
|---|
| 508 |
public function xpath($path, $first_only=FALSE) |
|---|
| 509 |
{ |
|---|
| 510 |
$result = $this->query($path); |
|---|
| 511 |
|
|---|
| 512 |
if ($first_only) { |
|---|
| 513 |
if (!$result->length) { return NULL; } |
|---|
| 514 |
$result = array($result->item(0)); |
|---|
| 515 |
|
|---|
| 516 |
} else { |
|---|
| 517 |
if (!$result->length) { return array(); } |
|---|
| 518 |
} |
|---|
| 519 |
|
|---|
| 520 |
$keys_to_remove = array(); |
|---|
| 521 |
$output = array(); |
|---|
| 522 |
|
|---|
| 523 |
foreach ($result as $element) { |
|---|
| 524 |
|
|---|
| 525 |
if ($element instanceof DOMElement) { |
|---|
| 526 |
$child = new fXML($element); |
|---|
| 527 |
$child->__custom_prefixes = $this->__custom_prefixes; |
|---|
| 528 |
if ($child->__dom->namespaceURI && $child->__dom->prefix == '') { |
|---|
| 529 |
$child->addCustomPrefix('__', $child->__dom->namespaceURI); |
|---|
| 530 |
} |
|---|
| 531 |
$output[] = $child; |
|---|
| 532 |
|
|---|
| 533 |
} elseif ($element instanceof DOMCharacterData) { |
|---|
| 534 |
$output[] = $element->data; |
|---|
| 535 |
|
|---|
| 536 |
} elseif ($element instanceof DOMAttr) { |
|---|
| 537 |
|
|---|
| 538 |
$key = $element->name; |
|---|
| 539 |
if ($element->prefix) { |
|---|
| 540 |
$key = $element->prefix . ':' . $key; |
|---|
| 541 |
} |
|---|
| 542 |
|
|---|
| 543 |
|
|---|
| 544 |
|
|---|
| 545 |
|
|---|
| 546 |
$key_1 = $key . '[1]'; |
|---|
| 547 |
|
|---|
| 548 |
if (isset($output[$key_1])) { |
|---|
| 549 |
$i = 1; |
|---|
| 550 |
while (isset($output[$key . '[' . $i . ']'])) { |
|---|
| 551 |
$i++; |
|---|
| 552 |
} |
|---|
| 553 |
|
|---|
| 554 |
|
|---|
| 555 |
unset($output[$key]); |
|---|
| 556 |
unset($keys_to_remove[$key_1]); |
|---|
| 557 |
|
|---|
| 558 |
$key = $key . '[' . $i . ']'; |
|---|
| 559 |
|
|---|
| 560 |
} else { |
|---|
| 561 |
$output[$key_1] = $element->nodeValue; |
|---|
| 562 |
$keys_to_remove[$key_1] = TRUE; |
|---|
| 563 |
} |
|---|
| 564 |
|
|---|
| 565 |
$output[$key] = $element->nodeValue; |
|---|
| 566 |
} |
|---|
| 567 |
} |
|---|
| 568 |
|
|---|
| 569 |
foreach ($keys_to_remove as $key => $trash) { |
|---|
| 570 |
unset($output[$key]); |
|---|
| 571 |
} |
|---|
| 572 |
|
|---|
| 573 |
if ($first_only) { |
|---|
| 574 |
return current($output); |
|---|
| 575 |
} |
|---|
| 576 |
|
|---|
| 577 |
return $output; |
|---|
| 578 |
} |
|---|
| 579 |
} |
|---|
| 580 |
|
|---|
| 581 |
|
|---|
| 582 |
|
|---|
| 583 |
|
|---|
| 584 |
will@flourishlib.com |
|---|
| 585 |
|
|---|
| 586 |
|
|---|
| 587 |
|
|---|
| 588 |
|
|---|
| 589 |
|
|---|
| 590 |
|
|---|
| 591 |
|
|---|
| 592 |
|
|---|
| 593 |
|
|---|
| 594 |
|
|---|
| 595 |
|
|---|
| 596 |
|
|---|
| 597 |
|
|---|
| 598 |
|
|---|
| 599 |
|
|---|
| 600 |
|
|---|
| 601 |
|
|---|
| 602 |
|
|---|
| 603 |
|
|---|