Example #1
0
function print_game_4($translator, $iOrder, $iChosenGame, $aMatching, $iEndowment)
{
    global $iParticipantContribution4, $iPartnerContribution4, $iEarning4;
    $iGameId = 4;
    if ($iChosenGame == $iGameId) {
        $sClass = "selected_game";
    } else {
        $sClass = "game";
    }
    $html = "<div class='{$sClass}'>\n\t\t<span class='titre_partie'>" . $translator->results_section . " {$iOrder}</span>";
    $html .= "<div class='montant'>\n\t\t<span class='valeur'>" . display_amount($iParticipantContribution4) . "</span>\n\t\t<span class='intitule'>" . $translator->results_game_transfer . "</span>\n\t\t</div>";
    $html .= "<div class='montant'>\n\t\t<span class='valeur'>" . display_amount($iParticipantContribution4 * 3) . "</span>\n\t\t<span class='intitule'>" . $translator->results_game_4_text_1 . "</span>\n\t\t</div>";
    $html .= "<div class='montant'>\n\t\t<span class='valeur'>" . display_amount($iPartnerContribution4) . "</span>\n\t\t<span class='intitule'>" . $translator->results_game_4_text_2 . "</span>\n\t\t</div>";
    $html .= "<div class='montant_final'>\n\t\t<span class='valeur'>" . display_amount($iEarning4) . "</span>\n\t\t<span class='intitule'>" . $translator->results_game_final_text . " </span>\n\t\t</div>\n\t\t</div>";
    return $html;
}
Example #2
0
 ชิ้น</span>

                                <div class="clearfix margin-bottom-10"></div>

                                <div class="row margin-bottom-20">
                                    <div class="col-xs-6 service-in">
                                        <small>เดือนก่อนหน้า</small>
                                        <h4 class="counter"><?php 
echo display_amount($previous_amount);
?>
 ชิ้น</h4>
                                    </div>
                                    <div class="col-xs-6 text-right service-in">
                                        <small>เดือนนี้</small>
                                        <h4 class="counter"><?php 
echo display_amount($now_amount);
?>
 ชิ้น</h4>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-sm-6">
                            <div class="service-block-v3 service-block-blue">
                                <i class="icon-screen-desktop"></i>
                                <span class="service-heading">ยอดใช้จ่ายรวม</span>
                                <span class="counter"><?php 
echo display_money($all_spent);
?>
 บาท</span>
Example #3
0
    ?>
        <tr>
            <td class="left"><?php 
    echo $p->product_code;
    ?>
</td>
            <td><?php 
    echo $p->product_name;
    ?>
</td>
            <td class="right"><?php 
    echo display_money($p->order_product_price);
    ?>
</td>
            <td class="right"><?php 
    echo display_amount($p->order_product_quantity);
    ?>
</td>
            <td class="right"><strong><?php 
    echo display_money($p->order_product_price * $p->order_product_quantity);
    ?>
</strong></td>
        </tr>
        <?php 
}
?>
    </tbody>
    </table>
    <div class="right"><h2>รวมทั้งหมด <?php 
echo display_money($order['order_price']);
?>
Example #4
0
function print_game_8($translator, $iOrder, $iChosenGame)
{
    global $iEarning8, $sPeriod8;
    $iGameId = 8;
    if ($iChosenGame == $iGameId) {
        $sClass = "selected_game";
    } else {
        $sClass = "game";
    }
    $html = "<div class='{$sClass}'>";
    $html .= "<div class='montant_final'>\n\t\t<span class='intitule'>Vous recevrez " . display_amount($iEarning8) . " " . strtolower($sPeriod8) . " via PayPal.</span>\n\t\t</div>\n\t\t</div><!--fin de div partie -->";
    return $html;
}