:]]:};}:]:];]
session_start();
include'cnn.php';
include'configs/conf_extras.php';
include 'configs/conf_info.php';
// querys //
$Contas=mssql_fetch_row(mssql_query("select count(*) from memb_info"));
$Chars=mssql_fetch_row(mssql_query("select count(*) from character"));
$Guilds=mssql_fetch_row(mssql_query("select count(*) from guild"));
$Vips=mssql_fetch_row(mssql_query("select count(*) from memb_info where vip>=1"));
// --
/*
online config
*/
$online [ "color" ] = "blue";
$online [ "caption" ] [ 0 ] = "";
$online [ "caption" ] [ 1 ] = "Offline";
$online [ "split" ] = " ";
/*
nao mudar
*/
function dt_result ( $query )
{
$tmp = mssql_query ( $query );
$tmp = mssql_result ( $tmp, 0, 0 );
return ( $tmp );
}
$online [ 0 ] = dt_result ( "select count ( * ) from memb_stat where servername = '$nomemu' and connectstat = 1" );
$online [ 1 ] = dt_result ( "select count ( * ) from memb_stat where servername = '$nomemu' and connectstat = 1" );
$online [ 2 ] = dt_result ( "select count ( * ) from memb_stat where servername = '$nomemu' and connectstat = 1" );
$online [ 3 ] = dt_result ( "select count ( * ) from memb_stat where servername = '$nomemu' and connectstat = 1" );
$online [ "total3" ] = dt_result ( "select count ( * ) from memb_stat where connectstat = 1" );
$online [ "total" ] = dt_result ( "select count ( * ) from memb_stat where servername = '$nomemu' and connectstat = 1" );
$online [ "total2" ] = dt_result ( "select count ( * ) from memb_stat where servername = '$subnomemu' and connectstat = 1" );
$online [ 0 ] = "" . $online [ 0 ] . "";
$online [ 1 ] = "" . $online [ 1 ] . "";
$online [ 2 ] = "" . $online [ 2 ] . "";
$online [ 3 ] = "" . $online [ 3 ] . "";
// --
if($_POST['prossegue_login']) {
$login = $_POST['login'];
$senha = $_POST['senha'];
$VerificaLogin = mssql_num_rows(mssql_query("select memb___id from memb_info where memb___id='".$login."' and memb__pwd='".$senha."'"));
$VerificaSenha = mssql_num_rows(mssql_query("select memb__pwd from memb_info where memb__pwd='".$senha."' and memb___id='".$login."'"));
if(empty($login) || empty($senha)) {
echo "
";
}
elseif($VerificaLogin <= 0="" br=""> echo "
";
}
elseif($VerificaSenha <= 0="" br=""> echo "
";
}
else {
$_SESSION['login']=$login;
$_SESSION['senha']=$senha;
echo "
";
}
}
?>
$on = mssql_fetch_row($qon);
$file = fopen("record.txt", "a+");
$count = fread($file, Filesize("record.txt"));
fclose($file);
if($on[0] > $count){
$file = fopen("record.txt", "w+");
fputs($file, $on[0]);
fclose($file);
}
echo ''.$count.'';
?>
Blood Castle:
Chaos Castle:
Devil Square:
Versão: |
Server Normal - $fp=@fsockopen($iphost,55901,$errno,$errstr,0.1); $statusa=0; if($fp > 0) { $statusa = $statusa + 1; } switch($statusa) { case 0: $status = 'Offline'; break; case 1: $status = 'Online'; break; } echo $status; ?>| |
if( mssql_result($sql, 0, 0) <= 10="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 10 AND mssql_result($sql, 0, 0) <= 15="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 15 AND mssql_result($sql, 0, 0) <= 20="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 20 AND mssql_result($sql, 0, 0) <= 25="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 25 AND mssql_result($sql, 0, 0) <= 30="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 30 AND mssql_result($sql, 0, 0) <= 35="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 35 AND mssql_result($sql, 0, 0) <= 40="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 40 AND mssql_result($sql, 0, 0) <= 45="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 45 AND mssql_result($sql, 0, 0) <= 50="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 50 AND mssql_result($sql, 0, 0) <= 55="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 55 AND mssql_result($sql, 0, 0) <= 60="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 60 AND mssql_result($sql, 0, 0) <= 65="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 65 AND mssql_result($sql, 0, 0) <= 70="" br="">echo "";} elseif( mssql_result($sql, 0, 0) >= 70 AND mssql_result($sql, 0, 0) <= 1000="" br="">echo "";} ?> |
echo '
Usuario: |
Senha: |
Esqueci minha senha |
'; }
elseif(isset($_SESSION['login'])) {
$login = $_SESSION['login'];
$senha = $_SESSION['senha'];
$tipoconta = mssql_fetch_row(mssql_query("select vip,creditos from memb_info where memb___id='".$login."' AND memb__pwd='".$senha."'"));
switch($tipoconta[1]) {
case 2: $sintaxe = "Dias";
break;
case 1: $sintaxe = "Dias";
break;
case 0: $sintaxe = "Dias";
break;
default: $sintaxe = "Dias";
}
switch($tipoconta[0]) {
case 0: $tipodeconta = "Free";
break;
case 1: $tipodeconta = "Vip Simples";
break;
case 2: $tipodeconta = "Vip Master";
break;
default : $tipodeconta = "Error";
}
echo '
Logado: | '.$login.' | Conta: | '.$tipodeconta.' | Dias Vip: | '.$tipoconta[1].' '.$sintaxe.' | Painel | Sair |
}
?>
|
|||||||||||||
|
|||||||||||||