Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php goto ZGoiP; jBrdq: if ($acc == "\x46\141\x6c\163\x65") { GoToNow("\x2f\x69\1..
Decoded Output download
<?php
goto ZGoiP;
jBrdq:
if ($acc == "False") {
GoToNow("/index.php?action=noaccess");
} else {
}
goto WakZY;
wad3M:
$cats_tabs = array("inv_ap" => array("nome" => "AP", "tabela" => "inv_ap"), "inv_app_seg" => array("nome" => "Appliance de Segurana", "tabela" => "inv_app_seg"), "inv_cicom_desktop" => array("nome" => "CICOM Desktop", "tabela" => "inv_cicom_desktop"), "inv_cicom_display" => array("nome" => "CICOM Monitor", "tabela" => "inv_cicom_display"), "inv_cicom_srv" => array("nome" => "CICOM Servidor", "tabela" => "inv_cicom_srv"), "inv_cicom_switch" => array("nome" => "CICOM Switch", "tabela" => "inv_cicom_switch"), "inv_coi_switch" => array("nome" => "COI Switch", "tabela" => "inv_coi_switch"), "inv_linux" => array("nome" => "Linux", "tabela" => "inv_linux"), "inv_serv_fisico" => array("nome" => "Servidor Fsico", "tabela" => "inv_serv_fisico"), "inv_sql" => array("nome" => "SQL", "tabela" => "inv_sql"), "inv_storage" => array("nome" => "Storage", "tabela" => "inv_storage"), "inv_thin_client" => array("nome" => "Thin Client", "tabela" => "inv_thin_client"), "inv_vmware" => array("nome" => "VMWare", "tabela" => "inv_vmware"), "inv_windows" => array("nome" => "Windows", "tabela" => "inv_windows"));
goto zFhn5;
yTs4v:
action_alert("Inventrio Geral");
goto f75Kb;
baiED:
foreach ($cats_tabs as $i) {
$catsarr = $i["tabela"]; ?>
<div class="tab-content" id="content<?php echo $i["nome"]; ?>
">
<div class="fade show tab-pane" id="tab<?php echo $i["tabela"]; ?>
" aria-labelledby="tabela<?php echo $i["tabela"]; ?>
" role="tabpanel">
<table class="table-striped table100" id="tabela<?php echo $i["tabela"]; ?>
">
<thead>
<tr class="table100-head">
<?php $cats = get_itens($i["tabela"]);
$keys = array_keys($cats[0]);
foreach ($keys as $key) {
if ($key == "id") {
} else { ?>
<th class="table100-head">
<?php echo $key; ?>
</th>
<?php }
} ?>
<th class="table100-head">Ao</th>
</tr>
</thead>
<tbody>
<tr class="table100-head">
<?php foreach ($cats as $catt => $a) {
$values = array_values($a);
$rowid = $values[0];
unset($values[0]);
foreach ($values as $key => $value) { ?>
<td class="table100-head" title="<?php echo $value; ?>
">
<?php echo $value; ?>
</td>
<?php } ?>
<td class="table100-head"><a href="<?php echo $catsarr; ?>
-read.php?id=<?php echo $rowid; ?>
" aria-label="Left Align" title="Editar o item<?php echo $value; ?>
"><img src="/assets/img/edit.png" style="width:30px;height:30px"></a>
<?php if ($_SESSION["logged_user"]["acesso"] == 1) { ?>
<a href="<?php echo $i["tabela"]; ?>
-delete.php?id=<?php echo $rowid; ?>
" aria-label="Left Align" title="Remover o item<?php echo $rowid; ?>
" onclick='return confirm("Deseja mesmo deletar?")'><img src="/assets/img/delete.png"
style="width:30px;height:30px"></a>
</td>
<?php } ?>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<?php }
goto lcvam;
m4Z7P: ?>
</ul>
<?php goto baiED;
xvcaP:
include "inc/footer.php";
goto EyVVX;
YKasm:
foreach ($cats_tabs as $i) { ?>
<script>let tables<?php echo $i["tabela"]; ?>
= new DataTable('#tabela<?php echo $i["tabela"]; ?>
', {
lengthChange: true,
autoWidth: false, // isso corrige o header
scrollY: '550px',
scrollCollapse: true,
scrollX: true,
paging: false,
order: [[0, 'asc']],
language: {
url: '/assets/DataTables/i18n/pt-BR.json',
},
dom: "Blrtip",
buttons: [{
extend: 'colvis',
text: 'Colunas',
},
{
extend: 'excelHtml5',
exportOptions: {
columns: ':visible',
format: { // this code make the int column to string column and force the excel to read it correctly. maked this coust to me a lot white hair...
body: function (data, row, column, node) {
var cellData;
cellData = data.indexOf("<") < 0 ? data : $(data).text(); // Some cells contains html elements. need to strip off
return column === 8 ? '' + cellData : cellData;
return column === 5 ? '' + cellData : cellData;
}
}
}
}
],
initComplete: function () {
var api = this.api();
this.api().buttons().container()
.appendTo($('#aa'));
$('#table_paginate').appendTo($('#aa'));
$('body').find('.dataTables_scrollBody').addClass("scrollbar");
}
});
$('#atab<?php echo $i["tabela"]; ?>
').on('click', function () {
tables<?php echo $i["tabela"]; ?>
.columns.adjust().draw();
});</script>
<?php }
goto D4652;
ZGoiP:
$page = "ferias";
goto q4oUZ;
CWapS:
$title = "Inventrio";
goto Bsr2E;
Uauie:
if ($cats) { ?>
<table class="table-striped table100" id="tableinvent">
<thead>
<tr class="table100-head">
<th class="table100-head">Item</th>
<th class="table100-head">Modelo</th>
<th class="table100-head">Tipo</th>
<th class="table100-head">Local</th>
<th class="table100-head">QTD</th>
<th class="table100-head">OBS</th>
<th class="table100-head">Qtd COI</th>
<th class="table100-head">Qtd CICOM</th>
<th class="table100-head">Qtd SSP</th>
<th class="table100-head">Qtd DAL</th>
<th class="table100-head">Excedente</th>
<th class="table100-head">Dficit</th>
<th class="table100-head">Ao</th>
</tr>
</thead>
<tbody>
<?php foreach ($cats as $i) { ?>
<tr class="table100-head">
<td class="table100-head" title="<?php echo $i["nome"]; ?>
">
<?php echo $i["nome"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["modelo"]; ?>
">
<?php echo $i["modelo"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["tipo"]; ?>
">
<?php echo $i["tipo"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["local"]; ?>
">
<?php echo $i["local"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["qtd"]; ?>
">
<?php echo $i["qtd"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["obs"]; ?>
">
<?php echo $i["obs"]; ?>
</td>
<td class="table100-head">
<?php echo count_itens_specify($i["tabela"], "local='COI' AND modelo='" . $i["modelo"] . "'"); ?>
</td>
<td class="table100-head">
<?php echo count_itens_specify($i["tabela"], "local='CICOM' AND modelo='" . $i["modelo"] . "'"); ?>
</td>
<td class="table100-head">
<?php echo count_itens_specify($i["tabela"], "local='SSP' AND modelo='" . $i["modelo"] . "'"); ?>
</td>
<td class="table100-head">
<?php echo count_itens_specify($i["tabela"], "local='DAL' AND modelo='" . $i["modelo"] . "'"); ?>
</td>
<td class="table100-head" title="<?php echo $i["nome"]; ?>
">
<?php echo $i["obs"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["nome"]; ?>
">
<?php echo $i["obs"]; ?>
</td>
<td class="table100-head"><a href="lte-read.php?id=<?php echo $i["id"]; ?>
" aria-label="Left Align" title="Editar o item<?php echo $i["id"]; ?>
"><img src="/assets/img/edit.png" style="width:30px;height:30px"></a>
<?php if ($_SESSION["logged_user"]["acesso"] == 1) { ?>
<a href="lte-delete.php?id=<?php echo $i["id"]; ?>
" aria-label="Left Align" title="Remover o item<?php echo $i["id"]; ?>
" onclick='return confirm("Deseja mesmo deletar?")'><img src="/assets/img/delete.png"
style="width:30px;height:30px"></a>
</td>
<?php } ?>
</tr>
<?php } ?>
</tbody>
</table>
<?php } else { ?>
<h2 class="sub-header">Nenhum chamado encontrado em nossa base de dados</h2>
<?php }
goto nEZbW;
zFhn5:
foreach ($cats_tabs as $key => $i) { ?>
<li class="nav-item" role="presentation"><a href="#tab<?php echo $i["tabela"]; ?>
" aria-controls="ex3-tabs-2" aria-selected="false" class="nav-link" data-bs-toggle="tab" id="atab<?php echo $i["tabela"]; ?>
" role="tab">
<?php echo $i["nome"]; ?>
</a></li>
<?php }
goto m4Z7P;
lcvam: ?>
<div class="tab-content" id="ex2-content">
<div class="active fade show tab-pane" id="ex3-tabs-1" aria-labelledby="ex3-tab-1" role="tabpanel">
<?php goto sSy7n;
q4oUZ:
$action = "show";
goto CWapS;
WakZY: ?>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 main">
<form action="" class="search-bar" onkeydown='return"Enter"!=event.key'><input class="search-btn"
id="search" name="search" pattern=".*\S.*" required type="search"><span
class="search-btn"></span></form>
<hr>
<header class="mb-5 text-center">
<?php goto yTs4v;
EyVVX: ?>
<script>$(document).ready(function () {
///////////// dynamic table datatable data table////////////////
let table = new DataTable('#tableinvent', {
lengthChange: true,
autoWidth: false, // isso corrige o header
scrollY: '550px',
scrollCollapse: true,
paging: false,
order: [[0, 'asc']],
language: {
url: '/assets/DataTables/i18n/pt-BR.json',
},
dom: "Blrtip",
buttons: [{
extend: 'colvis',
text: 'Colunas',
},
{
extend: 'excelHtml5',
exportOptions: {
columns: ':visible',
format: { // this code make the int column to string column and force the excel to read it correctly. maked this coust to me a lot white hair...
body: function (data, row, column, node) {
var cellData;
cellData = data.indexOf("<") < 0 ? data : $(data).text(); // Some cells contains html elements. need to strip off
return column === 8 ? '' + cellData : cellData;
return column === 5 ? '' + cellData : cellData;
}
}
}
}
],
initComplete: function () {
var api = this.api();
this.api().buttons().container()
.appendTo($('#aa'));
$('#table_paginate').appendTo($('#aa'));
$('body').find('.dataTables_scrollBody').addClass("scrollbar");
}
});
///////////// dynamic table ////////////////
});</script>
<?php goto YKasm;
sSy7n:
$cats = get_itens("Inv_cat");
goto Uauie;
nEZbW: ?>
</div>
</div>
</div>
</div>
</div>
<?php goto xvcaP;
Bsr2E:
include "inc/header.php";
goto jBrdq;
f75Kb: ?>
</header>
<ul class="mb-3 nav nav-justified nav-tabs" id="ex1" role="tablist">
<li class="nav-item" role="presentation"><a href="#ex3-tabs-1" aria-controls="ex3-tabs-1" aria-selected="true"
class="active nav-link" data-bs-toggle="tab" id="ex3-tab-1" role="tab">De | Para Edital</a></li>
<?php goto wad3M;
D4652: ?>
Did this file decode correctly?
Original Code
<?php
goto ZGoiP;
jBrdq:
if ($acc == "\x46\141\x6c\163\x65") {
GoToNow("\x2f\x69\156\144\x65\x78\x2e\x70\x68\160\77\x61\143\x74\151\x6f\156\x3d\156\x6f\141\143\143\145\x73\163");
} else {
}
goto WakZY;
wad3M:
$cats_tabs = array("\151\x6e\166\x5f\141\160" => array("\156\157\x6d\x65" => "\x41\x50", "\x74\141\x62\x65\154\x61" => "\151\x6e\x76\x5f\x61\x70"), "\x69\156\x76\x5f\141\x70\160\137\x73\x65\147" => array("\x6e\x6f\x6d\145" => "\101\160\x70\x6c\151\141\156\143\x65\x20\144\145\x20\123\x65\x67\x75\x72\x61\x6e\xc3\247\141", "\x74\141\142\145\154\141" => "\151\156\166\137\x61\160\160\x5f\x73\145\147"), "\151\156\x76\137\x63\151\x63\157\x6d\x5f\144\x65\x73\x6b\164\157\160" => array("\156\x6f\155\145" => "\103\x49\103\x4f\x4d\40\104\x65\x73\153\164\x6f\x70", "\x74\x61\x62\145\x6c\x61" => "\x69\156\166\x5f\143\151\x63\157\155\137\x64\x65\163\153\164\x6f\160"), "\151\156\x76\x5f\143\151\143\x6f\x6d\x5f\x64\151\163\x70\x6c\x61\171" => array("\156\x6f\155\x65" => "\103\111\x43\117\115\40\x4d\x6f\x6e\151\164\157\x72", "\164\x61\x62\145\154\x61" => "\151\156\166\137\143\x69\x63\157\x6d\137\144\x69\x73\x70\154\x61\171"), "\151\x6e\166\137\x63\151\x63\x6f\x6d\x5f\163\x72\166" => array("\x6e\157\155\x65" => "\x43\x49\103\117\x4d\40\x53\145\162\166\151\144\x6f\162", "\x74\x61\x62\145\154\x61" => "\x69\156\x76\137\x63\x69\x63\x6f\155\x5f\x73\162\166"), "\151\x6e\x76\x5f\x63\x69\x63\157\155\137\163\x77\x69\164\143\x68" => array("\x6e\157\155\145" => "\x43\111\103\x4f\x4d\40\x53\x77\151\164\143\150", "\x74\x61\x62\x65\154\x61" => "\151\156\166\x5f\143\151\143\157\155\137\163\x77\x69\x74\x63\x68"), "\x69\156\x76\137\143\x6f\x69\x5f\x73\x77\x69\164\143\x68" => array("\x6e\157\155\145" => "\x43\x4f\x49\x20\123\x77\151\164\x63\x68", "\x74\x61\x62\145\x6c\141" => "\151\156\x76\137\143\x6f\151\137\x73\167\151\x74\143\150"), "\x69\x6e\x76\x5f\154\x69\156\165\170" => array("\156\x6f\155\x65" => "\114\151\156\x75\170", "\164\141\x62\x65\x6c\x61" => "\151\156\166\x5f\154\x69\x6e\165\170"), "\151\x6e\166\x5f\x73\145\x72\166\x5f\x66\151\163\151\143\x6f" => array("\156\x6f\155\x65" => "\123\145\x72\166\151\144\157\162\x20\x46\xc3\xad\163\x69\143\x6f", "\x74\x61\x62\x65\x6c\141" => "\x69\156\166\x5f\x73\145\x72\166\x5f\x66\151\163\x69\x63\x6f"), "\x69\x6e\x76\137\163\161\x6c" => array("\x6e\157\155\145" => "\x53\x51\x4c", "\164\x61\x62\x65\x6c\x61" => "\151\156\166\x5f\163\x71\154"), "\x69\156\x76\137\x73\164\x6f\x72\x61\x67\x65" => array("\156\x6f\x6d\145" => "\x53\164\x6f\x72\141\147\x65", "\164\141\142\145\x6c\141" => "\151\156\x76\137\x73\164\157\162\x61\147\x65"), "\151\156\166\137\164\x68\x69\156\x5f\143\x6c\x69\x65\x6e\x74" => array("\156\157\155\x65" => "\124\150\x69\156\40\103\154\151\x65\156\x74", "\x74\x61\x62\145\154\141" => "\151\x6e\166\137\x74\x68\151\156\137\x63\x6c\x69\x65\156\164"), "\x69\156\x76\x5f\x76\x6d\x77\x61\x72\145" => array("\156\x6f\155\145" => "\126\115\127\x61\162\145", "\164\141\x62\145\154\x61" => "\151\x6e\166\137\x76\x6d\x77\141\162\145"), "\151\156\166\137\x77\x69\x6e\144\x6f\x77\x73" => array("\x6e\157\155\145" => "\127\151\156\144\157\x77\x73", "\164\x61\x62\x65\154\x61" => "\x69\x6e\x76\137\167\151\156\144\x6f\167\163"));
goto zFhn5;
yTs4v:
action_alert("\x49\156\x76\x65\x6e\164\303\xa1\x72\x69\x6f\x20\107\x65\x72\x61\x6c");
goto f75Kb;
baiED:
foreach ($cats_tabs as $i) {
$catsarr = $i["\164\141\142\145\154\141"]; ?>
<div class="tab-content" id="content<?php echo $i["\156\x6f\155\145"]; ?>
">
<div class="fade show tab-pane" id="tab<?php echo $i["\x74\x61\142\x65\x6c\141"]; ?>
" aria-labelledby="tabela<?php echo $i["\x74\x61\x62\145\154\141"]; ?>
" role="tabpanel">
<table class="table-striped table100" id="tabela<?php echo $i["\164\141\x62\x65\154\x61"]; ?>
">
<thead>
<tr class="table100-head">
<?php $cats = get_itens($i["\x74\141\142\145\154\141"]);
$keys = array_keys($cats[0]);
foreach ($keys as $key) {
if ($key == "\x69\x64") {
} else { ?>
<th class="table100-head">
<?php echo $key; ?>
</th>
<?php }
} ?>
<th class="table100-head">Ao</th>
</tr>
</thead>
<tbody>
<tr class="table100-head">
<?php foreach ($cats as $catt => $a) {
$values = array_values($a);
$rowid = $values[0];
unset($values[0]);
foreach ($values as $key => $value) { ?>
<td class="table100-head" title="<?php echo $value; ?>
">
<?php echo $value; ?>
</td>
<?php } ?>
<td class="table100-head"><a href="<?php echo $catsarr; ?>
-read.php?id=<?php echo $rowid; ?>
" aria-label="Left Align" title="Editar o item<?php echo $value; ?>
"><img src="/assets/img/edit.png" style="width:30px;height:30px"></a>
<?php if ($_SESSION["\154\x6f\x67\x67\145\x64\x5f\x75\x73\145\162"]["\141\143\145\x73\163\x6f"] == 1) { ?>
<a href="<?php echo $i["\164\141\x62\x65\154\141"]; ?>
-delete.php?id=<?php echo $rowid; ?>
" aria-label="Left Align" title="Remover o item<?php echo $rowid; ?>
" onclick='return confirm("Deseja mesmo deletar?")'><img src="/assets/img/delete.png"
style="width:30px;height:30px"></a>
</td>
<?php } ?>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<?php }
goto lcvam;
m4Z7P: ?>
</ul>
<?php goto baiED;
xvcaP:
include "\x69\x6e\143\x2f\146\x6f\x6f\x74\145\x72\x2e\160\x68\x70";
goto EyVVX;
YKasm:
foreach ($cats_tabs as $i) { ?>
<script>let tables<?php echo $i["\164\x61\x62\x65\x6c\141"]; ?>
= new DataTable('#tabela<?php echo $i["\x74\x61\x62\145\x6c\141"]; ?>
', {
lengthChange: true,
autoWidth: false, // isso corrige o header
scrollY: '550px',
scrollCollapse: true,
scrollX: true,
paging: false,
order: [[0, 'asc']],
language: {
url: '/assets/DataTables/i18n/pt-BR.json',
},
dom: "Blrtip",
buttons: [{
extend: 'colvis',
text: 'Colunas',
},
{
extend: 'excelHtml5',
exportOptions: {
columns: ':visible',
format: { // this code make the int column to string column and force the excel to read it correctly. maked this coust to me a lot white hair...
body: function (data, row, column, node) {
var cellData;
cellData = data.indexOf("<") < 0 ? data : $(data).text(); // Some cells contains html elements. need to strip off
return column === 8 ? '\u200C' + cellData : cellData;
return column === 5 ? '\u200C' + cellData : cellData;
}
}
}
}
],
initComplete: function () {
var api = this.api();
this.api().buttons().container()
.appendTo($('#aa'));
$('#table_paginate').appendTo($('#aa'));
$('body').find('.dataTables_scrollBody').addClass("scrollbar");
}
});
$('#atab<?php echo $i["\x74\141\142\x65\x6c\141"]; ?>
').on('click', function () {
tables<?php echo $i["\x74\141\142\145\x6c\x61"]; ?>
.columns.adjust().draw();
});</script>
<?php }
goto D4652;
ZGoiP:
$page = "\146\145\162\151\x61\163";
goto q4oUZ;
CWapS:
$title = "\x49\x6e\166\x65\156\164\xc3\241\x72\x69\x6f";
goto Bsr2E;
Uauie:
if ($cats) { ?>
<table class="table-striped table100" id="tableinvent">
<thead>
<tr class="table100-head">
<th class="table100-head">Item</th>
<th class="table100-head">Modelo</th>
<th class="table100-head">Tipo</th>
<th class="table100-head">Local</th>
<th class="table100-head">QTD</th>
<th class="table100-head">OBS</th>
<th class="table100-head">Qtd COI</th>
<th class="table100-head">Qtd CICOM</th>
<th class="table100-head">Qtd SSP</th>
<th class="table100-head">Qtd DAL</th>
<th class="table100-head">Excedente</th>
<th class="table100-head">Dficit</th>
<th class="table100-head">Ao</th>
</tr>
</thead>
<tbody>
<?php foreach ($cats as $i) { ?>
<tr class="table100-head">
<td class="table100-head" title="<?php echo $i["\156\x6f\x6d\x65"]; ?>
">
<?php echo $i["\x6e\x6f\155\145"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["\x6d\x6f\x64\145\x6c\x6f"]; ?>
">
<?php echo $i["\x6d\157\x64\x65\154\x6f"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["\164\x69\x70\x6f"]; ?>
">
<?php echo $i["\164\151\160\157"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["\x6c\x6f\143\141\x6c"]; ?>
">
<?php echo $i["\x6c\x6f\x63\141\x6c"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["\x71\x74\x64"]; ?>
">
<?php echo $i["\x71\164\144"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["\x6f\142\x73"]; ?>
">
<?php echo $i["\x6f\142\163"]; ?>
</td>
<td class="table100-head">
<?php echo count_itens_specify($i["\164\141\142\145\x6c\141"], "\x6c\157\143\141\154\x3d\x27\103\x4f\111\47\40\x41\x4e\x44\40\x6d\x6f\x64\x65\x6c\x6f\x3d\47" . $i["\155\157\144\x65\x6c\x6f"] . "\47"); ?>
</td>
<td class="table100-head">
<?php echo count_itens_specify($i["\164\x61\x62\145\x6c\x61"], "\x6c\157\x63\141\154\x3d\47\103\111\103\117\x4d\47\x20\x41\x4e\x44\40\x6d\157\144\145\x6c\157\75\47" . $i["\x6d\x6f\144\145\x6c\x6f"] . "\x27"); ?>
</td>
<td class="table100-head">
<?php echo count_itens_specify($i["\164\x61\x62\x65\x6c\x61"], "\154\157\x63\141\154\75\x27\123\x53\120\47\40\101\116\104\x20\155\x6f\144\x65\154\157\75\47" . $i["\155\x6f\x64\x65\154\157"] . "\x27"); ?>
</td>
<td class="table100-head">
<?php echo count_itens_specify($i["\164\x61\x62\x65\x6c\x61"], "\x6c\x6f\x63\x61\x6c\75\47\x44\x41\114\x27\40\x41\x4e\x44\40\x6d\157\x64\x65\154\157\x3d\47" . $i["\x6d\x6f\144\145\154\157"] . "\x27"); ?>
</td>
<td class="table100-head" title="<?php echo $i["\x6e\157\x6d\x65"]; ?>
">
<?php echo $i["\157\142\163"]; ?>
</td>
<td class="table100-head" title="<?php echo $i["\156\x6f\155\x65"]; ?>
">
<?php echo $i["\x6f\142\163"]; ?>
</td>
<td class="table100-head"><a href="lte-read.php?id=<?php echo $i["\151\x64"]; ?>
" aria-label="Left Align" title="Editar o item<?php echo $i["\x69\144"]; ?>
"><img src="/assets/img/edit.png" style="width:30px;height:30px"></a>
<?php if ($_SESSION["\154\x6f\147\x67\145\144\x5f\165\x73\145\162"]["\141\143\145\163\x73\157"] == 1) { ?>
<a href="lte-delete.php?id=<?php echo $i["\151\144"]; ?>
" aria-label="Left Align" title="Remover o item<?php echo $i["\x69\144"]; ?>
" onclick='return confirm("Deseja mesmo deletar?")'><img src="/assets/img/delete.png"
style="width:30px;height:30px"></a>
</td>
<?php } ?>
</tr>
<?php } ?>
</tbody>
</table>
<?php } else { ?>
<h2 class="sub-header">Nenhum chamado encontrado em nossa base de dados</h2>
<?php }
goto nEZbW;
zFhn5:
foreach ($cats_tabs as $key => $i) { ?>
<li class="nav-item" role="presentation"><a href="#tab<?php echo $i["\164\141\142\145\154\x61"]; ?>
" aria-controls="ex3-tabs-2" aria-selected="false" class="nav-link" data-bs-toggle="tab" id="atab<?php echo $i["\164\141\142\x65\x6c\x61"]; ?>
" role="tab">
<?php echo $i["\x6e\x6f\155\x65"]; ?>
</a></li>
<?php }
goto m4Z7P;
lcvam: ?>
<div class="tab-content" id="ex2-content">
<div class="active fade show tab-pane" id="ex3-tabs-1" aria-labelledby="ex3-tab-1" role="tabpanel">
<?php goto sSy7n;
q4oUZ:
$action = "\163\150\157\167";
goto CWapS;
WakZY: ?>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 main">
<form action="" class="search-bar" onkeydown='return"Enter"!=event.key'><input class="search-btn"
id="search" name="search" pattern=".*\S.*" required type="search"><span
class="search-btn"></span></form>
<hr>
<header class="mb-5 text-center">
<?php goto yTs4v;
EyVVX: ?>
<script>$(document).ready(function () {
///////////// dynamic table datatable data table////////////////
let table = new DataTable('#tableinvent', {
lengthChange: true,
autoWidth: false, // isso corrige o header
scrollY: '550px',
scrollCollapse: true,
paging: false,
order: [[0, 'asc']],
language: {
url: '/assets/DataTables/i18n/pt-BR.json',
},
dom: "Blrtip",
buttons: [{
extend: 'colvis',
text: 'Colunas',
},
{
extend: 'excelHtml5',
exportOptions: {
columns: ':visible',
format: { // this code make the int column to string column and force the excel to read it correctly. maked this coust to me a lot white hair...
body: function (data, row, column, node) {
var cellData;
cellData = data.indexOf("<") < 0 ? data : $(data).text(); // Some cells contains html elements. need to strip off
return column === 8 ? '\u200C' + cellData : cellData;
return column === 5 ? '\u200C' + cellData : cellData;
}
}
}
}
],
initComplete: function () {
var api = this.api();
this.api().buttons().container()
.appendTo($('#aa'));
$('#table_paginate').appendTo($('#aa'));
$('body').find('.dataTables_scrollBody').addClass("scrollbar");
}
});
///////////// dynamic table ////////////////
});</script>
<?php goto YKasm;
sSy7n:
$cats = get_itens("\x49\x6e\x76\x5f\x63\141\164");
goto Uauie;
nEZbW: ?>
</div>
</div>
</div>
</div>
</div>
<?php goto xvcaP;
Bsr2E:
include "\x69\156\x63\57\150\x65\141\144\145\162\56\x70\150\x70";
goto jBrdq;
f75Kb: ?>
</header>
<ul class="mb-3 nav nav-justified nav-tabs" id="ex1" role="tablist">
<li class="nav-item" role="presentation"><a href="#ex3-tabs-1" aria-controls="ex3-tabs-1" aria-selected="true"
class="active nav-link" data-bs-toggle="tab" id="ex3-tab-1" role="tab">De | Para Edital</a></li>
<?php goto wad3M;
D4652: ?>
Function Calls
None |
Stats
MD5 | f76c724b793ed691b274e0227b200335 |
Eval Count | 0 |
Decode Time | 57 ms |