100+ results results for 'php number_format repo:chokoleytdesignoper/fluxcp_choko' (171 ms)
1<?php 2require_once("include/bittorrent.php"); 2require_once("include/bittorrent.php"); 3require_once ("include/user_functions.php"); 4require_once ("include/bbcode_functions.php"); 15if ($arr[0] >= $maxusers) 16 stderr("Sorry", "The current user account limit (" . number_format($maxusers) . ") has been reached. Inactive accounts are pruned all the time, please check back again later..."); 17 36<p> 37<form method="post" action="takesignup.php"> 38<table align="center" border="1" cellspacing=0 cellpadding="10"> 45</table> 46<?php 47 $questions = array( 68 <!-- /*<div id="captchaimage"> 69 <a href="<?php// echo $_SERVER['PHP_SELF']; ?>" onclick="refreshimg(); return false;" title="Click to refresh image"> 70 <img class="cimage" src="/tracker/captcha/GD_Security_image.php?<?php //echo time(); ?>" alt="Captcha image" />AdminShipping.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 306 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 23* @version Release: $Revision: 8861 $ 24* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25* International Registered Trademark & Property of PrestaShop SA 108 '.($shipping_method == Carrier::SHIPPING_METHOD_WEIGHT ? (int)($tmpArray[2]) : 'NULL').', '.(int)$carrier->id.', 109 '.(int)$tmpArray[1].', '.number_format(abs(preg_replace("#,#", '.', $value)), 6, '.', '').'),'; 110 unset($tmpArray);ebpls_bus_taxcoll.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 363 lines
4require('ebpls-php-lib/html2pdf_lib/fpdf.php'); 5include("lib/phpFunctions-inc.php"); 6 98 $row6 = $taxq1n[5]; 99 $row7 = number_format($taxq2n[6],2); 100 $row8 = $taxq2n[5]; 100 $row8 = $taxq2n[5]; 101 $row9 = number_format($taxq3n[6],2); 102 $row10 = $taxq3n[5]; 239require_once("lib/ebpls.utils.php"); 240require_once("ebpls-php-lib/utils/ebpls.search.funcs.php"); 241//require_once("includes/eBPLS_header.php"); 262 263<?php 264DataGridFunctions.php git://github.com/forkcms/forkcms.git | PHP | 330 lines
1<?php 2 52 { 53 return number_format($number, $decimals, '.', ' '); 54 }keywordRank.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 161 lines
1<?php 2 61 { 62 include ( NV_ROOTDIR . "/includes/class/keywordRank.class.php" ); 63 } 93 $mainResult = array(); 94 if ( isset( $info['detail']['myPages'] ) ) $mainResult[] = array( 'key' => $lang_module['allPages'], 'value' => number_format( $info['detail']['allPages'] ) ); 95 if ( isset( $info['detail']['myPages'] ) ) $mainResult[] = array( 'key' => $lang_module['myPages'], 'value' => number_format( $info['detail']['myPages'] ) ); 156 157include ( NV_ROOTDIR . "/includes/header.php" ); 158echo nv_admin_theme( $contents ); 158echo nv_admin_theme( $contents ); 159include ( NV_ROOTDIR . "/includes/footer.php" ); 160class-wp-ms-users-list-table.php git://github.com/wordpress/wordpress.git | PHP | 524 lines
153 ), 154 number_format_i18n( $total_users ) 155 ) 159 '<a href="%s"%s>%s</a>', 160 network_admin_url( 'users.php?role=super' ), 161 $current_link_attributes, 243 </label> 244 <input type="checkbox" id="blog_<?php echo $user->ID; ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ); ?>" /> 245 <?php 280 <strong> 281 <?php 282 echo $edit; 288 </strong> 289 <?php 290 }stampa_libgio.php http://gevion.googlecode.com/svn/trunk/ | PHP | 160 lines
1<?php 2/*$Id: stampa_libgio.php,v 1.37 2010/03/18 15:53:26 devincen Exp $ 24*/ 25require("../../library/include/datlib.inc.php"); 26$admin_aziend=checkAdmin(); 32if (!isset($_GET['regini']) or !isset($_GET['regfin'])) { 33 header("Location: select_libgio.php"); 34 exit; 55$cover_descri = 'Libro Giornale dell\'anno '.date("Y",$utsfin); 56$tot_avere=number_format($_GET['valave'],2, '.', ''); 57$tot_dare=number_format($_GET['valdar'],2, '.', ''); 72 73require("../../config/templates/standard_template.php"); 74$pdf = new Standard_template();xonxoff.php http://gevion.googlecode.com/svn/trunk/ | PHP | 201 lines
1<?php 2/* $Id: xonxoff.php,v 1.1 2010/03/18 10:08:51 devincen Exp $ 50 per maggiori info: 51 http://ubuntuforums.org/showthread.php?t=782115 52 e su: 52 e su: 53 http://guide.debianizzati.org/index.php/Udev_e_Debian 54 104 // il formato dell'importo deve essere senza punti e virgole e con 2 decimali 105 $formato_ammount=number_format($amount, 2, '', ''); 106 $this->_send('"' .$descr. '"' . $formato_ammount .'H1R'); 146 // setting serial port rs232 147 $sysname=substr(php_uname(),0,3); 148 if ($sysname == "Lin") {InventoryValuation.php https://git01.codeplex.com/kwamoja | PHP | 277 lines
1<?php 2 12 13 include('includes/PDFStarter.php'); 14 80 prnMsg( _('The inventory valuation could not be retrieved by the SQL because') . ' ' . DB_error_msg($db),'error'); 81 echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu') . '</a>'; 82 if ($debug==1){ 91 prnMsg(_('There were no items with any value to print out for the location specified'),'info'); 92 echo '<br /><a href="' . $RootPath . '/index.php">' . _('Back to the menu') . '</a>'; 93 include('includes/footer.inc'); 118 119 $DisplayCatTotVal = locale_number_format($CatTot_Val,$_SESSION['CompanyRecord']['decimalplaces']); 120 $DisplayCatTotQty = locale_number_format($CatTot_Qty,2); 143 $LeftOvers = $pdf->addTextWrap(170,$YPos,220,$FontSize,$InventoryValn['description']); 144 $DisplayUnitCost = locale_number_format($InventoryValn['unitcost'],$_SESSION['CompanyRecord']['decimalplaces']); 145 $DisplayQtyOnHand = locale_number_format($InventoryValn['qtyonhand'],$InventoryValn['decimalplaces']);ordine_cliente.php http://gevion.googlecode.com/svn/trunk/ | PHP | 204 lines
1<?php 2/* $Id: ordine_cliente.php,v 1.13 2010/01/01 14:15:18 devincen Exp $ 24*/ 25require('template.php'); 26 80 $this->Cell(14, 6, gaz_format_quantity($rigo['quanti'],1,$this->decimal_quantity),1,0,'R'); 81 $this->Cell(17, 6, number_format($rigo['prelis'],$this->decimal_price,',',''),1,0,'R'); 82 if ($rigo['sconto']>0) { 82 if ($rigo['sconto']>0) { 83 $this->Cell(8, 6, number_format($rigo['sconto'],1,',',''),1,0,'C'); 84 } else { 88 if ($rigo['sconto_2']>0) { 89 $this->Cell(8, 6, number_format($rigo['sconto_2'],1,',',''),1,0,'C'); 90 } else {BankReconciliation.php http://chronique.googlecode.com/svn/ | PHP | 394 lines
1<?php 2 2 3/* $Id: BankReconciliation.php 4735 2011-10-29 05:59:53Z daintree $*/ 4 10 11echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; 12echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; 20if (isset($_POST['BankStatementBalance'])){ 21 $_POST['BankStatementBalance'] = filter_number_format($_POST['BankStatementBalance']); 22} 23 24if (isset($_POST['PostExchangeDifference']) AND is_numeric(filter_number_format($_POST['DoExchangeDifference']))){ 25 42 43 $CalculatedBalance = filter_number_format($_POST['DoExchangeDifference']); 44loop.php git://github.com/wordpress/wordpress.git | PHP | 208 lines
65 <?php if ( ( function_exists( 'get_post_format' ) && 'gallery' == get_post_format( $post->ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?> 66 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 67 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 83 <div class="gallery-thumb"> 84 <a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo wp_get_attachment_image( $image, 'thumbnail' ); ?></a> 85 </div><!-- .gallery-thumb --> 106 ?> 107 <a href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>" title="<?php esc_attr_e( 'View Galleries', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a> 108 <span class="meta-sep">|</span> 109 <?php elseif ( $gallery && in_category( $gallery->term_id ) ) : ?> 110 <a href="<?php echo esc_url( get_category_link( $gallery ) ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a> 111 <span class="meta-sep">|</span> 144 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 145 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 146shipping_calculator.php git://github.com/mfriesen/kaching-php.git | PHP | 224 lines
1<?php 2/** 6 * 7 * @copyright Copyright KACHINGPHP.ORG 2010 8 * @link http://www.kachingphp.org Kaching Project 10 * @subpackage kaching.controllers.components 11 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 12 */ 70 function getShippingAmount($cart, $shippingzone, $country, $region, $postalcode, $city) { 71 $shippingAmount = number_format(0, 2); 72 192 if ($weight == $shippingweight) { 193 return number_format($amount, 2); 194 } 205 206 return number_format($retAmount, 2); 207 }single.blade.php https://bitbucket.org/inets_company/erb_payment.git | PHP | 240 lines
22 <div style=""> 23 <?php if ($invoice->status <> 1) { ?> <a href="<?= url('payment/add?id=' . $invoice->id) ?>" class="btn btn-danger btn-sm"><i class="fa fa-money"></i> Add Payment </a> 24 <?php } ?> 82 <td data-title=""> 83 <?php 84 $am = $invoice->invoiceFee()->sum('amount'); 90 91 <h1 class="amnt-value">Tsh <?= number_format($unpaid) ?></h1> 92 </div> 97 </div> 98 <?php 99 $invoice_fee = $invoice->invoiceFee()->get(); 112 <tbody> 113 <?php 114 $x = 1;geography.class.php git://github.com/treffynnon/Geographic-Calculations-in-PHP.git | PHP | 444 lines
1<?php 2/** 223 $metres = $arcMinutes * 1852; 224 return number_format($metres, 3, '.', ''); //round to 1mm precision; 225 } 244 $d = $this->earthRadius * $c * 1000; 245 return number_format($d, 3, '.', ''); 246 } 261 $d = acos(sin($p1->latRadian) * sin($p2->latRadian) + cos($p1->latRadian) * cos($p2->latRadian) * cos($p2->longRadian - $p1->longRadian)) * $this->earthRadius; 262 return number_format($d * 1000, 3, '.', ''); 263 } 321 $d = $b * $A * ($sigma - $deltaSigma); 322 return number_format($d, 3, '.', ''); //round to 1mm precision 323 } 331 public function mToKm($metres) { 332 return number_format($metres / 1000, 3, '.', ''); 333 }NumberFieldTest.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 328 lines
1<?php 2 299 $this->drupalGet('node/' . $node->id()); 300 $float_formatted = number_format($random_float, $scale, $decimal_separator, $thousand_separator); 301 $this->assertRaw("$prefix$float_formatted$suffix", 'Prefix and suffix added'); 324 325 $integer_formatted = number_format($random_integer, 0, '', $thousand_separator); 326 $this->assertRaw($integer_formatted, 'Random integer formatted');String.php https://PHPExcel.svn.codeplex.com/svn | PHP | 271 lines
2/** 3 * PHPExcel 4 * 4 * 5 * Copyright (c) 2006 - 2009 PHPExcel 6 * 22 * @package PHPExcel_Shared 23 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** 30 * PHPExcel_Shared_String 31 * 33 * @package PHPExcel_Shared 34 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */paymtop1.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 361 lines
165 <tr> 166 <td>Fees from Boat Registration</td><td><?php echo number_format($ttfee,2); ?></td> 167 </tr> 185 <tr> 186 <td>Total Assessement</td><td><?php $totass = $ttfee+$ttfee1+$ff; echo number_format($totass,2); ?></td> 187 </tr> 194<tr> 195<td>Grand Total</td><td><?php echo number_format($totass,2); ?></td> 196</tr> 288?> 289<td><div align=center><a href="#" class=subnavwhite onclick='window.open("ebplsothrec.php?owner_id=<?php echo $owner_id; ?>&or_no=<?php echo $get_info[4]; ?>&permit_type=<?php echo $permit_type; ?>&stat=<?php echo $stat; ?>");'>Print OR</a></div></td> 290<?php 295?> 296<td><div align=center><a href="#" class=subnavwhite onclick='window.open("ebplsothrec.php?owner_id=<?php echo $owner_id; ?>&or_no=<?php echo $get_info[4]; ?>&permit_type=<?php echo $permit_type; ?>&stat=<?php echo $stat; ?>");'>Re-Print OR</a></div></td> 297<?phpPDFPaymentRun_PymtFooter.php http://chronique.googlecode.com/svn/ | PHP | 244 lines
1<?php 2/* $Id: PDFPaymentRun_PymtFooter.php 4744 2011-11-12 09:42:34Z daintree $*/ 12 13$LeftOvers = $pdf->addTextWrap(340,$YPos,60,$FontSize,locale_number_format($AccumBalance,$CurrDecimalPlaces), 'right'); 14$LeftOvers = $pdf->addTextWrap(405,$YPos,60,$FontSize,locale_number_format($AccumDiffOnExch,$CurrDecimalPlaces), 'right'); 18 19 if (is_numeric(filter_number_format($_POST['Ref']))) { 20 $PaytReference = filter_number_format($_POST['Ref']) + $RefCounter; 47 1, 48 '" . filter_number_format($_POST['ExRate']) . "', 49 '" . -$AccumBalance . "', 58 echo '<br> 59 <a href="' . $rootpath . '/index.php">' . _('Back to the menu') . '</a>'; 60 if ($debug==1){ 88 prnMsg(_('None of the payments will be processed since an allocation record for') . $SupplierName . _('could not be inserted because') . ' - ' . DB_error_msg($db),'error'); 89 echo '<br><a href="' . $rootpath . '/index.php">' . _('Back to the menu') . '</a>'; 90 if ($debug==1){sendCommissionSheet.php https://bitbucket.org/OverSite/capstone-demo.git | PHP | 336 lines
1<?php 2require("databaseConnection.php"); 2require("databaseConnection.php"); 3// require("../keys/refreshKeyAdobe.php"); 4require("keys/cred.php"); 78 79require('fpdf/fpdf.php'); 80 102$pdf->SetFont('Times', 'U'); 103$pdf->Cell(5, 10, '$' . number_format($TYGross, 2) . ' ', 0, 1); 104 142$pdf->SetFont('Times', 'U'); 143$pdf->Cell(23, 10, ' $' . number_format($initialGross, 2) . ' ', 0, 1); 144 149$pdf->SetFont('Times', 'U'); 150$pdf->Cell(23, 10, ' $' . number_format($brokerFee, 2) . ' ', 0, 1); 151paypal_multiple.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 272 lines
1<?php 2$nzshpcrt_gateways[$num]['name'] = 'Paypal'; 39 $data['Ic'] = 'US'; 40 $data['bn'] = 'toolkit-php'; 41 $data['no_shipping'] = '1'; 115 $data['item_name_'.$i] = $product_data['name'].$variation_list; 116// ales $data['amount_'.$i] = number_format(sprintf("%01.2f", $paypal_currency_productprice),$decimal_places,'.',''); 117 $data['amount_'.$i] = '10'; // ales 120 //exit($paypal_currency_shipping); 121 $data['shipping_'.$i] = number_format($paypal_currency_shipping,$decimal_places,'.',''); 122 $data['handling_'.$i] = ''; 132 $data['item_name_'.$i] = "Shipping"; 133 $data['amount_'.$i] = number_format(0,$decimal_places,'.',''); 134 $data['quantity_'.$i] = 1; 135 $data['item_number_'.$i] = 0; 136 $data['shipping_'.$i] = number_format($base_shipping,$decimal_places,'.',''); 137 $data['handling_'.$i] = '';Profiler.php https://github.com/marcoliverteschke/redesign.marcoliverteschke.de.git | PHP | 345 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 132 $val = htmlspecialchars($val, ENT_QUOTES); 133 $time = number_format($this->CI->db->query_times[$key], 4); 134 302 { 303 $output .= "<div style='color:#000;font-weight:normal;padding:4px 0 4px 0'>".number_format($usage).' bytes</div>'; 304 } 343 344/* End of file Profiler.php */ 345/* Location: ./system/libraries/Profiler.php */assessment.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 260 lines
1<?php 2 99 if ($getd[4]==2 or $getd[4]==3) { //formula and range 100 $btc = number_format($getn[2], 2); 101 print "<tr><td align=left width=100>$gethuh[3]</td> 115$totind = round($totind,2); 116$taxdue = number_format($totind,2); 117 186if ($getd[4]==2 or $getd[4]==3) { 187$xd = number_format($xv,2); 188print "<tr><td align=left width=100>$getd[0] </td><td align=right> 200if (is_numeric($getd[1])) { 201$getd[1] = number_format($getd[1],2); 202} 252<tr><td width=100></td> <td></td><td align=right>Total Tax:</td><td align=right> 253<font color=red>Php <?php echo $ga = number_format($grandamt,2); ?></font></td></tr> 254</table>edit-comments.php http://core.svn.wordpress.org/ | PHP | 246 lines
99$num_comments = wp_count_comments(); 100$stati = array('moderated' => sprintf(__ngettext('Awaiting Moderation (%s)', 'Awaiting Moderation (%s)', number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"), 'approved' => _c('Approved|plural')); 101$class = ( '' === $comment_status ) ? ' class="current"' : ''; 120 <input type="text" id="post-search-input" name="s" value="<?php echo $search; ?>" /> 121 <input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" /> 122</p> 129 <li <?php if ( 'detail' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'detail', $_SERVER['REQUEST_URI'])) ?>"><?php _e('Detail View') ?></a></li> 130 <li <?php if ( 'list' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><?php _e('List View') ?></a></li> 131</ul> 169<input type="submit" value="<?php _e('Mark as Spam'); ?>" name="spamit" class="button-secondary" /> 170<?php if ( 'moderated' != $comment_status ): ?> 171<input type="submit" value="<?php _e('Unapprove'); ?>" name="unapproveit" class="button-secondary" /> 244 245<?php include('admin-footer.php'); ?> 246mdl.cur.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 230 lines
1<?php 2include_once('shopObject.php'); 222 if($is_str) 223 return number_format(trim($number), 224 $this->_money_format['decimals'], 226 else 227 return number_format(trim($number), $this->_money_format['decimals'], '.', ''); 228 }edit-comments.php git://github.com/wordpress/wordpress.git | PHP | 354 lines
1<?php 2/** 9/** WordPress Administration Bootstrap */ 10require_once __DIR__ . '/admin.php'; 11if ( ! current_user_can( 'edit_posts' ) ) { 94 95 /** This action is documented in wp-admin/edit.php */ 96 $redirect_to = apply_filters( "handle_bulk_actions-{$screen}", $redirect_to, $doaction, $comment_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 144 __( 'Comments (%1$s) on “%2$s”' ), 145 number_format_i18n( $comments_count->moderated ), 146 $draft_or_post_title 160 __( 'Comments (%s)' ), 161 number_format_i18n( $comments_count->moderated ) 162 ); 207 208require_once ABSPATH . 'wp-admin/admin-header.php'; 209?>sales-breakdown.php https://bitbucket.org/OverSite/capstone-demo.git | PHP | 176 lines
22 <!-- BEGIN TEMPLATE default-css.php INCLUDE --> 23 <?php include "./templates-admin/default-css.php" ?> 24 <!-- END TEMPLATE default-css.php INCLUDE --> 32 <!-- BEGIN TEMPLATE header.php INCLUDE --> 33 <?php include "./templates-admin/header.php" ?> 34 <!-- END TEMPLATE header.php INCLUDE --> 36 <!-- BEGIN TEMPLATE nav.php INCLUDE --> 37 <?php include "./templates-admin/nav.php" ?> 38 <!-- END TEMPLATE nav.php INCLUDE --> 155<!-- BEGIN TEMPLATE default-footer.php INCLUDE --> 156<?php include "./templates-admin/default-footer.php" ?> 157<!-- END TEMPLATE default-footer.php INCLUDE --> 162<!-- BEGIN TEMPLATE default-js.php INCLUDE --> 163<?php include "./templates-admin/default-js.php" ?> 164<!-- END TEMPLATE default-js.php INCLUDE -->CakeHtmlReporter.php git://github.com/cakephp/cakephp.git | PHP | 351 lines
6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @since CakePHP(tm) v 1.2.0.4433 15 * @since CakePHP(tm) v 1.2.0.4433 16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 */ 120 * 121 * @param PHPUnit_Framework_TestResult $result Result object 122 * @return void 139 echo '<p><strong>Time:</strong> ' . $result->time() . ' seconds</p>'; 140 echo '<p><strong>Peak memory:</strong> ' . number_format(memory_get_peak_usage()) . ' bytes</p>'; 141 echo $this->_paintLinks();cake_text_reporter.php git://github.com/mfriesen/kaching-php.git | PHP | 198 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.tests.libs.reporter 17 * @since CakePHP(tm) v 1.3 18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 19 */ 20include_once dirname(__FILE__) . DS . 'cake_base_reporter.php'; 21SuppTransGLAnalysis.php http://chronique.googlecode.com/svn/ | PHP | 211 lines
1<?php 2 2 3/* $Id: SuppTransGLAnalysis.php 4734 2011-10-29 03:26:27Z daintree $*/ 4 8 9include('includes/DefineSuppTransClass.php'); 10 19 prnMsg(_('To enter a supplier invoice or credit note the supplier must first be selected from the supplier selection screen') . ', ' . _('then the link to enter a supplier invoice or supplier credit note must be clicked on'),'info'); 20 echo '<br /><a href="' . $rootpath . '/SelectSupplier.php">' . _('Select A Supplier') . '</a>'; 21 include('includes/footer.inc'); 51 $GLActName = $myrow[1]; 52 if (!is_numeric(filter_number_format($_POST['Amount']))){ 53 prnMsg( _('The amount entered is not numeric') . '. ' . _('This line cannot be added to the transaction'),'error'); 68 $GLActName, 69 filter_number_format($_POST['Amount']), 70 $_POST['Narrative']);cuentas.php http://facturascripts.googlecode.com/svn/trunk/ | PHP | 253 lines
1<?php 2/* 19 20require("clases/script.php"); 21require_once("clases/cuentas.php"); 21require_once("clases/cuentas.php"); 22require_once("clases/ejercicios.php"); 23require_once("clases/opciones.php"); 59 </script> 60 <?php 61 } 92 echo "<div class='destacado'>\n", 93 "<form name='cuentas' action='ppal.php' method='get'>\n", 94 "<input type='hidden' name='mod' value='" , $mod , "'/>\n", 209 210 echo "<td><a href='ppal.php?mod=" , $mod , "&pag=cuenta&tipo=c&id=" , $col['idcuenta'] , "'>" , $col['codcuenta'] , "</a></td>\n", 211 "<td>" , $col['codepigrafe'] , "</td>\n",Reader.php git://github.com/jokkedk/webgrind.git | PHP | 266 lines
1<?php 2/** 16 * Binary number format used. 17 * @see http://php.net/pack 18 */ 234 $result = ($total==0) ? 0 : ($cost*100)/$total; 235 return number_format($result, 2, '.', ''); 236 }WOSerialNos.php http://chronique.googlecode.com/svn/ | PHP | 342 lines
66 '' "; 67 for ($i=0;$i< filter_number_format($_POST['NumberToAdd']);$i++){ 68 $NextItemNumber = $NextSerialNo + $i; 97 WHERE stockid='" . $StockID . "'",$db); 98 $result = DB_query("UPDATE woitems SET qtyreqd=qtyreqd+" . filter_number_format($_POST['NumberToAdd']) . " 99 WHERE stockid='" . $StockID . "' 163 164 $result = DB_query("UPDATE woitems SET qtyreqd=qtyreqd-" . filter_number_format($_GET['Quantity']) . " 165 WHERE wo='" . $WO . "' 203 $sql[] = "UPDATE woserialnos SET serialno='" . $_POST['Reference'.$i] . "', 204 quantity='" . filter_number_format($_POST['Quantity'.$i]) ."', 205 qualitytext='" . $_POST['Notes'.$i] . "' 319 echo '<td><textarea name="Notes' . $i .'" cols="60" rows="3">' . $WOSNRow['qualitytext'] .'</textarea></td>'; 320 echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?Delete=1&Reference=' . $WOSNRow['serialno'] . '&Quantity=' . locale_number_format($WOSNRow['quantity'],'Variable') . '&WO=' . $WO . '&StockID=' . $StockID . '&Description=' . $Description . '&Serialised=' . $Serialised . '&NextSerialNo=' . $NextSerialNo . '">' . _('Delete') . '</a></td></tr>'; 321 $i++;AdminShipping.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 263 lines
1<?php 2 3/** 4 * Shipping tab for admin panel, AdminShipping.php 5 * @category admin 8 * @copyright PrestaShop 9 * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0 10 * @version 1.3 13 14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php'); 15 96 '.($shipping_method == 1 ? intval($tmpArray[2]) : 'NULL').', '.$carrier->id.', 97 '.intval($tmpArray[1]).', '.number_format(abs($value), 2, '.', '').'),'; 98 unset($tmpArray);performance.php https://bitbucket.org/nando123/unj-iamperform.git | PHP | 299 lines
151<div class="fixed-action-btn" style="bottom: 45px; right: 24px;"> 152 <a class="btn-floating btn-large red" href="<?php echo base_url();?>index.php/performance/ChooseAtlet/data/<?php echo $type ?>"> 153 <i class="large mdi-editor-mode-edit"></i> 161 type : 'POST', 162 url : '<?php echo base_url();?>index.php/performance/showPopUp', 163 data : {d_id:d_id,komponen:komponen,messo:messo,current:current,benchmark:benchmark}, 176 type : 'POST', 177 url : '<?php echo base_url();?>index.php/performance/showDeleteConfirm', 178 data : {id_performance:id_performance}, 266 type : 'POST', 267 url : '<?php echo base_url();?>index.php/performance/viewGrafik', 268 data : {id_performance:id_performance}, 287 type : 'POST', 288 url : '<?php echo base_url();?>index.php/performance/viewTable', 289 data : {id_performance:id_performance},ModelRecovery.php https://bitbucket.org/nando123/iamperform.git | PHP | 304 lines
1<?php 2class ModelRecovery extends CI_Model { 95 $plan = ($target/$monotonyPerWeek)*$monotonyPerDay; 96 $recoveryPlan = number_format($plan); 97 // $recoveryPlan = "";ctl.paycenter.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 181 lines
1<?php 2class ctl_paycenter extends shopPage{ 59 if (strtoupper($_POST['currency'])<>$def_cur['cur_code']) 60 $this->payment->money = number_format($_POST['cur_money'],2,'.',''); 61 else 132 133 echo '<script>new Request({url:\'http://localhost/shopex/ver485/src/shopadmin/index.php?ctl=trading/payment&act=sendOrderInfo&p[0]='.$payment['payment_id'].'&p[1]='.$payment['money'].'&p[2]='.$payment['order_id'].'&p[3]='.$payment['status'].'&p[4]='.$payment['t_begin'].'\',onComplete:function(){}}).send();</script>'; 134 $this->_verifyMember(false);fattura_acquisto.php http://gevion.googlecode.com/svn/trunk/ | PHP | 305 lines
1<?php 2/* $Id: fattura_acquisto.php,v 1.16 2010/01/01 14:15:18 devincen Exp $ 24*/ 25require("../../library/include/calsca.inc.php"); 26require('template.php'); 98 $this->Cell(16, 6, gaz_format_quantity($rigo['quanti'],1,$this->decimal_quantity),1,0,'R'); 99 $this->Cell(18, 6, number_format($rigo['prelis'],$this->decimal_price,',',''),1,0,'R'); 100 if ($rigo['sconto']>0) { 100 if ($rigo['sconto']>0) { 101 $this->Cell(8, 6, number_format($rigo['sconto'],1,',',''),1,0,'C'); 102 } else {ResumenShoppingCartWidget.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 111 lines
41 <ul class="tcp_shopping_cart_resume"> 42 <li><span class="tcp_resumen_subtotal"><?php _e( 'Total', 'tcp' );?>:</span> <?php echo number_format( $shoppingCart->getTotal(), 2 );?> <?php echo $currency;?></li> 43 <li><span class="tcp_resumen_count"><?php _e( 'N?? products:', 'tcp' );?>:</span> <?php echo $shoppingCart->getCount();?></li> 89 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'tcp' )?>:</label> 90 <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /> 91 </p><p> 94 <br /> 95 <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('see_weight'); ?>" name="<?php echo $this->get_field_name( 'see_weight' ); ?>"<?php checked( $see_weight ); ?> /> 96 <label for="<?php echo $this->get_field_id( 'see_weight' ); ?>"><?php _e('See weigth', 'tcp'); ?></label> 97 <br /> 98 <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('see_delete_all'); ?>" name="<?php echo $this->get_field_name( 'see_delete_all' ); ?>"<?php checked( $see_delete_all ); ?> /> 99 <label for="<?php echo $this->get_field_id( 'see_delete_all' ); ?>"><?php _e('See delete button', 'tcp'); ?></label> 103 <br /> 104 <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('see_checkout'); ?>" name="<?php echo $this->get_field_name( 'see_checkout' ); ?>"<?php checked( $see_checkout ); ?> /> 105 <label for="<?php echo $this->get_field_id( 'see_checkout' ); ?>"><?php _e('See checkout link', 'tcp'); ?></label>order_voucher_save.html https://bitbucket.org/Digitalsoftspvt/sttoka.git | HTML | 237 lines
122 <td class="subtotalend bold-td text-right" colspan="3">Subtotal:</td> 123 <td class="subtotalend bold-td text-right"><?php number_format($netQty,2);?></td> 124 <td class="subtotalend bold-td text-right"><?php echo number_format($netWeight,2);?></td> 158 <td class="subtotalend bold-td text-right" colspan="3">Subtotal:</td> 159 <td class="subtotalend bold-td text-right"><?php number_format($netQty,2);?></td> 160 <td class="subtotalend bold-td text-right"><?php echo number_format($netWeight,2);?></td> 167 <td class="subtotal bold-td text-right discount-td " colspan="5">Discount:</td> 168 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['discp']),2) . '% ';?></td> 169 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['discount']),2);?></td> 181 <td class="subtotal bold-td text-right discount-td " colspan="5">Tax:</td> 182 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['taxpercent']),2) . '% ';?></td> 183 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['tax']),2);?></td> 205 <p><span class="field1">This Invoice:</span><span class="fieldvalue inv-date"><?php echo number_format($vrdetail[0]['namount'],0);?></span></p> 206 <p><span class="field1">Current Balance:</span><span class="fieldvalue cust-name"><?php echo number_format($vrdetail[0]['namount']+$previousBalance,2) ;?></span></p> 207 <?php };?>function.number-format.html https://github.com/overchuk/vim.git | HTML | 544 lines
128<head> 129<link rel="alternate" type="application/rss+xml" title="php.ru/forum - последние сообщения" href="http://www.php.ru/forum/rss.php"> 130<link rel="SHORTCUT ICON" href="http://www.php.ru/favicon.ico" /> 130<link rel="SHORTCUT ICON" href="http://www.php.ru/favicon.ico" /> 131<META name="description" content="php.ru - форум PHP программистов, поиск по всем ресурсам сети, посвященным php"> 132<meta http-equiv="description" content="php.ru - форум PHP программистов, поиск по всем ресурсам сети, посвященным php"> 272><P 273> (PHP 3, PHP 4, PHP 5)</P 274>number_format -- Форматирует число с разделением групп</DIV 398><code><font color="#000000"> 399<font color="#0000BB"><?php<br /><br />$number </font><font color="#007700">= </font><font color="#0000BB">1234.56</font><font color="#007700">;<br /><br /></font><font color="#FF8000">// английский формат (по умолчанию)<br /></font><font color="#0000BB">$english_format_number </font><font color="#007700">= </font><font color="#0000BB">number_format</font><font color="#007700">(</font><font color="#0000BB">$number</font><font color="#007700">);<br /></font><font color="#FF8000">// 1,234<br /><br />// французский формат<br /></font><font color="#0000BB">$nombre_format_francais </font><font color="#007700">= </font><font color="#0000BB">number_format</font><font color="#007700">(</font><font color="#0000BB">$number</font><font color="#007700">, </font><font color="#0000BB">2</font><font color="#007700">, </font><font color="#DD0000">','</font><font color="#007700">, </font><font color="#DD0000">' '</font><font color="#007700">);<br /></font><font color="#FF8000">// 1 234,56<br /><br /></font><font color="#0000BB">$number </font><font color="#007700">= </font><font color="#0000BB">1234.5678</font><font color="#007700">;<br /><br /></font><font color="#FF8000">// английский формат без разделителей групп<br /></font><font color="#0000BB">$english_format_number </font><font color="#007700">= </font><font color="#0000BB">number_format</font><font color="#007700">(</font><font color="#0000BB">$number</font><font color="#007700">, </font><font color="#0000BB">2</font><font color="#007700">, </font><font color="#DD0000">'.'</font><font color="#007700">, </font><font color="#DD0000">''</font><font color="#007700">);<br /></font><font color="#FF8000">// 1234.57<br /><br /></font><font color="#0000BB">?></font> 400</font> 512 <td class='phpcopyright' width='45%' align='left'> Engine <a href="http://www.mnogosearch.org/">MnoGoSearch</a></td> 513 <td class='phpcopyright' width='10%' align='center'>2007-2010 © <a href="mailto:webmaster@php.ru">PHP.RU</a></td> 514 <td class='phpcopyright' width='45%' align='right' >Powered by <a target="_blank" href="http://odware.ru">ODware</a> <a HREF="http://440hz.ru">440Hz</a> </td>Cell.php https://PHPExcel.svn.codeplex.com/svn | PHP | 292 lines
22 * @package PHPExcel 23 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/gpl.txt GPL 28/** PHPExcel_Cell_DataType */ 29require_once 'PHPExcel/Cell/DataType.php'; 30 36 * @package PHPExcel 37 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 38 */ 143 if ($pUpdateDataType) { 144 $this->_dataType = PHPExcel_Cell_DataType::dataTypeForValue($pValue); 145 } 272 return 1; 273 } elseif (PHPExcel_Cell::columnIndexFromString($a->getColumn()) < PHPExcel_Cell::columnIndexFromString($b->getColumn())) { 274 return -1;cake_text_reporter.php git://github.com/abalonepaul/eav_behavior.git | PHP | 198 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.tests.libs.reporter 17 * @since CakePHP(tm) v 1.3 18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 19 */ 20include_once dirname(__FILE__) . DS . 'cake_base_reporter.php'; 21index.php git://github.com/forkcms/forkcms.git | PHP | 301 lines
1<?php 2 90 // number formats 91 $this->frm->addDropdown('number_format', BackendModel::getNumberFormats(), BackendModel::getModuleSetting('core', 'number_format')); 92 182 // number 183 $this->frm->getField('number_format')->isFilled(BL::err('FieldIsRequired')); 184 191 // load akismet 192 require_once PATH_LIBRARY . '/external/akismet.php'; 193 259 // date & time formats 260 BackendModel::setModuleSetting('core', 'number_format', $this->frm->getField('number_format')->getValue()); 261StockCheck.php https://git01.codeplex.com/kwamoja | PHP | 366 lines
1<?php 2 12 13 include('includes/PDFStarter.php'); 14 $pdf->addInfo('Title',_('Stock Count Sheets')); 45 prnMsg(_('The inventory quantities could not be added to the freeze file because') . ' ' . DB_error_msg($db),'error'); 46 echo '<br /><a href="' . $RootPath . '/index.php">' . _('Back to the menu') . '</a>'; 47 if ($debug==1){ 67 prnMsg(_('The old quantities could not be deleted from the freeze file because') . ' ' . DB_error_msg($db),'error'); 68 echo '<br /><a href="' . $RootPath . '/index.php">' . _('Back to the menu') . '</a>'; 69 if ($debug==1){ 98 prnMsg(_('The inventory quantities could not be added to the freeze file because') . ' ' . DB_error_msg($db),'error'); 99 echo '<br /><a href="' . $RootPath . '/index.php">' . _('Back to the menu') . '</a>'; 100 if ($debug==1){ 107 include('includes/header.inc'); 108 echo '<p><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Print Check Sheets') . '</a>'; 109 prnMsg( _('Added to the stock check file successfully'),'success');BankMatching.php http://chronique.googlecode.com/svn/ | PHP | 347 lines
1<?php 2 2 3/* $Id: BankMatching.php 4735 2011-10-29 05:59:53Z daintree $*/ 4 59 } elseif ((isset($_POST['AmtClear_' . $Counter]) 60 AND filter_number_format($_POST['AmtClear_' . $Counter])<0 AND $Type=='Payments') 61 OR ($Type=='Receipts' AND isset($_POST['AmtClear_' . $Counter]) AND filter_number_format($_POST['AmtClear_' . $Counter])>0)){ 63 64 $sql = "UPDATE banktrans SET amountcleared=" . filter_number_format($_POST['AmtClear_' . $Counter]) . " 65 WHERE banktransid='" . $_POST['BankTrans_' . $Counter]."'"; 84 85echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; 86echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; 155 <p> 156 <a href="' . $rootpath . '/BankReconciliation.php">' . _('Show reconciliation') . '</a> 157 </p>LoggerXmlLayout.php http://syracava.googlecode.com/svn/trunk/ | PHP | 206 lines
22 */ 23if (!defined('LOG4PHP_DIR')) define('LOG4PHP_DIR', dirname(__FILE__) . '/..'); 24 27 28define('LOG4PHP_LOGGER_XML_LAYOUT_LOG4PHP_NS_PREFIX', 'log4php'); 29define('LOG4PHP_LOGGER_XML_LAYOUT_LOG4PHP_NS', 'http://www.vxr.it/log4php/'); 32 */ 33require_once(LOG4PHP_DIR . '/helpers/LoggerOptionConverter.php'); 34require_once(LOG4PHP_DIR . '/helpers/LoggerTransform.php'); 78 */ 79 var $_namespacePrefix = LOG4PHP_LOGGER_XML_LAYOUT_LOG4PHP_NS_PREFIX; 80 90 $this->_namespace = LOG4PHP_LOGGER_XML_LAYOUT_LOG4PHP_NS; 91 $this->_namespacePrefix = LOG4PHP_LOGGER_XML_LAYOUT_LOG4PHP_NS_PREFIX; 92 }%%D3^D3C^D3C9DBFD%%mark_list.html.php http://sharebooks.googlecode.com/svn/trunk/ | PHP | 232 lines
2 compiled from public/mark_list.html */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'utf8_escape_html', 'public/mark_list.html', 49, false),array('modifier', 'number_format', 'public/mark_list.html', 150, false),array('function', 'math', 'public/mark_list.html', 127, false),)), $this); ?> 98 <option value="<?php echo $this->_tpl_vars['subject']->code; ?> 99" <?php if ($this->_tpl_vars['subject_code'] == $this->_tpl_vars['subject']->code): ?>selected<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['subject']->name)) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?> 100</option> 187 <?php endif; ?> 188 <td style="text-align: center; <?php if ($this->_tpl_vars['obj']['total_mark'] < 5): ?>color:red;<?php endif; ?>"> 189 <?php if ($this->_tpl_vars['obj']['total_mark']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['obj']['total_mark'])) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?> 189 <?php if ($this->_tpl_vars['obj']['total_mark']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['obj']['total_mark'])) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?> 190<?php else: ?> <?php endif; ?> 191 </td> 197 <td style="color: #379EC9;text-align: center; font-weight: bold"> 198 <?php if ($this->_tpl_vars['avg_mark']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['avg_mark'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2, '.', ',') : number_format($_tmp, 2, '.', ',')); ?> 199<?php else: ?> <?php endif; ?>UploadFiles.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 120 lines
59 printf (__( 'Upload completed, uploaded %f bytes', 'tcp' ), number_format( $_FILES['upload_file']['size'], 2 ) ); 60 ?></p></div><?php 61 $file_path = __( 'recent uploaded', 'tcp' ); 76 _e( 'The file can not be deleted', 'tcp' ); 77 ?></p></div><?php 78 } 84 <div class="wrap"> 85 <h2><?php echo __( 'Upload file for', 'tcp' );?> <i><?php echo $post->post_title;?></i></h2> 86 <ul class="subsubsub"> 86 <ul class="subsubsub"> 87 <li><a href="post.php?action=edit&post=<?php echo $post_id;?>"><?php _e( 'return to the product', 'tcp' );?></a></li> 88 </ul><!-- subsubsub --> 91 <form method="post" enctype="multipart/form-data"> 92 <input type="hidden" name="post_id" value="<?php echo $post_id;?>" /> 93 <?php if ( strlen( $file_path ) > 0 ) : ?>Mozscape.php git://github.com/eyecatchup/SEOstats.git | PHP | 140 lines
1<?php 2namespace SEOstats\Services; 68 return (parent::noDataDefaultValue() == $data) ? $data : 69 number_format($data['umrr'], 16); 70 } 83 throw new E('In order to use the Mozscape API, you must obtain 84 and set an API key first (see SEOstats\Config\ApiKeys.php).'); 85 exit(0); 114 { 115 // Use PHP's built in functionality if available 116 // (~20% faster than the custom implementation below).module.audio-video.flv.php https://bitbucket.org/chamilo/chamilo/ | PHP | 505 lines
1<?php 2///////////////////////////////////////////////////////////////// 28// // 29// module.audio-video.flv.php // 30// module for analyzing Shockwave Flash Video files // 72 } 73//echo __LINE__.'='.number_format(microtime(true) - $start_time, 3).'<br>'; 74 91 92//echo __LINE__.'['.ftell($fd).']=('.$TagType.')='.number_format(microtime(true) - $start_time, 3).'<br>'; 93history.tpl https://git01.codeplex.com/eccubeonwaz | Smarty Template | 240 lines
35 </p> 36 <form action="order.php" method="post"> 37 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 66 <!--{if $orderDetail.is_downloadable}--> 67 <a target="_self" href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/download.php?order_id=<!--{$tpl_arrOrderData.order_id}-->&product_id=<!--{$orderDetail.product_id}-->&product_class_id=<!--{$orderDetail.product_class_id}-->">??????</a> 68 <!--{else}--> 80 <!--{assign var=quantity value=`$orderDetail.quantity`}--> 81 <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format|h}-->?</td> 82 <td class="alignR"><!--{$quantity|h}--></td> 82 <td class="alignR"><!--{$quantity|h}--></td> 83 <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->?</td> 84 </tr> 87 <th colspan="5" class="alignR">??</th> 88 <td class="alignR"><!--{$tpl_arrOrderData.subtotal|number_format}-->?</td> 89 </tr>CheckoutComponent.php git://github.com/ftgoncalves/pagseguro.git | PHP | 211 lines
1<?php 2/** 2/** 3 * Plugin de integração com a API do PagSeguro e CakePHP. 4 * 4 * 5 * PHP versions 5+ 6 * Copyright 2010-2011, Felipe Theodoro Gonçalves, (http://ftgoncalves.com.br) 12 * @link https://github.com/ftgoncalves/pagseguro/ 13 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 14 * @version 1.0 139 'itemDescription' . $this->count => $name, 140 'itemAmount' . $this->count => str_replace(',', '', number_format($amount, 2)), 141 'itemWeight' . $this->count => $weight,AdminAttachments.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 135 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 23* @version Release: $Revision: 6594 $ 24* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25* International Registered Trademark & Property of PrestaShop SA 27 28include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php'); 29 63 if ($_FILES['file']['size'] > (Configuration::get('PS_ATTACHMENT_MAXIMUM_SIZE') * 1024 * 1024)) 64 $this->_errors[] = $this->l('File too large, maximum size allowed:').' '.(Configuration::get('PS_ATTACHMENT_MAXIMUM_SIZE') * 1024).' '.$this->l('kb').'. '.$this->l('File size you\'re trying to upload is:').number_format(($_FILES['file']['size']/1024), 2, '.', '').$this->l('kb'); 65 elsevisites.php https://bitbucket.org/re_al_/real.test.spip.git | PHP | 331 lines
1<?php 2 193 'visites' => "visites+$n", 194 'popularite' => "popularite+" . number_format(round($n * $b, 2), 2, '.', ''), 195 'maj' => 'maj' 203 'visites' => "visites+" . ($n + 1), 204 'popularite' => "popularite+" . number_format(round($n * $b, 2), 2, '.', ''), 205 'maj' => 'maj'cake_text_reporter.php git://github.com/Datawalke/Coordino.git | PHP | 198 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.tests.libs.reporter 17 * @since CakePHP(tm) v 1.3 18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 19 */ 20include_once dirname(__FILE__) . DS . 'cake_base_reporter.php'; 21import_project_symbols.php git://github.com/facebook/phabricator.git | PHP | 0 lines
1#!/usr/bin/env php 2<?php 20$root = dirname(dirname(dirname(__FILE__))); 21require_once $root.'/scripts/__init_script__.php'; 22 24 echo phutil_console_format( 25 "usage: import_project_symbols.php __project_name__ < __symbol_file__\n"); 26 exit(1); 42echo "Parsing input from stdin...\n"; 43$input = file_get_contents('php://stdin'); 44$input = trim($input); 57 "For example:\n\n". 58 "idx function php 13 /path/to/some/file.php\n\n". 59 "Actual line was:\n\n". 101 "begin with '/' and specify a path from the root of the project, like ". 102 "'/src/utils/utils.php'."); 103 }item.php http://bitcero-modules.googlecode.com/svn/ | PHP | 289 lines
1<?php 2// $Id: item.php 1068 2012-09-19 01:50:37Z i.bitcero $ 46 47 include 'header.php'; 48 $xoopsTpl->assign('dtrans_option','details'); 71 $data['thumbnail'] = $img->get_smallest(); 72 $data['rating'] = @number_format($item->getVar('rating')/$item->getVar('votes'), 1); 73 $data['votes'] = $item->getVar('votes'); 284 // Comments form 285 RMFunctions::comments_form('dtransport', 'item='.$item->id(), 'module', DT_PATH.'/class/dtransportcontroller.php'); 286 286 287 include 'footer.php'; 288quick_view.tpl http://simpleinvoices.googlecode.com/svn/trunk/ | Smarty Template | 263 lines
96 <td style="text-align:right">{$preference.pref_currency_sign}{$invoiceItems.0.gross_total|number_format:2}</td> 97 <td style="text-align:right">{$preference.pref_currency_sign}{$invoiceItems.0.tax_amount|number_format:2}</td> 98 <td style="text-align:right"><u>{$preference.pref_currency_sign}{$invoiceItems.0.total|number_format:2}</u></td> 163 <td >{$preference.pref_currency_sign}{$invoiceItem.gross_total|number_format:2}</td> 164 <td style="text-align:right">{$preference.pref_currency_sign}{$invoiceItem.tax_amount|number_format:2}</td> 165 <td style="text-align:right">{$preference.pref_currency_sign}{$invoiceItem.total|number_format:2}</td> 189 <tr> 190 <td>{$invoiceItem.quantity|number_format:2}</td> 191 <td>{$invoiceItem.product.description}</td> 191 <td>{$invoiceItem.product.description}</td> 192 <td style="text-align:right">{$preference.pref_currency_sign}{$invoiceItem.unit_price|number_format:2}</td> 193 <td style="text-align:right">{$preference.pref_currency_sign}{$invoiceItem.gross_total|number_format:2}</td> 257 {$preference.pref_currency_sign}{$invoice.total|number_format:2} :: 258 <a href='index.php?module=payments&view=manage&id={$invoice.id}'>{$LANG.paid}:</a> {$preference.pref_currency_sign}{$invoice.paid|number_format:2} :: 259 {$LANG.owing}: <u>{$preference.pref_currency_sign}{$invoice.owing|number_format:2}</u> ::received.php http://gevion.googlecode.com/svn/trunk/ | PHP | 262 lines
1<?php 2/* $Id: received.php,v 1.5 2010/01/01 14:15:18 devincen Exp $ 25 26require("../../library/include/calsca.inc.php"); 27require('template.php'); 85 $this->Cell(16, 5, gaz_format_quantity($rigo['quanti'],1,$this->decimal_quantity),1,0,'R'); 86 $this->Cell(18, 5, number_format($rigo['prelis'],$this->decimal_price,',',''),1,0,'R'); 87 if ($rigo['sconto']>0) { 87 if ($rigo['sconto']>0) { 88 $this->Cell(8, 5, number_format($rigo['sconto'],1,',',''),1,0,'C'); 89 } else {CFormatter.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 248 lines
1<?php 2/** 44 * @author Qiang Xue <qiang.xue@gmail.com> 45 * @version $Id: CFormatter.php 242 2012-03-29 15:18:01Z mole1230 $ 46 * @package system.utils 53 /** 54 * @var string the format string to be used to format a date using PHP date() function. Defaults to 'Y/m/d'. 55 */ 57 /** 58 * @var string the format string to be used to format a time using PHP date() function. Defaults to 'h:i:s A'. 59 */ 65 /** 66 * @var array the format used to format a number with PHP number_format() function. 67 * Three elements may be specified: "decimals", "decimalSeparator" and "thousandSeparator". They 227 /** 228 * Formats the value as a number using PHP number_format() function. 229 * @param mixed $value the value to be formattedstatisticsGraphicsController.php http://qnet-ua2011.googlecode.com/svn/trunk/ | PHP | 297 lines
1<?php 2 3namespace Qnet\Controller; 4require_once dirname(__FILE__) . '\..\util.php'; 5require_dao('queryDAO'); 284 for($k = 0; $k < $this->cardinality[2]; $k++) { 285 $totals[$i][$j][$k] = number_format($totals[$i][$j][$k] / $count, 2); 286 } 287 } else { 288 $totals[$i][$j] = number_format($totals[$i][$j] / $count, 2); 289 } 291 } else { 292 $totals[$i] = number_format($totals[$i] / $count, 2); 293 }OffersReceived.php http://chronique.googlecode.com/svn/ | PHP | 277 lines
1<?php 2 2 3/*$Id: OffersReceived.php 4500 2011-02-27 09:18:42Z daintree $ */ 4 42 _('Select Supplier') . '" alt="" />' . ' ' . _('Select Supplier') . '</p>'; 43 echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) .'">'; 44 echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; 92 93 echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; 94 echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; 127 <td>'.$myrow['description'].'</td> 128 <td class="number">'.locale_number_format($myrow['quantity'],$myrow['decimalplaces']).'</td> 129 <td>'.$myrow['uom'].'</td> 129 <td>'.$myrow['uom'].'</td> 130 <td class="number">'.locale_number_format($myrow['price'],$myrow['currdecimalplaces']).'</td> 131 <td class="number">'.locale_number_format($myrow['price']*$myrow['quantity'],$myrow['currdecimalplaces']).'</td>StyleHelper.php git://github.com/moodle/moodle.git | PHP | 227 lines
1<?php 2 27 const XML_ATTRIBUTE_FORMAT_CODE = 'formatCode'; 28 const XML_ATTRIBUTE_APPLY_NUMBER_FORMAT = 'applyNumberFormat'; 29 108 self::XML_ATTRIBUTE_NUM_FMT_ID => intval($xfNode->getAttribute(self::XML_ATTRIBUTE_NUM_FMT_ID)), 109 self::XML_ATTRIBUTE_APPLY_NUMBER_FORMAT => !!($xfNode->getAttribute(self::XML_ATTRIBUTE_APPLY_NUMBER_FORMAT)), 110 ]; 157 158 $applyNumberFormat = $styleAttributes[self::XML_ATTRIBUTE_APPLY_NUMBER_FORMAT]; 159 if (!$applyNumberFormat) {class-ljmc-ms-users-list-table.php https://bitbucket.org/lpservice-it/ljmc.git | PHP | 306 lines
97 $role_links = array(); 98 $role_links['all'] = "<a href='" . network_admin_url('users.php') . "'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>'; 99 $class = $role == 'super' ? ' class="current"' : ''; 99 $class = $role == 'super' ? ' class="current"' : ''; 100 $role_links['super'] = "<a href='" . network_admin_url('users.php?role=super') . "'$class>" . sprintf( _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ) . '</a>'; 101 164 <tr class="<?php echo trim( $class ); ?>"> 165 <?php 166 180 <th scope="row" class="check-column"> 181 <label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label> 182 <input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" /> 191 echo "<td $attributes>"; ?> 192 <?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php 193 if ( in_array( $user->user_login, $super_admins ) )Product.php https://bitbucket.org/iroshbrianskye/genteelfinal.git | PHP | 217 lines
1<?php if ( ! defined( 'ABSPATH' ) ) exit; 2 76 77 $data[ 'product_totals' ][] = number_format( $total, 2 ); 78 $data[ 'extra' ][ 'product_fields' ][ $product[ 'id' ] ][ 'product_price' ] = $product[ 'settings' ][ 'product_price' ]; 121 122 return number_format( $product_price * $product_quantity, 2 ); 123 } 161 global $wp_locale; 162 $price = str_replace( array( $wp_locale->number_format[ 'thousands_sep' ], $currency_symbol ), '', $price ); 163 $price = floatval( $price ); 165 166 $total = number_format_i18n( $price * $value, 2 ); 167 207 global $wp_locale; 208 $price = str_replace( array( $wp_locale->number_format[ 'thousands_sep' ], $currency_symbol ), '', $price ); 209 $price = floatval( $price );custom_helper.php git://github.com/prashants/webzash.git | PHP | 255 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 74 { 75 return number_format($amount, 2, '.', ''); 76 } 252 253/* End of file custom_helper.php */ 254/* Location: ./system/application/helpers/custom_helper.php */Model.php git://github.com/forkcms/forkcms.git | PHP | 477 lines
1<?php 2 274 // loop available formats 275 foreach ((array) BackendModel::get('fork.settings')->get('Core', 'number_formats') as $format => $example) { 276 $possibleFormats[$format] = $example;edit-comments.php https://bitbucket.org/djmdigital/total-auto-care-wordpress.git | PHP | 367 lines
1<?php 2/** 9/** WordPress Administration Bootstrap */ 10require_once( dirname( __FILE__ ) . '/admin.php' ); 11if ( ! current_user_can( 'edit_posts' ) ) { 108 */ 109 $redirect_to = apply_filters( "handle_bulk_actions-{$screen}", $redirect_to, $doaction, $comment_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 110 } 157 __( 'Comments (%1$s) on “%2$s”' ), 158 number_format_i18n( $comments_count->moderated ), 159 $draft_or_post_title 173 __( 'Comments (%s)' ), 174 number_format_i18n( $comments_count->moderated ) 175 ); 220 221require_once( ABSPATH . 'wp-admin/admin-header.php' ); 222?>HomeController.php https://bitbucket.org/JRlalamors/hbh.git | PHP | 381 lines
1<?php 2 225 $list->budget = (int) preg_replace(array('/\,/', '/\$/'), array(''), $request->numeric_budget); 226 $list->text_budget = $request->list_type == 'seller' ? $request->budget : '$' . number_format($request->budget, 0); 227 $list->closed_deal = 0;voucher_ordergp_pdf.php https://bitbucket.org/Digitalsoftspvt/sttoka.git | PHP | 238 lines
123 <td class="subtotalend bold-td text-right" colspan="3">Subtotal:</td> 124 <td class="subtotalend bold-td text-right"><?php number_format($netQty,2);?></td> 125 <td class="subtotalend bold-td text-right"><?php echo number_format($netWeight,2);?></td> 147 <td class='text-right'><?php echo $row['type'];?></td> 148 <!-- <td class="text-right"><?php echo number_format(($row['amount']),2);?></td> --> 149 </tr> 159 <td class="subtotalend bold-td text-right" colspan="3">Subtotal:</td> 160 <td class="subtotalend bold-td text-right"><?php number_format($netQty,2);?></td> 161 <td class="subtotalend bold-td text-right"><?php echo number_format($netWeight,2);?></td> 175 <td class="subtotal bold-td text-right discount-td " colspan="4">Expense:</td> 176 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['exppercent']),2) . '% ';?></td> 177 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['expense']),2);?></td> 190 <td class="subtotal add-lower text-right"></td> 191 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['namount']),2);?></td> 192 </tr>class-wc-admin-menus.php https://bitbucket.org/babinkochana/triptrills.git | PHP | 370 lines
172 if ( 0 === strpos( $menu_item[0], _x( 'Orders', 'Admin menu name', 'woocommerce' ) ) ) { 173 $submenu['woocommerce'][ $key ][0] .= ' <span class="awaiting-mod update-plugins count-' . esc_attr( $order_count ) . '"><span class="processing-count">' . number_format_i18n( $order_count ) . '</span></span>'; // WPCS: override ok. 174 break; 310 <label class="menu-item-title"> 311 <input type="checkbox" class="menu-item-checkbox" name="menu-item[<?php echo esc_attr( $i ); ?>][menu-item-object-id]" value="<?php echo esc_attr( $i ); ?>" /> <?php echo esc_html( $value ); ?> 312 </label> 314 <input type="hidden" class="menu-item-title" name="menu-item[<?php echo esc_attr( $i ); ?>][menu-item-title]" value="<?php echo esc_html( $value ); ?>" /> 315 <input type="hidden" class="menu-item-url" name="menu-item[<?php echo esc_attr( $i ); ?>][menu-item-url]" value="<?php echo esc_url( wc_get_account_endpoint_url( $key ) ); ?>" /> 316 <input type="hidden" class="menu-item-classes" name="menu-item[<?php echo esc_attr( $i ); ?>][menu-item-classes]" /> 325 <span class="list-controls"> 326 <a href="<?php echo esc_url( admin_url( 'nav-menus.php?page-tab=all&selectall=1#posttype-woocommerce-endpoints' ) ); ?>" class="select-all"><?php esc_html_e( 'Select all', 'woocommerce' ); ?></a> 327 </span> 328 <span class="add-to-menu"> 329 <button type="submit" class="button-secondary submit-add-to-menu right" value="<?php esc_attr_e( 'Add to menu', 'woocommerce' ); ?>" name="add-post-type-menu-item" id="submit-posttype-woocommerce-endpoints"><?php esc_html_e( 'Add to menu', 'woocommerce' ); ?></button> 330 <span class="spinner"></span>ar_mysql.php git://github.com/esconsut1/php-rails-clone.git | PHP | 311 lines
1<?php 2 105 $this->duration = microtime(true) - $start; 106 ar_logger('SQL: [' . number_format($this->duration,6) . '] ' . $this->sql, $this->db_connection); 107reparse.php git://github.com/facebook/phabricator.git | PHP | 265 lines
1#!/usr/bin/env php 2<?php 20$root = dirname(dirname(dirname(__FILE__))); 21require_once $root.'/scripts/__init_script__.php'; 22 142 echo "\n\n"; 143 echo "QUEUEING TASKS (".number_format(count($commits))." Commits):\n"; 144} 212 echo "\n\n"; 213 echo "Run 'reparse.php --help' for detailed help.\n"; 214 exit(1); 220 221 **reparse.php** __what__ __which_parts__ [--trace] [--force] 222 257 258 reparse.php rX123 --change # Reparse change for "rX123". 259 reparse.php --all E --message # Reparse all messages in "E" repository.CustWhereAlloc.php http://chronique.googlecode.com/svn/ | PHP | 161 lines
1<?php 2 2 3/* $Id: CustWhereAlloc.php 4740 2011-11-06 03:12:31Z daintree $*/ 4 8 9echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; 10echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; 98 <div class="centre"> 99 <font size=3 color="blue"><b>'._('Allocations made against invoice number') . ' ' . $_POST['TransNo'] . '<br />'._('Transaction Total').': '. locale_number_format($myrow['totamt'],$CurrDecimalPlaces) . ' ' . $CurrCode . '</font></b> 100 </div> 135 <td>' . $myrow['rate'] . '</td> 136 <td class="number">' . locale_number_format($myrow['totalamt'],$CurrDecimalPlaces) . '</td> 137 <td class="number">' . locale_number_format($myrow['amt'],$CurrDecimalPlaces) . '</td> 150 <td colspan="5" class="number">'._('Total allocated').'</td> 151 <td class="number">' . locale_number_format($AllocsTotal,$CurrDecimalPlaces) . '</td> 152 </tr>weblcms_assignment_user_information_reporting_block.class.php https://bitbucket.org/chamilo/chamilo-app-weblcms/ | PHP | 138 lines
1<?php 2namespace application\weblcms; 21 22require_once dirname(__FILE__) . '/../weblcms_tool_reporting_block.class.php'; 23require_once Path :: get_reporting_path() . '/lib/reporting_data.class.php'; 25/** 26 * @package application.weblcms.php.reporting.blocks 27 * 118 } 119 $avg_score = number_format($avg_score / count($scores), 2) . '%'; 120StockCheck.php http://chronique.googlecode.com/svn/ | PHP | 363 lines
1<?php 2 2 3/* $Id: StockCheck.php 4734 2011-10-29 03:26:27Z daintree $*/ 4 12 13 include('includes/PDFStarter.php'); 14 $pdf->addInfo('Title',_('Stock Count Sheets')); 46 prnMsg(_('The inventory quantities could not be added to the freeze file because') . ' ' . DB_error_msg($db),'error'); 47 echo '<br /><a href="' . $rootpath . '/index.php">' . _('Back to the menu') . '</a>'; 48 if ($debug==1){ 68 prnMsg(_('The old quantities could not be deleted from the freeze file because') . ' ' . DB_error_msg($db),'error'); 69 echo '<br /><a href="' . $rootpath . '/index.php">' . _('Back to the menu') . '</a>'; 70 if ($debug==1){ 99 prnMsg(_('The inventory quantities could not be added to the freeze file because') . ' ' . DB_error_msg($db),'error'); 100 echo '<br /><a href="' . $rootpath . '/index.php">' . _('Back to the menu') . '</a>'; 101 if ($debug==1){class-wp-ms-users-list-table.php https://bitbucket.org/Thane2376/death-edge.ru.git | PHP | 304 lines
97 $role_links = array(); 98 $role_links['all'] = "<a href='" . network_admin_url('users.php') . "'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>'; 99 $class = $role == 'super' ? ' class="current"' : ''; 99 $class = $role == 'super' ? ' class="current"' : ''; 100 $role_links['super'] = "<a href='" . network_admin_url('users.php?role=super') . "'$class>" . sprintf( _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ) . '</a>'; 101 161 <tr class="<?php echo $alt; ?>"> 162 <?php 163 177 <th scope="row" class="check-column"> 178 <label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label> 179 <input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" /> 188 echo "<td $attributes>"; ?> 189 <?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php 190 if ( in_array( $user->user_login, $super_admins ) )CoreInstaller.php git://github.com/forkcms/forkcms.git | PHP | 209 lines
1<?php 2 127 // number formats 128 $this->setSetting('Core', 'number_format', 'dot_nothing'); 129 $this->setSetting( 130 'Core', 131 'number_formats', 132 [REQUEST_STATUStrait.php git://github.com/iCalcreator/iCalcreator.git | PHP | 185 lines
1<?php 2/** 2/** 3 * iCalcreator, the PHP class package managing iCal (rfc2445/rfc5445) calendar information. 4 * 36 37use function number_format; 38use function filter_var; 174 $input = [ 175 self::STATCODE => number_format((float) $statCode, 2, Util::$DOT, null ), 176 self::STATDESC => StringFactory::trimTrailNL( $text ),AttoDato_stampa_etichette_OLD.php http://antilophpe.googlecode.com/svn/ | PHP | 333 lines
1<?php 2/** 2/** 3 * File NotificaDato.php 4 * 9 */ 10include_once("../config/config.inc.php"); 11include_once("../include/Session/SessionController.class.php"); 11include_once("../include/Session/SessionController.class.php"); 12include_once("../include/Database/DatabaseConnection.class.php"); 13include_once("../include/Database/QueryBuilder.class.php"); 13include_once("../include/Database/QueryBuilder.class.php"); 14include_once("../include/Design/Design.class.php"); 15include_once("../include/Navbar/Navbar.class.php"); 15include_once("../include/Navbar/Navbar.class.php"); 16include_once("../include/Date/Date.class.php"); 17include_once("../include/Object/NotificaDato.class.php");qa-page-favorites.php git://github.com/q2a/question2answer.git | PHP | 156 lines
1<?php 2 8 9 File: qa-include/qa-page-favorites.php 10 Version: See define()s at top of qa-include/qa-base.php 23 24 More about this license: http://www.question2answer.org/license.php 25*/ 31 32 require_once QA_INCLUDE_DIR.'qa-db-selects.php'; 33 require_once QA_INCLUDE_DIR.'qa-app-format.php'; 96 $user['avatarblobid'], $user['avatarwidth'], $user['avatarheight'], qa_opt('avatar_users_size'), true).' '.$usershtml[$user['userid']], 97 'score' => qa_html(number_format($user['points'])), 98 ); 114 'label' => qa_tag_html($tag['word']), 115 'count' => number_format($tag['tagcount']), 116 );print_export.php https://bitbucket.org/bo_hmb/bo_hmb.git | PHP | 157 lines
117 <td style="border:1px solid #000;text-align: center;"><?php echo $nomor ?></td> 118 <td style="border:1px solid #000;<?php echo $warna_jenis; ?>"><?php echo $row->no_pendaftaran ?></td> 119 <td style="border:1px solid #000;"><?php echo $row->nm_lengkap ?></td> 119 <td style="border:1px solid #000;"><?php echo $row->nm_lengkap ?></td> 120 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($row->hrg_paket,0,',','.') ?></td> 121 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($row->potongan_paket,0,',','.') ?></td> 128 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($row->overpayment,0,',','.') ?></td> 129 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($row->total_biaya,0,',','.') ?></td> 130 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($telah_bayar,0,',','.') ?></td> 130 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($telah_bayar,0,',','.') ?></td> 131 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($sisa,0,',','.') ?></td> 132 <td style="border:1px solid #000;"><?php echo $row->nm_marketing ?>/<?php echo $row->no_telp_marketing ?></td> 148 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($footer->overpayment,0,',','.') ?></td> 149 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($footer->total_biaya,0,',','.') ?></td> 150 <td style="border:1px solid #000;"><?php echo 'Rp. '.$t=number_format($footer->telah_bayar,0,',','.') ?></td>method.nav_blocks_player.php https://github.com/txdv/psychostats4.git | PHP | 282 lines
1<?php 2/** 40 'pct2' => $stats['red_wins'] / $stats['wins'] * 100, 41 'title1'=> trans('%s Blu wins', number_format($stats['blue_wins'])), 42 'title2'=> trans('%s Red wins', number_format($stats['red_wins'])), 43 )) : '', 44 number_format($stats['wins'])), 45 ), 52 'pct2' => $stats['red_losses'] / $stats['losses'] * 100, 53 'title1'=> trans('%s Blu losses', number_format($stats['blue_losses'])), 54 'title2'=> trans('%s Red losses', number_format($stats['red_losses'])), 55 )) : '', 56 number_format($stats['losses'])), 57 ), 68 'pct2' => $stats['red_flag_captured'] / $stats['flag_captured'] * 100, 69 'title1'=> trans('%s Blu captures', number_format($stats['blue_flag_captured'])), 70 'title2'=> trans('%s Red captures', number_format($stats['red_flag_captured'])),ldif_import.php https://github.com/azeckoski/az-php-sandbox.git | PHP | 202 lines
1<?php 2// $Header: /cvsroot/phpldapadmin/phpldapadmin/htdocs/ldif_import.php,v 1.33.2.3 2005/12/10 06:55:52 wurley Exp $ 3 10 * 11 * @package phpLDAPadmin 12 */ 15 16require './common.php'; 17 40 41include './header.php'; 42 46 _('Server'),htmlspecialchars($ldapserver->name), 47 _('File'),htmlspecialchars($remote_file),number_format($file_len),_('bytes')); 48echo '<br /><br />';Profiler.php http://php-personal-budget.googlecode.com/svn/trunk/ | PHP | 343 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 132 $val = htmlspecialchars($val, ENT_QUOTES); 133 $time = number_format($this->CI->db->query_times[$key], 4); 134 302 { 303 $output .= "<div style='color:#000;font-weight:normal;padding:4px 0 4px 0'>".number_format($usage).' bytes</div>'; 304 }filter.js https://gitlab.com/kidaa/node-avalon.git | JavaScript | 348 lines
15function numberFormat(number, decimals, point, thousands) { 16 //form http://phpjs.org/functions/number_format/ 17 //number 必需,要格式化的数字 73 camelize: camelize, 74 //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet 75 // <a href="javasc
ript:alert('XSS')">chrome</a>OrderController.php https://bitbucket.org/kholidsudrajat/mini-erp-dev.git | PHP | 264 lines
1<?php 2 41 ->editColumn('total', function ($order){ 42 return str_replace(',','.',number_format($order->total)); 43 }) 44 ->editColumn('pay', function ($order){ 45 return str_replace(',','.',number_format($order->total - $order->pay)); 46 }) 111 $html .= '<td>'.$rep->paym.'</td>'; 112 $html .= '<td>'.str_replace(',','.',number_format($rep->total)).'</td>'; 113 $html .= '<td>'.str_replace(',','.',number_format($rep->total - $rep->pay)).'</td>';edit-comments.php https://github.com/firebelly/Radio-Arte-Wordpress.git | PHP | 383 lines
1<?php 2/** 9/** WordPress Administration Bootstrap */ 10require_once('admin.php'); 11 25 } 26 $redirect_to = 'edit-comments.php?comment_status=spam&deleted=' . (int) $deleted_spam; 27 if ( $post_id ) 61 62 $redirect_to = 'edit-comments.php?deleted=' . $deleted . '&approved=' . $approved . '&spam=' . $spammed . '&unapproved=' . $unapproved; 63 if ( $post_id ) 83 84require_once('admin-header.php'); 85 137$num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments(); 138//, number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"), 139//, number_format_i18n($num_comments->spam) ), "<span class='spam-comment-count'>" . number_format_i18n($num_comments->spam) . "</span>")Db.php https://bitbucket.org/Pozadi/myfin/ | PHP | 253 lines
1<?php 2 132 (self::$_lastResult === false ? Db::lastError() : 'OK') . 133 "\n" . number_format(self::$_lastQueryTime, 10)); 134mdl.cur.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 231 lines
1<?php 2class mdl_cur extends modelFactory { 162 case 0: 163 $money = number_format(trim($money), $this->_money_format['decimals'], '.', ''); 164 break; 174 if($this->_money_format['fonttend_decimal_remain']>$this->_money_format['decimals']){ 175 return $is_sign ? $this->_in_cur['cur_sign'].number_format($money, 176 $this->_money_format['fonttend_decimal_remain'], 177 $this->_money_format['dec_point'], 178 '0') : number_format($money, 179 $this->_money_format['fonttend_decimal_remain'], 182 }else{ 183 return $is_sign ? $this->_in_cur['cur_sign'].number_format($money, 184 $this->_money_format['fonttend_decimal_remain'], 185 $this->_money_format['dec_point'], 186 $this->_money_format['thousands_sep']) : number_format($money, 187 $this->_money_format['fonttend_decimal_remain'],fattura_allegata.php http://gevion.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2/* $Id: fattura_allegata.php,v 1.4 2010/01/01 14:15:18 devincen Exp $ 25 26require("../../library/include/calsca.inc.php"); 27require('template.php'); 99 $this->Cell(14, 5, gaz_format_quantity($rigo['quanti'],1,$this->decimal_quantity),1,0,'R'); 100 $this->Cell(15, 5, number_format($rigo['prelis'],$this->decimal_price,',',''),1,0,'R'); 101 if ($rigo['sconto']>0) { 101 if ($rigo['sconto']>0) { 102 $this->Cell(7, 5, number_format($rigo['sconto'],1,',',''),1,0,'C'); 103 } else {admin.php https://bitbucket.org/ishishmarev/violin.git | PHP | 329 lines
1<?php 2/** 23 $message .= '<p>' . _x( 'Please upgrade WordPress and try again.', 'installation', 'strong-testimonials' ) . '</p>'; 24 $message .= '<p>' . sprintf( _x( 'Back to the WordPress <a href="%s">Plugins page</a>', 'installation', 'strong-testimonials' ), get_admin_url( null, 'plugins.php' ) ) . '</p>'; 25 wp_die( $message ); 45 46 require_once WPMTST_ADMIN . 'class-strong-testimonials-updater.php'; 47 $updater = new Strong_Testimonials_Updater(); 82 wpmtst_delete_admin_notice( 'captcha-options-changed' ); 83 wp_redirect( admin_url( 'edit.php?post_type=wpm-testimonial&page=testimonial-settings&tab=form#captcha-section' ) ); 84 exit; 96 delete_option( 'wpmtst_do_activation_redirect' ); 97 wp_redirect( admin_url( 'edit.php?post_type=wpm-testimonial&page=about-strong-testimonials' ) ); 98 exit; 138 if ( $type == 'post' ) 139 $menu_str = 'edit.php'; 140 elsecart.php https://bitbucket.org/gaditarobinho12/loja-alison.git | PHP | 307 lines
79<?php if($item['qt'] > 1):?> 80 <a href="<?php echo BASE_URL;?>cart/decrement/<?php echo $item['id'];?>/<?php echo $item['size']['id_option'];?>" class="btn-quantity btn-minus"> 81 <span class="glyphicon glyphicon-chevron-down"></span> 83<?php elseif($item['qt'] = 1):?> 84 <a href="<?php echo BASE_URL;?>cart/del/<?php echo $item['id'];?>/<?php echo $item['size']['id_option'];?>" class="btn-quantity btn-minus"> 85 <span class="glyphicon glyphicon-chevron-down"></span> 89 90<a href="<?php echo BASE_URL;?>cart/increment/<?php echo $item['id'];?>/<?php echo $item['size']['id_option'];?>" class="btn-quantity btn-plus"> 91<span class="glyphicon glyphicon-chevron-up"></span> 97 98<a class="remov_prod center" href="#" onclick="javascript: if(confirm('Tem certeza que deseja remover este item do seu carrinho?')){ window.location='<?php echo BASE_URL; ?>cart/del/<?php echo $item['id']; ?>/<?php echo $item['size']['id_option'];?>'; }">Remover</a> 99</td> 184 <td> 185 Valor: <strong><?php echo "R$".$shipping['price']; ?></strong> <span class="label label-info">Entrega em torno de <?php echo $shipping['date']; ?> Dia <?php echo ($shipping['date'] > 1)?'s úteis':'útil'?></span> 186 </td>historypay.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 190 lines
28?> 29<td><a href='#' onClick='javascript:PaymentCommand("CASHVIEW",1,2,"3","<?php echo $getcash[4]; ?>","<?php echo $getcash[6]; ?>",0,"<?php echo $getcash[6]; ?>");'> 30<font color=blue>View Payment Details</font></a></td> 70?> 71 <a href='#' onClick='javascript:PaymentCommand("CHECKSTATUS",1,2,"3", "<?php echo $getcheck[10]; ?>", "<?php echo $getcash[6]; ?>");'> 72 <font color=blue>Change Status</font></a> 78?> 79 <a href='#' onClick="javascript:PaymentCommand('CHECKVIEW',1,2,'3', <?php echo $getcheck[12]; ?>,0,0,'<?php echo $getcheck[13]; ?>')"><font color=blue>View Payment Details</font></a> 80<?php 105<table border =0 align=left class=sub> 106<tr><td></td><td>Total Payments Made:</td><td><font color=red><b>Php <?php echo number_format($totpay,2);?><b></font></td><td></td> 107</table> 149?> 150 <input type=button value=RELEASING onclick="parent.location='index.php?part=4&class_type=Permits&itemID_=3212&owner_id=<?php echo $owner_id; ?>&business_id=<?php echo $business_id; ?>&stat=<?php echo $stat; ?>&com=PrintReport&permit_type=Business&busItem=Business'"> 151<?phpstr.class.php http://adminserv.googlecode.com/svn/trunk/ | PHP | 110 lines
1<?php 2/** 31 if($d[0] != $m){ 32 $m = number_format($m, 1, ',', ' '); 33 }WhyMustacheFilters.md git://github.com/groue/GRMustache.git | Markdown | 205 lines
31 32For instance, a model may hold a dozen named numerical values, that should be rendered in a formatted way. It thus has to be turned into a view model holding a dozen named formatted values, with the necessity of duplicated code. I, as a Mustache implementor, have received many feature requests on this topic. There is more evidence that this is a recurrent issue with Mustache at: [mustache/spec/issues/41](https://github.com/mustache/spec/issues/41) and [bobthecow/mustache.php/pull/102](https://github.com/bobthecow/mustache.php/pull/102). 33 47 48Since the role of filters is to relieve view models from providing "final" values, filters do not conceptually belong to them. They instead belong the template: for instance, a template would provide a filter for rendering uppercase values. Now all the view models are relieved from the burden of computing those. Another template would provide a filter for rendering array indexes. View models would then provide raw arrays, and the template would be able to render item indexes. (For real examples, check [number formatting](../Guides/sample_code/number_formatting.md) and [indexes](../Guides/sample_code/indexes.md) sample code). 49 97 98The only other syntax that I'm aware of is the one of bobthecow's [mustache.php](https://github.com/bobthecow/mustache.php/pull/102), which is not yet merged in the released branch of his library. 99functions.php https://bitbucket.org/hfab/webservice.git | PHP | 281 lines
1<?php 2 3function big_number($value) { 4 return number_format($value, 0, ',',' '); 5}dump_worksheet.py git://github.com/kennethreitz/tablib.git | Python | 257 lines
22# 23# @license: http://www.opensource.org/licenses/mit-license.php 24# @author: Eric Gazoni 60DATETIME_STYLE = Style() 61DATETIME_STYLE.number_format.format_code = NumberFormat.FORMAT_DATE_YYYYMMDD2 62BOUNDING_BOX_PLACEHOLDER = 'A1:%s%d' % (get_column_letter(MAX_COLUMN), MAX_ROW)business_penalty.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 327 lines
1<?php 2//if ($stat != "New") { 295 <td align=left><b>Surcharge</b></td> 296 <td align=right><b><?php echo number_format($buspen,2);?></b></td> 297 </tr> 299 <td align=left><b>Interest</b></td> 300 <td align=right><b><?php echo number_format($busint,2);?></b></td> 301 </tr> 302 </table> 303 <?php 304 }lab_charges_model.php https://bitbucket.org/marttkip/alexandria-main.git | PHP | 446 lines
1<?php 2 434 $report[$row_count][2] = $lab_test_name; 435 $report[$row_count][3] = number_format($lab_test_price, 2); 436 $report[$row_count][4] = number_format($no_done, 0); 436 $report[$row_count][4] = number_format($no_done, 0); 437 $report[$row_count][5] = number_format($revenue, 2); 438 }shistory.php https://github.com/delete66/sikevux-s-tracker.git | PHP | 80 lines
1<?php 2//////////drykilllogics shoutbox ripped to shoutboxhistory by Bigjoos/////////////////////////// 2//////////drykilllogics shoutbox ripped to shoutboxhistory by Bigjoos/////////////////////////// 3require_once("include/bittorrent.php"); 4require_once "include/user_functions.php"; 4require_once "include/user_functions.php"; 5require_once ("include/bbcode_functions.php"); 6dbconn(false); 11// moddifed logginorreturn by retro//Remember to change the following line to match your server 12print("<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 (xxxxx) Server at ".$_SERVER['SERVER_NAME']." Port 80</address></body></html>\n"); 13die(); 17stdhead("Admin Shout History Check"); 18$count1 = number_format(get_row_count("shoutbox")); 19print("<h2 align=center>Full Shout History</h2>"); 25$shoutsperpage = 30; 26list($pagertop, $pagerbottom, $limit) = pager($shoutsperpage, $count, "shistory.php?"); 27print("$pagertop");page--node--6.tpl.php https://bitbucket.org/jaayyy/country-lane-farms.git | PHP | 266 lines
96 <!--<div class="right-col col-md-7"> 97 <h1>Estimated order total: $<span class="order-total"><?php echo number_format($OrderDetails->total, 2, ".", ","); ?></span></h1> 98 <input type="submit" class="button" value="Place Order"/> 187 ?> 188 <p>Estimated Cost Per Item $<?php echo number_format($p->estimatedpriceperitem, 2, ".", ","); ?></p> 189 <?php 194 ?> 195 <p class="red-text">Bulk Price per lb. $<?php echo number_format($p->bulkpricelb, 2, ".", ","); ?></p> 196 <?php 213 ?> 214 <input type="text" value="<?php echo $Quantity; ?>" name="quantity[<?php echo $p->pid; ?>]" bulk-min="<?php echo $p->bulkminquantity; ?>" price-lb="<?php echo $p->pricelb; ?>" price-lb-bulk="<?php echo $p->bulkpricelb; ?>" unit-cost-bulk="<?php echo $p->estimatedbulkpriceperitem; ?>" unit-cost="<?php echo number_format($p->estimatedpriceperitem, 2, ".", ","); ?>" pid="<?php echo $p->pid; ?>" class="quantity-input" <?php echo $ProductAvailable["Disable"]; ?>/> 215 <input type="hidden" value="<?php echo $p->estimatedpriceperitem; ?>" name="cost[<?php echo $p->pid; ?>]" id="cost-<?php echo $p->pid; ?>" /> 215 <input type="hidden" value="<?php echo $p->estimatedpriceperitem; ?>" name="cost[<?php echo $p->pid; ?>]" id="cost-<?php echo $p->pid; ?>" /> 216 <input type="hidden" value="<?php echo $p->pricelb; ?>" name="lb[<?php echo $p->pid; ?>]" id="lb-<?php echo $p->pid; ?>" /> 217 <input type="hidden" value="regular" name="pricemodel[<?php echo $p->pid; ?>]" id="pricemodel-<?php echo $p->pid; ?>" />class-walker-category.php git://github.com/wordpress/wordpress.git | PHP | 268 lines
1<?php 2/** 98 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { 99 /** This filter is documented in wp-includes/category-template.php */ 100 $cat_name = apply_filters( 'list_cats', esc_attr( $category->name ), $category ); 186 if ( ! empty( $args['show_count'] ) ) { 187 $link .= ' (' . number_format_i18n( $category->count ) . ')'; 188 }main.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 195 lines
29 <ul class="inf" style="margin-bottom:10px;"> 30 <li class="none-separator"><?php echo Kohana::lang('ui_main.view');?>:<a href="<?php print url::site() ?>admin/dashboard/?range=1"><?php echo Kohana::lang('ui_main.today');?></a></li> 31 <li><a href="<?php print url::site() ?>admin/dashboard/?range=31"><?php echo Kohana::lang('ui_main.past_month');?></a></li> 116 </ul> 117 <h4><strong><?php echo $incident_date; ?></strong><a href="<?php echo url::site() . 'admin/reports/edit/' . $incident_id; ?>"><?php echo $incident_title; ?></a></h4> 118 <p><?php echo $incident_description; ?></p> 134 <ul> 135 <li><a href="<?php echo url::site() . 'admin/reports?status=a' ?>"><?php echo Kohana::lang('ui_main.not_approved');?></a><strong>(<?php echo $reports_unapproved; ?>)</strong></li> 136 148 <a href="<?php echo url::site() . 'admin/manage/feeds' ?>" class="media"><?php echo Kohana::lang('ui_main.news_feeds');?></a> 149 <strong><?php echo number_format($incoming_media); ?></strong> 150 </li> 190 ?> 191 <a href="<?php echo url::site() . 'admin/manage/feeds' ?>" class="view-all"><?php echo Kohana::lang('ui_main.view_all');?> <?php echo Kohana::lang('ui_main.incoming_media');?></a> 192 </div>edit.tpl http://simpleinvoices.googlecode.com/svn/trunk/ | Smarty Template | 91 lines
1{if $saved == 'true' } 2 <meta http-equiv="refresh" content="2;URL=index.php?module=inventory&view=manage" /> 3 <br /> 8{if $saved == 'false' } 9 <meta http-equiv="refresh" content="2;URL=index.php?module=inventory&view=manage" /> 10 <br /> 26 27<form name="frmpost" action="index.php?module=inventory&view=edit&id={$inventory.id|urlencode}" method="POST" id="frmpost"> 28<br /> 52 <td> 53 <input name="quantity" size="10" class="validate[required]" value='{$inventory.quantity|siLocal_number_formatted}'> 54 </td> 58 <td> 59 <input id="cost" name="cost" size="10" class="validate[required]" value='{$inventory.cost|siLocal_number_formatted}'> 60 </td>voucher_order_pdfs.php https://bitbucket.org/Digitalsoftspvt/sttoka.git | PHP | 265 lines
149 <td class="subtotalend bold-td text-right" colspan="2">Subtotal:</td> 150 <td class="subtotalend bold-td text-right"><?php number_format($netQty,2);?></td> 151 <td class="subtotalend bold-td text-right"><?php echo number_format($netWeight,2);?></td> 184 <td class="subtotalend bold-td text-right" colspan="2">Subtotal:</td> 185 <td class="subtotalend bold-td text-right"><?php number_format($netQty,2);?></td> 186 <td class="subtotalend bold-td text-right"><?php echo number_format($netWeight,2);?></td> 193 <td class="subtotal bold-td text-right discount-td " colspan="5">Discount:</td> 194 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['discp']),2) . '% ';?></td> 195 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['discount']),2);?></td> 207 <td class="subtotal bold-td text-right discount-td " colspan="5">Tax:</td> 208 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['taxpercent']),2) . '% ';?></td> 209 <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['tax']),2);?></td> 231 <p><span class="field1">This Invoice:</span><span class="fieldvalue inv-date"><?php echo number_format($vrdetail[0]['namount'],0);?></span></p> 232 <p><span class="field1">Current Balance:</span><span class="fieldvalue cust-name"><?php echo number_format($vrdetail[0]['namount']+$previousBalance,2) ;?></span></p> 233 <?php };?>FinanceiroController.php https://bitbucket.org/joaoignan/lojaslogfitness.git | PHP | 293 lines
1<?php 2namespace App\Controller\Admin; 82 83 $custo = number_format($custo, 2); 84 165 166 $custo = number_format($custo, 2); 167 253 254 $valor_saque = number_format($valor_saque, 2, '.', ','); 255