'; if(isset($_SESSION['ss_txtConta']) and isset($_SESSION['ss_txtSenhaConta'])){ $ckConta = mssql_query("SELECT * FROM ".DB_ACC.".dbo.cabal_auth_table WHERE ID='".$_SESSION['ss_txtConta']."'"); $ckConta_result = mssql_fetch_array($ckConta); $ckDonate = mssql_query("SELECT count (ckEntrega) FROM ".DB_ACC.".dbo.CADDONATE WHERE ckEntrega = 0"); $ckDonate_result = mssql_fetch_row($ckDonate); echo'
'; echo'
Olá: '.$_SESSION['ss_txtConta'].'
'; if($ckConta_result['AuthType'] >= 2) { echo'
Account blocked! Click here
'; echo'
Logout
'; } else { if(in_array($_SESSION['ss_txtConta'],$confGeral['ID_ADM'])){ echo'
Add News
'; echo'
Add Banner
'; echo'
Search Account
'; echo'
Search Char
'; echo'
Add Cash
'; echo'
Confirm Donation ('.$ckDonate_result[0].')
'; echo'
Add ADM/GM
'; echo'
Payment GM
'; echo'
Ban Account
'; echo'
Ban Char
'; echo'
Unban Account
'; echo'
Unban Char
'; echo'
Logout
';} else{ if(in_array($_SESSION['ss_txtConta'],$confGeral['ID_GM'])) { echo'
Search Char
'; echo'
Ban account
'; echo'
Ban Char
'; echo'
Unban Account
'; echo'
Unban Char
'; echo'
Logout
';} else { echo'
Change Password
'; if($confCabal['RESET']==1) { echo'
Reset
'; } echo'
Distribute Points
'; echo'
Choose Nation
'; if($confCabal['DONATE']==1) { echo'
Confirm Donate
'; } echo'
Logout
'; echo'
'; }}} echo'
'; }else { echo'
'; echo''; echo'
New? sign up!
'; if($_POST['sbmtOk']) { echo'
'; $txtConta = $_POST['txtConta']; $txtSenhaConta = md5($_POST['txtSenhaConta']); if(eregi("[^0-9a-zA-Z ]", $txtConta)) $Error .= "invalid login"; if(eregi("[^0-9a-zA-Z ]", $txtSenhaConta)) $Error .= "invalid password"; if(empty($Error) == false) echo '
'.$Error.'
'; else { $sql_Conta = mssql_query("select ID from ".DB_ACC.".dbo.cabal_auth_table where ID='".$txtConta."'"); $sql_Conta_result = mssql_num_rows($sql_Conta); if($sql_Conta_result <= 0){ echo '
Invalid login !
' ; } else { $sql_Senha = mssql_query("select Password from ".DB_ACC.".dbo.cabal_auth_table where Password='".$txtSenhaConta."' and ID='".$txtConta."'"); $sql_Senha_result = mssql_num_rows($sql_Senha); if($sql_Senha_result <= 0){ echo '
invalid password !
' ;} else { $_SESSION['ss_txtConta'] = $txtConta; $_SESSION['ss_txtSenhaConta'] = $txtSenhaConta; header('Location: index.php'); } } echo'
esse é o erro vc pediu eu falei q era bastante me ajuda ae.