コード例 #1
0
function rcl_add_primary_currency_price($price)
{
    return $price .= ' ' . rcl_get_primary_currency(1);
}
コード例 #2
0
function rcl_primary_currency($type = 0)
{
    echo rcl_get_primary_currency($type);
}
コード例 #3
0
function rcl_get_html_usercount()
{
    global $user_ID, $rmag_options;
    $usercount = '<div id="user-count-rcl">';
    $user_count = rcl_get_user_money();
    if (!$user_count) {
        $user_count = 0;
    }
    $usercount .= '<div class="usercount" style="text-align:center;">' . $user_count . ' ' . rcl_get_primary_currency(1) . '</div>';
    $usercount = apply_filters('count_widget_rcl', $usercount);
    if ($rmag_options['connect_sale'] != '') {
        $usercount .= "<p align='right'><a class='go_to_add_count' href='#'>" . __("Deposit", 'wp-recall') . "</a></p>\n    <div class='count_user'>\n    <p>" . __("To recharge your account", 'wp-recall') . "</p>\n    <div>\n    <p style='margin-bottom: 10px;'><label>" . __("Enter the amount required", 'wp-recall') . "</label></p>\n        <input class='value_count_user' size='4' type='text' value=''>\n        <input class='add_count_user recall-button' type='button' value='" . __("Send", 'wp-recall') . "'>\n    </div>\n    <div class='redirectform' style='margin:10px 0;text-align:center;'></div>\n    </div>";
    }
    $usercount .= '</div>';
    return $usercount;
}