2022-06-06 21:30:34 +00:00
< ? php
2022-12-19 21:15:56 +00:00
if ( ! defined ( 'GAME_VERSION' )) {
require_once '_incl_data/autoload.php' ;
}
2022-06-11 11:32:31 +00:00
if ( ! defined ( 'GAME' )) {
die ();
2022-06-06 21:30:34 +00:00
}
2022-12-19 21:15:56 +00:00
//require_once '_incl_data/mails.php';
2022-06-06 21:30:34 +00:00
2022-06-11 11:32:31 +00:00
if ( $u -> room [ 'file' ] == 'bank' ) {
2022-12-19 21:15:56 +00:00
$noc = \Core\Config :: get ( 'crtoecr' ) * 2 ; //120 kr = 1 ekr.
$con = \Core\Config :: get ( 'ecrtocr' ) * 2.5 ; //1 <20> <> <EFBFBD> . = 30 <20> <> .
2022-06-11 11:32:31 +00:00
function getNum ( $v )
{
$plid = $v ;
$pi = iconv_strlen ( $plid );
if ( $pi < 5 ) {
$i = 0 ;
while ( $i <= 5 - $pi ) {
$plid = '0' . $plid ;
$i ++ ;
}
}
return $plid ;
}
function getNumId ( $v )
{
$plid = $v ;
$array = str_split ( $plid );
$ends = 0 ;
$result = '' ;
for ( $i = 0 , $end = ( count ( $array ) - 1 ); $i <= $end ; $i ++ ) {
if ( $array [ $i ] == 0 && $ends == 0 ) {
$array [ $i ] = '' ;
} else {
$ends = 1 ;
}
$result .= $array [ $i ];
}
return $result ;
}
if ( $u -> info [ 'allLock' ] > time ()) {
$u -> bank = false ;
}
$re2 = '' ;
if ( isset ( $_GET [ 'enter' ]) && ! isset ( $u -> bank [ 'id' ])) {
2022-12-19 18:26:14 +00:00
$bank = mysql_fetch_array (
mysql_query (
'SELECT * FROM `bank` WHERE `uid` = "' . $u -> info [ 'id' ] . '" AND `id` = "' . mysql_real_escape_string (
( int ) $_POST [ 'bank' ]
) . '" LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( ! isset ( $bank [ 'id' ])) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
2022-06-11 11:32:31 +00:00
} elseif ( $bank [ 'pass' ] != $_POST [ 'pass' ]) {
2022-12-19 18:26:14 +00:00
$pl = mysql_fetch_array (
mysql_query (
'SELECT COUNT(*) FROM `actions` WHERE `uid` = "' . $u -> info [ 'id' ] . '" AND `time` > "' . ( time (
) - 60 * 60 ) . '" AND `vars` = "bank_bad_pass_' . mysql_real_escape_string (
$bank [ 'id' ]
) . '" LIMIT 5'
)
);
2022-06-11 11:32:31 +00:00
if ( $pl [ 0 ] >= 3 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> 1 <20> <> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} else {
if ( $pl [ 0 ] == 0 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . <20> <> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$pp = [ 0 => '<27> <> ' , 1 => '<27> <> ' , 2 => '<27> <> ' , 3 => '<27> <> ' ];
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . <20> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . ( 3 - $pl [ 0 ]) . ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' . $pp [ 3 - $pl [ 0 ]] . ', <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
mysql_query (
'INSERT INTO `actions` (`uid`,`time`,`city`,`room`,`vars`,`ip`) VALUES ("' . $u -> info [ 'id' ] . '","' . time (
) . '","' . $u -> info [ 'city' ] . '","' . $u -> info [ 'room' ] . '","bank_bad_pass_' . mysql_real_escape_string (
$bank [ 'id' ]
) . '","' . mysql_real_escape_string ( $_SERVER [ 'HTTP_X_REAL_IP' ]) . '")'
);
2022-06-11 11:32:31 +00:00
}
} else {
if ( $u -> info [ 'allLock' ] > time ()) {
2022-12-19 18:26:14 +00:00
echo '<script>setTimeout(function(){alert("<22> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ' . date (
'd.m.y H:i' , $u -> info [ 'allLock' ]
) . '")},250);</script>' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> !
2022-06-11 11:32:31 +00:00
$bank [ 'useNow' ] = time () + 12 * 60 * 60 ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `useNow` = "0" WHERE `id` != "' . $bank [ 'id' ] . '" AND `uid` = "' . $u -> info [ 'id' ] . '" AND `useNow`!="0" LIMIT 1'
);
mysql_query (
'UPDATE `bank` SET `useNow` = "' . $bank [ 'useNow' ] . '" WHERE `id` = "' . $bank [ 'id' ] . '" AND `uid` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
mysql_query (
'INSERT INTO `actions` (`uid`,`time`,`city`,`room`,`vars`,`ip`) VALUES ("' . $u -> info [ 'id' ] . '","' . time (
) . '","' . $u -> info [ 'city' ] . '","' . $u -> info [ 'room' ] . '","bank_good_pass_' . mysql_real_escape_string (
$bank [ 'id' ]
) . '","' . mysql_real_escape_string ( $_SERVER [ 'HTTP_X_REAL_IP' ]) . '")'
);
2022-06-11 11:32:31 +00:00
$u -> bank = $bank ;
}
}
} elseif ( isset ( $_GET [ 'res' ])) {
2022-12-19 18:26:14 +00:00
$b_pass = mysql_fetch_array (
mysql_query (
'SELECT * FROM `bank` WHERE `uid` = "' . $u -> info [ 'id' ] . '" AND `id` = "' . mysql_real_escape_string (
getNumId ( $_GET [ 'schet' ])
) . '" ORDER BY `id` DESC LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( $b_pass [ 'repass' ] >= time ()) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
mysql_query (
'INSERT INTO `actions` (`uid`,`time`,`city`,`room`,`vars`,`ip`) VALUES ("' . $u -> info [ 'id' ] . '","' . time (
) . '","' . $u -> info [ 'city' ] . '","' . $u -> info [ 'room' ] . '","bank_res","' . mysql_real_escape_string (
$_SERVER [ 'HTTP_X_REAL_IP' ]
) . '")'
);
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> email, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `repass` = "' . ( time (
) + 24 * 3600 ) . '" WHERE `id` = "' . $b_pass [ 'id' ] . '" LIMIT 1'
);
2022-07-01 12:45:43 +00:00
$subject = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . $u -> info [ 'login' ];
$message = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . getNum ( $b_pass [ 'id' ]) . '<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $b_pass [ 'pass' ] .
'<br><br><3E> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ,<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-12-19 21:15:56 +00:00
\Core\Mail :: send ( $u -> info [ 'mail' ], $message , $subject );
//mails($u->info['mail'], $message, $subject);
2022-06-11 11:32:31 +00:00
unset ( $subject , $message );
}
} elseif ( isset ( $_GET [ 'open' ]) && ! isset ( $u -> bank [ 'id' ])) {
if ( $_POST [ 'rdn01' ] == 2 && ( $u -> info [ 'level' ] >= 8 || $u -> info [ 'money4' ] < 15 )) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> !' ;
2022-12-19 21:15:56 +00:00
} elseif ( $u -> info [ 'money' ] >= 3 || ( $u -> info [ 'level' ] < 8 && $u -> info [ 'money4' ] >= 15 && \Core\Config :: get (
'zuby'
))) {
2022-06-11 11:32:31 +00:00
if ( $_POST [ 'pass1' ] == '' || $_POST [ 'pass1' ] == ' ' ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !' ;
2022-06-11 11:32:31 +00:00
} elseif ( $_POST [ 'pass1' ] != $_POST [ 'pass2' ]) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !' ;
2022-06-11 11:32:31 +00:00
} elseif ( $u -> info [ 'money' ] - 3 < 0 && $_POST [ 'rdn01' ] != 2 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> .' ;
2022-06-11 11:32:31 +00:00
} elseif ( $u -> info [ 'align' ] != 2 ) {
$pass = rand ( 10000 , 91191 );
$pass = htmlspecialchars ( $_POST [ 'pass1' ], null , 'cp1251' );
2022-12-19 18:26:14 +00:00
$ins = mysql_query (
'INSERT INTO `bank` (`uid`,`create`,`pass`) VALUES ("' . $u -> info [ 'id' ] . '","' . time (
) . '","' . mysql_real_escape_string ( $pass ) . '")'
);
2022-06-11 11:32:31 +00:00
if ( $ins ) {
$bank = mysql_insert_id ();
2022-12-19 21:15:56 +00:00
if ( $u -> info [ 'level' ] < 8 && $_POST [ 'rdn01' ] == 2 && \Core\Config :: get ( 'zuby' )) {
2022-06-11 11:32:31 +00:00
$u -> info [ 'money4' ] -= 15 ;
} else {
$u -> info [ 'money' ] -= 3 ;
}
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `users` SET `money` = "' . $u -> info [ 'money' ] . '",`money4` = "' . $u -> info [ 'money4' ] . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
$re2 = '<27> <> <EFBFBD> <EFBFBD> <20> <b>' . getNum (
$bank
) . '</b> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .<br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> : <b>' . $pass . '</b><br><small><br>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "<22> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )' ;
$u -> addDelo (
3 , $u -> info [ 'id' ], '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> ' . getNum ( $bank ) . '' , time (), $u -> info [ 'city' ],
'Bank.System' , 3 , 0 , ''
);
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-12-19 21:15:56 +00:00
if ( $u -> info [ 'level' ] < 8 && \Core\Config :: get ( 'zuby' )) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <b>3.00 <20> <> .</b> <20> <> <EFBFBD> <b>' . $u -> zuby ( 15 ) . '</b>' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <b>3.00 <20> <> .</b>' ;
2022-06-11 11:32:31 +00:00
}
}
} elseif ( isset ( $_GET [ 'exit' ]) && isset ( $u -> bank [ 'id' ])) {
$u -> bank = false ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `useNow` = "0" WHERE `uid` = "' . $u -> info [ 'id' ] . '" AND `useNow`!="0" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
}
if ( $u -> info [ 'allLock' ] > time ()) {
$u -> bank = false ;
}
if ( isset ( $u -> bank [ 'id' ])) {
if ( isset ( $_POST [ 'sd4' ]) && $u -> newAct ( $_POST [ 'sd4' ])) {
if ( isset ( $_POST [ 'transfer_kredit2' ]) && $u -> info [ 'admin' ] > 0 ) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 18:26:14 +00:00
$ub = mysql_fetch_array (
mysql_query (
'SELECT * FROM `bank` WHERE `id` = "' . mysql_real_escape_string (
( int ) $_POST [ 'num2' ]
) . '" LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( isset ( $ub [ 'id' ]) && $ub [ 'id' ] != $u -> bank [ 'id' ]) {
2022-12-19 18:26:14 +00:00
$ut = mysql_fetch_array (
mysql_query (
'SELECT `id`,`level`,`city`,`room`,`login` FROM `users` WHERE `id` = "' . mysql_real_escape_string (
$ub [ 'uid' ]
) . '" LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( $ut [ 'level' ] >= 0 || $ut [ 'id' ] == $u -> info [ 'id' ] || $u -> info [ 'admin' ] > 0 ) {
$mn = floor (( int )( $_POST [ 'tansfer_sum2' ] * 100 ));
$mn = round (( $mn / 100 ), 2 );
$prc = 0 ;
$mn += $prc ;
if ( $u -> bank [ 'money2' ] >= $mn ) {
if ( $mn < 0.01 || $mn > 1000000000 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `bank` SET `money2` = "' . mysql_real_escape_string (
$u -> bank [ 'money2' ] - $mn
) . '" WHERE `id` = "' . $u -> bank [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $upd ) {
$u -> bank [ 'money2' ] -= $mn ;
$ub [ 'money2' ] += $mn - $prc ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `users` SET `catch` = `catch` + "' . floor (
$mn - $prc
) . '" WHERE `id` = "' . $ut [ 'id' ] . '" LIMIT 1'
);
mysql_query (
'UPDATE `users` SET `frg` = `frg` + ' . floor (
$mn
) . ' WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `money2` = "' . mysql_real_escape_string (
$ub [ 'money2' ]
) . '" WHERE `id` = "' . $ub [ 'id' ] . '" LIMIT 1'
);
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . ( $mn - $prc ) . ' <20> <> <EFBFBD> .</b> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $prc . ' <20> <> <EFBFBD> .</b>) <20> <> <20> <> <EFBFBD> <EFBFBD> <20> ' . getNum (
$ub [ 'id' ]
) . ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "<b>' . $ut [ 'login' ] . '</b>"' ;
$u -> addDelo (
3 , $ut [ 'id' ], '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . ( $mn - $prc ) . ' <20> <> <EFBFBD> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> ' . getNum (
$u -> bank [ 'id' ]
) . ' <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "' . $u -> info [ 'login' ] . '", <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $prc . ' <20> <> <EFBFBD> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $ub [ 'money1' ] . ' <20> <> ., ' . $ub [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $ut [ 'city' ], 'Bank.System' , mysql_real_escape_string ( $mn - $prc ), 0 ,
$ub [ 'id' ]
);
$u -> addDelo (
3 , $u -> info [ 'id' ],
'<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . ( $mn - $prc ) . ' <20> <> <EFBFBD> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> ' . getNum (
$ub [ 'id' ]
) . ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "' . $ut [ 'login' ] . '", <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $prc . ' <20> <> <EFBFBD> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> bank [ 'money1' ] . ' <20> <> ., ' . $u -> bank [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $u -> info [ 'city' ], 'Bank.System' , 0 , mysql_real_escape_string ( $mn ),
$u -> bank [ 'id' ]
);
2022-07-01 12:45:43 +00:00
$log = '"' . $u -> info [ 'login' ] . '" [' . $u -> info [ 'level' ] . '] <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> ' . $u -> bank [ 'id' ] . ' <20> <> <20> <> <EFBFBD> <EFBFBD> <20> ' . $ub [ 'id' ] . ' <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "' . $ut [ 'login' ] . '" [' . $ut [ 'level' ] . '] ' . ( $mn - $prc ) . ' <20> <> <EFBFBD> .' ;
2022-12-19 18:26:14 +00:00
$u -> addDelo (
1 , $u -> info [ 'id' ], $log , time (), $u -> info [ 'city' ], 'Bank.System' , 0 , 0 , ''
);
2022-06-11 11:32:31 +00:00
$u -> addDelo ( 1 , $ut [ 'id' ], $log , time (), $ut [ 'city' ], 'Bank.System' , 0 , 0 , '' );
if ( $ut [ 'id' ] != $u -> info [ 'id' ]) {
$alg = '' ;
if ( $u -> info [ 'align' ] == 50 ) {
$alg = '<img src=https://img.new-combats.com/i/align/align50.gif >' ;
}
2022-12-19 18:26:14 +00:00
$text = '"' . $alg . '[login:' . $u -> info [ 'login' ] . ']" <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . ( $u -> info [ 'sex' ] == 0 ? " " : " <EFBFBD> " ) . ' <20> <> <EFBFBD> <b>' . ( $mn - $prc ) . ' <20> <> <EFBFBD> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> ' . getNum (
$u -> bank [ 'id' ]
) . ' <20> <> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> ' . getNum ( $ub [ 'id' ]) . '.' ;
2022-06-11 11:32:31 +00:00
2022-12-19 18:26:14 +00:00
mysql_query (
" INSERT INTO `chat` (`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (' " . $ut [ 'city' ] . " ',' " . $ut [ 'room' ] . " ','',' " . $ut [ 'login' ] . " ',' " . $text . " ',' " . time (
) . " ','12','0','1') "
);
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} elseif ( isset ( $_POST [ 'transfer_kredit' ]) && $u -> info [ 'align' ] != 2 ) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
if ( $u -> info [ 'level' ] >= 4 || $u -> info [ 'admin' ] > 0 ) {
2022-12-19 18:26:14 +00:00
$ub = mysql_fetch_array (
mysql_query (
'SELECT * FROM `bank` WHERE `id` = "' . mysql_real_escape_string (
( int ) $_POST [ 'num' ]
) . '" LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( isset ( $ub [ 'id' ]) && $ub [ 'id' ] != $u -> bank [ 'id' ]) {
2022-12-19 18:26:14 +00:00
$ut = mysql_fetch_array (
mysql_query (
'SELECT `id`,`level`,`city`,`room`,`login` FROM `users` WHERE `id` = "' . mysql_real_escape_string (
$ub [ 'uid' ]
) . '" LIMIT 1'
)
);
2022-06-11 11:32:31 +00:00
if ( $ut [ 'level' ] >= 4 || $ut [ 'id' ] == $u -> info [ 'id' ] || $u -> info [ 'admin' ] > 0 ) {
$mn = floor (( int )( $_POST [ 'tansfer_sum' ] * 100 ));
$mn = round (( $mn / 100 ), 2 );
$prc = round ( $mn * 3 / 100 , 2 );
$mn += $prc ;
if ( $u -> bank [ 'money1' ] >= $mn ) {
if ( $mn < 0.01 || $mn > 1000000000 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `bank` SET `money1` = "' . mysql_real_escape_string (
$u -> bank [ 'money1' ] - $mn
) . '" WHERE `id` = "' . $u -> bank [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $upd ) {
$u -> bank [ 'money1' ] -= $mn ;
$ub [ 'money1' ] += $mn - $prc ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `money1` = "' . mysql_real_escape_string (
$ub [ 'money1' ]
) . '" WHERE `id` = "' . $ub [ 'id' ] . '" LIMIT 1'
);
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . ( $mn - $prc ) . ' <20> <> .</b> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $prc . ' <20> <> .</b>) <20> <> <20> <> <EFBFBD> <EFBFBD> <20> ' . getNum (
$ub [ 'id' ]
) . ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "<b>' . $ut [ 'login' ] . '</b>"' ;
$u -> addDelo (
3 , $ut [ 'id' ],
'<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . ( $mn - $prc ) . ' <20> <> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> ' . getNum (
$u -> bank [ 'id' ]
) . ' <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "' . $u -> info [ 'login' ] . '", <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $prc . ' <20> <> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $ub [ 'money1' ] . ' <20> <> ., ' . $ub [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $ut [ 'city' ], 'Bank.System' , mysql_real_escape_string ( $mn - $prc ), 0 ,
$ub [ 'id' ]
);
$u -> addDelo (
3 , $u -> info [ 'id' ],
'<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . ( $mn - $prc ) . ' <20> <> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> ' . getNum (
$ub [ 'id' ]
) . ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "' . $ut [ 'login' ] . '", <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $prc . ' <20> <> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> bank [ 'money1' ] . ' <20> <> ., ' . $u -> bank [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $u -> info [ 'city' ], 'Bank.System' , 0 , mysql_real_escape_string ( $mn ),
$u -> bank [ 'id' ]
);
2022-07-01 12:45:43 +00:00
$log = '"' . $u -> info [ 'login' ] . '" [' . $u -> info [ 'level' ] . '] <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> ' . $u -> bank [ 'id' ] . ' <20> <> <20> <> <EFBFBD> <EFBFBD> <20> ' . $ub [ 'id' ] . ' <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "' . $ut [ 'login' ] . '" [' . $ut [ 'level' ] . '] ' . ( $mn - $prc ) . ' <20> <> . <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' . $prc . ' <20> <> . <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
2022-12-19 18:26:14 +00:00
$u -> addDelo (
1 , $u -> info [ 'id' ], $log , time (), $u -> info [ 'city' ], 'Bank.System' , 0 , 0 , ''
);
2022-06-11 11:32:31 +00:00
$u -> addDelo ( 1 , $ut [ 'id' ], $log , time (), $ut [ 'city' ], 'Bank.System' , 0 , 0 , '' );
if ( $ut [ 'id' ] != $u -> info [ 'id' ]) {
2022-12-19 18:26:14 +00:00
$text = '"[login:' . $u -> info [ 'login' ] . ']" <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . ( $u -> info [ 'sex' ] == 0 ? " " : " <EFBFBD> " ) . ' <20> <> <EFBFBD> <b>' . ( $mn - $prc ) . ' <20> <> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> ' . getNum (
$u -> bank [ 'id' ]
) . ' <20> <> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> ' . getNum ( $ub [ 'id' ]) . '.' ;
mysql_query (
" INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`,`typeTime`) VALUES (1,' " . $ut [ 'city' ] . " ',' " . $ut [ 'room' ] . " ','',' " . $ut [ 'login' ] . " ',' " . $text . " ',' " . time (
) . " ','6','0','1') "
);
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <b>' . $mn . ' <20> <> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> 4-<2D> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
} elseif ( $u -> info [ 'align' ] != 2 && $u -> info [ 'haos' ] < time (
2022-12-19 21:15:56 +00:00
) && $u -> info [ 'haos' ] != 1 && $u -> info [ 'align' ] != 50 && isset ( $_POST [ 'convert_kredit' ]) && \Core\Config :: get ( 'crtoecr' ) > 0 ) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> . <20> <> <20> <> <EFBFBD> .
2022-06-11 11:32:31 +00:00
if ( $u -> info [ 'palpro' ] > time ()) {
$mn = ceil (( int )( $_POST [ 'convert_sum2' ] * 100 ));
$mn = round (( $mn / 100 ), 2 );
$mne = round ( $mn / $noc , 2 );
$mn = round (( $mn / 100 * 103 + 5 ), 2 );
2022-12-19 18:26:14 +00:00
$sm = $u -> testAction (
'`uid` = "' . $u -> info [ 'id' ] . '" AND `vars` = "bank_kr_to_ekr_[' . date (
'd.m.Y' , time ()
) . ']" ORDER BY `id` DESC LIMIT 1' , 1
);
2022-06-11 11:32:31 +00:00
$sm_lim = 100 ;
if ( isset ( $sm [ 'id' ]) && $sm [ 'vals' ] + $mne > $sm_lim ) {
if ( $sm [ 'vals' ] < $sm_lim ) {
2022-12-19 18:26:14 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <b>' . ( $sm_lim - $sm [ 'vals' ]) . ' <20> <> <EFBFBD> .</b>. (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . round (
(( $sm_lim - $sm [ 'vals' ]) * $noc ), 2
) . ' <20> <> .), <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <b>' . $mne . ' <20> <> <EFBFBD> .</b>.' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> . <20> <> <20> <> <EFBFBD> . (' . $sm_lim . ' <20> <> <EFBFBD> .)' ;
2022-06-11 11:32:31 +00:00
}
} elseif ( $mn > 0 && $mne > 0 && $mn >= round (( 0.01 * ( $noc * 1.03 ) + 5 ), 2 )) {
if ( $u -> bank [ 'money1' ] >= $mn ) {
if ( ! isset ( $sm [ 'id' ])) {
$u -> addAction ( time (), 'bank_kr_to_ekr_[' . date ( 'd.m.Y' ) . ']' , $mne );
} else {
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `actions` SET `vals` = "' . ( $sm [ 'vals' ] + $mne ) . '" WHERE `id` = "' . $sm [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
}
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> .</b> <20> <> <b>' . $mne . ' <20> <> <EFBFBD> .</b>' ;
2022-06-11 11:32:31 +00:00
$u -> bank [ 'money1' ] -= $mn ;
$u -> bank [ 'money2' ] += $mne ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `users` SET `catch` = `catch` + "' . round (
$mne , 2
) . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `money1` = "' . mysql_real_escape_string (
$u -> bank [ 'money1' ]
) . '", `money2` = "' . mysql_real_escape_string (
$u -> bank [ 'money2' ]
) . '",`shara` = `shara` + "' . mysql_real_escape_string (
$mne
) . '" WHERE `id` = "' . mysql_real_escape_string ( $u -> bank [ 'id' ]) . '" LIMIT 1'
);
2022-07-01 12:45:43 +00:00
$log = '"' . $u -> info [ 'login' ] . '" [' . $u -> info [ 'level' ] . '] <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> .</b> <20> <> <b>' . $mne . ' <20> <> <EFBFBD> .</b>, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> ' . $u -> bank [ 'id' ] . '.' ;
2022-06-11 11:32:31 +00:00
$u -> addDelo ( 1 , $u -> info [ 'id' ], $log , time (), $u -> info [ 'city' ], 'Bank.System' , 0 , 0 , '' );
2022-12-19 18:26:14 +00:00
$u -> addDelo (
3 , $u -> info [ 'id' ], '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . ceil (
( int )( $_POST [ 'convert_sum2' ] * 100 / 100 )
) . ' <20> <> .</b> <20> <> <b>' . $mne . ' <20> <> <EFBFBD> .</b>, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . round (
( ceil (( int )( $_POST [ 'convert_sum2' ] * 100 / 100 )) / 100 * 3 + 5 ), 2
) . ' <20> <> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> bank [ 'money1' ] . ' <20> <> ., ' . $u -> bank [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $u -> info [ 'city' ], 'Bank.System' , 0 , 0 , $u -> bank [ 'id' ]
);
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <b>' . $mn . ' <20> <> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-12-19 18:26:14 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . round (
( 0.01 * ( $noc * 1.03 ) + 5 ), 2
) . ' <20> <> .' ;
2022-06-11 11:32:31 +00:00
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .' ;
2022-06-11 11:32:31 +00:00
}
} elseif ( isset ( $_POST [ 'convert_ekredit' ])) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> . <20> <> <20> <> .
2022-06-11 11:32:31 +00:00
$mn = ceil (( int )( $_POST [ 'convert_sum' ] * 100 ));
$mn = round (( $mn / 100 ), 2 );
if ( $u -> bank [ 'money2' ] >= $mn ) {
if ( $mn < 0.01 || $mn > 1000000000 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `bank` SET `money1` = "' . mysql_real_escape_string (
$u -> bank [ 'money1' ] + ( $mn * $con )
) . '",`money2` = "' . mysql_real_escape_string (
$u -> bank [ 'money2' ] - $mn
) . '" WHERE `id` = "' . $u -> bank [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $upd ) {
$u -> bank [ 'money1' ] += $mn * $con ;
$u -> bank [ 'money2' ] -= $mn ;
2022-12-19 18:26:14 +00:00
$u -> addDelo (
3 , $u -> info [ 'id' ],
'<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b> <20> <> <b>' . ( $mn * $con ) . ' <20> <> .</b>, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>0 <20> <> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> bank [ 'money1' ] . ' <20> <> ., ' . $u -> bank [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $u -> info [ 'city' ], 'Bank.System' , 0 , mysql_real_escape_string ( $mn * $con ),
$u -> bank [ 'id' ]
);
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b> <20> <> <b>' . ( $mn * $con ) . ' <20> <> .</b>' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} elseif ( isset ( $_POST [ 'get_kredit' ])) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
$mn = floor (( int )( $_POST [ 'get_sum' ] * 100 ));
$mn = round (( $mn / 100 ), 2 );
if ( $u -> bank [ 'money1' ] >= $mn ) {
if ( $mn < 0.01 || $mn > 1000000000 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> ' . (( int ) $_POST [ 'get_sum' ]) . ' <20> <> .)' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `users` SET `money` = "' . mysql_real_escape_string (
$u -> info [ 'money' ] + $mn
) . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $upd ) {
$u -> bank [ 'money1' ] -= $mn ;
$u -> info [ 'money' ] += $mn ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `money1` = "' . mysql_real_escape_string (
$u -> bank [ 'money1' ]
) . '" WHERE `id` = "' . $u -> bank [ 'id' ] . '" LIMIT 1'
);
$u -> addDelo (
3 , $u -> info [ 'id' ],
'<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> .</b>, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>0 <20> <> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> bank [ 'money1' ] . ' <20> <> ., ' . $u -> bank [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $u -> info [ 'city' ], 'Bank.System' , 0 , 0 , $u -> bank [ 'id' ]
);
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> .</b>' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <b>' . $mn . ' <20> <> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} elseif ( isset ( $_POST [ 'get_ekredit' ])) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
$mn = floor (( int )( $_POST [ 'get_esum' ] * 100 ));
$mn = round (( $mn / 100 ), 2 );
if ( $u -> bank [ 'money2' ] >= $mn ) {
if ( $mn < 0.01 || $mn > 1000000000 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> ' . (( int ) $_POST [ 'get_esum' ]) . ' <20> <> <EFBFBD> .)' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `users` SET `money2` = "' . mysql_real_escape_string (
$u -> info [ 'money2' ] + $mn
) . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $upd ) {
$u -> bank [ 'money2' ] -= $mn ;
$u -> info [ 'money2' ] += $mn ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `money2` = "' . mysql_real_escape_string (
$u -> bank [ 'money2' ]
) . '" WHERE `id` = "' . $u -> bank [ 'id' ] . '" LIMIT 1'
);
$u -> addDelo (
3 , $u -> info [ 'id' ],
'<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b>, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>0 <20> <> <EFBFBD> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> bank [ 'money1' ] . ' <20> <> ., ' . $u -> bank [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $u -> info [ 'city' ], 'Bank.System' , 0 , 0 , $u -> bank [ 'id' ]
);
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b>' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
} elseif ( isset ( $_POST [ 'add_ekredit' ])) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
$mn = floor (( int )( $_POST [ 'add_esum' ] * 100 ));
$mn = round (( $mn / 100 ), 2 );
if ( $u -> info [ 'money2' ] >= $mn ) {
if ( $mn < 0.01 || $mn > 1000000000 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> )' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `users` SET `money2` = "' . mysql_real_escape_string (
$u -> info [ 'money2' ] - $mn
) . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $upd ) {
$u -> bank [ 'money2' ] += $mn ;
$u -> info [ 'money2' ] -= $mn ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `money2` = "' . mysql_real_escape_string (
$u -> bank [ 'money2' ]
) . '" WHERE `id` = "' . $u -> bank [ 'id' ] . '" LIMIT 1'
);
$u -> addDelo (
3 , $u -> info [ 'id' ],
'<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <b>' . $mn . ' E<> <45> .</b>, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>0 <20> <> <EFBFBD> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> bank [ 'money1' ] . ' <20> <> ., ' . $u -> bank [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $u -> info [ 'city' ], 'Bank.System' , 0 , 0 , $u -> bank [ 'id' ]
);
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b>' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> <EFBFBD> .</b>' ;
2022-06-11 11:32:31 +00:00
}
} elseif ( isset ( $_POST [ 'add_kredit' ])) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
$mn = floor (( int )( $_POST [ 'add_sum' ] * 100 ));
$mn = round (( $mn / 100 ), 2 );
if ( $u -> info [ 'money' ] >= $mn ) {
if ( $mn < 0.01 || $mn > 1000000000 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> )' ;
2022-06-11 11:32:31 +00:00
} else {
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `users` SET `money` = "' . mysql_real_escape_string (
$u -> info [ 'money' ] - $mn
) . '" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $upd ) {
$u -> bank [ 'money1' ] += $mn ;
$u -> info [ 'money' ] -= $mn ;
2022-12-19 18:26:14 +00:00
mysql_query (
'UPDATE `bank` SET `money1` = "' . mysql_real_escape_string (
$u -> bank [ 'money1' ]
) . '" WHERE `id` = "' . $u -> bank [ 'id' ] . '" LIMIT 1'
);
$u -> addDelo (
3 , $u -> info [ 'id' ],
'<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> .</b>, <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>0 <20> <> .</b> <i>(<28> <> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> bank [ 'money1' ] . ' <20> <> ., ' . $u -> bank [ 'money2' ] . ' <20> <> <EFBFBD> .)</i>' ,
time (), $u -> info [ 'city' ], 'Bank.System' , 0 , 0 , $u -> bank [ 'id' ]
);
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> .</b>' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
}
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <20> <> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <b>' . $mn . ' <20> <> .</b>' ;
2022-06-11 11:32:31 +00:00
}
} elseif ( isset ( $_POST [ 'change_psw2' ])) {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 18:26:14 +00:00
$sm = $u -> testAction (
'`uid` = "' . $u -> info [ 'id' ] . '" AND `vals` = "id=' . $u -> bank [ 'id' ] . '&new_pass=' . $u -> bank [ 'pass' ] . '" AND `vars` = "bank_new_pass" AND `time` > "' . ( time (
) - 24 * 60 * 60 ) . '" LIMIT 1' , 1
);
2022-06-11 11:32:31 +00:00
if ( $_POST [ 'new_psw1' ] != $_POST [ 'new_psw2' ]) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} elseif ( iconv_strlen ( $_POST [ 'new_psw1' ]) < 6 || iconv_strlen ( $_POST [ 'new_psw1' ]) > 32 ) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 6 <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 32 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} elseif ( isset ( $sm [ 'id' ])) {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 18:26:14 +00:00
$upd = mysql_query (
'UPDATE `bank` SET `pass` = "' . mysql_real_escape_string (
$_POST [ 'new_psw1' ]
) . '" WHERE `id` = "' . $u -> bank [ 'id' ] . '" LIMIT 1'
);
2022-06-11 11:32:31 +00:00
if ( $upd ) {
2022-12-19 18:26:14 +00:00
$u -> addAction (
time (), 'bank_new_pass' , 'id=' . $u -> bank [ 'id' ] . '&new_pass=' . $_POST [ 'new_psw1' ] . ''
);
2022-06-11 11:32:31 +00:00
$u -> bank [ 'pass' ] = $_POST [ 'new_psw1' ];
2022-12-19 18:26:14 +00:00
$re2 = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <b>' . getNum (
$u -> bank [ 'id' ]
) . '</b> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <b>' . $u -> bank [ 'pass' ] . '</b>' ;
$u -> addDelo (
3 , $u -> info [ 'id' ], '<27> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> .' , time (), $u -> info [ 'city' ], 'Bank.System' ,
0 , 0 , $u -> bank [ 'id' ]
);
2022-06-11 11:32:31 +00:00
} else {
2022-07-01 12:45:43 +00:00
$re2 = '<27> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
2022-06-11 11:32:31 +00:00
}
}
}
}
}
if ( $re != '' ) {
echo '<div align="right"><font color="red"><b>' . $re . '</b></font></div>' ;
} ?>
< style type = " text/css " >
. pH3 {
COLOR : #8f0000;
FONT - FAMILY : Arial ;
FONT - SIZE : 12 pt ;
FONT - WEIGHT : bold ;
}
. class_ {
font - weight : bold ;
color : #C5C5C5;
cursor : pointer ;
}
. class_st {
font - weight : bold ;
color : #659BA3;
cursor : pointer ;
}
. class__ {
font - weight : bold ;
color : #FFFFFF;
cursor : pointer ;
background - color : #659BA3;
}
. class__st {
font - weight : bold ;
color : #FFFFFF;
cursor : pointer ;
background - color : #659BA3;
font - size : 10 px ;
}
. class_old {
font - weight : bold ;
color : #919191;
cursor : pointer ;
}
. class__old {
font - weight : bold ;
color : #FFFFFF;
cursor : pointer ;
background - color : #838383;
font - size : 10 px ;
}
</ style >
< TABLE width = " 100% " cellspacing = " 0 " cellpadding = " 0 " >
< tr >
< td >
2022-06-06 21:30:34 +00:00
< table width = " 100% " border = " 0 " cellspacing = " 0 " cellpadding = " 0 " >
2022-06-11 11:32:31 +00:00
< tr >
< td >
< div align = " center " >
< div align = " center " class = " pH3 " >
2022-07-01 12:45:43 +00:00
< h3 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < br /></ h3 >
2022-06-11 11:32:31 +00:00
</ div >
</ div >
</ td >
< td width = " 200 " >
< div style = " float:right; " >
< table cellspacing = " 0 " cellpadding = " 0 " >
< tr >
< td width = " 100% " >& nbsp ; </ td >
< td >
< table border = " 0 " cellpadding = " 0 " cellspacing = " 0 " >
< tr align = " right " valign = " top " >
< td ><!-- -->
< ? echo $goLis ; ?>
<!-- -->
< table border = " 0 " cellspacing = " 0 " cellpadding = " 0 " >
< tr >
< td nowrap = " nowrap " >
< table width = " 100% " border = " 0 " cellpadding = " 0 " cellspacing = " 1 "
bgcolor = " #DEDEDE " >
< tr >
< td bgcolor = " #D3D3D3 " >< img
src = " https://img.new-combats.com/i/move/links.gif "
width = " 9 " height = " 7 " /></ td >
< td bgcolor = " #D3D3D3 " nowrap = " nowrap " >< a href = " # "
id = " greyText "
class = " menutop "
onclick = " location='main.php?loc=1.180.0.11&rnd=<? echo $code ; ?>'; "
2022-12-19 18:26:14 +00:00
title = " <? thisInfRm(
'1.180.0.11' ,
1
); ?> "><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ a ></ td >
2022-06-11 11:32:31 +00:00
</ tr >
</ table >
</ td >
</ tr >
</ table >
</ td >
</ tr >
</ table >
</ td >
</ tr >
</ table >
</ div >
</ td >
</ tr >
2022-06-06 21:30:34 +00:00
</ table >
< TABLE width = " 100% " cellspacing = " 0 " cellpadding = " 4 " >
2022-06-11 11:32:31 +00:00
< TR >
< form name = " F1 " method = " post " >
< TD valign = " top " align = " left " >
2022-07-01 12:45:43 +00:00
<!-- <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> --></ TD >
2022-06-11 11:32:31 +00:00
</ FORM >
</ TR >
< TR >
< TD valign = " top " align = " left " >
< ? if ( $re2 != '' ) {
echo '<div align="left"><font color="red">' . $re2 . '</font></div><br>' ;
}
if ( ! isset ( $u -> bank [ 'id' ])) {
?>
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :
2022-06-06 21:30:34 +00:00
< OL >
2022-07-01 12:45:43 +00:00
< LI > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
< LI > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> / <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> / <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
< LI > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> / <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
< LI > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> . <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-06 21:30:34 +00:00
</ OL >
< script type = " text/javascript " src = " js/jquery.js " ></ script >
2022-06-11 11:32:31 +00:00
< script >
function hidecreatefx () {
if ( $ ( '#hidecreate' ) . css ( 'display' ) != 'none' ) {
$ ( '#hidecreate' ) . css ( 'display' , 'none' );
} else {
$ ( '#hidecreate' ) . css ( 'display' , '' );
}
}
</ script >
2022-06-06 21:30:34 +00:00
< FORM action = " main.php?open&rnd=<? echo $code ; ?> " method = " POST " >
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ? <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : < INPUT onclick = " hidecreatefx(); " TYPE = " button "
value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> " >
2022-06-11 11:32:31 +00:00
< div id = " hidecreate " style = " display:none " >
< FIELDSET style = " width:300px; " >
2022-07-01 12:45:43 +00:00
< LEGEND >< B > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ B ></ LEGEND >
2022-06-11 11:32:31 +00:00
< small >
2022-12-19 21:15:56 +00:00
< ? if ( $u -> info [ 'level' ] < 8 && \Core\Config :: get ( 'zuby' )) { ?>
2022-06-11 11:32:31 +00:00
< center >
2022-07-01 12:45:43 +00:00
< input name = " rdn01 " type = " radio " value = " 1 " > < b > 3.00 <EFBFBD> <EFBFBD> .</ b > & nbsp ; & nbsp ; < input
2022-06-11 11:32:31 +00:00
name = " rdn01 " type = " radio " value = " 2 " > < ? = $u -> zuby ( 15 ) ?>
</ center >
< hr />
< ? } else {
?>
< center >
2022-07-01 12:45:43 +00:00
< input checked = " checked " name = " rdn01 " type = " radio " value = " 1 " > < b > 3.00 <EFBFBD> <EFBFBD> .</ b > & nbsp ;
2022-06-11 11:32:31 +00:00
& nbsp ; & nbsp ;
</ center >
< hr />
< ?
} ?>
< style >
fieldset {
border : 1 px solid #AEAEAE;
}
hr {
border : 0 ;
border - bottom : 1 px solid #aeaeae;
}
</ style >
< table width = " 300 " border = " 0 " cellspacing = " 0 " cellpadding = " 0 " >
< tr >
2022-07-01 12:45:43 +00:00
< td > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ td >
2022-06-11 11:32:31 +00:00
< td >< INPUT style = 'width:90;' type = " password " value = " " name = " pass1 " ></ td >
</ tr >
< tr >
2022-07-01 12:45:43 +00:00
< td > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ td >
2022-06-11 11:32:31 +00:00
< td >< INPUT style = 'width:90;' type = " password " value = " " name = " pass2 " ></ td >
</ tr >
</ table >
</ small >
< center >
2022-07-01 12:45:43 +00:00
< INPUT TYPE = " submit " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> " >
2022-06-11 11:32:31 +00:00
</ center >
</ FIELDSET >
</ div >
2022-06-06 21:30:34 +00:00
</ FORM >
< form action = " main.php?enter&rnd=<? echo $code ; ?> " method = " POST " >
2022-06-11 11:32:31 +00:00
< br />
< FIELDSET style = " width:300px; " >
2022-07-01 12:45:43 +00:00
< LEGEND >< B > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ B ></ LEGEND >
2022-06-11 11:32:31 +00:00
< TABLE width = " 300 " >
< TR >
< TD valign = top >
< TABLE >
< TR >
2022-07-01 12:45:43 +00:00
< TD > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ td >
2022-06-11 11:32:31 +00:00
< TD colspan = 2 >< select name = " bank " size = 0 style = " width: 90px " >
< ?
2022-12-19 18:26:14 +00:00
$sp = mysql_query (
'SELECT * FROM `bank` WHERE `uid` = "' . $u -> info [ 'id' ] . '" AND `block` = "0"'
);
2022-06-11 11:32:31 +00:00
while ( $pl = mysql_fetch_array ( $sp )) {
?>
< option value = " <? echo $pl['id'] ; ?> "
selected = " selected " >< ? echo getNum ( $pl [ 'id' ]); ?> </option>
< ?
}
?>
</ select ></ td >
</ tr >
< TR >
2022-07-01 12:45:43 +00:00
< TD > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ td >
2022-06-11 11:32:31 +00:00
< td >< INPUT style = 'width:90;' type = " password " value = " " name = " pass " ></ td >
</ tr >
< TR >
2022-07-01 12:45:43 +00:00
< TD colspan = 3 align = center >< INPUT TYPE = " submit " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " ></ td >
2022-06-11 11:32:31 +00:00
</ tr >
</ TABLE >
</ TD >
</ TABLE >
</ FIELDSET >
2022-06-06 21:30:34 +00:00
</ form >
2022-06-11 11:32:31 +00:00
< form method = GET action = 'main.php' >
< input type = hidden name = 'res' value =< ? echo $code ; ?> >
< br />
< br />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ? <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> email , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :< input type = text name = 'schet' > < input type = " submit "
value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " /></ TD >
2022-06-11 11:32:31 +00:00
</ form >
</ TR >
</ TABLE >
</ table >
< br >
< div id = " textgo " style = " visibility:hidden; " ></ div >
< ?
} else {
2022-06-06 21:30:34 +00:00
2022-06-11 11:32:31 +00:00
?>
< style >
. pay td {
width : 50 px ;
}
. pay td img {
display : block ;
margin : 1 px 0 0 0 ;
}
. pay td : hover img {
margin : 0 0 1 px 0 ;
}
. pay td : hover img {
filter : progid : DXImageTransform . Microsoft . Alpha ( opacity = 80 ); /* IE 5.5+*/
2022-07-01 12:45:43 +00:00
- moz - opacity : 0.8 ; /* Mozilla 1.6 <20> <20> <> <EFBFBD> <EFBFBD> */
2022-06-11 11:32:31 +00:00
- khtml - opacity : 0.8 ; /* Konqueror 3.1, Safari 1.1 */
opacity : 0.8 ; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
cursor : pointer ;
}
</ style >
2022-07-01 12:45:43 +00:00
<!-- <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> -->
2022-06-11 11:32:31 +00:00
< FORM action = " main.php " method = " POST " >
< INPUT TYPE = hidden name = " sd4 " value = " <? echo $u->info ['nextAct']; ?> " >
< TABLE width = 100 %>
< TR >
2022-07-01 12:45:43 +00:00
< TD valign = top width = 30 %>< H4 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ H4 > & nbsp ;
< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ b > < ? echo getNum ( $u -> bank [ 'id' ]); ?> <a href="?exit=<? echo $code; ?>"
title = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> c <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " > [ x ] </ a >< br >
2022-06-11 11:32:31 +00:00
</ TD >
< TD valign = top align = center width = 40 %>
< TABLE >
< TR >
< TD >
< FIELDSET >
2022-07-01 12:45:43 +00:00
< LEGEND >< B > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ B ></ LEGEND >
2022-06-11 11:32:31 +00:00
< TABLE >
< TR >
2022-07-01 12:45:43 +00:00
< TD > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ TD >
2022-06-11 11:32:31 +00:00
< TD >< B >< ? echo $u -> round2 ( $u -> bank [ 'money1' ]); ?> </B></TD>
</ TR >
< TR >
2022-07-01 12:45:43 +00:00
< TD > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ TD >
2022-06-11 11:32:31 +00:00
< TD >< B >< ? echo $u -> round2 ( $u -> bank [ 'money2' ]); ?> </B></TD>
</ TR >
< TR >
< TD colspan = 2 >
< HR >
</ TD >
</ TR >
< TR >
2022-07-01 12:45:43 +00:00
< TD > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ TD >
< TD >< B >< ? echo $u -> round2 ( $u -> info [ 'money' ]); ?> <20> <> .</B></TD>
2022-06-11 11:32:31 +00:00
</ TR >
< TR >
2022-07-01 12:45:43 +00:00
< TD > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ TD >
< TD >< B >< ? echo $u -> round2 ( $u -> info [ 'money2' ]); ?> <20> <> <EFBFBD> .</B></TD>
2022-06-11 11:32:31 +00:00
</ TR >
2022-06-06 21:30:34 +00:00
2022-06-11 11:32:31 +00:00
</ TABLE >
</ FIELDSET >
</ TD >
</ TR >
</ TABLE >
</ TD >
2022-07-01 12:45:43 +00:00
< TD valign = top align = right width = 30 %>< FONT COLOR = red > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !</ FONT > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .
2022-06-11 11:32:31 +00:00
</ TD >
</ TR >
</ TABLE >
< style >
fieldset {
border : 1 px solid #AEAEAE;
}
hr {
border : 0 ;
border - bottom : 1 px solid #aeaeae;
}
</ style >
< table width = " 100% " border = " 0 " cellspacing = " 0 " cellpadding = " 0 " >
< tr >
< td width = " 50% " valign = " top " >
< table width = " 100% " cellspacing = " 5 " >
< tr >
< td valign = " top " width = " 50% " >
< fieldset >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input type = " text " name = " add_sum " id = " add_sum " size = " 6 " maxlength = " 10 " />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> .
< input type = " submit " name = " add_kredit " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> "
onclick = " if(Math.round(document.getElementById('add_sum')).value==0) { alert('<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '); return false;} else { return confirm('<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> '+(Math.floor(document.getElementById('add_sum').value*100)/100).toFixed(2)+' <20> <> . ?')} " />
2022-06-11 11:32:31 +00:00
< br />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input type = " text " name = " add_esum " id = " add_esum " size = " 6 " maxlength = " 10 " />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> .
< input type = " submit " name = " add_ekredit " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> "
onclick = " if(Math.round(document.getElementById('add_esum')).value==0) { alert('<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '); return false;} else { return confirm('<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> '+(Math.floor(document.getElementById('add_esum').value*100)/100).toFixed(2)+' <20> <> <EFBFBD> . ?')} " />
2022-06-11 11:32:31 +00:00
< br />
</ fieldset >
</ td >
</ tr >
< tr >
< td valign = " top " >
< fieldset >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input id = " vl1 " value = " " type = " text " name = " tansfer_sum " size = " 6 "
maxlength = " 10 " />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> .< br />
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input value = " " type = " text " id = " vl2 " name = " num " size = " 12 " maxlength = " 15 " />
< br />
< input type = " submit " name = " transfer_kredit "
2022-07-01 12:45:43 +00:00
value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> "
onclick = " if(Math.round(document.getElementById('vl1')).value==0 || Math.round(document.getElementById('vl2').value)==0) { alert('<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '); return false;} else { return confirm('<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '+(Math.floor(document.getElementById('vl1').value*100)/100).toFixed(2)+' <20> <> . <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '+Math.floor(document.getElementById('vl2').value)+' ?')} " />
2022-06-11 11:32:31 +00:00
< br />
2022-07-01 12:45:43 +00:00
< small > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < b > 3.00 %</ b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < b > 1.00
<EFBFBD> <EFBFBD> </ b >.</ small >
2022-06-11 11:32:31 +00:00
</ fieldset >
</ td >
</ tr >
< tr >
< td valign = " top " >
< fieldset >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .< br />
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < b > 1 <EFBFBD> <EFBFBD> <EFBFBD> .</ b > = < b >< ? echo $con ; ?> .00 <20> <> .</b><br/>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input type = " text " name = " convert_sum " id = " convert_sum " size = " 6 " maxlength = " 10 " />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> .
2022-06-11 11:32:31 +00:00
< input type = " submit " name = " convert_ekredit "
2022-07-01 12:45:43 +00:00
value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " < ? /*onclick="return confirm('<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> '+(Math.floor(document.getElementById('convert_sum').value*100)/100).toFixed(2)+' <20> <> <EFBFBD> . <20> <> '+(Math.floor(document.getElementById('convert_sum').value*100)/100*<? echo (0+$con); ?>).toFixed(2)+' <20> <> . ?');" */ ?> />
2022-06-11 11:32:31 +00:00
</ fieldset >
</ td >
</ tr >
2022-12-19 18:26:14 +00:00
< ? if ( $u -> info [ 'align' ] != 2 && $u -> info [ 'haos' ] < time (
2022-12-19 21:15:56 +00:00
) && $u -> info [ 'haos' ] != 1 && \Core\Config :: get ( 'crtoecr' ) > 0 ) { ?>
2022-06-11 11:32:31 +00:00
< tr >
< td valign = " top " >
< fieldset style = " background-color:#DDEAD7 " >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .< br />
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < b >< ? echo $noc ; ?> <20> <> .</b> = <b>1.00 <20> <> <EFBFBD> .</b><br/>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input type = " text " name = " convert_sum2 " id = " convert_sum2 " size = " 6 "
maxlength = " 10 " />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> .
2022-06-11 11:32:31 +00:00
< br />
2022-07-01 12:45:43 +00:00
< small > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < b > 3.00 %</ b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> - <EFBFBD> <EFBFBD> < b > 5.00 <EFBFBD> <EFBFBD> </ b >.</ small >
< input type = " submit " name = " convert_kredit " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "
onclick = " return confirm('<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> '+(5+Math.floor((document.getElementById('convert_sum2').value)*103)/100).toFixed(2)+' <20> <> . <20> <> '+(Math.floor(document.getElementById('convert_sum2').value*100)/100/<? echo $noc ; ?>).toFixed(2)+' <20> <> <EFBFBD> . ?'); " />
2022-06-11 11:32:31 +00:00
</ fieldset >
</ td >
</ tr >
< ? }
if ( $u -> info [ 'admin' ] > 1000 ) {
?>
< tr >
< td valign = " top " >
< fieldset >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input id = " vl12 " value = " " type = " text " name = " tansfer_sum2 " size = " 6 "
maxlength = " 10 " />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> .< br />
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input value = " " type = " text " id = " vl22 " name = " num2 " size = " 12 " maxlength = " 15 " />
< br />
< input type = " submit " name = " transfer_kredit2 "
2022-07-01 12:45:43 +00:00
value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> "
onclick = " if(Math.round(document.getElementById('vl12')).value==0 || Math.round(document.getElementById('vl22').value)==0) { alert('<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '); return false;} else { return confirm('<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '+(Math.floor(document.getElementById('vl12').value*100)/100).toFixed(2)+' <20> <> <EFBFBD> . <20> <> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '+Math.floor(document.getElementById('vl22').value)+' ?')} " />
2022-06-11 11:32:31 +00:00
< br />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < b > 0.00 %</ b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < b > 0.01 <EFBFBD> <EFBFBD> <EFBFBD> </ b >.
2022-06-11 11:32:31 +00:00
</ fieldset >
</ td >
</ tr >
< ? } ?>
< tr >
< td valign = " top " >
< fieldset >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b >< br />
2022-06-11 11:32:31 +00:00
< table >
< tr >
2022-07-01 12:45:43 +00:00
< td > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ td >
2022-06-11 11:32:31 +00:00
< td >< input type = " password " name = " new_psw1 " /></ td >
</ tr >
< tr >
2022-07-01 12:45:43 +00:00
< td > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ td >
2022-06-11 11:32:31 +00:00
< td >< input type = " password " name = " new_psw2 " /></ td >
</ tr >
</ table >
2022-07-01 12:45:43 +00:00
< input type = " submit " name = " change_psw2 " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " />
2022-06-11 11:32:31 +00:00
< br />
< div id = " keypad4 " align = " center " style = " display: none; " ></ div >
</ fieldset >
</ td >
</ tr >
< tr >
< td valign = " top " >& nbsp ; </ td >
</ tr >
</ table >
</ td >
< td width = " 50% " valign = " top " >
< table width = " 100% " align = " left " cellspacing = " 5 " >
< tr >
< td valign = " top " width = " 50% " >
< fieldset >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input type = " text " name = " get_sum " id = " get_sum " size = " 6 " maxlength = " 10 " />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> .
< input type = " submit " name = " get_kredit " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> "
onclick = " if(Math.round(document.getElementById('get_sum')).value==0) { alert('<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '); return false;} else { return confirm('<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '+(Math.floor(document.getElementById('get_sum').value*100)/100).toFixed(2)+' <20> <> . ?')} " />
2022-06-11 11:32:31 +00:00
< br />
2022-07-01 12:45:43 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2022-06-11 11:32:31 +00:00
< input type = " text " name = " get_esum " id = " get_esum " size = " 6 " maxlength = " 10 " />
2022-07-01 12:45:43 +00:00
E<EFBFBD> <EFBFBD> .
< input type = " submit " name = " get_ekredit " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> "
onclick = " if(Math.round(document.getElementById('get_esum')).value==0) { alert('<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '); return false;} else { return confirm('<27> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> '+(Math.floor(document.getElementById('get_esum').value*100)/100).toFixed(2)+' <20> <> <EFBFBD> . ?')} " />
2022-06-11 11:32:31 +00:00
< br />
</ fieldset >
</ td >
</ tr >
< tr >
< td ></ td >
</ tr >
< tr >
< td valign = " top " >
< fieldset >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
2022-12-19 18:26:14 +00:00
< div >
< ? php
$pl = mysql_fetch_array (
mysql_query ( 'SELECT * FROM `bank_table` ORDER BY `time` DESC LIMIT 1' )
);
2022-06-11 11:32:31 +00:00
if ( isset ( $pl [ 'id' ])) {
$pl [ 'RUB' ] = 1 ;
$i = 0 ;
$true = [
2022-07-01 12:45:43 +00:00
[ 'USD' , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ' ],
[ 'EUR' , '<27> <> <EFBFBD> <EFBFBD> ' ],
[ 'RUB' , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ],
[ 'UAH' , '<27> <> <EFBFBD> . <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ],
[ 'BYR' , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ],
[ 'AZN' , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' ],
2022-12-19 18:26:14 +00:00
[ 'GBP' , '<27> <> <EFBFBD> <EFBFBD> . <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ],
2022-06-11 11:32:31 +00:00
];
2022-12-19 18:26:14 +00:00
$str = '1 <20> <> <EFBFBD> . = <span style="display:inline-block;width:100px; font-weight: bold;">%s</span> %s<br>' ;
$kurs_str = '' ;
foreach ( $true as $item ) {
if ( $pl [ $item [ 0 ]] > 0 ) {
$kurs_str .= sprintf (
$str , round (( $pl [ 'cur' ] / $pl [ $item [ 0 ]]), 4 ), $item [ 1 ]
);
}
2022-06-11 11:32:31 +00:00
}
2022-12-19 18:26:14 +00:00
?>
< div style = " line-height: 1.5em " >
< ? = $kurs_str ?>
< small style = " font-style: italic; color: dimgrey; " >
2022-12-19 21:15:56 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < strong >< ? = date ( 'd.m.y H:i' , $pl [ 'time' ]) ?> </strong>
<EFBFBD> <EFBFBD> <EFBFBD>
2022-12-19 18:26:14 +00:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
</ small >
</ div >
< ? php
2022-06-11 11:32:31 +00:00
} else {
?>
2022-12-19 18:26:14 +00:00
< small style = " color: tomato; " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .</ small >
2022-06-11 11:32:31 +00:00
< ? } ?>
2022-12-19 18:26:14 +00:00
</ div >
2022-06-11 11:32:31 +00:00
</ fieldset >
</ td >
</ tr >
< tr >
< td valign = " top " >
< fieldset >
2022-07-01 12:45:43 +00:00
< legend >< b > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ b ></ legend >
2022-12-19 18:26:14 +00:00
< div style = " line-height: 1.2em " >
2022-06-11 11:32:31 +00:00
< ?
2022-12-19 18:26:14 +00:00
$sp = mysql_query (
'SELECT * FROM `users_delo` WHERE `uid` = "' . $u -> info [ 'id' ] . '" AND `dop` = "' . $u -> bank [ 'id' ] . '" AND `type` = "3" ORDER BY `time` DESC LIMIT 21'
);
2022-06-11 11:32:31 +00:00
while ( $pl = mysql_fetch_array ( $sp )) {
?>
2022-12-19 18:26:14 +00:00
< small >
< span style = " color: green " >
< ? = date ( 'd.m.Y H:i' , $pl [ 'time' ]) ?>
</ span >
< ? = $pl [ 'text' ] ?>
</ small >< br >
2022-06-11 11:32:31 +00:00
< ?
}
?>
2022-12-19 18:26:14 +00:00
</ div >
2022-06-11 11:32:31 +00:00
</ fieldset >
</ td >
</ tr >
</ table >
</ td >
</ tr >
</ table >
</ FORM >
2022-07-01 12:45:43 +00:00
< small > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> \<5C> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .</ small >
2022-06-11 11:32:31 +00:00
< ?
}
2022-06-06 21:30:34 +00:00
}