#entry$debugcount .caption{background-color:#$hell; cursor:pointer; cursor:hand; font-family:verdana; padding-left:50px;}
#entry$debugcount .debugshow{font-family:arial; background-color:#$dunkel; vertical-align:top;}
#entry$debugcount .key{ background-color:#$mittel; border:solid 1px #$hell;}
#entry$debugcount .val{ background-color:#$hell; border:solid 1px #$mittel;}
#entry$debugcount .type{ background-color:#33CCFF; }
#entry$debugcount .debugshow td, .debugshow th{font-size:8pt;}
#entry$debugcount .child{}
#entry$debugcount{ border:solid 1px black; max-height:$height; overflow:auto;
";
$divaround = "id='entry$debugcount'";
}else{
$divaround = "class='child'";
// $str .= "";
}
$name = "";
if (is_string($start) && $start!="") {
$name = $start;
$start = true;
}
if (is_array($arr) || is_object($arr)) {
$emptyWhat = "empty-array";
if (is_object($arr)) {
$type = "key";
$emptyWhat = "empty-object";
}
if (debug::isXOneDimensional($arr) && !$start) {
if (count($arr) == 0) {
$str .= "$emptyWhat
\n";
}
foreach($arr as $key => $value) {
$str.= "".debug::decorateValue($key)."\n";
$str.= "".debug::decorateValue($value, $key)."\n";
}
}
else {
$str .= "
| $emptyWhat | |
| ".debug::decorateValue($key)." | \n"; $str.= "".debug::show($value, false)." | \n"; $str.= "