當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Func::to_money方法代碼示例

本文整理匯總了PHP中Func::to_money方法的典型用法代碼示例。如果您正苦於以下問題:PHP Func::to_money方法的具體用法?PHP Func::to_money怎麽用?PHP Func::to_money使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Func的用法示例。


在下文中一共展示了Func::to_money方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

<style>
#content{
	margin-left: 200px;
}
</style>
<div id="content">

	<h3>Company Business Status</h3>

	<strong>Total Income : <?php 
echo Func::to_money($income);
?>
</strong><br />
	<strong>Total Expense : <?php 
echo Func::to_money($expense);
?>
</strong><br />
	<hr />
	<strong>Company Cash On Hand : <?php 
echo Func::to_money($onhand);
?>
</strong><br />
	<strong>Affiliate Amount : <?php 
echo Func::to_money($aff_money);
?>
</strong><br />
</div>
開發者ID:etuyco,項目名稱:v2.inlight-marketing,代碼行數:27,代碼來源:business-status.php

示例2:

<div class="col-sm-9 col-md-10 main">

<!--  Start Editing Here  -->


<div class="container">
	<div class="row">
		<div class="col-md-6">
			<h1>Welcome to <strong>Inlight Mktg Backoffice</strong></h1>
			<p>This is your back office. All you need to do now is share your Inlight Marketing Affiliate link to as many people as possible. The more people you share it with, the bigger your chances you will attain your dreams and aspirations.</p>
			<hr />
			<h3>Accumulated Commissions</h3>
			<p>Weekly : <?php 
echo Func::to_money($weekly);
?>
</p>
			<p>Monthly : P0.00</p>
			<hr />
			<div class="alert alert-info">
				Affiliate Link : <?php 
echo $alink;
?>
			</div>
			<hr />
			<h3>Top 10 Earners</h3>
			<p>Be one of the top 10 earners nation wide and we will be giving gifts for you! Plus your name will be published here. </p>
			<hr />
			<h3><i class="fa fa-binoculars"></i> Jobs Here...</h3>
			<p>We have incorporated latest job offers for you into our database within the Philippines.</p>
			<a href="<?php 
echo SITE_URL;
開發者ID:etuyco,項目名稱:v2.inlight-marketing,代碼行數:31,代碼來源:dashboard.php

示例3: foreach

    ?>
				<?php 
    if ($record) {
        foreach ($record as $k => $v) {
            ?>
					<tr>
						<td><?php 
            echo $v['date_trans'];
            ?>
</td>
						<td><?php 
            echo $v['type'];
            ?>
</td>
						<td><?php 
            echo Func::to_money($v['amount']);
            ?>
</td>
						<td><?php 
            echo $v['status'];
            ?>
</td>
					</tr>
					<?php 
        }
    } else {
        ?>
					<tr>
						<td colspan="4">No record yet</td>
					</tr>
				<?php 
開發者ID:etuyco,項目名稱:v2.inlight-marketing,代碼行數:31,代碼來源:ewallet.php

示例4: if

?>
";
		}
		else if($(this).val() == "Premier"){
			money = "<?php 
echo Func::to_money(PREMIER_PRICE);
?>
";
			_money = "<?php 
echo PREMIER_PRICE;
?>
";
		}
		else if($(this).val() == "Basic"){
			money = "<?php 
echo Func::to_money(BASIC_PRICE);
?>
";
			_money = "<?php 
echo BASIC_PRICE;
?>
";
		}
		$("#agreeNote").html('This will deduct <strong>'+money+'</strong> to your account.');
		$("#amount").val(_money);
	});

	$("#btnsubmit").on('click',function(){
		$(this).replaceWith("<img id='loading' src='<?php 
echo SITE_URL;
?>
開發者ID:etuyco,項目名稱:v2.inlight-marketing,代碼行數:31,代碼來源:ewallet-addaccount.php


注:本文中的Func::to_money方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。