当前位置: 首页>>代码示例>>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;未经允许,请勿转载。