<td class="Column01"><?php print t("Country"); ?> :</td> <td class="Column02"><?php print theme('country', $target_user->profile_country); ?> </td> <td class="Column03"><?php print t("Biggest Pot Won"); ?> :</td> <td class="Column04"> <?php if (is_numeric($target_user->BiggestPotWon)) { print _os_poker_format_chips($target_user->BiggestPotWon / 100); } else { print $target_user->BiggestPotWon; } ?> </td> </tr> <tr class="BgGrey"> <td class="Column01"><?php print t("Age"); ?> :</td> <td class="Column02"> <?php $dob = strtotime($target_user->profile_dob['day'] . "-" . $target_user->profile_dob['month'] . "-" . $target_user->profile_dob['year']); $age = time() - $dob;
public function FormatedPrice() { require_once drupal_get_path('module', 'os_poker') . "/os_poker_toolkit.php"; return _os_poker_format_chips($this->_fields["price"]["value"]); }
?> </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 print t("Buy for Buddies") . "<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 } ?> <?php if ($subtarget) { ?> <div class="bcontainer"> <div class="poker_submit big disabled" onclick="javascript:os_poker_setup_shop_buy('subtarget', $(this));"> <div class="pre"> </div> <div class="label"><?php
public function Chips($formated = FALSE, $locale = 'en_US') { if (isset($this->_vars["money"]) && isset($this->_vars["money"]["1"])) { $chips = $this->_vars["money"]["1"]; $chips = bcdiv($chips, 100); } else { $chips = self::DefaultValue("chips"); } if ($formated == TRUE) { $chips = _os_poker_format_chips($chips); } return $chips; }