Файл: monst/core/pag/gold.php
Строк: 103
<div style='text-align: center;'>
<img src='/core/i/menu/gold.png' alt='' width='100'/><br/>
<span style='color: indianred; font-size: 20px;'><?=$lang['gold.php']['title']?></span><br/>
<br/>
<?=$lang['game']['gold_x2']?>
<br/><br/>
<!-- --><?//=$lang['gold.php']['donate_bonus']?><!--<br/>-->
<!---->
<!-- --><?//
// $time = mktime(23, 59, 59, date('m'), date('d'), date('Y'));
// $time = ($time + 1) - time();
// ?>
<!-- <span style='color: mediumaquamarine;'>-->
<!-- --><?//=$lang['gold.php']['donate_bonus_timer']?><!-- --><?//=hm($time, 1, 1, 1, 1)?><!--<br/>-->
<!-- </span>-->
<!-- <br/>-->
<?
if ( isset($user['ok_id']) AND !empty($user['ok_id']) ) {
?>
<div style='color: #ccc;'>
<?=$lang['gold.php']['ok_price']?>
</div>
<br/>
<?
$sig_1 = md5('application_key=CBAJCCAMEBABABABAcode=1name=10 золотаprice=1session_key='.$_SESSION['ok__session_key'].$_SESSION['ok__session_secret_key']);
$sig_10 = md5('application_key=CBAJCCAMEBABABABAcode=10name=100 золотаprice=10session_key='.$_SESSION['ok__session_key'].$_SESSION['ok__session_secret_key']);
$sig_100 = md5('application_key=CBAJCCAMEBABABABAcode=100name=1000 золотаprice=100session_key='.$_SESSION['ok__session_key'].$_SESSION['ok__session_secret_key']);
$sig_200 = md5('application_key=CBAJCCAMEBABABABAcode=200name=2000 золотаprice=200session_key='.$_SESSION['ok__session_key'].$_SESSION['ok__session_secret_key']);
$sig_500 = md5('application_key=CBAJCCAMEBABABABAcode=500name=5000 золотаprice=500session_key='.$_SESSION['ok__session_key'].$_SESSION['ok__session_secret_key']);
$sig_1000 = md5('application_key=CBAJCCAMEBABABABAcode=1000name=10.000 золотаprice=1000session_key='.$_SESSION['ok__session_key'].$_SESSION['ok__session_secret_key']);
?>
<a href='https://m.ok.ru/api/show_payment?application_key=CBAJCCAMEBABABABA&session_key=<?=$_SESSION['ok__session_key']?>&sig=<?=$sig_1?>&name=10 золота&price=1&code=1'><div class='bt_gray'>КУПИТЬ <img src='<?=$gold_icon?>' alt='' width='15'/><span class='gold_color'>10</span> за 1 ОК</div></a>
<br/>
<a href='https://m.ok.ru/api/show_payment?application_key=CBAJCCAMEBABABABA&session_key=<?=$_SESSION['ok__session_key']?>&sig=<?=$sig_10?>&name=100 золота&price=10&code=10'><div class='bt_gray'>КУПИТЬ <img src='<?=$gold_icon?>' alt='' width='15'/><span class='gold_color'>100</span> за 10 ОК</div></a>
<br/>
<a href='https://m.ok.ru/api/show_payment?application_key=CBAJCCAMEBABABABA&session_key=<?=$_SESSION['ok__session_key']?>&sig=<?=$sig_100?>&name=1000 золота&price=100&code=100'><div class='bt_gray'>КУПИТЬ <img src='<?=$gold_icon?>' alt='' width='15'/><span class='gold_color'>1000</span> за 100 ОК</div></a>
<br/>
<a href='https://m.ok.ru/api/show_payment?application_key=CBAJCCAMEBABABABA&session_key=<?=$_SESSION['ok__session_key']?>&sig=<?=$sig_200?>&name=2000 золота&price=200&code=200'><div class='bt_gray'>КУПИТЬ <img src='<?=$gold_icon?>' alt='' width='15'/><span class='gold_color'>2000</span> за 200 ОК</div></a>
<br/>
<a href='https://m.ok.ru/api/show_payment?application_key=CBAJCCAMEBABABABA&session_key=<?=$_SESSION['ok__session_key']?>&sig=<?=$sig_500?>&name=5000 золота&price=500&code=500'><div class='bt_gray'>КУПИТЬ <img src='<?=$gold_icon?>' alt='' width='15'/><span class='gold_color'>5000</span> за 500 ОК</div></a>
<br/>
<a href='https://m.ok.ru/api/show_payment?application_key=CBAJCCAMEBABABABA&session_key=<?=$_SESSION['ok__session_key']?>&sig=<?=$sig_1000?>&name=10.000 золота&price=1000&code=1000'><div class='bt_gray'>КУПИТЬ <img src='<?=$gold_icon?>' alt='' width='15'/><span class='gold_color'>10.000</span> за 1000 ОК</div></a>
<?
} else {
?>
<div style='color: #ccc;'>
<?=$lang['gold.php']['price']?>
</div>
<br/>
<a href='/xsolla'><div class='bt_black'><?=$lang['gold.php']['buy']?> <img src='<?=$gold_icon?>' alt='' width='30'/></div></a>
<?
}
?>
</div>
<?