-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdebugger_view.php
110 lines (98 loc) · 14.8 KB
/
debugger_view.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?php
/* Copy this file in view folder of application */
?>
<script>
window.jQuery || document.write('<script src="//code.jquery.com/jquery-1.11.3.min.js"><\/script>');
</script>
<style type="text/css">
.bottom-right{position:fixed;bottom:0;right:0;cursor:pointer;background-color:#DD4814;height:35px}.right{right:0}#codeigniter_profiler{display:none;position:fixed;padding:0;bottom:0;right:0;height:270px;overflow:scroll;width:100%;z-index:2000}.degugger_header{width:100%;position:fixed;background-color:#faebd7}.nav-tabs>li>a{text-decoration:none}
</style>
<div class="bottom-right">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZAB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aTGJEIOttJX/BdpP1V1H9L8lHN2Ktg101Uc8qsx27HqYZ7+ivxM3+F7gAdw347US239ZVZ6jFjvR7qwWvFrZm+cDtDYjjTZ/mL1a1XlF4HukMO8D7PLgSa1hewSyKbROoT821PUUU/viz29jFmcwOVRZF9FOoF0bmjtNNAebB+Hy339nJR+N0HFUd6nlYm5uNu9S57+PcaIK6V4u2JEdURl92bF+hml+Lxi/RfF+IGBjJBS4yhld5Cq8jZJcUxM/ad3O7dOD9Sd5Ss91odG8MX6SS+727yqUIx4p43K9uXe7VyrTnuHqgolHwRYVagqB6mudimlYyPn19WPvb2cTw/U7vOk9PTIfEpPEesusUIp9rRnFzE7jtnSSLAPoYmLK61ljzx18XRySI3nSX5onGmFCb3uYeD40Pw5LDQeqlX62V71rMULaHkROp3GFtXv2FYMAXzU8vyIFa3pmcSKOSxkp0jpJwOxQtqJJ1bo9Zg3yhz+4gn8+FH8uWfxMy/0OYwB4Uqy7Po+r/w96KezV9TS47g/cullLeyzvJizooC6QvOvofnzDSizlfv91L/Qa69A0WqAZVmjannzm2W3Yra7Z05/RLoXWJgdoFkCHiClh5v+r7iLPL+JvACPsLyIFhfQubNoYR5Chp/sgcvzMc87ghD2kGU/AERdHyDFe4BXNtKTVHj6BnV5L/KzhOwg4jp43QkCxBotLeL/OYUWLzQSG8/wtUhPIHWpys8Q6/vAFjfeNBmQ0i+pypvw9BTwEBZuRGT9dtekuLEJaAdwC1l2P+JJ1eUNGL/Z/Mbd7LRitd/y1o1NWuM0xqv9jGj4lbT5fgfS20npIUL20ta+LDQSOoW0a3y1OA4gNdJJ0Pn+p8a1jv8NAE/pZw5YwnwUAAAAAElFTkSuQmCC" alt="Debugger"/>
</div>
<!--debugger -->
<div id="degugger_header" style="display:none">
<div class="degugger_header">
<ul class="nav nav-tabs">
<li class="active">
<a href="#database_query" data-toggle="tab">Query</a>
</li>
<li >
<a href="#ci_profiler_post" data-toggle="tab">POST</a>
</li>
<li >
<a href="#ci_profiler_get" data-toggle="tab">GET</a>
</li>
<li >
<a href="#ci_profiler_csession" data-toggle="tab">Session</a>
</li>
<li >
<a href="#ci_profiler_config" data-toggle="tab">Config</a>
</li>
<li >
<a href="#ci_profiler_benchmarks" data-toggle="tab">Benchmarks</a>
</li>
<li >
<a href="#ci_profiler_memory_usage" data-toggle="tab">Memory usage</a>
</li>
<li >
<a href="#ci_profiler_uri_string" data-toggle="tab">URI String</a>
</li>
<li >
<a href="#ci_profiler_controller_info" data-toggle="tab">Controller</a>
</li>
<li >
<a href="#ci_profiler_http_headers" data-toggle="tab">HTTP Header</a>
</li>
- <li class="pull-right header" onclick="debugger_status();"><a style="color:red;" href="#" class="text-muted"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAIAAACQKrqGAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH2QEYAAUIIoTN8AAAAAd0RVh0QXV0aG9yAKmuzEgAAAAMdEVYdERlc2NyaXB0aW9uABMJISMAAAAKdEVYdENvcHlyaWdodACsD8w6AAAADnRFWHRDcmVhdGlvbiB0aW1lADX3DwkAAAAJdEVYdFNvZnR3YXJlAF1w/zoAAAALdEVYdERpc2NsYWltZXIAt8C0jwAAAAh0RVh0V2FybmluZwDAG+aHAAAAB3RFWHRTb3VyY2UA9f+D6wAAAAh0RVh0Q29tbWVudAD2zJa/AAAABnRFWHRUaXRsZQCo7tInAAABnklEQVQokX1RMU9TYRQ97/ZrQZISI6RgQ0I/JLI8Y8ICNZiHhBonFyZYYUGI/hEGjRSjAzDBzsAgCSEqYkexJtb47CAU+yqN4b3QNP3ufQwNiZrYmzPck3OGc3KsH4efT/belvbe4f+XHB+7Pn7X+vB0JVE60slEC2ux5HnJvsiDWDw9lAJzC1ztaM+9ySkjodRqAD6eVotnfm/HFd0ZB1A883+e13Rn/HbXNQBGQmIxEgQSBG6lMrW+qudm3bLnlj09Nzu1vupWKk2VxaiGEQ4CAP1E+Y1Ne2a6mskASA4P5zc2+4maasOIarAp7O8DIODL4Se/Wk0vLgA4WM4ev3yVssICAKCRSBEzN2v6QP3v4nXAv/yZWRlmiwhAKcSd58+04xwsZwGkFxd6b9nvHz/psgDAMCsjrKJRAL9ZtOPkVl6U19YA5IhGHs1vRyIqQgCMsLU0eu8h1QEUjByJ9BENKALw/ZIOKQKwJW2KRaLtMQB2DPYfQf+hfC5KTzie+9Xu6W4xbL78S9+4qQYyk9/CcOf1bgvr4P2JwczkBV530UhGll3wAAAAAElFTkSuQmCC"/></a></li>
</ul>
</div>
</div>
<script>
var status=0;
var degugger_header;
var profiler;
jQuery(document).ready(function() {
if(!window.jQuery.fn.modal) {
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var a=t.fn.jquery.split(" ")[0].split(".");if(a[0]<2&&a[1]<9||1==a[0]&&9==a[1]&&a[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function a(a){return this.each(function(){var n=t(this),r=n.data("bs.tab");r||n.data("bs.tab",r=new e(this)),"string"==typeof a&&r[a]()})}var e=function(a){this.element=t(a)};e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.prototype.show=function(){var a=this.element,e=a.closest("ul:not(.dropdown-menu)"),n=a.data("target");if(n||(n=a.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),!a.parent("li").hasClass("active")){var r=e.find(".active:last a"),i=t.Event("hide.bs.tab",{relatedTarget:a[0]}),s=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(i),a.trigger(s),!s.isDefaultPrevented()&&!i.isDefaultPrevented()){var o=t(n);this.activate(a.closest("li"),e),this.activate(o,o.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:a[0]}),a.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},e.prototype.activate=function(a,n,r){function i(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),a.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(a[0].offsetWidth,a.addClass("in")):a.removeClass("fade"),a.parent(".dropdown-menu").length&&a.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var s=n.find("> .active"),o=r&&t.support.transition&&(s.length&&s.hasClass("fade")||!!n.find("> .fade").length);s.length&&o?s.one("bsTransitionEnd",i).emulateTransitionEnd(e.TRANSITION_DURATION):i(),s.removeClass("in")};var n=t.fn.tab;t.fn.tab=a,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var r=function(e){e.preventDefault(),a.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery);
}
if ($('body').css('color') !== 'rgb(51, 51, 51)') {
$('head').prepend('<style rel="stylesheet">.nav>li,.nav>li>a{position:relative;display:block}.nav-justified>.dropdown .dropdown-menu,.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}[role=button]{cursor:pointer}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px;margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-justified>li,.nav-stacked>li{float:none}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.clearfix:after,.clearfix:before,.nav:after,.nav:before{content:" ";display:table}.clearfix:after,.nav:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}<\/style>');
}
degugger_header=$('#degugger_header').html();
profiler=$('#codeigniter_profiler');
create_debugger();
$('.bottom-right').click(function() {
debugger_status();
});
});
function debugger_status() {
if(status==0) {
status=1;
$('.bottom-right').hide();
$('#codeigniter_profiler').show();
}
else {
status=0;
$('.bottom-right').show();
$('#codeigniter_profiler').hide();
}
}
function create_debugger() {
var html='<div class="tab-content">'+$('#codeigniter_profiler').html()+'</div>';
$('#codeigniter_profiler').html(html)
$('#codeigniter_profiler').prepend(degugger_header);
$('#codeigniter_profiler').css("padding","0px");
$('#codeigniter_profiler fieldset').each(function() {
var id=$(this).attr('id');
if (typeof id == 'undefined'){
$(this).attr('id','database_query')
$(this).addClass('tab-pane active');
}
else {
$(this).addClass('tab-pane');
}
$(this).css("margin-top","50px");
});
}
</script>