| Zeile 314... |
Zeile 314... |
| 314 |
|
314 |
|
| 315 |
foreach ($_GET as $key => $val)
|
315 |
foreach ($_GET as $key => $val)
|
| 316 |
{
|
316 |
{
|
| 317 |
is_int($key) OR $key = "'".htmlspecialchars($key, ENT_QUOTES, config_item('charset'))."'";
|
317 |
is_int($key) OR $key = "'".htmlspecialchars($key, ENT_QUOTES, config_item('charset'))."'";
|
| 318 |
$val = (is_array($val) OR is_object($val))
|
318 |
$val = (is_array($val) OR is_object($val))
|
| 319 |
? '<pre>'.htmlspecialchars(print_r($val, TRUE), ENT_QUOTES, config_item('charset'))
|
319 |
? '<pre>'.htmlspecialchars(print_r($val, TRUE), ENT_QUOTES, config_item('charset')).'</pre>'
|
| Zeile 320... |
Zeile 320... |
| 320 |
: htmlspecialchars($val, ENT_QUOTES, config_item('charset'));
|
320 |
: htmlspecialchars($val, ENT_QUOTES, config_item('charset'));
|
| 321 |
|
321 |
|
| 322 |
$output .= '<tr><td style="width:50%;color:#000;background-color:#ddd;padding:5px;">$_GET['
|
322 |
$output .= '<tr><td style="width:50%;color:#000;background-color:#ddd;padding:5px;">$_GET['
|
| Zeile 354... |
Zeile 354... |
| 354 |
|
354 |
|
| 355 |
foreach ($_POST as $key => $val)
|
355 |
foreach ($_POST as $key => $val)
|
| 356 |
{
|
356 |
{
|
| 357 |
is_int($key) OR $key = "'".htmlspecialchars($key, ENT_QUOTES, config_item('charset'))."'";
|
357 |
is_int($key) OR $key = "'".htmlspecialchars($key, ENT_QUOTES, config_item('charset'))."'";
|
| 358 |
$val = (is_array($val) OR is_object($val))
|
358 |
$val = (is_array($val) OR is_object($val))
|
| 359 |
? '<pre>'.htmlspecialchars(print_r($val, TRUE), ENT_QUOTES, config_item('charset'))
|
359 |
? '<pre>'.htmlspecialchars(print_r($val, TRUE), ENT_QUOTES, config_item('charset')).'</pre>'
|
| Zeile 360... |
Zeile 360... |
| 360 |
: htmlspecialchars($val, ENT_QUOTES, config_item('charset'));
|
360 |
: htmlspecialchars($val, ENT_QUOTES, config_item('charset'));
|
| 361 |
|
361 |
|
| 362 |
$output .= '<tr><td style="width:50%;padding:5px;color:#000;background-color:#ddd;">$_POST['
|
362 |
$output .= '<tr><td style="width:50%;padding:5px;color:#000;background-color:#ddd;">$_POST['
|
| Zeile 366... |
Zeile 366... |
| 366 |
|
366 |
|
| 367 |
foreach ($_FILES as $key => $val)
|
367 |
foreach ($_FILES as $key => $val)
|
| 368 |
{
|
368 |
{
|
| 369 |
is_int($key) OR $key = "'".htmlspecialchars($key, ENT_QUOTES, config_item('charset'))."'";
|
369 |
is_int($key) OR $key = "'".htmlspecialchars($key, ENT_QUOTES, config_item('charset'))."'";
|
| 370 |
$val = (is_array($val) OR is_object($val))
|
370 |
$val = (is_array($val) OR is_object($val))
|
| 371 |
? '<pre>'.htmlspecialchars(print_r($val, TRUE), ENT_QUOTES, config_item('charset'))
|
371 |
? '<pre>'.htmlspecialchars(print_r($val, TRUE), ENT_QUOTES, config_item('charset')).'</pre>'
|
| Zeile 372... |
Zeile 372... |
| 372 |
: htmlspecialchars($val, ENT_QUOTES, config_item('charset'));
|
372 |
: htmlspecialchars($val, ENT_QUOTES, config_item('charset'));
|
| 373 |
|
373 |
|
| 374 |
$output .= '<tr><td style="width:50%;padding:5px;color:#000;background-color:#ddd;">$_FILES['
|
374 |
$output .= '<tr><td style="width:50%;padding:5px;color:#000;background-color:#ddd;">$_FILES['
|
| Zeile 482... |
Zeile 482... |
| 482 |
.'<legend style="color:#000;"> '.$this->CI->lang->line('profiler_config').' (<span style="cursor: pointer;" onclick="var s=document.getElementById(\'ci_profiler_config_table\').style;s.display=s.display==\'none\'?\'\':\'none\';this.innerHTML=this.innerHTML==\''.$this->CI->lang->line('profiler_section_show').'\'?\''.$this->CI->lang->line('profiler_section_hide').'\':\''.$this->CI->lang->line('profiler_section_show').'\';">'.$this->CI->lang->line('profiler_section_show')."</span>)</legend>\n\n\n"
|
482 |
.'<legend style="color:#000;"> '.$this->CI->lang->line('profiler_config').' (<span style="cursor: pointer;" onclick="var s=document.getElementById(\'ci_profiler_config_table\').style;s.display=s.display==\'none\'?\'\':\'none\';this.innerHTML=this.innerHTML==\''.$this->CI->lang->line('profiler_section_show').'\'?\''.$this->CI->lang->line('profiler_section_hide').'\':\''.$this->CI->lang->line('profiler_section_show').'\';">'.$this->CI->lang->line('profiler_section_show')."</span>)</legend>\n\n\n"
|
| 483 |
.'<table style="width:100%;display:none;" id="ci_profiler_config_table">'."\n";
|
483 |
.'<table style="width:100%;display:none;" id="ci_profiler_config_table">'."\n";
|
| Zeile 484... |
Zeile 484... |
| 484 |
|
484 |
|
| 485 |
foreach ($this->CI->config->config as $config => $val)
|
485 |
foreach ($this->CI->config->config as $config => $val)
|
| - |
|
486 |
{
|
| - |
|
487 |
$pre = '';
|
| - |
|
488 |
$pre_close = '';
|
| 486 |
{
|
489 |
|
| 487 |
if (is_array($val) OR is_object($val))
|
490 |
if (is_array($val) OR is_object($val))
|
| 488 |
{
|
491 |
{
|
| - |
|
492 |
$val = print_r($val, TRUE);
|
| - |
|
493 |
|
| - |
|
494 |
$pre = '<pre>' ;
|
| 489 |
$val = print_r($val, TRUE);
|
495 |
$pre_close = '</pre>';
|
| Zeile 490... |
Zeile 496... |
| 490 |
}
|
496 |
}
|
| 491 |
|
497 |
|
| 492 |
$output .= '<tr><td style="padding:5px;vertical-align:top;color:#900;background-color:#ddd;">'
|
498 |
$output .= '<tr><td style="padding:5px;vertical-align:top;color:#900;background-color:#ddd;">'
|
| Zeile 493... |
Zeile 499... |
| 493 |
.$config.' </td><td style="padding:5px;color:#000;background-color:#ddd;">'.htmlspecialchars($val)."</td></tr>\n";
|
499 |
.$config.' </td><td style="padding:5px;color:#000;background-color:#ddd;">'.$pre.htmlspecialchars($val, ENT_QUOTES, config_item('charset')).$pre_close."</td></tr>\n";
|
| 494 |
}
|
500 |
}
|
| Zeile 514... |
Zeile 520... |
| 514 |
.'<legend style="color:#000;"> '.$this->CI->lang->line('profiler_session_data').' (<span style="cursor: pointer;" onclick="var s=document.getElementById(\'ci_profiler_session_data\').style;s.display=s.display==\'none\'?\'\':\'none\';this.innerHTML=this.innerHTML==\''.$this->CI->lang->line('profiler_section_show').'\'?\''.$this->CI->lang->line('profiler_section_hide').'\':\''.$this->CI->lang->line('profiler_section_show').'\';">'.$this->CI->lang->line('profiler_section_show').'</span>)</legend>'
|
520 |
.'<legend style="color:#000;"> '.$this->CI->lang->line('profiler_session_data').' (<span style="cursor: pointer;" onclick="var s=document.getElementById(\'ci_profiler_session_data\').style;s.display=s.display==\'none\'?\'\':\'none\';this.innerHTML=this.innerHTML==\''.$this->CI->lang->line('profiler_section_show').'\'?\''.$this->CI->lang->line('profiler_section_hide').'\':\''.$this->CI->lang->line('profiler_section_show').'\';">'.$this->CI->lang->line('profiler_section_show').'</span>)</legend>'
|
| 515 |
.'<table style="width:100%;display:none;" id="ci_profiler_session_data">';
|
521 |
.'<table style="width:100%;display:none;" id="ci_profiler_session_data">';
|
| Zeile 516... |
Zeile 522... |
| 516 |
|
522 |
|
| 517 |
foreach ($this->CI->session->userdata() as $key => $val)
|
523 |
foreach ($this->CI->session->userdata() as $key => $val)
|
| - |
|
524 |
{
|
| - |
|
525 |
$pre = '';
|
| - |
|
526 |
$pre_close = '';
|
| 518 |
{
|
527 |
|
| 519 |
if (is_array($val) OR is_object($val))
|
528 |
if (is_array($val) OR is_object($val))
|
| 520 |
{
|
529 |
{
|
| - |
|
530 |
$val = print_r($val, TRUE);
|
| - |
|
531 |
|
| - |
|
532 |
$pre = '<pre>' ;
|
| 521 |
$val = print_r($val, TRUE);
|
533 |
$pre_close = '</pre>';
|
| Zeile 522... |
Zeile 534... |
| 522 |
}
|
534 |
}
|
| 523 |
|
535 |
|
| 524 |
$output .= '<tr><td style="padding:5px;vertical-align:top;color:#900;background-color:#ddd;">'
|
536 |
$output .= '<tr><td style="padding:5px;vertical-align:top;color:#900;background-color:#ddd;">'
|
| Zeile 525... |
Zeile 537... |
| 525 |
.$key.' </td><td style="padding:5px;color:#000;background-color:#ddd;">'.htmlspecialchars($val)."</td></tr>\n";
|
537 |
.$key.' </td><td style="padding:5px;color:#000;background-color:#ddd;">'.$pre.htmlspecialchars($val, ENT_QUOTES, config_item('charset')).$pre_close."</td></tr>\n";
|
| 526 |
}
|
538 |
}
|