|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / Mirasvit / Search / view / frontend / templates / |
Filename | /home/Mirasvit/Search/view/frontend/templates/debug.phtml |
Size | 1.52 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 01-Jul-2024 20:52 |
Last modified | 06-Apr-2021 18:06 |
Last accessed | 22-Aug-2025 17:46 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<div class="mst-debugContainer">
<?php
/** @var \Mirasvit\Search\Block\Debug $block */
$results = [];
$nestedResults = [];
foreach ($block->getPreparedLogs() as $indexIdentifier => $indexData): ?>
<span class="mst-identifierToggler">
Index Identifier : <?= $indexIdentifier ?>
</span>
<div class="mst-debugDataHolder">
<table>
<tr>
<th>Key</th>
<th>Value</th>
</tr>
<?php foreach ($indexData as $key => $log ): ?>
<tr>
<td><?= $key ?></td>
<td><pre class="mst-json_output"><?= json_encode(json_decode($log), JSON_PRETTY_PRINT) ?></pre></td>
</tr>
<?php endforeach ?>
</table>
</div>
<?php endforeach; ?>
<style type="text/css">
.mst-debugContainer {
display:block;
background: #f9faff;
}
.mst-debugDataHolder {
display:block;
border-top:1px solid #2a46a8;
background: #f9faff;
}
.mst-identifierToggler{
display:block;
padding:10px;
cursor:pointer;
border-bottom:1px solid #2a46a8;
font-size:17px;
font-weight: 600;
background: #0f339e;
color: #fff;
}
pre.mst-json_output {
font-size: 10px;
white-space: pre-wrap;
}
</style>
<?php
/** @var \Mirasvit\Search\Block\Debug $block */
$results = [];
$nestedResults = [];
foreach ($block->getPreparedLogs() as $indexIdentifier => $indexData): ?>
<span class="mst-identifierToggler">
Index Identifier : <?= $indexIdentifier ?>
</span>
<div class="mst-debugDataHolder">
<table>
<tr>
<th>Key</th>
<th>Value</th>
</tr>
<?php foreach ($indexData as $key => $log ): ?>
<tr>
<td><?= $key ?></td>
<td><pre class="mst-json_output"><?= json_encode(json_decode($log), JSON_PRETTY_PRINT) ?></pre></td>
</tr>
<?php endforeach ?>
</table>
</div>
<?php endforeach; ?>
<style type="text/css">
.mst-debugContainer {
display:block;
background: #f9faff;
}
.mst-debugDataHolder {
display:block;
border-top:1px solid #2a46a8;
background: #f9faff;
}
.mst-identifierToggler{
display:block;
padding:10px;
cursor:pointer;
border-bottom:1px solid #2a46a8;
font-size:17px;
font-weight: 600;
background: #0f339e;
color: #fff;
}
pre.mst-json_output {
font-size: 10px;
white-space: pre-wrap;
}
</style>