Пример #1
0
					<div class="pre"> </div>
					<div class="label"><?php 
    print t("Buy for Table") . "<br/>(<span mul='" . count($target) . "' class='total'>" . _os_poker_format_chips($fitem->price * count($target)) . "</span>)";
    ?>
</div>
					<div class="user_login_clear"></div>
				</div>
			</div>
        <?php 
    if ($subtarget->uid == $current_user->uid) {
        ?>
        <div class="bcontainer">
          <div class="poker_submit big disabled activate-item" onclick="javascript:os_poker_setup_shop_buy('subtarget', $(this));">
            <div class="pre"> </div>
            <div class="label"><?php 
        print t("Buy and activate") . "<br/>(<span mul='1' class='total'>" . $fitem->FormatedPrice() . "</span>)";
        ?>
</div>
            <div class="user_login_clear"></div>
          </div>
        </div>
        <?php 
    }
    ?>
			<?php 
} else {
    ?>
			<div class="bcontainer">
				<div class="poker_submit big disabled" onclick="javascript:os_poker_setup_shop_buy('target', $(this));">
					<div class="pre"> </div>
					<div class="label"><?php