Advertisement
Tuurlijk

Remove From List Test

Jan 16th, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 22.16 KB | None | 0 0
  1. <?php
  2. error_reporting(E_ALL & ~E_NOTICE);
  3. /*****************************************************************************
  4.  *  Copyright notice
  5.  *
  6.  *  ⓒ 2013 Michiel Roos <michiel@maxserv.nl>
  7.  *  All rights reserved
  8.  *
  9.  *  This script is part of the TYPO3 project. The TYPO3 project is free
  10.  *  software; you can redistribute it and/or modify it under the terms of the
  11.  *  GNU General Public License as published by the Free Software Foundation;
  12.  *  either version 2 of the License, or (at your option) any later version.
  13.  *
  14.  *  The GNU General Public License can be found at
  15.  *  http://www.gnu.org/copyleft/gpl.html.
  16.  *
  17.  *  This script is distributed in the hope that it will be useful, but
  18.  *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  19.  *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  20.  *  more details.
  21.  *
  22.  *  This copyright notice MUST APPEAR in all copies of the script!
  23.  ****************************************************************************/
  24.  
  25.  
  26. /*****************************************************************************
  27.  *                    Tiny TYPO3 Test Suite v 1.0.0
  28.  *                           by: Michiel Roos
  29.  *                          _______
  30.  *                         /_  __(_)___  __  __
  31.  *                          / / / / __ \/ / / /
  32.  *                         / / / / / / / /_/ /
  33.  *                        /_/ /_/_/ /_/\__, /
  34.  *                                  /____/
  35.  *                   ________  ______  ____ _____
  36.  *                  /_  __/\ \/ / __ \/ __ \__  /
  37.  *                   / /    \  / /_/ / / / //_ <
  38.  *                  / /     / / ____/ /_/ /__/ /
  39.  *                 /_/     /_/_/    \____/____/
  40.  *             ______          __     _____       _ __
  41.  *            /_  __/__  _____/ /_   / ___/__  __(_) /____
  42.  *             / / / _ \/ ___/ __/   \__ \/ / / / / __/ _ \
  43.  *            / / /  __(__  ) /_    ___/ / /_/ / / /_/  __/
  44.  *           /_/  \___/____/\__/   /____/\__,_/_/\__/\___/
  45.  *
  46.  *           https://github.com/Tuurlijk/TinyTypo3TestSuite
  47.  *
  48.  ****************************************************************************/
  49.  
  50. /*****************************************************************************
  51.  * Setup
  52.  *
  53.  * - testname: Displayed in the page title and page header
  54.  * - runs    : The default number of runs
  55.  * - skipSets: An array of setNames to skip
  56.  ****************************************************************************/
  57. $testName = 'Remove From List';
  58. $runs = 100;
  59. $skipSets = array('set4', 'set5');
  60.  
  61. /*****************************************************************************
  62.  * Parameter Sets
  63.  *
  64.  * Define multiple parameter sets here so you can excersise the method well.
  65.  * Each method needs a description. The other parameters must match the
  66.  * parameter names of the method.
  67.  ****************************************************************************/
  68. $parameterSets = array(
  69.     'set1' => array (
  70.         'description' => 'Regular use',
  71.         'element' => 'two',
  72.         'list' => 'one,two,three,four,five,six,seven',
  73.         'trimElements' => FALSE
  74.     ),
  75.     'set2' => array (
  76.         'description' => 'List with spaces',
  77.         'element' => 'two',
  78.         'list' => 'one, two,three ,four,five,six,seven',
  79.         'trimElements' => TRUE
  80.     )
  81. );
  82.  
  83. /*****************************************************************************
  84.  * Test Methods:
  85.  *
  86.  * Define your test methods here. Name them version1 - version[n].
  87.  * version1 must be the baseline implementation.
  88.  ****************************************************************************/
  89. $descriptions['version1'] = 'Baseline';
  90. function version1($element, $list, $trimElements = false) {
  91.     if ($trimElements) {
  92.         $items = trimExplode(',', $list);
  93.     } else {
  94.         $items = explode(',', $list);
  95.     }
  96.     foreach ($items as $k => $v) {
  97.         if ($v == $element) {
  98.             unset($items[$k]);
  99.         }
  100.     }
  101.     return implode(',', $items);
  102. }
  103.  
  104. $descriptions['version2'] = 'trimExplode and str_replace';
  105. function version2($element, $list, $trimElements = false) {
  106.     if (!$trimElements) {
  107.         return trim(
  108.             str_replace(
  109.                 ',' . $element . ',',
  110.                 ',',
  111.                 ',' . $list . ','
  112.             ),
  113.             ','
  114.         );
  115.     }
  116.     $items = trimExplode(',', $list);
  117.     foreach ($items as $k => $v) {
  118.         if ($v == $element) {
  119.             unset($items[$k]);
  120.         }
  121.     }
  122.     return implode(',', $items);
  123. }
  124.  
  125. $descriptions['version3'] = 'Using preg_split and str_replace';
  126. function version3($element, $list, $trimElements = false) {
  127.     if (!$trimElements) {
  128.         return trim(
  129.             str_replace(
  130.                 ',' . $element . ',',
  131.                 ',',
  132.                 ',' . $list . ','
  133.             ),
  134.             ','
  135.         );
  136.     }
  137.     $items = preg_split('/\\s?+,\\s?+/', $list);
  138.     foreach ($items as $k => $v) {
  139.         if ($v === $element) {
  140.             unset($items[$k]);
  141.         }
  142.     }
  143.     return implode(',', $items);
  144. }
  145.  
  146. $descriptions['version4'] = 'Using preg_split, array_search and str_replace';
  147. function version4($element, $list, $trimElements = false) {
  148.     if (!$trimElements) {
  149.         return trim(
  150.             str_replace(
  151.                 ',' . $element . ',',
  152.                 ',',
  153.                 ',' . $list . ','
  154.             ),
  155.             ','
  156.         );
  157.     }
  158.     $items = preg_split('/\\s?+,\\s?+/', $list);
  159.     if (($key = array_search($element, $items)) !== false) {
  160.         unset($items[$key]);
  161.     }
  162.     return implode(',', $items);
  163. }
  164.  
  165.  
  166. /*****************************************************************************
  167.  * Helper Methods:
  168.  *
  169.  * Add any methods that are needed by any of the test methods here.
  170.  ****************************************************************************/
  171.  
  172.  
  173.  
  174. /**
  175.  * Explodes a string and trims all values for whitespace in the ends.
  176.  * If $onlyNonEmptyValues is set, then all blank ('') values are removed.
  177.  *
  178.  * @param string $delim Delimiter string to explode with
  179.  * @param string $string The string to explode
  180.  * @param boolean $removeEmptyValues If set, all empty values will be removed in output
  181.  * @param integer $limit If positive, the result will contain a maximum of
  182.  * @return array Exploded values
  183.  */
  184. function trimExplode($delim, $string, $removeEmptyValues = FALSE, $limit = 0) {
  185.     $result = array_map('trim', explode($delim, $string));
  186.     if ($removeEmptyValues) {
  187.         foreach ($result as $key => $value) {
  188.             if ($value === '') {
  189.                 unset($result[$key]);
  190.             }
  191.         }
  192.     }
  193.     if ($limit > 0 && count($result) > $limit) {
  194.         $result = array_slice($result, 0, $limit - 1);
  195.         $result[] = implode($delim, array_slice($result, $limit - 1));
  196.     } elseif ($limit < 0) {
  197.         $result = array_slice($result, 0, $limit);
  198.     }
  199.     return $result;
  200. }
  201.  
  202. function trimExplodeAlternative($delim, $string, $removeEmptyValues = FALSE, $limit = 0) {
  203.         if ($limit >= 0) {
  204.             $string = trim($string);
  205.             if ($string === '') {
  206.                 return array();
  207.             }
  208.             $flags = NULL;
  209.             $pattern = '/\\s*'. preg_quote($delim, '/') . '\\s*/';
  210.             if ($removeEmptyValues) {
  211.                 $flags = PREG_SPLIT_NO_EMPTY;
  212.             }
  213.             return preg_split($pattern, $string, $limit, $flags);
  214.         }
  215.         $result = array_map('trim', explode($delim, $string));
  216.         if ($removeEmptyValues) {
  217.             foreach ($result as $key => $value) {
  218.                 if ($value === '') {
  219.                     unset($result[$key]);
  220.                 }
  221.             }
  222.         }
  223.         return array_slice($result, 0, $limit);
  224. }
  225.  
  226. /*****************************************************************************
  227.  * System (look, but don't touch ;-) . . . only touch if you must.
  228.  ****************************************************************************/
  229. $v = '1.0.0';
  230. $reverseExecutionOrder = 0;
  231. if (isset($_GET['source']) && $_GET['source']) {
  232.     show_source(__FILE__);
  233.     exit;
  234. }
  235. if (isset($_GET['runs'])) $runs = preg_replace('/[^0-9]/', '', $_GET['runs']);
  236. if (isset($_GET['reverseExecutionOrder'])) $reverseExecutionOrder = intval($_GET['reverseExecutionOrder']);
  237.  
  238. // Prepare
  239. $baselineTimes = $functionsToCall = $times = array();
  240. $allFunctions = get_defined_functions();
  241. $functions = array_filter($allFunctions['user'], create_function('$a','return strpos($a, "version") === 0;'));
  242. if ($reverseExecutionOrder) arsort($functions);
  243. foreach ($functions as $function) {
  244.     $xAxis[] = $function;
  245.     $functionsToCall[$function] = new ReflectionFunction($function);
  246. }
  247.  
  248. // Execute
  249. foreach ($parameterSets as $setName => $parameters) {
  250.     if (in_array($setName, $skipSets)) continue;
  251.     // Description is used later on, so clone the parameters
  252.     $functionParameters = $parameters;
  253.     unset($functionParameters['description']);
  254.     for ($i = 0; $i < $runs; $i++) {
  255.         foreach ($functions as $function) {
  256.             $start = microtime(TRUE);
  257.             $result = $functionsToCall[$function]->invokeArgs($functionParameters);
  258.             $time = microtime(TRUE) - $start;
  259.             if ($function === 'version1') {
  260.                 $baselineTimes[$setName] += $time * 1000;
  261.             }
  262.             if (is_array($result)) {
  263.                 $resultObjects[$setName][$function] = array_slice($result, 0, 20, TRUE);
  264.             } else {
  265.                 $resultObjects[$setName][$function] = $result;
  266.             }
  267.             $times[$setName][$function] += $time * 1000;
  268.         }
  269.     }
  270. }
  271.  
  272. function findFastestTimes($times) {
  273.     $fastestTimes = array();
  274.     foreach ($times as $setName => $timeData) {
  275.         foreach ($timeData as $functionName => $time) {
  276.             if (isset($fastestTimes[$functionName])) {
  277.                 $fastestTimes['overall'][$functionName] += $time;
  278.                 $fastestTimes[$setName][$functionName] += $time;
  279.             } else {
  280.                 $fastestTimes['overall'][$functionName] = $time;
  281.                 $fastestTimes[$setName][$functionName] = $time;
  282.             }
  283.         }
  284.     }
  285.     $fastestTimes = array_filter($fastestTimes, 'asort');
  286.     return $fastestTimes;
  287. }
  288.  
  289. function findWinner($times) {
  290.     $averagedTimes = array();
  291.     foreach ($times as $timeData) {
  292.         foreach ($timeData as $functionName => $time) {
  293.             $averagedTimes[$functionName] += $time;
  294.         }
  295.     }
  296.     asort($averagedTimes);
  297.     return $averagedTimes;
  298. }
  299.  
  300. $averagedTimes = findWinner($times);
  301. $fastestTimes = findFastestTimes($times);
  302.  
  303. /**
  304.  * Format an integer as a time value
  305.  *
  306.  * @param integer $time The value to format
  307.  *
  308.  * @return string
  309.  */
  310. function printSeconds($time) {
  311.     $prefix = '';
  312.     $suffix = 'μs';
  313.     if ($time < 0) {
  314.         $time = abs($time);
  315.         $prefix = '-';
  316.     }
  317.     if ($time === 0) {
  318.         $suffix = '';
  319.     }
  320.     if ($time >= 1000) {
  321.         $time = $time / 1000;
  322.         $suffix = 'ms';
  323.     }
  324.     if ($time >= 1000) {
  325.         $time = $time / 1000;
  326.         $suffix = ' s';
  327.     }
  328.     if ($time >= 60 && $suffix === ' s') {
  329.         $time = $time / 60;
  330.         $suffix = 'min!';
  331.     }
  332.     return $prefix . sprintf("%.2f {$suffix}", $time);
  333. }
  334.  
  335. ?>
  336. <html>
  337. <head>
  338.     <title><?php  echo $testName ?> | Tiny TYPO3 Test Suite v<?php echo $v ?></title>
  339.     <link rel="stylesheet" href="http://wiki.typo3.org/wiki/load.php?debug=false&amp;lang=en&amp;modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.typo3vector&amp;only=styles&amp;skin=typo3vector&amp;*" />
  340.     <style type="text/css">
  341.         h3 {
  342.             border-bottom: 1px solid #dedede;
  343.         }
  344.         h4 {
  345.             font-family: Share;
  346.             font-weight: normal;
  347.         }
  348.     </style>
  349.     <script src="http://code.jquery.com/jquery-2.0.3.min.js" type="text/javascript"></script>
  350.     <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>
  351.     <script src="http://code.highcharts.com/highcharts.js" type="text/javascript"></script>
  352.     <script src="http://code.highcharts.com/modules/exporting.js" type="text/javascript"></script>
  353. </head>
  354. <body>
  355. <div id="content" class="mw-body">
  356.     <h1 id="top"><?php echo $testName ?></h1>
  357.     <form action="<?php echo $_SERVER['SCRIPT_NAME'] ?>">
  358.         <label for="runs">Run the tests how many times?</label>
  359.         <input name="runs" id="runs" value="<?php echo $runs ?>"/>
  360.         <label for="runs"><a href="#help">Reverse execution order?</a></label>
  361.         <input type="checkbox" name="reverseExecutionOrder" id="reverseExecutionOrder" value="1" <?php echo ($reverseExecutionOrder) ? 'checked="checked"' : '' ?>/>
  362.         <input class="submit" type="submit" value="Go!"/>
  363.     </form>
  364.     <div class="timeAveraged" style="float: left;">
  365.         <p>Winner using averaged times over all sets: <strong><?php
  366.             $winner = array_slice($averagedTimes, 0, 1);
  367.             echo key($winner) ?></strong> <?php echo printSeconds(current($winner) / count($times)) ?>.</p>
  368.     <?php
  369.         if (count($parameterSets) > 1) {
  370.             echo '<ul>';
  371.             foreach ($averagedTimes as $function => $time) {
  372.                 echo '<li><b>' . $function . '</b>: ',
  373.                     ' ' . printSeconds($time / count($times)) . '</li>';
  374.             }
  375.             echo '</ul>';
  376.         }
  377.     ?>
  378.     </div>
  379.     <div class="timeFastest" style="margin-left: 50%;">
  380.         <p>The fastest function in any set is <strong><?php
  381.             $winner = array_slice($fastestTimes['overall'], 0, 1);
  382.             echo key($winner) ?></strong> <?php echo printSeconds(current($winner)) ?>.</p>
  383.     <?php
  384.         if (count($parameterSets) > 1) {
  385.             echo '<ul>';
  386.             foreach ($fastestTimes as $set => $functions) {
  387.                 if ($set !== 'overall') {
  388.                     echo '<li><b>' . $set . '</b>: ';
  389.                     $setWinner = array_slice($functions, 0, 1);
  390.                     echo key($setWinner) . ' ' . printSeconds(current($setWinner)) . '</li>';
  391.                 }
  392.             }
  393.             echo '</ul>';
  394.         }
  395.     ?>
  396.     </div>
  397.     <div id="resultGraph" style="min-width: 310px; min-height: 400px; margin: 0 auto"></div>
  398.     <h2>Parameter Sets</h2>
  399.     <?php
  400.         foreach ($times as $setName => $functionData) {
  401.             echo '<h3>' , ucfirst($setName) , '</h3>',
  402.                 '<p>' , $parameterSets[$setName]['description'] , '</p>',
  403.                 '<ul>';
  404.             foreach ($functionData as $function => $time) {
  405.                 $identifier = $setName . '-' . $function;
  406.                 echo '<li><a style="text-decoration: none" href="#', $identifier, '">',
  407.                     ucfirst($function),
  408.                     '</a> ',
  409.                     ': ',
  410.                     sprintf('<span style="min-width: 33px; display: inline-block; text-align: right; font-weight: bold;">%1.2d%%</span> ', $time * 100 / $baselineTimes[$setName]),
  411.                     sprintf('<span style="min-width: 50px; display: inline-block; text-align: right; margin: 0 10px;">%s</span> ', printSeconds($time)),
  412.                     $descriptions[$function],
  413.                     '</li>';
  414.             }
  415.             echo '</ul><h4>Parameters</h4><ul>';
  416.             foreach ($parameterSets[$setName] as $key => $value) {
  417.                 if ($key !== 'description') {
  418.                     if (is_array($value)) {
  419.                         echo '<li>' , $key , ':', '</li>'; var_dump($value);
  420.                     } else {
  421.                         echo '<li>' . $key . ' = ' . (string) $value . '</li>';
  422.                     }
  423.                 } else {
  424.                     $setDescriptions[] = $value;
  425.                 }
  426.             }
  427.             echo '</ul>';
  428.         }
  429.     ?>
  430.     <script>
  431.         /**
  432.          * Format an integer as a time value
  433.          *
  434.          * @param {String} time The value to format in microseconds.
  435.          * @param {Number} decimals The amount of decimals
  436.          *
  437.          * @return string
  438.          */
  439.         function printSeconds(time, decimals) {
  440.            decimals = typeof decimals !== 'undefined' ? decimals : 2;
  441.             var prefix = '',
  442.                 suffix = 'μs';
  443.             if (time < 0) {
  444.                 time = Math.abs(time);
  445.                 prefix = '-';
  446.             }
  447.             if (time == 0) {
  448.                 suffix = '';
  449.             }
  450.             if (time >= 1000) {
  451.                 time = time / 1000;
  452.                 suffix = 'ms';
  453.             }
  454.             if (time >= 1000) {
  455.                 time = time / 1000;
  456.                 suffix = ' s';
  457.             }
  458.             if (time >= 60 && suffix == ' s') {
  459.                 time = time / 60;
  460.                 suffix = 'min!';
  461.             }
  462.             return prefix + Highcharts.numberFormat(time, decimals) + ' ' + suffix;
  463.         }
  464.  
  465.         var baseLineTimes = [<?php echo implode(',', $baselineTimes) ?>];
  466.         var descriptions = ['<?php echo implode("','", array_map('addslashes', $descriptions)) ?>'];
  467.         var setDescriptions = ['<?php echo implode("','", array_map('addslashes', $setDescriptions)) ?>'];
  468.         jQuery(document).ready(function($) {
  469.             $('#resultGraph').highcharts({
  470.                 chart: {
  471.                     zoomType: 'y'
  472.                 },
  473.                 title: {
  474.                     text: '<?php echo $testName ?>'
  475.                 },
  476.                 xAxis: {
  477.                     categories: ['<?php echo implode("','", $xAxis)  ?>'],
  478.                     title: {
  479.                         text: null
  480.                     }
  481.                 },
  482.                 yAxis: {
  483.                     min: 0,
  484.                     title: {
  485.                         text: 'Time (milliseconds)',
  486.                         align: 'high'
  487.                     },
  488.                     labels: {
  489.                         overflow: 'justify',
  490.                         formatter: function() {
  491.                             return printSeconds(this.value);
  492.                         }
  493.                     }
  494.                 },
  495.                 tooltip: {
  496.                     useHTML: true,
  497.                     formatter: function() {
  498.                         return '<strong><a style="text-decoration: none" href="#' + this.point.series.name + '-' + this.point.category + '">' + this.point.series.name + ', ' + descriptions[this.point.x] + '</a></strong><br/>' +
  499.                             setDescriptions[this.series.index] + '<br/>' +
  500.                             printSeconds(this.point.y) +
  501.                             ' (' + Math.ceil(this.point.y * 100 / baseLineTimes[this.point.series.index]) + '%)';
  502.                     }
  503.                 },
  504.                 legend: {
  505.                     enabled: true
  506.                 },
  507.                 credits: {
  508.                     enabled: false
  509.                 },
  510.                 series: [
  511.                     <?php
  512.                     foreach ($times as $setName => $setTimes) {
  513.                         $series[] = "{
  514.                             name: '" . $setName . "',
  515.                             data: [" . implode(',', $setTimes) . "]
  516.                         }";
  517.                     }
  518.                     echo implode(',', $series);
  519.                     ?>
  520.                 ]
  521.             });
  522.             $('#showSourceLink').on('click', function(e) {
  523.                 e.preventDefault();
  524.                 $.ajax({
  525.                     url: '<?php echo $_SERVER['SCRIPT_NAME'] ?>?source=1',
  526.                     cache: false
  527.                 })
  528.                 .done(function(html) {
  529.                     $('.loading').hide();
  530.                     $('#sourceCode').html(html);
  531.                     $('html, body').animate({
  532.                         scrollTop: $("#source").offset().top
  533.                     }, {
  534.                         duration: 2000,
  535.                         easing: 'easeOutBounce'
  536.                     });
  537.                 });
  538.             });
  539.             $('.top').on('click', function(e) {
  540.                 e.preventDefault();
  541.                 $('html, body').animate({
  542.                     scrollTop: $("#top").offset().top
  543.                 }, {
  544.                     duration: 2000,
  545.                     easing: 'easeOutBounce'
  546.                 });
  547.             });
  548.         });
  549.     </script>
  550.     <h2>Data results</h2>
  551.     <?php
  552.         foreach ($times as $setName => $functionData) {
  553.             echo '<h3>' . ucfirst($setName) . '</h3>';
  554.             echo '<p>' . $parameterSets[$setName]['description'] . '</p>';
  555.             echo '<ul>';
  556.             foreach ($parameterSets[$setName] as $key => $value) {
  557.                 if ($key !== 'description') {
  558.                     if (is_array($value)) {
  559.                         echo '<li>' , $key , ':', '</li>'; var_dump($value);
  560.                     } else {
  561.                         echo '<li>' . $key . ' = ' . (string) $value . '</li>';
  562.                     }
  563.                 }
  564.             }
  565.             echo '</ul>';
  566.             foreach ($functionData as $function => $time) {
  567.                 echo '<h4 id="', $setName . '-' . $function, '">', ucfirst($function), '</h4>',
  568.                     '<p>', $descriptions[$function], '</p>';
  569.                 var_dump($resultObjects[$setName][$function]);
  570.             }
  571.         }
  572.     ?>
  573.     <div id="p-personal" role="navigation" class="">
  574.         <ul>
  575.     <?php
  576.     foreach ($resultObjects as $setName => $functionData) {
  577.         foreach ($functionData as $function => $data) {
  578.             echo '<li><a href="#' . $setName . '-' . $function . '">' . ucfirst($setName) . ' - ' . ucfirst($function)  . '</a></h3>';
  579.         }
  580.     }
  581.     ?>
  582.             <li><a href="#about">About - v<?php echo $v ?></a></li>
  583.             <li><a href="#help">Help</a></li>
  584.             <li><a href="#source">Source Code</a></li>
  585.         </ul>
  586.     </div>
  587.     <div id="help">
  588.     <div id="about">
  589.         <h2>About</h2>
  590.         <p>Tiny TYPO3 Test Suite v<?php echo $v ?> is a script that helps you test different method implementations. Get the latest version from github:
  591.             <a href="https://github.com/Tuurlijk/TinyTypo3TestSuite">https://github.com/Tuurlijk/TinyTypo3TestSuite</a></p>
  592.     </div>
  593.         <h2>Help</h2>
  594.         <h3>Execution Order</h3>
  595.         <p>In some cases, the second function (non baseline) always runs faster than the baseline. Even when switching the code around. This toggle enables you to reverse the running order to check for this behaviour. Your winning function should still win whatever the execution order. If that is not the case, then this test has failed to determine what code runs faster.</p>
  596.     </div>
  597.     <div id="source">
  598.         <h2>Source Code</h2>
  599.         <pre id="sourceCode"><a href="#source" id="showSourceLink">Show the sourcecode of this file.</a></pre>
  600.     </div>
  601.     <a href="#top" class="top" style="position: fixed; bottom: 10px; left: 25px; text-decoration: none;">^ top</a>
  602.     <a href="https://github.com/Tuurlijk/TinyTypo3TestSuite"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a>
  603.     <div id="logo" style="position: absolute; top: 60px; left: 60px;"><img alt="" src="data:image/png;base64,
  604. iVBORw0KGgoAAAANSUhEUgAAAHYAAAAiCAYAAACKuC3wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
  605. bWFnZVJlYWR5ccllPAAABzJJREFUeNrsWwlsFUUYHh4VkEMEKaACHmAV0KTENFxaiIqK1sQDNYIS
  606. UTQRDSlH1DSIBqSgAQVijGIEjdYDREXEIEo4LSiKgFgUMKCAIK1KFQoUSv1++y/v7zCzZ1/bkP2T
  607. Lztv59jd+Wb+a/c1qKysVLGcftLAb8PKfNUQh8sYRxrkqUWGNpNweBhoI06XAiXALuBnoBBYgv77
  608. 4umvA2JBEtVlATcA13K5KVf3ADEbtPadcdju87rHgY+BURhnd0xDzUuagdAMHIYDg4HzDX3+1kll
  609. 6RjwuoOAnrje5Rjvn5iKFBGLCSYV+yxwu4eKtpFwIMT1aTHcCMyNqUgBsSB1NA75QGMffc6xnP89
  610. 1XY+Fv+SAKmP4DjNJ6kkzdGnwyns5Kn9OISxl3/FNKSAWODREP36Wc5/FWKsXTENqSG2W4h+11jO
  611. Lwo4zkFga0xDamxsGBt3PYVDUL96duMToBxo5HOc7zHGCUtda2B8iHtbAXzEjmBzseC+8Og3Asgw
  612. tD8TmAq04nCvMZ+juSsD9gLLOHzz40CeAdxGcwhczOORQ7qZnch1Ln3p+rdQuAlcAqQL/2Y58BZw
  613. 6H/TCIIogXBWiAnsC1IKDeHSh3zjfuQJjPG8pe5CYEeI+5oB5DIZY/jcFqA73Z6lTyfgFyarAqCY
  614. /FeuO5tCPJ++wgPAApc2GbwAurq0IXIeAo4a6jJpM7j03QYMoHtPhJw8kiEuE+tXFqZQG01j7aF4
  615. InNc2o4Wod/bglSTlPAEbgQ2iGuQhvkA6GXp14q1gCSVHM4iNkmO3AfM8vF8tNh+4gXpCO3i2Y6N
  616. LQo5cXdidzYyeMekCtf76L8Obbe41JOHfZEBss89hvoJXEcqco7UDi4qf7ijcIApHvedzjsvk1Ui
  617. JXFWC9M23dLvKdYMzuIgP6Uda5J07f6GAlcZxvhNVWUC2/J90yLpwmq9Qvg/3YjYNSGJTefskUny
  618. fPR/2aOe0o47DSgXbfYZ6mX4NFU8cF+GLhQVNOPyXN4FQaSEiXB8hZ7CVjtCdvRB8fsxtsuOHAHI
  619. JL2v3ZdJ3S8BirXzpAnmi9/ZROzKCOou15hxyFOf47DYpR+tvHdqwTmk3PU8l11LTtBI8XtKyOvs
  620. YLXsiK6Os4QfU8wq22uxXxfwHr4W5S5E7KYIWaMsqOM+Ll7mQUvdOJBfXkue/2RRztHCu2Eq+SZq
  621. oUZOUNmqOX5Semtee4VLHuAYl9uwmg2T6GmR4JAlihMzzrJrd7AjoIczi9lBqS3ZJOJrCu3GCns4
  622. VrTLj3gdObEttbpLRflHlzEqNFOQEeD6zUW5PMGFeREeaCB2bbaFXHLt71JV72QV3/RQQ/ybapGk
  623. 3csOzx3sbJF8CayNeI2GoqyHKvItmZd23CPKHQJcXy6e3Q6xyyOoY1fbBBLJqF/ANuNK/C6ug0RM
  624. ofAlKEEwSrO3k2rgGvLjgkNaXVvLzvba+e18XrsZL1RHViV48iu00CCo9MauHeJCbimwFCirwyzb
  625. ZM3p68HlNbywo0qmxd6SNBHlfz3GKdOyVCZpz3a8M4c65KyeK+x0YUI0ft0lM+NHpoPc9qr+ymKR
  626. tZFqc0INjN2PJ9mRtYYdZVPTusjdbssIvsee+HYmta/wjO92EhTS2VkQURUVgNy0ekzuZO33Bp6Y
  627. sELzR58NFYhzpPLr6o1Ve8cDT2gVL0QcmLIec/jDt/oo87XgfkYILXVAoJwdL8c5olBlTA3er+0F
  628. yUvsJxCeFjEs+TLvUkiXptnCVSBlhbK/b/Uj5HV2wjjjeeUexbh76gmxJzQbFuZznpaW8/Ss9BLg
  629. W0NdqZaF8nKEHLF9hqQnOCaqqjdrORzGjTCpzWe0dFcYyWaHhB6oqzq95E1RPqyqEvmFPGe2pIs8
  630. 38Jj/KaWfm5CWmemSr7o6J9m8GCXY7d9huJNNTAJuRhv72lG7P0h+vwhyq092sr6IN9e/yDKXRKW
  631. RhTjHY9qz0DqGyoWPSlxnkdbmcwIsimqqfuEJe6kt/kvRniQnSr5KiyW6mnC7i7tyOnMsPTzkiO6
  632. u24TsrXbQjwExWG3YnEciPk8Kd+I8tUu895LOFclKthHEDL9WJpwyRaVsYd7LKDXOQR9N8ZcVpPv
  633. hIdLacKBlnbDRHlpwGsMEOVtbjuWyKWVNjIAqZTgXxDzeIoc5vjSkekGW3uz5pjNNoxDb3CaGM53
  634. ZA17MkmS8LojEPUKDs95NDvGpBbEHFplooib6T0rpQPpw79XgVXApyqZ6qRs2BLDGIPY1FHflRzP
  635. Ejar5H+nyOl9zVf6D4Q9iRCojFeF/rkqfZs0mJIbMXeuQkka+l8UvcqkHDB9vWH6mnM9m0Cb0Gbs
  636. rKrnpqU8Tk5Xwu9dgThKllPKcDUHxOTC0+u6K2qZVPqP7UbGwRD9i0T/Uh/tK0T7qL7DMvaKSRVv
  637. VcmUIanqNWz2+rDjZLPVs7jtfpVMh/6pqjJP/Z1o5j8BBgADhL1q2hRfzwAAAABJRU5ErkJggg==" /></div>
  638. </div>
  639. </body>
  640. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement