PABX da Simples IP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
4.7 KiB

{capture name="display"}
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan="2">
<table class="filtro" border="0" cellspacing="0" cellpadding="1">
<tr>
<td>Data Inicial </td>
<td>Data Final </td>
<td>Origem</td>
<td>Destino</td>
<td>Protocolo</td>
</tr>
<tr>
<td><input name="dataIni" id="dataIni" type="text" size="15" maxlength="10" value="{$dtIni}"></td>
<td><input name="dataFim" id="dataFim" type="text" size="15" maxlength="10" value="{$dtFim}"></td>
<td><input name="src" id="src" type="text" size="15" value="{$src}"></td>
<td><input name="dst" id="dst" type="text" size="15" value="{$dst}"></td>
<td><input name="proto" id="proto" type="text" size="15" maxlength="12" value="{$proto}"></td>
</tr>
</table>
<table class="filtro" border="0" cellspacing="0" cellpadding="1">
<tr>
<td>Empresa</td>
<td>Agente</td>
<td colspan="2">Classifica<EFBFBD><EFBFBD>o</td>
{if $hasClass}
<td colspan="2">Item</td>
{/if}
<td align="center" valign="middle">&nbsp;</td>
</tr>
<tr>
<td>{$dacs}</td>
<td>{$agentes}</td>
<td colspan="2">{$class}</td>
{if $hasClass}
<td colspan="2">{$itemClas}</td>
{/if}
<td align="center" valign="middle"><input type="submit" name="btConsulta" id="btConsulta" value="Consultar"></td>
<td>&nbsp;</td>
<td align="center" valign="middle"><a href="#"name="rechange" id="rechange" style="border: 1px solid #FF9900;background-color: #CCCCCC; font-weight: normal;font-size: small;font-family: Arial, Helvetica, sans-serif;margin: 1px;padding: 2px 3px;">Validar Central</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="top" colspan="2">
<table cellpadding="2" width="100%" class="grid">
<tr>
<th align="left" class="headColun">Empresa</th>
<th align="left" class="headColun">Dispositivo</th>
<th align="left" class="headColun">Agente</th>
<th align="left" class="headColun">Data e Hora </th>
<th align="center" class="headColun">Dura&ccedil;&atilde;o</th>
<th align="center" class="headColun">Origem</th>
<th align="center" class="headColun">Destino</th>
<th align="center" class="headColun">Protocolo</th>
<th align="center" class="headColun">Classifica&ccedil;&atilde;o</th>
<th align="center" class="headColun">Item</th>
<th align="center" colspan="2" class="headColun"> &Aacute;udio</th>
</tr>
{$linhas}
{if $mensagem}
<tr>
<td align="center" colspan="12"><b>{$mensagem}</b></td>
</tr>
{/if}
<tr>
<th align="center" colspan="12">{$links}</th>
</tr>
</table>
</td>
</tr>
</table>
{literal}
<script>
$(function () {
$('#rechange').on('click', function () {
$.ajax({
url: "index.php?idProg=327&ajax=1",
type: 'GET',
async: !1
}).always(function (data) {
console.log(data)
if (data.trim() === 'OK') {
alert('Servidores foram restaurados com sucesso!');
} else {
alert('N<EFBFBD>o foi poss<EFBFBD>vel restaurar os servidores!');
}
});
});
});
</script>
{/literal}
{/capture}