Erro
  • Error loading Plugins:

{source}
<?php
if(!isset($_SESSION["sios-admin-name"]) && !isset($_SESSION["sios-admin"])){
echo "Este espaço está voltado para a realização de consultas e acompanhamento total de processos. Caso possua um usuário e senha fornecidos pela advocacia Malaman, preencha o formulário abaixo.";
}
if(isset($_GET["logoff"])){
session_destroy();
session_unset();
echo '<meta http-equiv="refresh" content="1; url=/index.php">';
echo "<br /><br />Aguarde por favor, em instantes voc&ecirc; ser&aacute; redirecionado!";
}
if(isset($_POST["txt-cpfcnpj"])){

$conexao = mysql_connect("bm100.webservidor.net", "malamana_usys", "MG&.,Xo&MBDl") or die ("Configuração de Banco de Dados Errada!");
$db = mysql_select_db("malamana_system") or die ("Banco de Dados Inexistente!");
$query = "SELECT ID_CUSTOMER, C_NAME, C_DOCU FROM CUSTOMER WHERE C_DOCU = '".$_POST["txt-cpfcnpj"]."' AND C_PASWD = '".$_POST["txt-paswd"]."'";
$res_query = mysql_query($query) or die("Falha na execu&ccedil;&atilde;o da consulta");
if(mysql_num_rows($res_query)!=0){
while($arr_query = mysql_fetch_array($res_query)){
$_SESSION["sios-admin-name"] = $arr_query["C_NAME"];
$_SESSION["sios-admin"] = $arr_query["C_DOCU"];
$_SESSION["sios-admin-id"] = $arr_query["ID_CUSTOMER"];
}
echo "Aguarde por favor, em instantes voc&ecirc; ser&aacute; redirecionado!";
echo '<meta http-equiv="refresh" content="1; url=http://malamanadvogados.com.br/processos">';
}else{
echo "<br /><br />Usu&aacute;rio desconhecido,<br />verifique seus dados de acesso!";
}
}else{
if(isset($_SESSION["sios-admin-name"]) && isset($_SESSION["sios-admin"])){
echo "<br />Olá <strong>".$_SESSION["sios-admin-name"]."</strong> , por favor preencha o/s campo/s para realizar a consulta.<br />";
?>
<br /><table align="left" width="auto" border="0" celspacing="0" celpadding="0">
<tbody>
<tr><td width="80px"><span class="labels_sios">Nº Processo</span></td><td><input type="text" id="sios-nump" name="sios-nump" maxlength="20" size="55"></td></tr>
<tr><td width="80px"><span class="labels_sios">Nº Processo</span></td><td><input type="text" id="sios-numpm" name="sios-numpm" maxlength="7" size="5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="l-sios-numpa" class="labels_sios">Ano</span>&nbsp;&nbsp;<input type="text" id="sios-numpa" name="sios-numpa" maxlength="4" size="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="l-sios-tpro" class="labels_sios">Tipo</span>&nbsp;&nbsp;<select id="sios-tpro" name="sios-tpro" style="width:25%"><option value="" selected="selected"></option><option value="1">Ação Civil</option><option value="2">Ação Criminal</option><option value="3">Ação Trabalhista</option><option value="4">Ação Tributária</option></select></td></tr>
<tr><td width="80px"><span class="labels_sios">Qtd. Autor(s)</span></td><td><input type="text" id="sios-qtau" name="sios-qtau" maxlength="4" size="2" style="text-align:center;">&nbsp;&nbsp;&nbsp;&nbsp;<span class="labels_sios">Qtd. Réu(s)</span>&nbsp;&nbsp;<input type="text" id="sios-qtre" name="sios-qtre" maxlength="4" size="2" style="text-align:center;"><input type="button" value=" Pesquisar " onclick="open_valf();" style="float:right; background-color:#363636; color:#FFFFFF; border:solid 1px #363636;"></td></tr>
</tbody></table><div style="clear:both;">&nbsp;</div>
<table align="left" width="700px" border="0" celspacing="0" celpadding="0" style="border-top:solid 1px #000000;border-bottom:solid 1px #000000;">
<tbody>
<tr>
<td width="270px" align="left"><strong>Nome</strong></td>
<td width="150px" align="left"><strong>Nº Processo</strong></td>
<td width="75px" align="center"><strong>Vara</strong></td>
<td width="50px" align="center"><strong>Ano Ordem</strong></td>
<td width="50px" align="center"><strong>Nº Ordem</strong></td>
<td width="100px" align="center"><strong>Ação Popular</strong></td>

<td width="51px">&nbsp;</td>
</tr>
</tbody>
</table>
<div style="clear:both;"></div>
<div id="aj_proc">
<table align="left" width="700px" border="0" celspacing="0" celpadding="0" style="border-bottom:solid 1px #000000;">
<tbody>
<?php
$conexao = mysql_connect("bm100.webservidor.net", "malamana_usys", "MG&.,Xo&MBDl") or die ("Configuração de Banco de Dados Errada!");
$db = mysql_select_db("malamana_system") or die ("Banco de Dados Inexistente!");
$query = "SELECT E.ID_PROCESSO, E.P_NUMPR, E.P_NUMANO, C.C_NAME, CASE E.P_TIPPR WHEN 1 THEN 'Ação Civil' WHEN 2 THEN 'Ação Criminal' WHEN 3 THEN 'Ação Trabalhista' WHEN 4 THEN 'Ação Tributária' END AS P_TIPPR, E.P_VARA FROM PROCESSO E INNER JOIN CUSTOMER C ON (E.ID_CUSTOMER = C.ID_CUSTOMER) WHERE E.ID_CUSTOMER = ".$_SESSION["sios-admin-id"]." ORDER BY E.ID_PROCESSO DESC";
$res_query = mysql_query($query) or die("Falha na execu&ccedil;&atilde;o da consulta");
while($arr_query = mysql_fetch_array($res_query)){
?>
<tr><td width="270px" align="left"><span class="labels2_sios"><?=$arr_query["C_NAME"]?></span></td><td width="150px" align="left"><span class="labels2_sios"><?=$arr_query["ID_PROCESSO"]?></span></td><td width="75px" align="center"><span class="labels2_sios"><?=$arr_query["P_VARA"]?></span></td><td width="50px" align="center"><span class="labels2_sios"><?=$arr_query["P_NUMANO"]?></span></td><td width="50px" align="center"><span class="labels2_sios"><?=$arr_query["P_NUMPR"]?></span></td><td width="100px" align="center"><span class="labels2_sios"><?=$arr_query["P_TIPPR"]?></span></td><td><img src="images/
bto_list.png" border="0" onclick="open_valf(<?=$arr_query["ID_PROCESSO"]?>);" style="cursor:pointer;" /></td></tr>

 

 

<?php
}
?>
</tbody>
</table>
</div>
<input type="hidden" id="sios-numpr" name="sios-numpr" value="<?=$_SESSION["sios-admin-id"]?>" />
<?php
}else{
?>
<table width="700px" border="0">
<tr>
<td>
<form action="http://malamanadvogados.com.br/processos" method="post" name="login">
<div class="yoo-username">
<input name="txt-cpfcnpj" id="txt-cpfcnpj" type="text" class="inputbox" size="10" maxlength="18" alt="CPF / CNPJ" value="CPF / CNPJ" onblur="if(this.value=='') this.value='CPF / CNPJ';" onfocus="if(this.value=='CPF / CNPJ') this.value='';" onkeypress="mascara(this,cpfCnpj)" style="width:150px; height:18px; font-size: 95%; padding: 2px 2px 2px 10px; border: 1px solid #999999; color: #323232;">
</div><br />
<div class="yoo-password">
<input type="password" id="txt-paswd" name="txt-paswd" class="inputbox" size="10" alt="Senha" value="Senha" onblur="if(this.value=='') this.value='Senha';" onfocus="if(this.value=='Senha') this.value='';" style="width:150px; height:18px; font-size: 95%; padding: 2px 2px 2px 10px; border: 1px solid #999999; color: #323232;">
</div>
<input type="submit" value=" Acessar " style="margin-top:5px; margin-left:50px; background-color:#363636; color:#FFFFFF; border:solid 1px #363636;">
<div class="yoo-break"></div>
</form>
</td>
</tr>
</table>
<?php
}
}
?>

{/source}

 
Massage

Copyright © 2011 Malaman Consultoria e Assessoria Jurídica • |17| 3322 8496 • Av. 17, 1048 • Centro • Barretos/SP