ACC SHELL
<?php
/**
* Debug Bar screen template.
*
* It uses Silk Icons created by Mark James and released under Creative Commons Attribution 2.5 License.
*
* This file is part of the Tracy (http://tracy.nette.org)
* Copyright (c) 2004 David Grudl (http://davidgrudl.com)
*
* @param array $panels
* @param array $info
* @return void
*/
namespace Tracy;
use Tracy;
?>
<!-- Tracy Debug Bar -->
<?php ob_start() ?>
<style id="tracy-debug-style" class="tracy-debug">
<?php readfile(__DIR__ . '/bar.css') ?>
<?php readfile(__DIR__ . '/dumper.css') ?>
</style>
<!--[if lt IE 8]><style class="tracy-debug">
#tracy-debug-bar img { display: none }
#tracy-debug-bar li { border-left: 1px solid #DCD7C8; padding: 0 3px }
#tracy-debug-logo span { background: #edeae0; display: inline }
</style><![endif]-->
<script id="tracy-debug-script">
/* <![CDATA[ */
<?php readfile(__DIR__ . '/tracyQ.js') ?>
<?php readfile(__DIR__ . '/bar.js') ?>
<?php readfile(__DIR__ . '/dumper.js') ?>
/* ]]> */
</script>
<?php foreach ($panels as $panel): if (!$panel['panel']) continue; ?>
<div class="tracy-panel" id="tracy-debug-panel-<?php echo $panel['id'] ?>">
<?php echo $panel['panel'] ?>
<div class="tracy-icons">
<a href="#" title="open in window">¤</a>
<a href="#" rel="close" title="close window">×</a>
</div>
</div>
<?php endforeach ?>
<div id="tracy-debug-bar">
<ul>
<li id="tracy-debug-logo" title="<?php echo htmlSpecialChars(implode(" |\n", $info))?>"> <span>Tracy</span></li>
<?php foreach ($panels as $panel): if (!$panel['tab']) continue; ?>
<?php if (!empty($panel['previous'])) echo '</ul><ul class="tracy-previous">'; ?>
<li><?php if ($panel['panel']): ?><a href="#" rel="<?php echo $panel['id'] ?>"><?php echo trim($panel['tab']) ?></a><?php else: echo '<span>', trim($panel['tab']), '</span>'; endif ?></li>
<?php endforeach ?>
<li><a href="#" rel="close" title="close debug bar">×</a></li>
</ul>
</div>
<?php $output = ob_get_clean(); ?>
<script>
(function(onloadOrig) {
window.onload = function() {
if (typeof onloadOrig === 'function') onloadOrig();
var debug = document.body.appendChild(document.createElement('div'));
debug.id = 'tracy-debug';
debug.innerHTML = <?php echo json_encode(Helpers::fixEncoding($output)) ?>;
for (var i = 0, scripts = debug.getElementsByTagName('script'); i < scripts.length; i++) eval(scripts[i].innerHTML);
Tracy.Dumper.init();
Tracy.Debug.init();
debug.style.display = 'block';
};
})(window.onload);
</script>
<!-- /Tracy Debug Bar -->
ACC SHELL 2018