2022-06-06 21:30:34 +00:00
< ?
echo "
< script language = 'JavaScript' >
var elem = document . getElementById ( 'se-pre-con' );
elem . parentNode . removeChild ( elem );
</ script >
" ;
if ( ! defined ( 'GAME' ))
{
die ();
}
?>
< script type = " text/javascript " language = " javascript " src = 'https://img.new-combats.com/js/commoninf.js' ></ script >
< style >
. modpow {
background - color : #ddd5bf;
}
. mt {
background - color : #b1a993;
padding - left : 10 px ;
padding - right : 10 px ;
padding - top : 5 px ;
padding - bottom : 5 px ;
}
. md {
padding : 10 px ;
}
</ style >
< script >
function openMod ( title , dat )
{
var d = document . getElementById ( 'useMagic' );
if ( d != undefined )
{
document . getElementById ( 'modtitle' ) . innerHTML = '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td valign="top">' + title + '</td><td width="30" valign="top"><div align="right"><a title="<22> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> " onClick="closeMod(); return false;" href="#">x</a></div></td></tr></table>' ;
document . getElementById ( 'moddata' ) . innerHTML = dat ;
d . style . display = '' ;
}
}
function closeMod ()
{
var d = document . getElementById ( 'useMagic' );
if ( d != undefined )
{
document . getElementById ( 'modtitle' ) . innerHTML = '' ;
document . getElementById ( 'moddata' ) . innerHTML = '' ;
d . style . display = 'none' ;
}
}
</ script >
< div id = " useMagic " style = " display:none; position:absolute; border:solid 1px #776f59; left: 50px; top: 186px; " class = " modpow " >
< div class = " mt " id = " modtitle " ></ div >< div class = " md " id = " moddata " ></ div ></ div >
< table align = left >< tr >< td >< img src = " https://img.new-combats.com/i/alchemy1.gif " ></ td ></ tr ></ table >< table align = right >< tr >< td >< INPUT TYPE = " button " onclick = " location.href='main.php?alhp=1'; " class = " btn " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " title = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " > < INPUT TYPE = " button " onclick = " location.href='main.php'; " class = " btn " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " title = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " ></ table >
< center >< SCRIPT > drwfl ( " <?= $u->info ['login']?> " , < ? = $u -> info [ 'id' ] ?> ,"<?=$u->info['level']?>",50,"")</SCRIPT></center>
< ?
$pl = mysql_fetch_array ( mysql_query ( 'SELECT * FROM `bank_table` ORDER BY `time` DESC LIMIT 1' ));
$ba = mysql_fetch_array ( mysql_query ( " SELECT * FROM `bank_alh` WHERE `uid` = ' " . mysql_real_escape_string ( $u -> info [ 'id' ]) . " ' LIMIT 1 " ));
if ( isset ( $ba [ 'id' ])) {
?>
< table width = 320 >
< tr >
< td >
< h4 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</ h4 >
< b >< ? = $ba [ 'ekr' ] ?> </b> <20> <> <EFBFBD>
< hr />
< ?
$ucur = round ( round (( $pl [ 'cur' ] / $pl [ 'USD' ]), 4 ) / 100 * ( 100 - $ba [ 'procent' ]), 2 );
?>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : < b >< ? = $ucur ?> </b> $ = 1 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .
< hr />
< form method = " post " action = " main.php?alhp=1 " >
< ?
if ( isset ( $_POST [ 'buy_ekr' ])) {
$uba = mysql_fetch_array ( mysql_query ( 'SELECT * FROM `users` WHERE `login` = "' . mysql_real_escape_string ( $_POST [ 'buy_ekr' ]) . '" LIMIT 1' ));
$uba [ 'uid' ] = $uba [ 'id' ];
if ( isset ( $uba [ 'id' ])) {
echo '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> microLogin ( $uba [ 'uid' ], 1 ) . '<br>' ;
} else {
echo '<font color=red><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .</font><hr>' ;
unset ( $_POST [ 'buy_ekr' ]);
}
echo '<hr>' ;
if ( isset ( $uba [ 'id' ])) {
$_POST [ 'buy4ekr' ] = round ( $_POST [ 'buy4ekr' ], 2 );
$bns = array (
array ( 0 , 0 , 0 ),
array ( 10 , 1 , 0 ),
array ( 50 , 2 , 0 ),
array ( 100 , 3 , 0 ),
array ( 200 , 4 , 0 ),
array ( 300 , 5 , 0 ),
array ( 400 , 6 , 0 ),
array ( 500 , 7 , 0 ),
array ( 600 , 8 , 0 ),
array ( 700 , 9 , 0 ),
array ( 800 , 10 , 0 ),
array ( 900 , 11 , 0 ),
array ( 1000 , 13 , 1 ),
array ( 1100 , 15 , 2 ),
array ( 1200 , 17 , 3 ),
array ( 1300 , 19 , 4 ),
array ( 1500 , 21 , 5 ),
array ( 1700 , 23 , 6 ),
array ( 2000 , 25 , 7 ),
array ( 2500 , 27 , 8 ),
array ( 3000 , 30 , 9 )
);
$bns2 = array (
array ( 0 , 0 ),
array ( 10 , 10 ),
array ( 20 , 10 ),
array ( 30 , 10 ),
array ( 40 , 10 ),
array ( 50 , 10 ),
array ( 60 , 10 ),
array ( 70 , 10 ),
array ( 80 , 10 ),
array ( 90 , 10 ),
array ( 100 , 20 )
);
$ball = mysql_fetch_array ( mysql_query ( 'SELECT SUM(`ekr`) FROM `pay_operation` WHERE `uid` = "' . $uba [ 'id' ] . '" AND `good` > 0 LIMIT 1' ));
$ball = 0 + $ball [ 0 ];
$i = 0 ;
while ( $i < count ( $bns ) ) {
if ( isset ( $bns [ $i ][ 0 ]) && $ball > $bns [ $i ][ 0 ] ) {
$b1 = $i ;
}
$i ++ ;
}
//if( isset($backdoor) ) {
$i = 0 ;
while ( $i < count ( $bns2 ) ) {
if ( isset ( $bns2 [ $i ][ 0 ]) && $_POST [ 'buy4ekr' ] >= $bns2 [ $i ][ 0 ] ) {
$b2 = $i ;
}
$i ++ ;
}
//}
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$out_ekr = $_POST [ 'buy4ekr' ];
$out_ekr0 = $_POST [ 'buy4ekr' ];
//
$out_ekr += round ( $out_ekr0 / 100 * $bns [ $b1 ][ 1 ], 2 );
$i = 0 ;
while ( $i < count ( $bns2 ) ) {
if ( isset ( $bns2 [ $i ][ 0 ]) && $out_ekr >= $bns2 [ $i ][ 0 ] ) {
$b2_2 = $i ;
}
$i ++ ;
}
$out_ekr += round ( $out_ekr0 / 100 * $bns2 [ $b2_2 ][ 1 ], 2 );
if ( $ball == 0 ) {
$out_ekr += round ( $out_ekr0 / 100 * 20 , 2 );
}
if ( isset ( $_POST [ 'buy4ekr' ]) && $_POST [ 'buy4ekr' ] < 0.01 ) {
echo '<font color=red><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : 0.01 <20> <> <EFBFBD> .</font><hr>' ;
unset ( $_POST [ 'buy4ekr' ]);
} elseif ( $_POST [ 'buy4ekr' ] > $ba [ 'ekr' ]) {
echo '<font color=red><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> </font><hr>' ;
unset ( $_POST [ 'buy4ekr' ]);
}
if ( isset ( $_POST [ 'buygoodluck' ])) {
echo '<script>alert("<22> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' . $_POST [ 'buy4ekr' ] . ' <20> <> <EFBFBD> . <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !");location.href="main.php?alhp=1";</script>' ;
$ba [ 'ekr' ] -= $_POST [ 'buy4ekr' ];
$ba [ 'USD' ] += round ( $_POST [ 'buy4ekr' ] * $ucur , 2 );
mysql_query ( 'UPDATE `bank_alh` SET `ekr` = "' . mysql_real_escape_string ( $ba [ 'ekr' ]) . '",`USD` = "' . mysql_real_escape_string ( $ba [ 'USD' ]) . '" WHERE `id` = "' . $ba [ 'id' ] . '" LIMIT 1' );
mysql_query ( 'UPDATE `users` SET `money2` = `money2` + ' . mysql_real_escape_string ( $out_ekr ) . ' WHERE `id` = "' . $uba [ 'id' ] . '" LIMIT 1' );
$money = round ( $_POST [ 'buy4ekr' ] * $pl [ 'cur' ], 2 );
$money = round ( $money / 100 * ( 100 - $ba [ 'procent' ]), 2 );
$user = mysql_fetch_array ( mysql_query ( 'SELECT `id`,`login`,`city`,`sex`,`room`,`host_reg` FROM `users` WHERE `id` = "' . mysql_real_escape_string ( $uba [ 'uid' ]) . '" LIMIT 1' ));
mysql_query ( ' INSERT INTO `pay_operation` ( `uid` , `ekr` , `time` , `good` , `var` , `ref` , `ref2` ) VALUES (
" '. $uba['id'] .' " , " '.mysql_real_escape_string( $_POST['buy4ekr'] ).' " , " '.time().' " , " '.time().' " , " buy_ekr_alh'. $u->info ['id'].' " , " '. $uba['host_reg'] .' " , " 0 "
) ' );
/*
echo '[' . $user [ 'host_reg' ] . ']' ;
if ( $user [ 'host_reg' ] > 0 && $_POST [ 'buy4ekr' ] >= 1 ) {
$refer = mysql_fetch_array ( mysql_query ( 'SELECT `id`,`login`,`city`,`sex`,`room`,`host_reg` FROM `users` WHERE `id` = "' . mysql_real_escape_string ( $user [ 'host_reg' ]) . '" LIMIT 1' ));
if ( isset ( $refer [ 'id' ]) ) {
$r = '<span class=date>' . date ( 'd.m.Y H:i' ) . '</span> <img src=https://img.new-combats.com/i/align/align50.gif width=12 height=15 /><u><b><3E> <> <EFBFBD> <EFBFBD> </b> «<3B> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> » / <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $u -> info [ 'login' ] . '</b></u> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : ' ;
if ( $refer [ 'sex' ] == 1 ) {
$r .= '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
} else {
$r .= '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
}
$ubaref = mysql_fetch_array ( mysql_query ( 'SELECT * FROM `bank` WHERE `uid` = "' . $refer [ 'id' ] . '" ORDER BY `id` DESC LIMIT 1' ));
if ( isset ( $ubaref [ 'id' ]) ) {
mysql_query ( 'UPDATE `bank` SET `money2` = "' . mysql_real_escape_string ( $ubaref [ 'money2' ] + round ( $_POST [ 'buy4ekr' ] * 0.05 , 2 )) . '" WHERE `id` = "' . $ubaref [ 'id' ] . '" LIMIT 1' );
}
$r .= ' <b>' . $refer [ 'login' ] . '</b>, <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> "' . $user [ 'login' ] . '" <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ekr. <20> <20> <> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> ' . ( 0 + $ubaref [ 'id' ]) . ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . round ( $_POST [ 'buy4ekr' ] * 0.05 , 2 ) . ' Ekr. ' ;
mysql_query ( " INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1',' " . $refer [ 'city' ] . " ',' " . $refer [ 'room' ] . " ','',' " . $refer [ 'login' ] . " ',' " . $r . " ','-1','5','0') " );
}
}
*/
$r = '<span class=date>' . date ( 'd.m.Y H:i' ) . '</span> <img src=https://img.new-combats.com/i/align/align50.gif width=12 height=15 /><u> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $u -> info [ 'login' ] . '</b></u> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : ' ;
if ( $user [ 'sex' ] == 1 ) {
$r .= '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
} else {
$r .= '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' ;
}
$bnss = '' ;
if ( ( $out_ekr - round (( int ) $_POST [ 'buy4ekr' ], 2 )) > 0 ) {
$bnss = ' (+' . ( $out_ekr - round (( int ) $_POST [ 'buy4ekr' ], 2 )) . ' <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> !)' ;
}
$r .= ' <b>' . $user [ 'login' ] . '</b>, <20> <> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . $_POST [ 'buy4ekr' ] . ' <20> <> <EFBFBD> ' . $bnsss . '. <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> !' ;
mysql_query ( " INSERT INTO `chat` (`new`,`city`,`room`,`login`,`to`,`text`,`time`,`type`,`toChat`) VALUES ('1',' " . $user [ 'city' ] . " ',' " . $user [ 'room' ] . " ','',' " . $user [ 'login' ] . " ',' " . $r . " ','-1','5','0') " );
$text_msg = '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $u -> info [ 'login' ] . '</b> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <b>' . $_POST [ 'buy4ekr' ] . '</b> <20> <> <EFBFBD> . (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . $ba [ 'procent' ] . '% , <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ' . $ba [ 'USD' ] . '$). <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : ' . $u -> microLogin ( $uba [ 'uid' ], 1 ) . '.</b>.' ;
$balance = mysql_fetch_array ( mysql_query ( 'SELECT SUM(`money`) FROM `balance_money` WHERE `cancel` = 0' ));
$balance = $balance [ 0 ] + $money ;
mysql_query ( 'INSERT INTO `balance_money` (`time`,`ip`,`money`,`comment2`,`balance`,`cancel`) VALUES ("' . time () . '","' . $u -> info [ 'ip' ] . '","' . mysql_real_escape_string (( int ) $money ) . '","' . mysql_real_escape_string ( $text_msg ) . '","' . $balance . '","' . time () . '")' );
//<2F> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
$ub = array ();
$ui = array ();
$sp = mysql_query ( 'SELECT * FROM `pay_operation` WHERE `good` > 0 ORDER BY `id` DESC' );
while ( $pl = mysql_fetch_array ( $sp ) ) {
if ( ! isset ( $ub [ $pl [ 'uid' ]])) {
$ui [] = $pl [ 'uid' ];
}
$ub [ $pl [ 'uid' ]][ date ( 'd.m.Y' , $pl [ 'good' ])] = $pl [ 'ekr' ];
}
$i = 0 ;
while ( $i < count ( $ui ) ) {
if ( isset ( $ui [ $i ])) {
$j = 1 ;
$k = 0 ;
$nj = 0 ;
while ( $j <= 1000 ) {
$dt = date ( 'd.m.Y' , time () - ( 86400 * $j ));
if ( isset ( $ub [ $ui [ $i ]][ $dt ]) ) {
$k ++ ;
$nj = 0 ;
} elseif ( $j > 0 && $nj >= 6 ) {
$j = 1000 ;
} else {
$nj ++ ;
}
$j ++ ;
}
mysql_query ( 'DELETE FROM `users_paybonus` WHERE `id` = "' . $ui [ $i ] . '" LIMIT 1' );
mysql_query ( ' INSERT INTO `users_paybonus` ( `id` , `level` ) VALUES (
" '. $ui[$i] .' " , " '. $k .' "
) ' );
}
$i ++ ;
}
//
} else {
echo '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> .:' ;
if ( ! isset ( $_POST [ 'buy4ekr' ])) {
echo ' <input name="buy4ekr" style="width:50px;" value="0.00" /> <input class="btn btn-danger" value="<22> <> <EFBFBD> <EFBFBD> <EFBFBD> " type="submit" /><br>' ;
} else {
echo ' <b>' . round (( int ) $_POST [ 'buy4ekr' ], 2 ) . '</b> <20> <> <EFBFBD> + <b>' . ( $out_ekr - round (( int ) $_POST [ 'buy4ekr' ], 2 )) . '</b> <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> .<input name="buy4ekr" type="hidden" value="' . $_POST [ 'buy4ekr' ] . '" />' ;
echo ' <br><br><input type="submit" name="buygoodluck" class="btn btn-success" value="<22> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ">' ;
}
}
}
}
?>
< ? if ( isset ( $_POST [ 'buy_ekr' ])){ ?> <input name="buy_ekr" type="hidden" value="<?=$_POST['buy_ekr']?>" /> <? }else{ ?><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> . <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <input name="buy_ekr" style="width:50px;" value="<?=$_POST['buy_ekr']?>" /> <input class="btn btn-danger" value="<22> <> <EFBFBD> <EFBFBD> <EFBFBD> " type="submit" /><? } ?>
</ form >
</ td >
</ tr >
</ table >
< ?
}
echo " <br><h4><div align=left><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </div></h4> " ;
$p [ 'm1' ] = 1 ;
$srok = array ( 15 => '15 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' , 30 => '30 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' , 60 => '<27> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> ' , 180 => '<27> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ' , 360 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' , 720 => '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' , 1440 => '<27> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' , 4320 => '<27> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ' );
if ( isset ( $_GET [ 'usemod' ]))
{
if ( isset ( $_POST [ 'usem1' ]))
{
2022-12-19 18:26:14 +00:00
require_once ( 'moder/usem1.php' );
2022-06-06 21:30:34 +00:00
} elseif ( isset ( $_POST [ 'teleport' ]))
{
2022-12-19 18:26:14 +00:00
//require_once('moder/teleport.php');
2022-06-06 21:30:34 +00:00
}
}
if ( isset ( $_POST [ 'tologin' ], $_POST [ 'message' ])) {
$u -> send ( '' , 1 , $infcity , '' , htmlspecialchars ( $_POST [ 'tologin' ], NULL , 'cp1251' ), '<font color=darkblue><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> </font> <b>' . $u -> info [ 'login' ] . '</b>: ' . $_POST [ 'message' ] . '' , - 1 , 6 , 0 , 0 , 0 , 1 );
}
?>
< table >
< a href = " # " onClick = " openMod('<b><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </b>','<form action= \ 'main.php?<? echo alhp.'&usemod='. $code ; ?> \ ' method= \ 'post \ '><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <input type= \ 'text \ ' style= \ 'width:144px; \ ' id= \ 'logingo \ ' name= \ 'logingo \ '><br><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : <select style= \ 'margin-left:2px; \ ' name= \ 'time \ '><option value= \ '1440 \ '><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> </option></select> <input type= \ 'submit \ ' name= \ 'usem1 \ ' value= \ '<27> <> <EFBFBD> -<2D> <> \ '></form>'); " >< img src = " https://img.new-combats.com/i/items/sleep.gif " title = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " /></ a >
& nbsp ;
< br >< h4 > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </ h4 ><!-- <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> offline <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> .-->
< form method = post style = " margin:5px; " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < input type = text size = 20 name = " tologin " > <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> < input type = text size = 80 name = " message " > & nbsp ; < input type = submit class = " btn btn-success " value = " <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> " ></ form >
< ?
echo '<br><h2><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> :</h2><br>' ;
$sp = mysql_query ( 'SELECT * FROM `pay_operation` WHERE `good` > 0 GROUP BY `uid`' );
while ( $pl = mysql_fetch_array ( $sp ) ) {
$onl = mysql_fetch_array ( mysql_query ( 'SELECT `id`,`online` FROM `users` WHERE `id` = "' . $pl [ 'uid' ] . '" LIMIT 1' ));
$lg = $u -> microLogin ( $pl [ 'uid' ], 1 );
if ( $lg != '<b><i><3E> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> </i></b> [??]<a target="_blank" href="https://new-combats.com/info/0"><img src="https://img.new-combats.com/i/inf_capitalcity.gif" /></a>' ) {
if ( $onl [ 'online' ] > time () - 240 ) {
$lg = '<font color=green>' . $lg . '</font>' ;
} else {
$lg .= ' (<28> <> <EFBFBD> <20> <> <EFBFBD> ' . date ( 'd.m.Y H:i' , $onl [ 'online' ]) . ')' ;
}
if ( $u -> info [ 'admin' ] > 0 ) {
$sum = mysql_fetch_array ( mysql_query ( 'SELECT SUM(`ekr`) FROM `pay_operation` WHERE `good` > 0 AND `uid` = "' . $pl [ 'uid' ] . '" LIMIT 1' ));
$sum = 0 + $sum [ 0 ];
echo $lg . ' - ' . $sum . ' <20> <> <EFBFBD> .<br>' ;
} else {
echo $lg . '<br>' ;
}
}
}
?>