2022-06-06 21:30:34 +00:00
< ?
if ( ! defined ( 'GAME' )) {
die ();
}
?>
< script type = " text/javascript " src = " js/jquery.js " ></ script >
< script >
var nlevel = 0 ;
var from = Array ( '+' , ' ' , '#' );
var to = Array ( '%2B' , '+' , '%23' );
function w ( login , id , align , klan , level , online , city , battle ){
var s = '' ;
if ( online != " " ) {
if ( city != " " ) {
2023-01-10 16:29:32 +00:00
s += '<img src=https://img.new-combats.com/1x1.gif width="20" height="15" alt="В другом городе" />' ;
2022-06-06 21:30:34 +00:00
} else {
2023-01-10 16:29:32 +00:00
s += '<a href="javascript:top.chat.addto(\'' + login + '\',\'private\');"><img src=https://img.new-combats.com/i/lock.gif width="20" height="15" alt="Приватно" /></a>' ;
2022-06-06 21:30:34 +00:00
}
if ( city != " " ) {
s += '<img title="' + city + '" src="https://img.new-combats.com/i/city_ico/' + city + '.gif" width="17" height="15" />' ;
}
s += ' <img src="https://img.new-combats.com/i/align/align' + align + '.gif" width="12" height="15" />' ;
if ( klan != '' ) { s += '<a href="/encicl/klan/' + klan + '.html" target="_blank"><img src="https://img.new-combats.com/i/clan/' + klan + '.gif" width="24" height="15" /></a>' }
2023-01-10 16:29:32 +00:00
s += '<a href="javascript:top.chat.addto(\'' + login + '\',\'to\');">' + login + '</a>[' + level + ']<a href="https://new-combats.com/info/' + id + '" target="_blank"><img src="https://img.new-combats.com/i/inf_capitalcity.gif" width="12" height="11" alt="Информация о персонаже" /></a>' ;
2022-06-06 21:30:34 +00:00
if ( city != " " ) {
2023-01-10 16:29:32 +00:00
s += " - нет в этом городе " ;
2022-06-06 21:30:34 +00:00
} else {
s += ' - ' + online ;
}
} else {
2023-01-10 16:29:32 +00:00
s += '<img src="https://img.new-combats.com/i/offline.gif" width="20" height="15" border="0" alt="Нет в клубе" />' ;
2022-06-06 21:30:34 +00:00
if ( city != " " ) {
s += '<img title="' + city + '" src="https://img.new-combats.com/i/city_ico/' + city + '.gif" width="17" height="15" />' ;
}
if ( align == " " ) align = " 0 " ;
s += ' <img src="https://img.new-combats.com/i/align/align' + align + '.gif" width="12" height="15" />' ;
2023-03-31 16:54:33 +00:00
if ( klan != '' ) { s += '<a href="https://<?= $c[' host ']; ?>/encicl/clan/' + klan + '.html" target="_blank"><img src="https://img.new-combats.com/i/klan/' + klan + '.gif" width="24" height="15" /></a>' }
2022-06-06 21:30:34 +00:00
if ( level ) {
if ( nlevel == 0 ) {
nlevel = 1 ; s = " <br /> " + s ;
}
2023-01-10 16:29:32 +00:00
s += '<font color=gray><b>' + login + '</b>[' + level + ']<a href="https://new-combats.com/info/' + id + '" target="_blank"><img src="https://img.new-combats.com/i/inf.gif" width="12" height="11" alt="Информация о персонаже" /></a> - Нет в клубе' ;
2022-06-06 21:30:34 +00:00
} else {
if ( nlevel == 1 ) {
nlevel = 2 ; s = " <br /> " + s ;
}
mlogin = login ;
for ( var i = 0 ; i < from . length ; ++ i ) while ( mlogin . indexOf ( from [ i ]) >= 0 ) mlogin = mlogin . replace ( from [ i ], to [ i ]);
2023-01-10 16:29:32 +00:00
s += '<font color=gray><i>' + login + '</i> <a href="https://new-combats.com/info/' + mlogin + '" target="_blank"><img src="https://img.new-combats.com/i/inf_.gif" width="12" height="11" alt="Информация о персонаже" /></a> - нет в этом городе' ;
2022-06-06 21:30:34 +00:00
}
s += '</font>' ;
}
document . write ( s + '<br />' );
}
</ script >
< div id = hint4 class = ahint ></ div >
< TABLE cellspacing = 0 cellpadding = 2 width = 100 %>
< TR >
< TD style = " width: 40%; vertical-align: top; " >< br />
< TABLE cellspacing = 0 cellpadding = 2 style = " width: 100%; " >
< TR >
2023-01-10 16:29:32 +00:00
< TD align = center >< h4 > Алхимики </ h4 ></ TD >
2022-06-06 21:30:34 +00:00
</ TR >
< TR >
< TD bgcolor = efeded nowrap >< SCRIPT >
< ?
$data = mysql_query ( " SELECT `id`, `login`, `align`, `level`, `battle`, `online`, `city`, (select `name` from `room` WHERE `id` = users.`room`) as `room` FROM `users` WHERE `align` = '50' order by online DESC, login asc; " );
$i = 0 ;
while ( $a = mysql_fetch_array ( $data ))
{
if ( $a [ 'online' ] > ( time () - 120 ))
{
$online = $a [ 'room' ];
$id = $a [ 'id' ];
$level = $a [ 'level' ];
$battle = $a [ 'battle' ];
} elseif ( $a [ 'online' ] < ( time () - 120 ))
{
$online = '' ;
$id = '' ;
$level = '' ;
$battle = '' ;
}
//w( login, id, align, klan, level, online, city, battle){
$citya = $a [ 'city' ];
if ( $a [ 'city' ] == $u -> info [ 'city' ])
{
$citya = '' ;
}
echo 'w("' . $a [ 'login' ] . '","' . $id . '","' . $a [ 'align' ] . '","","' . $level . '","' . $online . '","' . $citya . '","' . $battle . '");' ;
$i ++ ;
}
$pl = mysql_fetch_array ( mysql_query ( 'SELECT * FROM `bank_table` ORDER BY `time` DESC LIMIT 1' ));
?>
</ SCRIPT >
< ?
if ( $i == 0 ) {
2023-01-10 16:29:32 +00:00
echo '<center>Нет ни одного назначенного Алхимика</cetner>' ;
2022-06-06 21:30:34 +00:00
}
?>
< TR >
2023-01-10 16:29:32 +00:00
< TD style = " text-align: left; " >< small > К у р с покупки ЕвроКредитов : < b > 1 </ b > eкр . = < b >< ? = round ( $pl [ 'cur' ], 2 ) ?> </b>р у б .<br>
К у р с обмена ЕвроКредитов : < b > 1 </ b > екр = < b >< ? = $c [ 'ecrtocr' ] ?> </b> кр.<br>
2022-06-06 21:30:34 +00:00
< ?
if ( $c [ 'crtoecr' ] > 0 ) {
?>
2023-01-10 16:29:32 +00:00
К у р с обмена Кредитов : < ? = $c [ 'crtoecr' ] ?> кр = 1 екр.<br>
2022-06-06 21:30:34 +00:00
< ?
}
2023-01-10 16:29:32 +00:00
?> Продают еврокредиты и прочие платные услуги сервиса<BR>Вы можете отправить им личное сообщение, даже если Вы и Алхимик находитесь в разных городах</small></div></TD>
2022-06-06 21:30:34 +00:00
</ TR >
< TR >
< TD style = " text-align: left; " >& nbsp ; </ TD >
</ TR >
</ TABLE >
< br />
< table >
< tr >
< td valign = " top " >< fieldset >
2023-01-10 16:29:32 +00:00
< legend >< b > К у р с еврокредита к мировой валюте </ b > </ legend >
2022-06-06 21:30:34 +00:00
< table width = " 100% " border = " 0 " cellpadding = " 2 " cellspacing = " 0 " >
< ?
if ( isset ( $pl [ 'id' ])) {
?>
< tr >
2023-01-10 16:29:32 +00:00
< td >< small > Данные на < b >< ? = date ( 'd.m.y H:i' , $pl [ 'time' ]) ?> </b> без учета комиссий</small></td>
2022-06-06 21:30:34 +00:00
</ tr >
< ?
$pl [ 'RUB' ] = 40 ;
$i = 0 ;
$true = array (
2023-01-10 16:29:32 +00:00
array ( 'USD' , 'долларов США' ),
array ( 'EUR' , 'Е В Р О ' ),
array ( 'RUB' , 'российских рублей' ),
array ( 'UAH' , 'укр. гривен' ),
array ( 'BYR' , 'белорусских рублей' ),
array ( 'AZN' , 'азербайджанских манат' ),
array ( 'GBP' , 'англ. фунтов стерлингов' )
2022-06-06 21:30:34 +00:00
);
while ( $i < count ( $true )) {
?>
< tr >
2023-01-10 16:29:32 +00:00
< td >< span > 1 екр . = </ span >< span style = " display:inline-block;width:100px " >< b >< ? = round ( ( $pl [ 'cur' ] / $pl [ $true [ $i ][ 0 ]]) , 4 ) ?> </b></span><span><?=$true[$i][1]?></span></td>
2022-06-06 21:30:34 +00:00
</ tr >
< ?
$i ++ ;
}
} else {
?>
< tr >
2023-01-10 16:29:32 +00:00
< td >< small >< center >< font color = grey > Н е удалось получить информацию </ font ></ center ></ small ></ td >
2022-06-06 21:30:34 +00:00
</ tr >
2023-03-31 16:54:33 +00:00
< ? php } ?>
2022-06-06 21:30:34 +00:00
</ table >
</ fieldset ></ td >
</ tr >
</ table >
</ TD >
< TD style = " width: 5%; vertical-align: top; " >& nbsp ; </ TD >
2023-01-10 16:29:32 +00:00
< TD style = " width: 25%; vertical-align: top; text-align: right; " >< INPUT class = " btn " type = 'button' value = 'Обновить' style = 'width: 100px' onclick = 'location="/main.php?alh&rnd=<?=$code?>"' ; ' >
& nbsp ; < INPUT TYPE = button value = " Вернуться " class = " btn " style = " width: 100px " onclick = 'location="/main.php"' ></ TD >
2022-06-06 21:30:34 +00:00
</ TR >
</ TABLE >
< DIV >
2023-03-31 16:54:33 +00:00
< ? = $c [ 'counters' ]; ?>
2022-06-06 21:30:34 +00:00
</ DIV >