<?php
/*********************/
/*                   */
/*  Version : 5.1.0  */
/*  Author  : RM     */
/*  Comment : 071223 */
/*                   */
/*********************/

$action = $_GET['action'];
$go = $_GET['go'];
if ( $action == "adicionar" )
{
    if ( $go == false )
    {
        echo "    \t<table width=\"100%\"><tr><td>\r\n        \t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"100%\">\r\n            \t<tr>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                \t<td width=\"22\" background=\"images/bdy06.gif\" align=\"center\"><nobr>&nbsp;<img src=\"images/bullet090.gif\">&nbsp;</nobr></td>\r\n                \t<td width=\"95%\" background=\"images/bdy06.gif\" class=\"nrm02\" align=\"left\">&nbsp;<b><font color=\"#2283BF\">Adicionar Conta</font></b></td>\r\n                \t<td background=\"images/bdy06.gif\" align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\">&nbsp;&nbsp;</td>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                </tr>\r\n                <tr>\r\n                \t<td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                \t<td colspan=\"3\"><!--<img src=\"images/spacer.gif\" width=\"100\" height=\"5\">-->\r\n                    \t<form name=\"form1\" id=\"form1\" action=\"?page=conta&action=adicionar&go=1\" method=\"post\">\r\n                \t\t<table width=\"100%\" cellpadding=\"5\" cellspacing=\"2\">\r\n                        <tr>\r\n                        \t<td colspan=\"2\" class=\"conta\"><b><center>Dados pessoais</center></b></td>\r\n                        </tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Nome:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"nome\" id=\"nome\" maxlength=\"100\" class=\"conta\" style=\"width: 300px\"></td>\r\n                \t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Endere&ccedil;o:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"endereco\" id=\"endereco\" maxlength=\"200\" class=\"conta\" style=\"width: 180px\"> N&uacute;mero:<input name=\"numero\" type=\"text\"  class=\"conta\" maxlength=\"10\" style=\"width: 67px\" value=\"\"></td>\r\n                \t\t</tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Cidade:</td>\r\n                            <td><input type=\"text\" name=\"cidade\" id=\"cidade\" maxlength=\"100\" class=\"conta\" style=\"width: 200px\"> Estado: <select name=\"estado\" id=\"estado\" class=\"conta\" style=\"width: 50px\">\r\n                          <option value=\"AL\">AL</option><option value=\"AP\">AP</option><option value=\"AM\">AM</option><option value=\"BA\">BA</option><option value=\"CE\">CE</option><option value=\"DF\">DF</option><option value=\"ES\">ES</option><option value=\"GO\">GO</option><option value=\"MA\">MA</option><option value=\"MG\">MG</option><option value=\"MS\">MS</option><option value=\"MT\">MT</option><option value=\"PA\">PA</option><option value=\"PB\">PB</option><option value=\"PE\">PE</option><option value=\"PI\">PI</option><option value=\"PR\">PR</option><option value=\"RJ\">RJ</option><option value=\"RN\">RN</option><option value=\"RO\">RO</option><option value=\"RR\">RR</option><option value=\"RS\">RS</option><option value=\"SC\">SC</option><option value=\"SE\">SE</option><option value=\"SP\" selected>SP</option><option value=\"TO\">TO</option>\r\n                        </select></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">CEP:</td>\r\n                            <td><input type=\"text\" name=\"cep\" id=\"cep\" maxlength=\"9\" class=\"conta\" style=\"width: 150px\"></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Tel. ou Celular:</td>\r\n                            <td><input type=\"text\" name=\"ddd\" id=\"ddd\" maxlength=\"2\" class=\"conta\" style=\"width: 30px\"> - <input type=\"text\" name=\"tel\" id=\"tel\" maxlength=\"10\" class=\"conta\" style=\"width: 100px\"></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Email:</td>\r\n                            <td><input type=\"text\" name=\"email\" id=\"email\" maxlength=\"70\" class=\"conta\" style=\"width: 300px\"></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td colspan=\"2\" class=\"conta\" align=\"center\"><b><center>Dados da Conta</center></b></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Conta: </td>\r\n                            <td><input type=\"text\" name=\"conta\" id=\"conta\" maxlength=\"10\" class=\"conta\" style=\"width: 150px\"></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Senha: </td>\r\n                            <td><input type=\"text\" name=\"senha\" id=\"senha\" maxlength=\"10\" class=\"conta\" style=\"width: 150px\"></td>\r\n                        </tr>\r\n                        \r\n                        \r\n               \t\t\t<tr>\r\n                \t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t\t\t\t\t\t<script language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\t<!--\r\n\t\t\t\t\t\t\t\t\t//hide me\r\n\t\t\t\t\t\t\t\t\tif (document.images) {\r\n\t\t\t\t\t\t\t\t\tspecbut1On = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1On.src = \"images/en/buttons/addcontao.gif\";\r\n\t\t\t\t\t\t\t\t\tspecbut1Off = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1Off.src = \"images/en/buttons/addconta.gif\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//-->\r\n\t\t\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t\t\t<a href=\"#\" onClick=\"document.form1.submit(); return false;\" onMouseOver='ShowHide(\"specbut1\",\"specbut1On\");' onMouseOut='ShowHide(\"specbut1\",\"specbut1Off\")'><img src=\"images/en/buttons/addconta.gif\" Array border=\"0\" name=\"specbut1\"></a>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n                        </form>\r\n                    </td>\r\n                    <td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n                <tr>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td bgcolor=\"#666666\" colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n    ";
    }
    if ( $go == true )
    {
        $nome = $_POST['nome'];
        $endereco = $_POST['endereco'];
        $numero = $_POST['numero'];
        $cidade = $_POST['cidade'];
        $estado = $_POST['estado'];
        $cep = $_POST['cep'];
        $ddd = $_POST['ddd'];
        $tel = $_POST['tel'];
        $email = $_POST['email'];
        $conta = $_POST['conta'];
        $senha = $_POST['senha'];
        $check->checacampobranco( $nome, "Nome" );
        $check->checacampobranco( $endereco, "Endereco" );
        $check->checacampobranco( $numero, "Numero" );
        $check->checacampobranco( $cidade, "Cidade" );
        $check->checacampobranco( $estado, "Estado" );
        $check->checacampobranco( $cep, "CEP" );
        $check->checacampobranco( $ddd, "DDD" );
        $check->checacampobranco( $tel, "Telefone" );
        $check->checacampobranco( $email, "Email" );
        $check->checacampobranco( $conta, "Conta" );
        $check->checacampobranco( $senha, "Senha" );
        $sql->verificalogin( $conta, 2 );
        $sql->verificaemail( $email, 1 );
        $sql->executaadicionarconta( $nome, $endereco, $numero, $cidade, $estado, $cep, $ddd."-".$telefone, $email, $conta, $senha );
    }
}
if ( $action == "alterar" )
{
    if ( $go == false )
    {
        echo "    \t<table width=\"100%\"><tr><td>\r\n        \t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"100%\">\r\n            \t<tr>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                \t<td width=\"22\" background=\"images/bdy06.gif\" align=\"center\"><nobr>&nbsp;<img src=\"images/bullet090.gif\">&nbsp;</nobr></td>\r\n                \t<td width=\"95%\" background=\"images/bdy06.gif\" class=\"nrm02\" align=\"left\">&nbsp;<b><font color=\"#2283BF\">Alterar Conta</font></b></td>\r\n                \t<td background=\"images/bdy06.gif\" align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\">&nbsp;&nbsp;</td>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                </tr>\r\n                <tr>\r\n                \t<td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                \t<td colspan=\"3\"><!--<img src=\"images/spacer.gif\" width=\"100\" height=\"5\">-->\r\n                    \t<form name=\"form1\" id=\"form1\" action=\"?page=conta&action=alterar&go=1\" method=\"post\">\r\n                \t\t<table width=\"100%\">\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"gold\">Conta:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"conta\" id=\"conta\" maxlength=\"10\" class=\"gold\"> <a href=\"javascript:;\" onclick=\"javascript:Busca();\">Busca</a></td>\r\n                \t\t</tr>\r\n              \t\t\t<tr>\r\n                \t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t\t\t\t\t\t<script language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\t<!--\r\n\t\t\t\t\t\t\t\t\t//hide me\r\n\t\t\t\t\t\t\t\t\tif (document.images) {\r\n\t\t\t\t\t\t\t\t\tspecbut1On = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1On.src = \"images/en/buttons/prosseguiro.gif\";\r\n\t\t\t\t\t\t\t\t\tspecbut1Off = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1Off.src = \"images/en/buttons/prosseguir.gif\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//-->\r\n\t\t\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t\t\t<a href=\"#\" onClick=\"document.form1.submit(); return false;\" onMouseOver='ShowHide(\"specbut1\",\"specbut1On\");' onMouseOut='ShowHide(\"specbut1\",\"specbut1Off\")'><img src=\"images/en/buttons/prosseguir.gif\" Array border=\"0\" name=\"specbut1\"></a>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n                        </form>\r\n                    </td>\r\n                    <td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n                <tr>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td bgcolor=\"#666666\" colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n    ";
    }
    if ( $go == true )
    {
        $conta = $_POST['conta'];
        $check->checacampobranco( $conta, "Conta" );
        $sql->verificalogin( $conta );
        $sql->query( "SELECT Nome, Endereco, Numero, Cidade, Estado, CEP, Email, Telefone, memb__pwd FROM SITE_CADASTRO, MEMB_INFO WHERE Login=memb___id AND Login='".$conta."'" );
        $infos = $sql->row( );
        $ddd = substr( $infos[7], 0, 2 );
        $tel = substr( $infos[7], 2, 8 );
        echo "        \t<table width=\"100%\"><tr><td>\r\n        \t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"100%\">\r\n            \t<tr>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                \t<td width=\"22\" background=\"images/bdy06.gif\" align=\"center\"><nobr>&nbsp;<img src=\"images/bullet090.gif\">&nbsp;</nobr></td>\r\n                \t<td width=\"95%\" background=\"images/bdy06.gif\" class=\"nrm02\" align=\"left\">&nbsp;<b><font color=\"#2283BF\">Alterar Conta</font></b></td>\r\n                \t<td background=\"images/bdy06.gif\" align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\">&nbsp;&nbsp;</td>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                </tr>\r\n                <tr>\r\n                \t<td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                \t<td colspan=\"3\"><!--<img src=\"images/spacer.gif\" width=\"100\" height=\"5\">-->\r\n                    \t<form name=\"form1\" id=\"form1\" action=\"?page=conta&action=alterar&go=2\" method=\"post\">\r\n                        <input type=\"hidden\" name=\"conta\" id=\"conta\" value=\"";
        echo $conta;
        echo "\">\r\n                \t\t<table width=\"100%\" cellpadding=\"5\" cellspacing=\"2\">\r\n                        <tr>\r\n                        \t<td colspan=\"2\" class=\"conta\"><b><center>Dados pessoais</center></b></td>\r\n                        </tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Nome:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"nome\" id=\"nome\" maxlength=\"100\" class=\"conta\" style=\"width: 300px\" value=\"";
        echo $infos[0];
        echo "\"></td>\r\n                \t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Endere&ccedil;o:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"endereco\" id=\"endereco\" maxlength=\"200\" class=\"conta\" style=\"width: 180px\" value=\"";
        echo $infos[1];
        echo "\"> N&uacute;mero:<input name=\"numero\" type=\"text\"  class=\"conta\" maxlength=\"10\" style=\"width: 67px\"  value=\"";
        echo $infos[2];
        echo "\"></td>\r\n                \t\t</tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Cidade:</td>\r\n                            <td><input type=\"text\" name=\"cidade\" id=\"cidade\" maxlength=\"100\" class=\"conta\" style=\"width: 200px\" value=\"";
        echo $infos[3];
        echo "\"> Estado: <select name=\"estado\" id=\"estado\" class=\"conta\" style=\"width: 50px\">\r\n                          <option value=\"AL\">AL</option><option value=\"AP\">AP</option><option value=\"AM\">AM</option><option value=\"BA\">BA</option><option value=\"CE\">CE</option><option value=\"DF\">DF</option><option value=\"ES\">ES</option><option value=\"GO\">GO</option><option value=\"MA\">MA</option><option value=\"MG\">MG</option><option value=\"MS\">MS</option><option value=\"MT\">MT</option><option value=\"PA\">PA</option><option value=\"PB\">PB</option><option value=\"PE\">PE</option><option value=\"PI\">PI</option><option value=\"PR\">PR</option><option value=\"RJ\">RJ</option><option value=\"RN\">RN</option><option value=\"RO\">RO</option><option value=\"RR\">RR</option><option value=\"RS\">RS</option><option value=\"SC\">SC</option><option value=\"SE\">SE</option><option value=\"SP\" selected>SP</option><option value=\"TO\">TO</option>\r\n                        </select></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">CEP:</td>\r\n                            <td><input type=\"text\" name=\"cep\" id=\"cep\" maxlength=\"9\" class=\"conta\" style=\"width: 150px\" value=\"";
        echo $infos[5];
        echo "\"></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Tel. ou Celular:</td>\r\n                            <td><input type=\"text\" name=\"ddd\" id=\"ddd\" maxlength=\"2\" class=\"conta\" style=\"width: 30px\" value=\"";
        echo $ddd;
        echo "\"> - <input type=\"text\" name=\"tel\" id=\"tel\" maxlength=\"10\" class=\"conta\" style=\"width: 100px\" value=\"";
        echo $tel;
        echo "\"></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Email:</td>\r\n                            <td><input type=\"text\" name=\"email\" id=\"email\" maxlength=\"70\" class=\"conta\" style=\"width: 300px\" value=\"";
        echo $infos[6];
        echo "\"></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td colspan=\"2\" class=\"conta\" align=\"center\"><b><center>Dados da Conta</center></b></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Conta: </td>\r\n                            <td><input type=\"text\" name=\"contad\" id=\"contad\" maxlength=\"10\" class=\"conta\" style=\"width: 150px\" disabled=\"disabled\" value=\"";
        echo $conta;
        echo "\"></td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"conta\">Senha: </td>\r\n                            <td><input type=\"text\" name=\"senha\" id=\"senha\" maxlength=\"10\" class=\"conta\" style=\"width: 150px\" value=\"";
        echo $infos[8];
        echo "\"></td>\r\n                        </tr>\r\n                        \r\n                        \r\n               \t\t\t<tr>\r\n                \t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t\t\t\t\t\t<script language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\t<!--\r\n\t\t\t\t\t\t\t\t\t//hide me\r\n\t\t\t\t\t\t\t\t\tif (document.images) {\r\n\t\t\t\t\t\t\t\t\tspecbut1On = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1On.src = \"images/en/buttons/altcontao.gif\";\r\n\t\t\t\t\t\t\t\t\tspecbut1Off = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1Off.src = \"images/en/buttons/altconta.gif\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//-->\r\n\t\t\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t\t\t<a href=\"#\" onClick=\"document.form1.submit(); return false;\" onMouseOver='ShowHide(\"specbut1\",\"specbut1On\");' onMouseOut='ShowHide(\"specbut1\",\"specbut1Off\")'><img src=\"images/en/buttons/altconta.gif\" Array border=\"0\" name=\"specbut1\"></a>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n                        </form>\r\n                    </td>\r\n                    <td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n                <tr>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td bgcolor=\"#666666\" colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n\t";
    }
    if ( $go == 2 )
    {
        $nome = $_POST['nome'];
        $endereco = $_POST['endereco'];
        $numero = $_POST['numero'];
        $cidade = $_POST['cidade'];
        $estado = $_POST['estado'];
        $cep = $_POST['cep'];
        $ddd = $_POST['ddd'];
        $tel = $_POST['tel'];
        $email = $_POST['email'];
        $conta = $_POST['conta'];
        $senha = $_POST['senha'];
        $check->checacampobranco( $nome, "Nome" );
        $check->checacampobranco( $endereco, "Endereco" );
        $check->checacampobranco( $numero, "Numero" );
        $check->checacampobranco( $cidade, "Cidade" );
        $check->checacampobranco( $estado, "Estado" );
        $check->checacampobranco( $cep, "CEP" );
        $check->checacampobranco( $ddd, "DDD" );
        $check->checacampobranco( $tel, "Telefone" );
        $check->checacampobranco( $email, "Email" );
        $check->checacampobranco( $conta, "Conta" );
        $check->checacampobranco( $senha, "Senha" );
        $sql->executaalterarconta( $nome, $endereco, $numero, $cidade, $estado, $cep, $ddd."-".$telefone, $email, $conta, $senha );
    }
}
if ( $action == "banir" )
{
    if ( $go == false )
    {
        echo "        \t<table width=\"100%\"><tr><td>\r\n        \t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"100%\">\r\n            \t<tr>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                \t<td width=\"22\" background=\"images/bdy06.gif\" align=\"center\"><nobr>&nbsp;<img src=\"images/bullet090.gif\">&nbsp;</nobr></td>\r\n                \t<td width=\"95%\" background=\"images/bdy06.gif\" class=\"nrm02\" align=\"left\">&nbsp;<b><font color=\"#2283BF\">Banir Conta</font></b></td>\r\n                \t<td background=\"images/bdy06.gif\" align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\">&nbsp;&nbsp;</td>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                </tr>\r\n                <tr>\r\n                \t<td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                \t<td colspan=\"3\"><!--<img src=\"images/spacer.gif\" width=\"100\" height=\"5\">-->\r\n                    \t<form name=\"form1\" id=\"form1\" action=\"?page=conta&action=banir&go=1\" method=\"post\">\r\n                \t\t<table width=\"100%\">\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Conta:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"conta\" id=\"conta\" maxlength=\"10\" class=\"conta\"> <a href=\"javascript:;\" onclick=\"javascript:Busca();\">Busca</a></td>\r\n                \t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Motivo ban:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"motivo\" id=\"motivo\" maxlength=\"4\" class=\"conta\"></td>\r\n                \t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Tempo ban:</td>\r\n                \t\t\t<td><select name=\"tempo\" id=\"tempo\" class=\"conta\">\r\n                            \t\t<option value=\"1\">1 dia</option>\r\n                                    <option value=\"2\">2 dia</option>\r\n                                    <option value=\"3\">3 dia</option>\r\n                                    <option value=\"4\">4 dia</option>\r\n                                    <option value=\"5\">5 dia</option>\r\n                                    <option value=\"6\">6 dia</option>\r\n                                    <option value=\"7\">7 dia</option>\r\n                                    <option value=\"8\">8 dia</option>\r\n                                    <option value=\"9\">9 dia</option>\r\n                                    <option value=\"10\">10 dia</option>\r\n                                    <option value=\"11\">11 dia</option>\r\n                                    <option value=\"12\">12 dia</option>\r\n                                    <option value=\"13\">13 dia</option>\r\n                                    <option value=\"14\">14 dia</option>\r\n                                    <option value=\"15\">15 dia</option>\r\n                                    <option value=\"30\">30 dias</option>\r\n                                    <option value=\"9999\">Permanentemente</option>   \r\n                            \t</select>\r\n                            </td>\r\n                \t\t</tr>\r\n               \t\t\t<tr>\r\n                \t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t\t\t\t\t\t<script language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\t<!--\r\n\t\t\t\t\t\t\t\t\t//hide me\r\n\t\t\t\t\t\t\t\t\tif (document.images) {\r\n\t\t\t\t\t\t\t\t\tspecbut1On = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1On.src = \"images/en/buttons/bancontao.gif\";\r\n\t\t\t\t\t\t\t\t\tspecbut1Off = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1Off.src = \"images/en/buttons/banconta.gif\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//-->\r\n\t\t\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t\t\t<a href=\"#\" onClick=\"document.form1.submit(); return false;\" onMouseOver='ShowHide(\"specbut1\",\"specbut1On\");' onMouseOut='ShowHide(\"specbut1\",\"specbut1Off\")'><img src=\"images/en/buttons/banconta.gif\" Array border=\"0\" name=\"specbut1\"></a>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n                        </form>\r\n                    </td>\r\n                    <td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n                <tr>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td bgcolor=\"#666666\" colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n\t";
    }
    if ( $go == true )
    {
        $conta = $_POST['conta'];
        $motivo = $_POST['motivo'];
        $tempo = $_POST['tempo'];
        $check->checacampobranco( $conta, "Conta" );
        $check->checacampobranco( $motivo, "Motivo" );
        $check->checacampobranco( $tempo, "Tempo" );
        $check->checanumeropositivo( $tempo, "Tempo" );
        $sql->verificalogin( $conta, 1 );
        $sql->verificacontabanida( $conta, 1 );
        $sql->executabanirconta( $conta, $motivo, $tempo, "Autor" );
    }
}
if ( $action == "desbanir" )
{
    if ( $go == false )
    {
        echo "        \t<table width=\"100%\"><tr><td>\r\n        \t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"100%\">\r\n            \t<tr>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                \t<td width=\"22\" background=\"images/bdy06.gif\" align=\"center\"><nobr>&nbsp;<img src=\"images/bullet090.gif\">&nbsp;</nobr></td>\r\n                \t<td width=\"95%\" background=\"images/bdy06.gif\" class=\"nrm02\" align=\"left\">&nbsp;<b><font color=\"#2283BF\">Desbanir Conta</font></b></td>\r\n                \t<td background=\"images/bdy06.gif\" align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\">&nbsp;&nbsp;</td>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                </tr>\r\n                <tr>\r\n                \t<td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                \t<td colspan=\"3\"><!--<img src=\"images/spacer.gif\" width=\"100\" height=\"5\">-->\r\n                    \t<form name=\"form1\" id=\"form1\" action=\"?page=conta&action=desbanir&go=1\" method=\"post\">\r\n                \t\t<table width=\"100%\">\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Conta:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"conta\" id=\"conta\" maxlength=\"10\" class=\"conta\"> <a href=\"javascript:;\" onclick=\"javascript:Busca();\">Busca</a></td>\r\n                \t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t\t\t\t\t\t<script language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\t<!--\r\n\t\t\t\t\t\t\t\t\t//hide me\r\n\t\t\t\t\t\t\t\t\tif (document.images) {\r\n\t\t\t\t\t\t\t\t\tspecbut1On = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1On.src = \"images/en/buttons/desbancontao.gif\";\r\n\t\t\t\t\t\t\t\t\tspecbut1Off = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1Off.src = \"images/en/buttons/desbanconta.gif\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//-->\r\n\t\t\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t\t\t<a href=\"#\" onClick=\"document.form1.submit(); return false;\" onMouseOver='ShowHide(\"specbut1\",\"specbut1On\");' onMouseOut='ShowHide(\"specbut1\",\"specbut1Off\")'><img src=\"images/en/buttons/desbanconta.gif\" Array border=\"0\" name=\"specbut1\"></a>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n                        </form>\r\n                    </td>\r\n                    <td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n                <tr>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td bgcolor=\"#666666\" colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n\t";
    }
    if ( $go == true )
    {
        $conta = $_POST['conta'];
        $check->checacampobranco( $conta, "Conta" );
        $sql->verificalogin( $conta, 1 );
        $sql->verificacontabanida( $conta, 2 );
        $sql->executadesbanirconta( $conta );
    }
}
if ( $action == "informacoes" )
{
    if ( $go == false )
    {
        echo "            \t<table width=\"100%\"><tr><td>\r\n        \t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"100%\">\r\n            \t<tr>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                \t<td width=\"22\" background=\"images/bdy06.gif\" align=\"center\"><nobr>&nbsp;<img src=\"images/bullet090.gif\">&nbsp;</nobr></td>\r\n                \t<td width=\"95%\" background=\"images/bdy06.gif\" class=\"nrm02\" align=\"left\">&nbsp;<b><font color=\"#2283BF\">Informa&ccedil;&otilde;es Conta</font></b></td>\r\n                \t<td background=\"images/bdy06.gif\" align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\">&nbsp;&nbsp;</td>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                </tr>\r\n                <tr>\r\n                \t<td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                \t<td colspan=\"3\"><!--<img src=\"images/spacer.gif\" width=\"100\" height=\"5\">-->\r\n                    \t<form name=\"form1\" id=\"form1\" action=\"?page=conta&action=informacoes&go=1\" method=\"post\">\r\n                \t\t<table width=\"100%\">\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Conta:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"conta\" id=\"conta\" maxlength=\"10\" class=\"conta\"> <a href=\"javascript:;\" onclick=\"javascript:Busca();\">Busca</a></td>\r\n                \t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t\t\t\t\t\t<script language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\t<!--\r\n\t\t\t\t\t\t\t\t\t//hide me\r\n\t\t\t\t\t\t\t\t\tif (document.images) {\r\n\t\t\t\t\t\t\t\t\tspecbut1On = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1On.src = \"images/en/buttons/verinfoo.gif\";\r\n\t\t\t\t\t\t\t\t\tspecbut1Off = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1Off.src = \"images/en/buttons/verinfo.gif\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//-->\r\n\t\t\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t\t\t<a href=\"#\" onClick=\"document.form1.submit(); return false;\" onMouseOver='ShowHide(\"specbut1\",\"specbut1On\");' onMouseOut='ShowHide(\"specbut1\",\"specbut1Off\")'><img src=\"images/en/buttons/verinfo.gif\" Array border=\"0\" name=\"specbut1\"></a>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n                        </form>\r\n                    </td>\r\n                    <td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n                <tr>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td bgcolor=\"#666666\" colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n\t";
    }
    if ( $go == true )
    {
        $conta = $_POST['conta'];
        $check->checacampobranco( $conta, "Conta" );
        $sql->verificalogin( $conta, 1 );
        $sql->query( "SELECT Nome, Login, Email, Telefone, vip, tirarvip, golds FROM SITE_CADASTRO, MEMB_INFO WHERE Login=memb___id AND Login='".$conta."'" );
        $info = $sql->row( );
        $sql->query( "SELECT GameID1, GameID2, GameID3, GameID4, GameID5 FROM AccountCharacter WHERE Id='".$conta."'" );
        $chars = $sql->row( );
        if ( $info[4] == 0 )
        {
            $info[4] = "Free";
        }
        if ( $info[4] == 1 )
        {
            $info[4] = "Vip Normal";
        }
        if ( $info[4] == 2 )
        {
            $info[4] = "Vip Premium";
        }
        if ( $chars[0] != "" )
        {
            $chars[0] = $chars[0]."<br>";
        }
        else
        {
            $chars[0] = "";
        }
        if ( $chars[1] != "" )
        {
            $chars[1] = $chars[1]."<br>";
        }
        else
        {
            $chars[1] = "";
        }
        if ( $chars[2] != "" )
        {
            $chars[2] = $chars[2]."<br>";
        }
        else
        {
            $chars[2] = "";
        }
        if ( $chars[3] != "" )
        {
            $chars[3] = $chars[3]."<br>";
        }
        else
        {
            $chars[3] = "";
        }
        if ( $chars[4] != "" )
        {
            $chars[4] = $chars[4];
        }
        else
        {
            $chars[4] = "";
        }
        echo "<table width=\"100%\"><tr><td>\r\n        \t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"100%\">\r\n            \t<tr>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                \t<td width=\"22\" background=\"images/bdy06.gif\" align=\"center\"><nobr>&nbsp;<img src=\"images/bullet090.gif\">&nbsp;</nobr></td>\r\n                \t<td width=\"95%\" background=\"images/bdy06.gif\" class=\"nrm02\" align=\"left\">&nbsp;<b><font color=\"#2283BF\">Informa&ccedil;&otilde;es Conta</font></b></td>\r\n                \t<td background=\"images/bdy06.gif\" align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\">&nbsp;&nbsp;</td>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                </tr>\r\n                <tr>\r\n                \t<td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                \t<td colspan=\"3\"><!--<img src=\"images/spacer.gif\" width=\"100\" height=\"5\">-->\r\n                \t\t<table width=\"100%\" cellpadding=\"5\">\r\n                        <tr>\r\n                          <td colspan=\"2\" class=\"infotitulo\">Informa&ccedil;&atilde;o da Conta</td>\r\n                        </tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"infovip\" align=\"right\" width=\"35%\"><b>Nome:</b></td>\r\n                            <td class=\"infovip\">";
        echo $info[0];
        echo "</td>\r\n\t\t\t\t\t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"infovip2\" align=\"right\"><b>Conta:</b></td>\r\n                            <td class=\"infovip2\">";
        echo $conta;
        echo "</td>\r\n\t\t\t\t\t\t</tr>\r\n                        <tr>\r\n                \t\t\t<td class=\"infovip\" align=\"right\" width=\"35%\"><b>Email:</b></td>\r\n                            <td class=\"infovip\">";
        echo $info[2];
        echo "</td>\r\n\t\t\t\t\t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"infovip2\" align=\"right\"><b>Telefone:</b></td>\r\n                            <td class=\"infovip2\">";
        echo $info[3];
        echo "</td>\r\n\t\t\t\t\t\t</tr>\r\n                        <tr>\r\n                \t\t\t<td class=\"infovip\" align=\"right\" width=\"35%\"><b>Tipo Vip:</b></td>\r\n                            <td class=\"infovip\">";
        echo $info[4];
        echo "</td>\r\n\t\t\t\t\t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"infovip2\" align=\"right\"><b>Dias Restantes:</b></td>\r\n                            <td class=\"infovip2\">";
        echo $info[5];
        echo " dias</td>\r\n\t\t\t\t\t\t</tr>\r\n                        <tr>\r\n                \t\t\t<td class=\"infovip\" align=\"right\"><b>Golds:</b></td>\r\n                            <td class=\"infovip\">";
        echo $info[6];
        echo " golds</td>\r\n\t\t\t\t\t\t</tr>\r\n                        <tr>\r\n                        \t<td class=\"infovip2\" align=\"right\"><b>Status:</b></td>\r\n                            <td class=\"infovip2\">";
        echo $sql->verificaonline( $conta, 2 );
        echo "</td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"infovip\" align=\"right\"><b>Level:</b></td>\r\n                            <td class=\"infovip\">";
        echo $sql->verificaadm( $conta, 2 );
        echo "</td>\r\n                        </tr>\r\n                        <tr>\r\n                        \t<td class=\"infovip2\" align=\"right\"><b>Chars</b></td>\r\n                            <td class=\"infovip2\">";
        echo $chars[0].$chars[1].$chars[2].$chars[3].$chars[4];
        echo "</td>\r\n                        </tr>\r\n\t\t\t\t\t\t</table>\r\n                    </td>\r\n                    <td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n                <tr>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td bgcolor=\"#666666\" colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n        ";
    }
}
if ( $action == "remover" )
{
    if ( $go == false )
    {
        echo "        \t<table width=\"100%\"><tr><td>\r\n        \t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"100%\">\r\n            \t<tr>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                \t<td width=\"22\" background=\"images/bdy06.gif\" align=\"center\"><nobr>&nbsp;<img src=\"images/bullet090.gif\">&nbsp;</nobr></td>\r\n                \t<td width=\"95%\" background=\"images/bdy06.gif\" class=\"nrm02\" align=\"left\">&nbsp;<b><font color=\"#2283BF\">Remover Conta</font></b></td>\r\n                \t<td background=\"images/bdy06.gif\" align=\"right\"><img src=\"images/bullet031.gif\" width=\"6\" height=\"10\">&nbsp;&nbsp;</td>\r\n                \t<td width=\"1\"><img src=\"images/bdy05.gif\" width=\"1\" height=\"23\"></td>\r\n                </tr>\r\n                <tr>\r\n                \t<td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                \t<td colspan=\"3\"><!--<img src=\"images/spacer.gif\" width=\"100\" height=\"5\">-->\r\n                    \t<form name=\"form1\" id=\"form1\" action=\"?page=conta&action=remover&go=1\" method=\"post\">\r\n                \t\t<table width=\"100%\">\r\n                \t\t<tr>\r\n                \t\t\t<td class=\"conta\">Conta:</td>\r\n                \t\t\t<td><input type=\"text\" name=\"conta\" id=\"conta\" maxlength=\"10\" class=\"conta\"> <a href=\"javascript:;\" onclick=\"javascript:Busca();\">Busca</a></td>\r\n                \t\t</tr>\r\n                \t\t<tr>\r\n                \t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t\t\t\t\t\t<script language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\t<!--\r\n\t\t\t\t\t\t\t\t\t//hide me\r\n\t\t\t\t\t\t\t\t\tif (document.images) {\r\n\t\t\t\t\t\t\t\t\tspecbut1On = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1On.src = \"images/en/buttons/remcontao.gif\";\r\n\t\t\t\t\t\t\t\t\tspecbut1Off = new Image();\r\n\t\t\t\t\t\t\t\t\tspecbut1Off.src = \"images/en/buttons/remconta.gif\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t//-->\r\n\t\t\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t\t\t<a href=\"#\" onClick=\"document.form1.submit(); return false;\" onMouseOver='ShowHide(\"specbut1\",\"specbut1On\");' onMouseOut='ShowHide(\"specbut1\",\"specbut1Off\")'><img src=\"images/en/buttons/remconta.gif\" Array border=\"0\" name=\"specbut1\"></a>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n                        </form>\r\n                    </td>\r\n                    <td width=\"1\" bgcolor=\"#666666\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n                <tr>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td bgcolor=\"#666666\" colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                    <td width=\"1\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>\r\n                </tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n\r\n    ";
    }
    if ( $go == true )
    {
        $conta = $_POST['conta'];
        $check->checacampobranco( $conta, "Conta" );
        $sql->verificalogin( $conta, 1 );
        $sql->executaremoverconta( $conta );
    }
}
?>
