本文整理汇总了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>
示例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;
示例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
示例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;
?>