PageRenderTime 308ms queryTime 53ms sortTime 10ms getByIdsTime 120ms findMatchingLines 63ms

100+ results results for 'php number_format' (308 ms)

Not the results you expected?
class-wp-media-list-table.php https://github.com/vidor/vidor.me.git | PHP | 396 lines
                    
66			if ( !empty( $num_posts[$mime_type] ) )
                    
67				$type_links[$mime_type] = "<a href='upload.php?post_mime_type=$mime_type'$class>" . sprintf( translate_nooped_plural( $label[2], $num_posts[$mime_type] ), number_format_i18n( $num_posts[$mime_type] )) . '</a>';
                    
68		}
                    
68		}
                    
69		$type_links['detached'] = '<a href="upload.php?detached=1"' . ( $this->detached ? ' class="current"' : '' ) . '>' . sprintf( _nx( 'Unattached <span class="count">(%s)</span>', 'Unattached <span class="count">(%s)</span>', $total_orphans, 'detached files' ), number_format_i18n( $total_orphans ) ) . '</a>';
                    
70
                    
71		if ( !empty($_num_posts['trash']) )
                    
72			$type_links['trash'] = '<a href="upload.php?status=trash"' . ( (isset($_GET['status']) && $_GET['status'] == 'trash' ) ? ' class="current"' : '') . '>' . sprintf( _nx( 'Trash <span class="count">(%s)</span>', 'Trash <span class="count">(%s)</span>', $_num_posts['trash'], 'uploaded files' ), number_format_i18n( $_num_posts['trash'] ) ) . '</a>';
                    
73
                    
174?>
                    
175	<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
                    
176<?php
                    
253?>
                    
254		<td <?php echo $attributes ?>><?php
                    
255		$tags = get_the_tags();
                    
                
about.php https://gitlab.com/ReneMC/Custom-wordpress-theme | PHP | 228 lines
                    
35		<h2 class="nav-tab-wrapper wp-clearfix">
                    
36			<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
                    
37			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
37			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
38			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
                    
39		</h2>
                    
80				<p><?php _e( 'Make sure your site looks great on all screens!' ); ?>
                    
81					<?php
                    
82					if ( current_user_can( 'customize' ) ) {
                    
184				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
185					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
186						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
188				<?php endif; ?>
                    
189				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
190			</div>
                    
                
Cost_Utils.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 481 lines
                    
1<?php
                    
2/**
                    
346				// Creates a Well Balanced Index that will perform good on a Key Sorting method
                    
347				$index = str_replace( array( '.', ',' ), '', number_format( $numeric_cost, $max ) );
                    
348			} else {
                    
                
BaseHisconc.php https://github.com/cidesa/siga-universitario.git | PHP | 526 lines
                    
1<?php
                    
2
                    
83
                    
84    if($val) return number_format($this->moncom,2,',','.');
                    
85    else return $this->moncom;
                    
347	
                    
348	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
                    
349	{
                    
384	
                    
385	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
                    
386	{
                    
400	
                    
401	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
                    
402	{
                    
434	
                    
435	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
                    
436	{
                    
                
about.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 190 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once( dirname( __FILE__ ) . '/admin.php' );
                    
11
                    
75		<h3><?php _e( 'An easier way to share content' ); ?></h3>
                    
76		<p><?php printf( __( 'Clip it, edit it, publish it. Get familiar with the new and improved Press This. From the <a href="%s">Tools</a> menu, add Press This to your browser bookmark bar or your mobile device home screen. Once installed you can share your content with lightning speed. Sharing your favorite videos, images, and content has never been this fast or this easy.' ), admin_url( 'tools.php' ) ); ?></p>
                    
77		<p><?php _e( 'Drag the bookmarklet below to your bookmarks bar. Then, when you&#8217;re on a page you want to share, simply &#8220;press&#8221; it.' ); ?></p>
                    
79		<p class="pressthis-bookmarklet-demo">
                    
80			<a class="pressthis-bookmarklet" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ); ?></span></a>
                    
81		</p>
                    
152		<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
153		<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
                    
154			is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
                    
156		<?php endif; ?>
                    
157		<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
                    
158			is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
                
admin-header.php https://gitlab.com/campus-academy/krowkaramel | PHP | 315 lines
                    
29
                    
30// Catch plugins that include admin-header.php before admin.php completes.
                    
31if ( empty( $current_screen ) ) {
                    
100addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(function(){func();});else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
                    
101var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
                    
102	pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
                    
105	thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
                    
106	decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
                    
107	isRtl = <?php echo (int) is_rtl(); ?>;
                    
215if ( $error_get_last && WP_DEBUG && WP_DEBUG_DISPLAY && ini_get( 'display_errors' )
                    
216	// Don't print the class for PHP notices in wp-config.php, as they happen before WP_DEBUG takes effect,
                    
217	// and should not be displayed with the `error_reporting` level previously set in wp-load.php.
                    
257<div id="wpwrap">
                    
258<?php require ABSPATH . 'wp-admin/menu-header.php'; ?>
                    
259<div id="wpcontent">
                    
                
neraca.php https://gitlab.com/zetrosoft/pos-accounting | PHP | 295 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
65				$field=str_replace('. ','_',rdb("jenis_simpanan",'Jenis','Jenis',"where ID='".$i."'"));
                    
66				echo td(number_format($row->$field,2),'right');
                    
67				$saldo=($saldo+$row->$field);
                    
69			
                    
70			echo td(number_format($saldo,2),'right')._tr();	
                    
71		}
                    
102					  td(rdb('mst_anggota','Nama','Nama',"where ID='".$r->ID_Agt."'")." - ".$simp,"left' nowrap").
                    
103					  td(number_format($saldoawal),'right').
                    
104					  td(number_format($r->Debet,2),'right').
                    
104					  td(number_format($r->Debet,2),'right').
                    
105					  td(number_format($r->Kredit,2),'right').
                    
106					  td(number_format($saldoawal+$saldo,2),'right');
                    
                
edit-comments.php https://gitlab.com/WPonEB/WPonEB | PHP | 334 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once( dirname( __FILE__ ) . '/admin.php' );
                    
11if ( ! current_user_can( 'edit_posts' ) ) {
                    
141		$title = sprintf( __( 'Comments (%1$s) on &#8220;%2$s&#8221;' ),
                    
142			number_format_i18n( $comments_count->moderated ),
                    
143			$draft_or_post_title
                    
155		$title = sprintf( __( 'Comments (%s)' ),
                    
156			number_format_i18n( $comments_count->moderated )
                    
157		);
                    
196
                    
197require_once( ABSPATH . 'wp-admin/admin-header.php' );
                    
198?>
                    
200<div class="wrap">
                    
201<h1 class="wp-heading-inline"><?php
                    
202if ( $post_id ) {
                    
                
ContratoController.php https://gitlab.com/SFMSP/Hagape | PHP | 315 lines
                    
1<?php
                    
2
                    
77                    $empenhos[$key]['hiddenValorEmpenho'] = $dados['valorEmpenhos'][$key];
                    
78                    $empenhos[$key]['valorEmpenho'] = number_format($dados['valorEmpenhos'][$key], 2, ',', '.');
                    
79                    $empenhos[$key]['observacao'] = $dados['observacoes'][$key];
                    
136                    'id' => 'hiddenValorTotalEmpenhado',
                    
137                    'value' => number_format($valorTotalEmpenhos, 2, '.', ',')
                    
138                ]);
                    
141                $dados = $dados->toArray();
                    
142                $dados['valor'] = number_format($dados['valor'], 2, ',', '.');
                    
143                $dados['hiddenValorDisponivel'] = $dados['valor'] - $valorTotalEmpenhos;
                    
296            $valor[] = "<div class='text-center'>" . $registro['numProcessoLicitatorio'] . "</div>";
                    
297            $valor[] = "<div class='text-right'>R$: " . number_format($registro['disponivel'], 2, ',', '.') . "</div>";
                    
298            $valor[] = "<div class='text-right'>R$: " . number_format($registro['valor'], 2, ',', '.') . "</div>";
                    
                
about.php https://gitlab.com/relacilia/cakra | PHP | 243 lines
                    
45		<h2 class="nav-tab-wrapper">
                    
46			<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
                    
47			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
47			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
48			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
                    
49		</h2>
                    
101				<h3><?php _e( 'Responsive images' ); ?></h3>
                    
102				<p><?php _e( 'WordPress now takes a smarter approach to displaying appropriate image sizes on any device, ensuring a perfect fit every time. You don&#8217;t need to do anything to your theme, it just works.' ); ?></p>
                    
103			</div>
                    
199				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
200					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
201						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
203				<?php endif; ?>
                    
204				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
205			</div>
                    
                
home.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 133 lines
                    
21                 </div>
                    
22                 <?php if ($bonus > 0 && $bonus != null) { ?>
                    
23                     <div class="col-xl-3 col-lg-6 col-md-6 col-12">
                    
39                     </div>
                    
40                 <?php } ?>
                    
41                 <div class="col-xl col-lg col-md col-12">
                    
50                                         <h5 class="text-muted text-bold-500">Balance</h5>
                    
51                                         <h3 class="text-bold-600"><?= $curreny . ' ' . number_format($balance, 2) ?></h3>
                    
52                                     </div>
                    
                
class-wp-locale.php https://gitlab.com/campus-academy/krowkaramel | PHP | 369 lines
                    
196		// Numbers formatting.
                    
197		// See https://www.php.net/number_format
                    
198
                    
198
                    
199		/* translators: $thousands_sep argument for https://www.php.net/number_format, default is ',' */
                    
200		$thousands_sep = __( 'number_format_thousands_sep' );
                    
204
                    
205		$this->number_format['thousands_sep'] = ( 'number_format_thousands_sep' === $thousands_sep ) ? ',' : $thousands_sep;
                    
206
                    
209
                    
210		$this->number_format['decimal_point'] = ( 'number_format_decimal_point' === $decimal_point ) ? '.' : $decimal_point;
                    
211
                    
365		__( 'g:i a' );
                    
366		/* translators: Localized date and time format, see https://www.php.net/manual/datetime.format.php */
                    
367		__( 'F j, Y g:i a' );
                    
                
php.js https://gitlab.com/alidz1982/cdnjs | JavaScript | 132 lines
                    
23    atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"),
                    
24    builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"),
                    
25    multiLineStrings: true,
                    
54    var htmlMode = CodeMirror.getMode(config, "text/html");
                    
55    var phpMode = CodeMirror.getMode(config, phpConfig);
                    
56
                    
82        return style;
                    
83      } else if (isPHP && state.php.tokenize == null && stream.match("?>")) {
                    
84        state.curMode = htmlMode;
                    
103        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
                    
104            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
                    
105        if (state.curMode == htmlMode) cur = htmlNew;
                    
130  CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true});
                    
131  CodeMirror.defineMIME("text/x-php", phpConfig);
                    
132})();
                    
                
simpanan.php https://gitlab.com/zetrosoft/pos-accounting | PHP | 300 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2//class name	: Simpanan
                    
125					  ($ID_Simpanan!='3')?$enabl='':$enabl="disabled='disabled'";
                    
126					  echo ($ID_Simpanan!='3')?number_format($jumlah,2):
                    
127					  		"<input type='text' id='t-".$r->ID."' class='angka' value='$simp_khusus' onkeyup=\"simkh('".$r->ID."');\" onmouseout=\"lostfocus('".$r->ID."');\">";
                    
215					<td class='kotak' colspan='2'><b>$n.&nbsp;&nbsp;".$r->keterangan." ".nBulan($r->ID_Bulan)."-".$r->Tahun."</b></td>
                    
216					<td class='kotak'  align='right'><b>".number_format($r->pinjaman,2)."</b></td>
                    
217					<td class='kotak' colspan='2'>";
                    
229						<td class='kotak' width='30%'>Angsuran Ke $x</td>
                    
230						<td class='kotak' width='15%' align='right'>".number_format($d->Kredit,2)."<input type='hidden' class='w70 angka' value='".$d->Kredit."'></td>
                    
231						<td class='kotak' width='15%' align='right'>".number_format($saldo,2)."</td>
                    
233						</tr>";
                    
234						($d->Kredit==0)?$stat=number_format($d->Kredit,2) : $stat='';
                    
235					}
                    
241						<td class='kotak' width='30%'>Angsuran Ke ".($i)."</td>
                    
242						<td class='kotak' width='15%' align='right'>".number_format($cil,2)."</td>
                    
243						<td class='kotak' width='15%' align='right'>&nbsp;</td>
                    
                
class-wp-ms-users-list-table.php https://github.com/mhoofman/wordpress-heroku.git | PHP | 307 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
                    
165			<tr class="<?php echo $alt; ?>">
                    
166			<?php
                    
167
                    
181						<th scope="row" class="check-column">
                    
182							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
183							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
192						echo "<td $attributes>"; ?>
                    
193							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
194							if ( in_array( $user->user_login, $super_admins ) )
                    
                
class-wp-privacy-requests-table.php https://gitlab.com/campus-academy/krowkaramel | PHP | 563 lines
                    
1<?php
                    
2/**
                    
64
                    
65		return admin_url( $pagenow . '.php' );
                    
66	}
                    
164			),
                    
165			number_format_i18n( $total_requests )
                    
166		);
                    
189				translate_nooped_plural( $post_status->label_count, $total_status_requests ),
                    
190				number_format_i18n( $total_status_requests )
                    
191			);
                    
                
delete.php https://github.com/gazelle-i18n/gazelle.git | PHP | 281 lines
                    
59<?
                    
60	require(SERVER_ROOT.'/sections/reportsv2/array.php');
                    
61	require(SERVER_ROOT.'/classes/class_text.php');
                    
116		$RawName = $GroupName.($Year ? " ($Year)" : "")." [$Format/$Encoding/$Media]".($Remastered ? " <$RemasterTitle - $RemasterYear>" : "").($HasLog ? " ($LogScore %)" : "")." (".number_format($Size/(1024*1024), 2)." MB)";
                    
117		$LinkName = "<a href='torrents.php?id=$GroupID'>$GroupName".($Year ? " ($Year)" : "")."</a> <a href='torrents.php?torrentid=$TorrentID'> [$Format/$Encoding/$Media]".($Remastered ? " &lt;$RemasterTitle - $RemasterYear&gt;" : "")."</a> ".($HasLog ? " <a href='torrents.php?action=viewlog&amp;torrentid=$TorrentID&amp;groupid=$GroupID'>(Log: $LogScore %)</a>" : "")." (".number_format($Size/(1024*1024), 2)." MB)";
                    
118		$BBName = "[url=torrents.php?id=$GroupID]$GroupName".($Year ? " ($Year)" : "")."[/url] [url=torrents.php?torrentid=$TorrentID][$Format/$Encoding/$Media]".($Remastered ? " <$RemasterTitle - $RemasterYear>" : "")."[/url] ".($HasLog ? " [url=torrents.php?action=viewlog&amp;torrentid=$TorrentID&amp;groupid=$GroupID'](Log: $LogScore %)[/url]" : "")." (".number_format($Size/(1024*1024), 2)." MB)";
                    
121		$LinkName = "Various Artists - <a href='torrents.php?id=$GroupID'>$GroupName".($Year ? " ($Year)" : "")."</a> <a href='torrents.php?torrentid=$TorrentID'> [$Format/$Encoding/$Media]".($Remastered ? " &lt;$RemasterTitle - $RemasterYear&gt;" : "")."</a> ".($HasLog ? " <a href='torrents.php?action=viewlog&amp;torrentid=$TorrentID&amp;groupid=$GroupID'>(Log: $LogScore %)</a>" : "")." (".number_format($Size/(1024*1024), 2)." MB)";
                    
122		$BBName = "Various Artists - [url=torrents.php?id=$GroupID]$GroupName".($Year ? " ($Year)" : "")."[/url] [url=torrents.php?torrentid=$TorrentID][$Format/$Encoding/$Media]".($Remastered ? " <$RemasterTitle - $RemasterYear>" : "")."[/url] ".($HasLog ? " [url=torrents.php?action=viewlog&amp;torrentid=$TorrentID&amp;groupid=$GroupID'](Log: $LogScore %)[/url]" : "")." (".number_format($Size/(1024*1024), 2)." MB)";
                    
123	} else {
                    
124		$RawName = "$ArtistName - $GroupName".($Year ? " ($Year)" : "")." [$Format/$Encoding/$Media]".($Remastered ? " <$RemasterTitle - $RemasterYear>" : "").($HasLog ? " ($LogScore %)" : "")." (".number_format($Size/(1024*1024), 2)." MB)";
                    
125		$LinkName = "<a href='artist.php?id=$ArtistID'>$ArtistName</a> - <a href='torrents.php?id=$GroupID'>$GroupName".($Year ? " ($Year)" : "")."</a> <a href='torrents.php?torrentid=$TorrentID'> [$Format/$Encoding/$Media]".($Remastered ? " &lt;$RemasterTitle - $RemasterYear&gt;" : "")."</a> ".($HasLog ? " <a href='torrents.php?action=viewlog&amp;torrentid=$TorrentID&amp;groupid=$GroupID'>(Log: $LogScore %)</a>" : "")." (".number_format($Size/(1024*1024), 2)." MB)";
                    
126		$BBName = "[url=artist.php?id=$ArtistID]".$ArtistName."[/url] - [url=torrents.php?id=$GroupID]$GroupName".($Year ? " ($Year)" : "")."[/url] [url=torrents.php?torrentid=$TorrentID][$Format/$Encoding/$Media]".($Remastered ? " <$RemasterTitle - $RemasterYear>" : "")."[/url] ".($HasLog ? " [url=torrents.php?action=viewlog&amp;torrentid=$TorrentID&amp;groupid=$GroupID'](Log: $LogScore %)[/url]" : "")." (".number_format($Size/(1024*1024), 2)." MB)";
                    
199							<div style="text-align: right;">
                    
200								<a href="user.php?id=<?=$FillerID?>"><?=$FillerName?></a> used a torrent from this group to fill <a href="requests.php?action=viewrequest&amp;id=<?=$RequestID?>">this request</a> <?=time_diff($FilledTime)?>
                    
201							</div>
                    
                
bp-friends-template.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 434 lines
                    
68	<div class="info-group">
                    
69		<h4><?php bp_word_or_name( __( "My Friends", 'buddypress' ), __( "%s's Friends", 'buddypress' ) ) ?>  (<?php echo BP_Friends_Friendship::total_friend_count( bp_displayed_user_id() ) ?>) <span><a href="<?php echo trailingslashit( bp_displayed_user_domain() . bp_get_friends_slug() ) ?>"><?php _e('See All', 'buddypress') ?></a></span></h4>
                    
70
                    
77				<li>
                    
78					<a href="<?php echo bp_core_get_user_domain( $friend_ids[$i] ) ?>"><?php echo bp_core_fetch_avatar( array( 'item_id' => $friend_ids[$i], 'type' => 'thumb' ) ) ?></a>
                    
79					<h5><?php echo bp_core_get_userlink($friend_ids[$i]) ?></h5>
                    
124			<li>
                    
125				<a href="<?php echo bp_core_get_user_domain( $user_ids['users'][$i]->id ) ?>"><?php echo bp_core_fetch_avatar( array( 'item_id' => $user_ids['users'][$i]->id, 'type' => 'thumb' ) ) ?></a>
                    
126				<h5><?php echo bp_core_get_userlink( $user_ids['users'][$i]->id ) ?></h5>
                    
129
                    
130					<?php $random_data = xprofile_get_random_profile_data( $user_ids['users'][$i]->id, true ); ?>
                    
131
                    
173			<label for="friend-search-box" id="friend-search-label"><?php echo $label ?></label>
                    
174			<input type="search" name="friend-search-box" id="friend-search-box" value="<?php echo $value ?>"<?php echo $disabled ?> />
                    
175
                    
                
Product.php https://gitlab.com/mvcarvalho/plataforma-e-commerce | PHP | 235 lines
                    
17                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-3" style="padding: 1px;">
                    
18                        <a href="<?php echo(PRODUCTS_IMAGES_URL . $this->pageItems['product']->image);?>"><img class="img-responsive thumbs" src="<?php echo(PRODUCTS_IMAGES_URL . $this->pageItems['product']->image);?>" /></a>
                    
19                    </div>
                    
54                                        <div class="input-group" style="width: 100%">
                    
55                                            <label for="select-<?php echo($attribute->id);?>"><?php echo($attribute->name);?></label>
                    
56                                            <select name="select-<?php echo($attribute->id);?>" class="form-control select" style="border-radius: 0">
                    
112                            <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="0;">
                    
113                                <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo($productLink);?>" onclick="share(this); return false;" target="_blank" title="<?php echo($shareName);?>">
                    
114                                    <img src="<?php echo(SITE_URL . 'Images' . DS . 'facebook.png');?>" class="img-responsive" style="display: inline-block; padding: 3px;">
                    
115                                </a>
                    
116                                <a href="https://twitter.com/home?status=<?php echo($productLink);?>" onclick="share(this); return false;" target="_blank" title="<?php echo($shareName);?>">
                    
117                                    <img src="<?php echo(SITE_URL . 'Images' . DS . 'twitter.png');?>" class="img-responsive" style="display: inline-block; padding: 3px;">
                    
118                                </a>
                    
119                                <a href="https://plus.google.com/share?url=<?php echo($productLink);?>" onclick="share(this); return false;" target="_blank" title="<?php echo($shareName);?>">
                    
120                                    <img src="<?php echo(SITE_URL . 'Images' . DS . 'google-plus.png');?>" class="img-responsive" style="display: inline-block; padding: 3px;">
                    
                
admin-header.php https://github.com/mhoofman/wordpress-heroku.git | PHP | 250 lines
                    
16
                    
17// Catch plugins that include admin-header.php before admin.php completes.
                    
18if ( empty( $current_screen ) )
                    
49?>
                    
50<title><?php echo $admin_title; ?></title>
                    
51<?php
                    
61addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
                    
62var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
                    
63	pagenow = '<?php echo $current_screen->id; ?>',
                    
66	thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
                    
67	decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
                    
68	isRtl = <?php echo (int) is_rtl(); ?>;
                    
193<a tabindex="1" href="#wpbody-content" class="screen-reader-shortcut"><?php _e('Skip to main content'); ?></a>
                    
194<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
                    
195<div id="wpcontent">
                    
                
Controller.php https://gitlab.com/campus-academy/krowkaramel | PHP | 327 lines
                    
1<?php
                    
2/**
                    
320			'rate'         => $item['tax_rate'],
                    
321			'total_tax'    => self::csv_number_format( $item['total_tax'] ),
                    
322			'order_tax'    => self::csv_number_format( $item['order_tax'] ),
                    
322			'order_tax'    => self::csv_number_format( $item['order_tax'] ),
                    
323			'shipping_tax' => self::csv_number_format( $item['shipping_tax'] ),
                    
324			'orders_count' => $item['orders_count'],
                    
                
NumericField.php https://gitlab.com/reasonat/test8 | PHP | 181 lines
                    
1<?php
                    
2
                    
152    if (!empty($this->options['set_precision'])) {
                    
153      $value = number_format($value, $this->options['precision'], $this->options['decimal'], $this->options['separator']);
                    
154    }
                    
157      $value = $value > 0 ? floor($value) : ceil($value);
                    
158      $value = number_format($value, 0, '', $this->options['separator']);
                    
159      if ($remainder) {
                    
                
MassImportStep1.tpl https://bitbucket.org/jstechnologies/cats.git | Smarty Template | 173 lines
                    
4<div id="uploadQueue" style="background-color: #f0f0f0; color: #800000; border: 1px solid #800000; text-align: center; font-size: 14px; padding: 10px; margin: 0 0 15px 0; font-weight: bold;">
                    
5You have <?php echo number_format(count($this->documents), 0); ?> document<?php echo count($this->documents) != 1 ? 's' : ''; ?> in your upload queue.
                    
6<br /><br />
                    
7<input type="button" value="Delete File<?php echo count($this->documents) != 1 ? 's' : ''; ?>" onclick="deleteUploadFiles();" class="button" />
                    
8<input type="button" class="button" value="Import File<?php echo count($this->documents) != 1 ? 's' : ''; ?>" onclick="document.location.href='<?php echo CATSUtility::getIndexName(); ?>?m=import&a=massImport&step=2';" />
                    
9</div>
                    
42            		The same parameters values should be set for EMBED object below. -->
                    
43               	    <param name="FlashVars" VALUE="uploadUrl=<?php echo(CATSUtility::getNonSSLDirectoryURL()); ?>modules/asp/lib/MultiPowUpload/upload.php?session_id=<?php echo(session_id()); ?>&amp;showLink=false&amp;labelUploadText=%20&amp;backgroundColor=#FFFFFF">
                    
44                   	<param name="BGColor" VALUE="#FFFFFF">
                    
67                	<embed bgcolor="#FFFFFF" id="EmbedFlashFilesUpload" src="<?php echo(CATSUtility::getNonSSLDirectoryURL()); ?>modules/asp/lib/MultiPowUpload/ElementITMultiPowUpload1.7.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="450" height="350"
                    
68                    flashvars="uploadUrl=<?php echo(CATSUtility::getNonSSLDirectoryURL()); ?>modules/asp/lib/MultiPowUpload/upload.php?session_id=<?php echo(session_id()); ?>&amp;showLink=false&amp;labelUploadText=%20&amp;backgroundColor=#FFFFFF">
                    
69                	</embed>
                    
89        <br /><br />
                    
90        Once you have resumes in this folder, <a href="<?php echo CATSUtility::getIndexName(); ?>?m=import&a=importSelectType&typeOfImport=resume">
                    
91        reload</a> this page to start the import process.
                    
                
Profiler.php https://bitbucket.org/d1rk/lithium.git | PHP | 246 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Lithium: the most rad php framework
                    
4 *
                    
5 * @copyright     Copyright 2012, Union of RAD (http://union-of-rad.org)
                    
6 * @license       http://opensource.org/licenses/bsd-license.php The BSD License
                    
7 */
                    
66		static::$_formatters = array(
                    
67			'seconds' => function($value) { return number_format($value, 4) . 's'; },
                    
68			'bytes' => function($value) { return number_format($value / 1024, 3) . 'k'; }
                    
                
bookmarks.php https://github.com/cybernet/CyBerFuN-CoDeX.git | PHP | 259 lines
                    
9    // moddifed logginorreturn by retro//Remember to change the following line to match your server
                    
10    print("<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 ".$SITENAME." Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n");
                    
11    die();
                    
41<td class="colhead" align=left>Name</td>
                    
42<?php
                    
43    echo ($variant == 'index' ? '<td class=colhead align=center>Delete</td><td class=colhead align="right">' : '') . 'Download</td><td class=colhead align="right">Share</td>';
                    
116                $color = dechex(floor(127 * ($wait - $elapsed) / 48 + 128) * 65536);
                    
117                print("<td align=center><nobr><a href=\"faq.php#dl8\"><font color=\"$color\">" . number_format($wait - $elapsed) . " h</font></a></nobr></td>\n");
                    
118            } else
                    
123if ($row["nfoav"] && get_user_class() >= UC_POWER_USER)
                    
124print("<a href=viewnfo.php?id=$row[id]><img src=\"{$pic_base_url}viewnfo.gif" border=0 alt='View NFO'></a>\n");
                    
125
                    
126else */if ($variant == "mytorrents")
                    
127            print("<td align=\"center\"><a href=\"edit.php?returnto=" . urlencode($_SERVER["REQUEST_URI"]) . "&amp;id=" . $row["id"] . "\">edit</a>\n");
                    
128        print("</td>\n");
                    
                
class-wpseo-option-xml.php https://gitlab.com/iamgraeme/royalmile | PHP | 259 lines
                    
1<?php
                    
2/**
                    
156									__( '"Max entries per sitemap page" should be below %s to meet Google\'s requirements, which %s is not.', 'wordpress-seo' ),
                    
157									number_format_i18n( 50000 ), '<strong>' . esc_html( sanitize_text_field( $dirty[ $key ] ) ) . '</strong>'
                    
158								);
                    
                
menu.php https://gitlab.com/webkod3r/tripolis | PHP | 282 lines
                    
24
                    
25$submenu[ 'index.php' ][0] = array( __('Home'), 'read', 'index.php' );
                    
26
                    
40		$cap = 'update_themes';
                    
41	$submenu[ 'index.php' ][10] = array( sprintf( __('Updates %s'), "<span class='update-plugins count-{$update_data['counts']['total']}' title='{$update_data['title']}'><span class='update-count'>" . number_format_i18n($update_data['counts']['total']) . "</span></span>" ), $cap, 'update-core.php');
                    
42	unset( $cap );
                    
219if ( current_user_can('list_users') ) {
                    
220	$_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php.
                    
221	$submenu['users.php'][5] = array(__('All Users'), 'list_users', 'users.php');
                    
240	$submenu['tools.php'][5] = array( __('Available Tools'), 'edit_posts', 'tools.php' );
                    
241	$submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' );
                    
242	$submenu['tools.php'][15] = array( __('Export'), 'export', 'export.php' );
                    
265$_wp_real_parent_file['wpmu-admin.php'] = 'tools.php';
                    
266$_wp_real_parent_file['ms-admin.php'] = 'tools.php';
                    
267
                    
                
sale_note_ticket.blade.php https://gitlab.com/laher01/factu40 | PHP | 297 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
9
                    
10@endphp
                    
11<html>
                    
140                @else
                    
141                    {{ number_format($row->quantity, 0) }}
                    
142                @endif
                    
164            </td>
                    
165            {{-- <td class="text-right desc-9 align-top">{{ number_format($row->unit_price, 2) }}</td> --}}
                    
166            <td class="text-right desc-9 align-top">{{ number_format($row->total, 2) }}</td>
                    
174                <td colspan="2" class="text-right font-bold desc">OP. EXPORTACIÓN: {{ $document->currency_type->symbol }}</td>
                    
175                <td class="text-right font-bold desc">{{ number_format($document->total_exportation, 2) }}</td>
                    
176            </tr>
                    
180                <td colspan="2" class="text-right font-bold desc">OP. GRATUITAS: {{ $document->currency_type->symbol }}</td>
                    
181                <td class="text-right font-bold desc">{{ number_format($document->total_free, 2) }}</td>
                    
182            </tr>
                    
                
quickstats.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 142 lines
                    
13									<th colspan="2" id="th-colspan">
                    
14										<span><a href="admin.php?page=<?php echo WP_STATISTICS_ONLINE_PAGE; ?>"><?php echo wp_statistics_useronline(); ?></a></span> 
                    
15									</th>
                    
40									<th><?php _e('Last 7 Days (Week)', 'wp_statistics'); ?>:</th>
                    
41									<th class="th-center"><?php if( $WP_Statistics->get_option('visitors') ) { echo '<a href="admin.php?page=wps_visitors_menu&hitdays=7"><span>' . number_format_i18n(wp_statistics_visitor('week',null,true)) . '</span></a>'; } else { echo ''; }?></th>
                    
42									<th class="th-center"><?php if( $WP_Statistics->get_option('visits') ) { echo '<a href="admin.php?page=' . WP_STATISTICS_HITS_PAGE .'&hitdays=7"><span>' .  number_format_i18n(wp_statistics_visit('week')) . '</span></a>'; } else { echo ''; }?></th>
                    
52									<th><?php _e('Last 365 Days (Year)', 'wp_statistics'); ?>:</th>
                    
53									<th class="th-center"><?php if( $WP_Statistics->get_option('visitors') ) { echo '<a href="admin.php?page=wps_visitors_menu&hitdays=365"><span>' . number_format_i18n(wp_statistics_visitor('year',null,true)) . '</span></a>'; } else { echo ''; }?></th>
                    
54									<th class="th-center"><?php if( $WP_Statistics->get_option('visits') ) { echo '<a href="admin.php?page=' . WP_STATISTICS_HITS_PAGE . '&hitdays=365"><span>' . number_format_i18n(wp_statistics_visit('year')) . '</span></a>'; } else { echo ''; }?></th>
                    
59									<th class="th-center"><?php if( $WP_Statistics->get_option('visitors') ) { echo '<a href="admin.php?page=wps_visitors_menu&hitdays=365"><span>' . number_format_i18n(wp_statistics_visitor('total',null,true)) . '</span></a>'; } else { echo ''; }?></th>
                    
60									<th class="th-center"><?php if( $WP_Statistics->get_option('visits') ) { echo '<a href="admin.php?page=' . WP_STATISTICS_HITS_PAGE . '&hitdays=365"><span>' . number_format_i18n(wp_statistics_visit('total')) . '</span></a>'; } else { echo ''; }?></th>
                    
61								</tr>
                    
117								<tr>
                    
118									<th colspan="3" style="text-align: center;"><?php _e('Current Time and Date', 'wp_statistics'); ?> <span id="time_zone"><a href="<?php echo admin_url('options-general.php'); ?>"><?php _e('(Adjustment)', 'wp_statistics'); ?></a></span></th>
                    
119								</tr>
                    
                
utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
                    
1<?php
                    
2
                    
44    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
45	require_once('php_image_magician.php');
                    
46	$magicianObj = new imageLib($imgfile);
                    
55    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
56	require_once('php_image_magician.php');
                    
57	$magicianObj = new imageLib($imgfile);
                    
72   }
                    
73   return (number_format($size, 0) . " " . $units[$u]);
                    
74}
                    
                
handler.php https://gitlab.com/alexprowars/bitrix | PHP | 556 lines
                    
1<?php
                    
2
                    
179	{
                    
180		return number_format($paymentSum, 2, '.', '');
                    
181	}
                    
                
index.php https://github.com/karpenoktem/punbb.git | PHP | 244 lines
                    
83	$load_averages = empty($load_averages) ? array() : explode(' ', $load_averages);
                    
84	$server_load = isset($load_averages[2]) ? forum_number_format(round($load_averages[0], 2), 2).' '.forum_number_format(round($load_averages[1], 2), 2).' '.forum_number_format(round($load_averages[2], 2), 2) : 'Not available';
                    
85}
                    
128else if (isset($_PHPA))
                    
129	$php_accelerator = '<a href="http://www.php-accelerator.co.uk/">ionCube PHP Accelerator</a>';
                    
130else if (ini_get('apc.enabled'))
                    
130else if (ini_get('apc.enabled'))
                    
131	$php_accelerator ='<a href="http://www.php.net/apc/">Alternative PHP Cache (APC)</a>';
                    
132else if (ini_get('zend_optimizer.optimization_level'))
                    
213						<li><span><?php echo $lang_admin_index['Operating system'] ?>: <?php echo PHP_OS ?></span></li>
                    
214						<li><span>PHP: <?php echo PHP_VERSION ?> - <a href="<?php echo forum_link($forum_url['admin_index']) ?>?action=phpinfo"><?php echo $lang_admin_index['Show info'] ?></a></span></li>
                    
215						<li><span><?php echo $lang_admin_index['Accelerator'] ?>: <?php echo $php_accelerator ?></span></li>
                    
225<?php if (isset($total_records) && isset($total_size)): ?>
                    
226						<li><span><?php echo $lang_admin_index['Rows'] ?>: <?php echo forum_number_format($total_records) ?></span></li>
                    
227						<li><span><?php echo $lang_admin_index['Size'] ?>: <?php echo $total_size ?></span></li>
                    
                
export_cowInfo.blade.php https://gitlab.com/kimting254/wbms | PHP | 269 lines
                    
55                <th>Article <br>Name</th>
                    
56                <th>Unit Price<br> (Php)</th>
                    
57                <th>Total <br>Qty</th>
                    
60                <th>Pack<br>()</th>
                    
61                <th>Sales <br>(Php)</th>
                    
62                <th>TOTAL <br>(Php)</th>
                    
75                </tr>
                    
76                <?php $total1 = 0; ?>
                    
77                @foreach($cow['article_resources'] as $list)
                    
84                            <td>  @foreach($list['orderlist'] as $order)
                    
85                                    {{number_format($order['unit_price'],2)}}
                    
86                                    <br>
                    
104                            <td>  @foreach($list['orderlist'] as $order)
                    
105                                    {{number_format($order['amount'],2)}}
                    
106                                    <?php $total1 = $total1 + $order['amount'] ?>
                    
                
registration_page_display.php https://bitbucket.org/anneivycat/ebcookhouse.git | PHP | 259 lines
                    
7 
                    
8		<h3 class="event_title ui-widget-header ui-corner-top" id="event_title-<?php echo $event_id; ?>"> <?php echo $event_name ?> <?php echo $is_active['status'] == 'EXPIRED' ? ' - <span class="expired_event">Event Expired</span>' : ''; ?> <?php echo $is_active['status'] == 'PENDING' ? ' - <span class="expired_event">Event is Pending</span>' : ''; ?> <?php echo $is_active['status'] == 'DRAFT' ? ' - <span class="expired_event">Event is a Draft</span>' : ''; ?> </h3>
                    
9 <div class="event_espresso_form_wrapper event-data-display ui-widget-content ui-corner-bottom">
                    
80				?>
                    
81				<form method="post" action="<?php echo home_url() ?>/?page_id=<?php echo $event_page_id ?>" id="registration_form">
                    
82					<?php
                    
85						?>
                    
86						<p class="event_address" id="event_address-<?php echo $event_id ?>"><span class="section-title"><?php echo __('Address:', 'event_espresso'); ?></span> <br />
                    
87							<span class="address-block"> <?php echo stripslashes_deep($location); ?><br />
                    
151							if ($price_range['min'] != $price_range['max']) {
                    
152								$price = $org_options['currency_symbol'] . number_format($price_range['min'], 2) . ' - ' . $org_options['currency_symbol'] . number_format($price_range['max'], 2);
                    
153							} else {
                    
176										<label style="height:60px;"><?php _e('Select a Seat:', 'event_espresso'); ?></label>
                    
177										<input type="text" name="seat_id" value="" class="ee_s_select_seat required" title="<?php _e('Please select a seat.', 'event_espresso'); ?>" event_id="<?php echo $event_id; ?>" readonly="readonly"  />
                    
178										<?php
                    
                
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'])),
                    
                
UnitConvertor.php https://github.com/squidjam/friendika.git | PHP | 283 lines
                    
1<?php
                    
2// +----------------------------------------------------------------------+
                    
2// +----------------------------------------------------------------------+
                    
3// | PHP version 4.0                                                      |
                    
4// +----------------------------------------------------------------------+
                    
4// +----------------------------------------------------------------------+
                    
5// | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group             |
                    
6// +----------------------------------------------------------------------+
                    
6// +----------------------------------------------------------------------+
                    
7// | This source file is subject to version 2.0 of the PHP license,       |
                    
8// | that is bundled with this package in the file LICENSE, and is        |
                    
9// | available at through the world-wide-web at                           |
                    
10// | http://www.php.net/license/2_02.txt.                                 |
                    
11// | If you did not receive a copy of the PHP license and are unable to   |
                    
12// | obtain it through the world-wide-web, please send a note to          |
                    
13// | license@php.net so we can mail you a copy immediately.               |
                    
14// +----------------------------------------------------------------------+
                    
                
view-offer_ride_second.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 258 lines
                    
1<?php
                    
2	  include_once(TPATH_CLASS_APP . "class.customer.php");
                    
30			#Server side validation start
                    
31			include_once(TPATH_LIBRARIES."/general/validation.class.php");
                    
32			$validobj = new validation();
                    
84			#Server side validation start
                    
85			include_once(TPATH_LIBRARIES."/general/validation.class.php");
                    
86			$validobj = new validation();
                    
134	$lat_long = explode(', ',substr($_REQUEST['from_lat_long'], 1, -1));
                    
135	$new_arr['lat'] = number_format($lat_long[0],6,'.','');
                    
136	$new_arr['lon'] = number_format($lat_long[1],6,'.','');
                    
144			$lat_long = explode(', ',substr($_REQUEST['loc'.$i.'_lat_long'], 1, -1));
                    
145			$new_arr['lat'] = number_format($lat_long[0],6,'.','');
                    
146			$new_arr['lon'] = number_format($lat_long[1],6,'.','');
                    
152	$lat_long = explode(', ',substr($_REQUEST['to_lat_long'], 1, -1));
                    
153	$new_arr['lat'] = number_format($lat_long[0],6,'.','');
                    
154	$new_arr['lon'] = number_format($lat_long[1],6,'.','');
                    
                
sitemap.php https://bitbucket.org/seyar/kinda.local.git | PHP | 192 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2
                    
152                  <loc>http://'.$_SERVER['HTTP_HOST'].($lang_id != 1 ? '/en/':'/').'</loc>
                    
153                  <priority>'.number_format($weights['1'],2,'.','').'</priority>
                    
154                  <lastmod>'.date('Y-m-d', mktime(0, 0, 0, date("m")  , date("d")-$lastmods['1'], date("Y"))).'</lastmod>
                    
162                          <loc>http://'.str_replace("//", "/", $_SERVER['HTTP_HOST'].'/'.$item['page_url']).'</loc>
                    
163                          <priority>'.number_format($item['priority'],2,'.','').'</priority>
                    
164                          <lastmod>'.date('Y-m-d', mktime(0, 0, 0, date("m")  , date("d")-$lastmods['1'], date("Y"))).'</lastmod>
                    
                
menu.php https://github.com/mhoofman/wordpress-heroku.git | PHP | 269 lines
                    
26
                    
27$submenu[ 'index.php' ][0] = array( __('Home'), 'read', 'index.php' );
                    
28
                    
42		$cap = 'update_themes';
                    
43	$submenu[ 'index.php' ][10] = array( sprintf( __('Updates %s'), "<span class='update-plugins count-{$update_data['counts']['total']}' title='{$update_data['title']}'><span class='update-count'>" . number_format_i18n($update_data['counts']['total']) . "</span></span>" ), $cap, 'update-core.php');
                    
44	unset( $cap );
                    
51	/* translators: add new post */
                    
52	$submenu['edit.php'][10]  = array( _x('Add New', 'post'), get_post_type_object( 'post' )->cap->create_posts, 'post-new.php' );
                    
53
                    
206if ( current_user_can('list_users') ) {
                    
207	$_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php.
                    
208	$submenu['users.php'][5] = array(__('All Users'), 'list_users', 'users.php');
                    
226$menu[75] = array( __('Tools'), 'edit_posts', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'dashicons-admin-tools' );
                    
227	$submenu['tools.php'][5] = array( __('Available Tools'), 'edit_posts', 'tools.php' );
                    
228	$submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' );
                    
                
site_content.php https://gitlab.com/vince.omega/mcb-nov-build | PHP | 194 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
                    
2
                    
3
                    
4<?php echo html::script(array (url::base().'media/js/fckeditor/fckeditor.js'), FALSE); ?>
                    
5<script type="text/javascript">
                    
10	// oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
                    
11	var sBasePath = '<?php echo url::base() ?>/media/js/fckeditor/';
                    
12
                    
27
                    
28<?php 
                    
29$id = $this->uri->segment(3);
                    
34
                    
35<form action="<?php echo url::base() . $this->uri->segment(1). '/' . $this->uri->segment(2) . '/' .$id ?>" method="POST" enctype="multipart/form-data" id="form" >
                    
36
                    
43				<input type="submit" name="save" value="Save" class="css-button">
                    
44				<input type="button" onclick="location = '<?php  echo url::base() . $this->uri->segment(1) ?>'" value='Cancel' class="css-button"  />
                    
45			  </span>
                    
                
sale_note_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 230 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
8
                    
9@endphp
                    
10<html>
                    
127                @else
                    
128                    {{ number_format($row->quantity, 0) }}
                    
129                @endif
                    
145            <td class="text-right align-top">{{ $row->relation_item->date_of_due }}</td>
                    
146            <td class="text-right align-top">{{ number_format($row->unit_price, 2) }}</td>
                    
147            <td class="text-right align-top">
                    
148                @if($row->discounts)
                    
149                    @php
                    
150                        $total_discount_line = 0;
                    
153                        }
                    
154                    @endphp
                    
155                    {{ number_format($total_discount_line, 2) }}
                    
                
BaseCidisniv.php https://github.com/cidesa/roraima-comunal.git | PHP | 683 lines
                    
1<?php
                    
2
                    
74
                    
75    if($val) return number_format($this->monasi,2,',','.');
                    
76    else return $this->monasi;
                    
82
                    
83    if($val) return number_format($this->modificacion,2,',','.');
                    
84    else return $this->modificacion;
                    
90
                    
91    if($val) return number_format($this->asigactual,2,',','.');
                    
92    else return $this->asigactual;
                    
98
                    
99    if($val) return number_format($this->monprc,2,',','.');
                    
100    else return $this->monprc;
                    
106
                    
107    if($val) return number_format($this->moncom,2,',','.');
                    
108    else return $this->moncom;
                    
                
error_functions.php https://gitlab.com/tutaalexandr/bot_local | PHP | 373 lines
                    
1<?php
                    
2
                    
6  * Version: 2.4.8
                    
7  * FILE: library/error_functions.php
                    
8  * AUTHOR: Elizabeth Perreau and Dave Morton
                    
14  * function myErrorHandler()
                    
15  * Process PHP errors
                    
16  * @param string $errno - the severity of the error
                    
44    }
                    
45    $info = "PHP ERROR [$errors] -$errstr in $errfile on Line $errline";
                    
46    //a little hack to hide 'deprecated' errors of which there may be ~MORE~ than a few, depending on PHP version
                    
82      $et = $current_timestamp - $last_timestamp;
                    
83      $elapsed_time = number_format($et * 1000, 3);
                    
84      $last_timestamp = $current_timestamp;
                    
287    $message = $log;
                    
288    $headers = 'From: ' . $email . "\r\nReply-To: $email \r\n" . 'X-Mailer: PHP/' . phpversion();
                    
289    mail($to, $subject, $message, $headers);
                    
                
micro_bench.php https://gitlab.com/envieidoc/advancedtomato2 | PHP | 358 lines
                    
1<?php
                    
2
                    
260  $total += $last_time;
                    
261  $num = number_format($last_time,3);
                    
262  $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
                    
265  } else {
                    
266    $num2 = number_format($last_time - $overhead,3);
                    
267    echo $name.$pad.$num."    ".$num2."\n";
                    
277  echo $pad."\n";
                    
278  $num = number_format($total,3);
                    
279  $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
                    
                
right.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 166 lines
                    
56					<li>Họ Tên: <strong><?=$_SESSION['fullname']?></strong></li>
                    
57					<li>Tài Khoản <strong><?=number_format(TotalMark($_SESSION['idcus']),0,',','.')?> xeng</strong></li>
                    
58					<li>Xếp Hạng: <strong><?=Level($_SESSION['idcus'])?></strong></li>
                    
74					<div class="item-date"> 
                    
75						<?php
                    
76							$today = getdate();
                    
95									</tr>
                    
96									<?php 
                    
97										
                    
                
keywordRank.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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" );
                    
160
                    
                
quotation_ticket.blade.php https://gitlab.com/laher01/factu40 | PHP | 370 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
9
                    
10@endphp
                    
11<html>
                    
225                @else
                    
226                    {{ number_format($row->quantity, 0) }}
                    
227                @endif
                    
257            </td>
                    
258            <td class="text-right desc-9 align-top">{{ number_format($row->unit_price, 2) }}</td>
                    
259            <td class="text-right desc-9 align-top">{{ number_format($row->total, 2) }}</td>
                    
267                <td colspan="4" class="text-right font-bold desc">OP. EXPORTACIÓN: {{ $document->currency_type->symbol }}</td>
                    
268                <td class="text-right font-bold desc">{{ number_format($document->total_exportation, 2) }}</td>
                    
269            </tr>
                    
273                <td colspan="4" class="text-right font-bold desc">OP. GRATUITAS: {{ $document->currency_type->symbol }}</td>
                    
274                <td class="text-right font-bold desc">{{ number_format($document->total_free, 2) }}</td>
                    
275            </tr>
                    
                
edit.php https://gitlab.com/nacridan/Nacridan | PHP | 291 lines
                    
157			<li><a href="index.php"><?php echo $lang_common['Index'] ?></a></li>
                    
158			<li><span>»&#160;</span><a href="viewforum.php?id=<?php echo $cur_post['fid'] ?>"><?php echo pun_htmlspecialchars($cur_post['forum_name']) ?></a></li>
                    
159			<li><span>»&#160;</span><a href="viewtopic.php?id=<?php echo $cur_post['tid'] ?>"><?php echo pun_htmlspecialchars($cur_post['subject']) ?></a></li>
                    
227						<input class="longinput" type="text" name="req_subject" size="80" maxlength="70" tabindex="<?php echo $cur_index++ ?>" value="<?php echo pun_htmlspecialchars(isset($_POST['req_subject']) ? $_POST['req_subject'] : $cur_post['subject']) ?>" /><br /></label>
                    
228<?php endif; ?>						<label class="required"><strong><?php echo $lang_common['Message'] ?> <span><?php echo $lang_common['Required'] ?></span></strong><br />
                    
229						<textarea name="req_message" rows="20" cols="95" tabindex="<?php echo $cur_index++ ?>"><?php echo pun_htmlspecialchars(isset($_POST['req_message']) ? $message : $cur_post['message']) ?></textarea><br /></label>
                    
231							<li><span><a href="help.php#bbcode" onclick="window.open(this.href); return false;"><?php echo $lang_common['BBCode'] ?></a> <?php echo ($pun_config['p_message_bbcode'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></span></li>
                    
232							<li><span><a href="help.php#url" onclick="window.open(this.href); return false;"><?php echo $lang_common['url tag'] ?></a> <?php echo ($pun_config['p_message_bbcode'] == '1' && $pun_user['g_post_links'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></span></li>
                    
233							<li><span><a href="help.php#img" onclick="window.open(this.href); return false;"><?php echo $lang_common['img tag'] ?></a> <?php echo ($pun_config['p_message_bbcode'] == '1' && $pun_config['p_message_img_tag'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></span></li>
                    
233							<li><span><a href="help.php#img" onclick="window.open(this.href); return false;"><?php echo $lang_common['img tag'] ?></a> <?php echo ($pun_config['p_message_bbcode'] == '1' && $pun_config['p_message_img_tag'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></span></li>
                    
234							<li><span><a href="help.php#smilies" onclick="window.open(this.href); return false;"><?php echo $lang_common['Smilies'] ?></a> <?php echo ($pun_config['o_smilies'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></span></li>
                    
235						</ul>
                    
284			</div>
                    
285			<p class="buttons"><input type="submit" name="submit" value="<?php echo $lang_common['Submit'] ?>" tabindex="<?php echo $cur_index++ ?>" accesskey="s" /> <input type="submit" name="preview" value="<?php echo $lang_post['Preview'] ?>" tabindex="<?php echo $cur_index++ ?>" accesskey="p" /> <a href="javascript:history.go(-1)"><?php echo $lang_common['Go back'] ?></a></p>
                    
286		</form>
                    
                
AdminController.php https://gitlab.com/emendoza1986/emq | PHP | 321 lines
                    
1<?php
                    
2
                    
286        $product = Products::find( $request['product_id'] );
                    
287        $new_price_formatted = number_format($request['price'], 2, '.', '');
                    
288
                    
                
quotation_a4.blade.php https://gitlab.com/laher01/factu40 | PHP | 221 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
5    $tittle = $document->prefix.'-'.str_pad($document->id, 8, '0', STR_PAD_LEFT);
                    
6@endphp
                    
7<html>
                    
122                @else
                    
123                    {{ number_format($row->quantity, 0) }}
                    
124                @endif
                    
139            </td>
                    
140            <td class="text-right align-top">{{ number_format($row->unit_price, 2) }}</td>
                    
141            <td class="text-right align-top">
                    
142                @if($row->discounts)
                    
143                    @php
                    
144                        $total_discount_line = 0;
                    
147                        }
                    
148                    @endphp
                    
149                    {{ number_format($total_discount_line, 2) }}
                    
                
fileuploader.class.php https://github.com/jgulledge19/Slideshowmanager.git | PHP | 355 lines
                    
1<?php
                    
2
                    
63        $upload_errors = array(
                    
64            UPLOAD_ERR_INI_SIZE => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
                    
65            UPLOAD_ERR_FORM_SIZE => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
                    
94            if ( $limit > 1048576) { // 1 mb
                    
95                $limit_txt = number_format(($limit/1048576),3).' Mb';
                    
96            } else {
                    
96            } else {
                    
97                $limit_txt = number_format(($limit/1024),0).' Kb';
                    
98            }
                    
256    protected function _constrainImage($image, $file) {
                    
257        // help: http://www.plus2net.com/php_tutorial/gd-border.php
                    
258        $ext = explode(".",$image);
                    
                
statistics.php https://bitbucket.org/sharifbaba/snaptitoday-dev.git | PHP | 236 lines
                    
13</script>
                    
14<?php
                    
15$analytics = array(); 
                    
43								<td>
                    
44									<input size="10" type="text" id="f_start" value="<?php echo $from;?>">
                    
45								</td>
                    
48								<td>
                    
49									<input size="10" type="text" id="f_end" value="<?php echo $to;?>">
                    
50								</td>
                    
110					 	<b>Total Amount</b> <br />
                    
111					 	<span style="font-size: 18px;"><?php echo 'Rs '.number_format($analytics['total_amount']);?></span> 
                    
112					 </div>
                    
126						</tr>
                    
127						<?php 
                    
128							foreach($top_ten_city as $topcity){
                    
                
locale.php https://gitlab.com/Gashler/dp | PHP | 356 lines
                    
169		// Numbers formatting
                    
170		// See http://php.net/number_format
                    
171
                    
171
                    
172		/* translators: $thousands_sep argument for http://php.net/number_format, default is , */
                    
173		$trans = __('number_format_thousands_sep');
                    
173		$trans = __('number_format_thousands_sep');
                    
174		$this->number_format['thousands_sep'] = ('number_format_thousands_sep' == $trans) ? ',' : $trans;
                    
175
                    
175
                    
176		/* translators: $dec_point argument for http://php.net/number_format, default is . */
                    
177		$trans = __('number_format_decimal_point');
                    
177		$trans = __('number_format_decimal_point');
                    
178		$this->number_format['decimal_point'] = ('number_format_decimal_point' == $trans) ? '.' : $trans;
                    
179
                    
                
default.php https://bitbucket.org/johansundell/hodumahelpdesk.git | PHP | 211 lines
                    
112					<td align="center" class=""> 
                    
113						<?php echo number_format($row->total);?>
                    
114					</td>
                    
157				<td align="center" class="totals"> 
                    
158					<?php echo number_format($total_time);?>
                    
159				</td>
                    
160				<td align="center" class="totals"> 
                    
161					<?php echo number_format($total_time/$total_problems);?>
                    
162				</td>
                    
185		<p class="charttitle"><?php echo lang('PercentProblemTotal');?>
                    
186		<img src="<?php echo $chartURL;?>" alt="<?php echo lang('PercentProblemTotal');?>" align="center"/></p>
                    
187
                    
193			<p class="charttitle"><?php echo lang('PercentTimeTotal');?>
                    
194			<img src="<?php echo $chartURL;?>" alt="<?php echo lang('PercentTimeTotal');?>" align="center"/></p>
                    
195			<?php
                    
                
functions.php https://bitbucket.org/skurhade/nustechfork.git | PHP | 363 lines
                    
1<?php
                    
2	/* 
                    
6	*/
                    
7	require_once('_inc.php');
                    
8	require_once('config.php');
                    
10
                    
11<?php 
                    
12	/* iniciate the page */
                    
26	function get_search(){
                    
27		include('includes/product-search.php');	
                    
28	}
                    
31	function get_logo(){
                    
32		include('includes/logo.php');	
                    
33	}
                    
35	function get_banner(){
                    
36		include('includes/banner.php');
                    
37	}
                    
                
FilterTest.php https://gitlab.com/pr0055/symfonypizza | PHP | 154 lines
                    
1<?php
                    
2
                    
35        $node = $this->createFilter($expr, 'upper');
                    
36        $node = $this->createFilter($node, 'number_format', array(new Twig_Node_Expression_Constant(2, 1), new Twig_Node_Expression_Constant('.', 1), new Twig_Node_Expression_Constant(',', 1)));
                    
37
                    
38        if (function_exists('mb_get_info')) {
                    
39            $tests[] = array($node, 'twig_number_format_filter($this->env, twig_upper_filter($this->env, "foo"), 2, ".", ",")');
                    
40        } else {
                    
40        } else {
                    
41            $tests[] = array($node, 'twig_number_format_filter($this->env, strtoupper("foo"), 2, ".", ",")');
                    
42        }
                    
70        // filter as an anonymous function
                    
71        if (PHP_VERSION_ID >= 50300) {
                    
72            $node = $this->createFilter(new Twig_Node_Expression_Constant('foo', 1), 'anonymous');
                    
144        if (PHP_VERSION_ID >= 50300) {
                    
145            return include 'PHP53/FilterInclude.php';
                    
146        }
                    
                
scrut_prop.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 329 lines
                    
1<?php
                    
2
                    
279function nb_en_to_fr($nb,$dec=0){
                    
280    return number_format($nb,$dec,','," ");
                    
281}
                    
                
class-wp-object-cache.php https://gitlab.com/campus-academy/krowkaramel | PHP | 496 lines
                    
1<?php
                    
2/**
                    
74	/**
                    
75	 * Sets up object properties; PHP 5 style constructor.
                    
76	 *
                    
421	 * The $expire parameter is not used, because the cache will automatically
                    
422	 * expire for each time a page is accessed and PHP finishes. The method is
                    
423	 * more for cache plugins which use files.
                    
464		foreach ( $this->cache as $group => $cache ) {
                    
465			echo '<li><strong>Group:</strong> ' . esc_html( $group ) . ' - ( ' . number_format( strlen( serialize( $cache ) ) / KB_IN_BYTES, 2 ) . 'k )</li>';
                    
466		}
                    
                
tenpercent.php https://github.com/Bigjoos/U-232-V3.git | PHP | 98 lines
                    
1<?php
                    
2/**
                    
9 */
                    
10require_once (dirname(__FILE__).DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'bittorrent.php');
                    
11require_once (INCL_DIR.'user_functions.php');
                    
19if ($downloaded > 0) {
                    
20    $ratio = number_format($uploaded / $downloaded, 3);
                    
21    $newratio = number_format($newuploaded / $downloaded, 3);
                    
21    $newratio = number_format($newuploaded / $downloaded, 3);
                    
22    $ratiochange = number_format(($newuploaded / $downloaded) - ($uploaded / $downloaded) , 3);
                    
23} elseif ($uploaded > 0) $ratio = $newratio = $ratiochange = "Inf.";
                    
27    $sure = (isset($_POST['sure']) ? intval($_POST['sure']) : '');
                    
28    if (!$sure) stderr("Are you sure?", "It appears that you are not yet sure whether you want to add 10% to your upload or not. Once you are sure you can <a href='tenpercent.php'>return</a> to the 10% page.");
                    
29    $time = TIME_NOW;
                    
91</table>
                    
92<form name='tenpercent' method='post' action='tenpercent.php'>
                    
93<table align='center' border='0' cellspacing='0' cellpadding='5'>
                    
                
cat_combination_update.php https://gitlab.com/ptisky/API_prestashop | PHP | 255 lines
                    
1<?php

                    
2/**

                    
61				$id_product_attribute = $product->addAttribute(

                    
62						number_format( $price , 6, ".", ""),

                    
63						number_format( $weight ,6, ".", ""),

                    
80					if(!empty($small_price))

                    
81						$set .= ", price='".pSQL(number_format( $small_price , 6, ".", ""))."'";

                    
82					

                    
83					if(!empty($small_weight))

                    
84						$set .= ", weight='".pSQL(number_format( $small_weight , 6, ".", ""))."'";

                    
85					

                    
179					$id_product_attribute = $product->addProductAttribute( 

                    
180								number_format( $price , 6, ".", ""),

                    
181						number_format( $weight ,6, ".", ""),

                    
196						if(!empty($small_price))

                    
197							$set .= ", price='".pSQL(number_format( $small_price , 6, ".", ""))."'";

                    
198						

                    
                
loop-author.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 193 lines
                    
71		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                    
72			<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
                    
73
                    
89						<div class="gallery-thumb">
                    
90							<a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
                    
91						</div><!-- .gallery-thumb -->
                    
102			<?php if ( function_exists( 'get_post_format' ) && 'gallery' == get_post_format( $post->ID ) ) : ?>
                    
103				<a href="<?php echo get_post_format_link( 'gallery' ); ?>" title="<?php esc_attr_e( 'View Galleries', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
                    
104				<span class="meta-sep">|</span>
                    
105			<?php elseif ( in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>
                    
106				<a href="<?php echo get_term_link( _x( 'gallery', 'gallery category slug', 'twentyten' ), 'category' ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
                    
107				<span class="meta-sep">|</span>
                    
140		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                    
141			<h2 class="entry-title wum-archives"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
                    
142
                    
                
Image.php https://github.com/ThiloWitt/core.git | PHP | 469 lines
                    
93    /**
                    
94     * (non-PHPdoc)
                    
95     * @see Imagine\ImageInterface::flipHorizontally()
                    
110    /**
                    
111     * (non-PHPdoc)
                    
112     * @see Imagine\ImageInterface::flipVertically()
                    
160        /**
                    
161         * @see http://pecl.php.net/bugs/bug.php?id=22435
                    
162         */
                    
236    /**
                    
237     * (non-PHPdoc)
                    
238     * @see Imagine\ImageInterface::show()
                    
393    /**
                    
394     * (non-PHPdoc)
                    
395     * @see Imagine\ImageInterface::fill()
                    
                
about.php https://gitlab.com/ogar.vasily/activetables | PHP | 239 lines
                    
45		<h2 class="nav-tab-wrapper">
                    
46			<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
                    
47			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
47			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
48			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
                    
49		</h2>
                    
106				<div class="embed-container">
                    
107					<blockquote data-secret="OcUe7B6Edh" class="wp-embedded-content"><a href="https://wordpress.org/news/2015/12/clifford/">WordPress 4.4 &ldquo;Clifford&rdquo;</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="display:none;" src="https://wordpress.org/news/2015/12/clifford/embed/#?secret=OcUe7B6Edh" data-secret="OcUe7B6Edh" width="600" height="338" title="<?php esc_attr_e( 'Embedded WordPress Post' ); ?>" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
                    
108				</div>
                    
195				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
196					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
197						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
199				<?php endif; ?>
                    
200				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
201			</div>
                    
                
sale_note_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 226 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
8
                    
9@endphp
                    
10<html>
                    
124                @else
                    
125                    {{ number_format($row->quantity, 0) }}
                    
126                @endif
                    
141            </td>
                    
142            <td class="text-right align-top">{{ number_format($row->unit_price, 2) }}</td>
                    
143            <td class="text-right align-top">
                    
144                @if($row->discounts)
                    
145                    @php
                    
146                        $total_discount_line = 0;
                    
149                        }
                    
150                    @endphp
                    
151                    {{ number_format($total_discount_line, 2) }}
                    
                
functions.php https://bitbucket.org/rkandpal/nustechgmgit.git | PHP | 396 lines
                    
1<?php
                    
2	/* 
                    
7	
                    
8	require_once('_inc.php');
                    
9	require_once('config.php');
                    
11
                    
12<?php 
                    
13	/* iniciate the page */
                    
27	function get_search(){
                    
28		include('includes/product-search.php');	
                    
29	}
                    
32	function get_logo(){
                    
33		include('includes/logo.php');	
                    
34	}
                    
36	function get_banner(){
                    
37		include('includes/banner.php');
                    
38	}
                    
                
CMB2_Sanitize.php https://gitlab.com/almoore1/buy-button-wordpress | PHP | 469 lines
                    
1<?php
                    
2/**
                    
174
                    
175		$search = array( $wp_locale->number_format['thousands_sep'], $wp_locale->number_format['decimal_point'] );
                    
176		$replace = array( '', '.' );
                    
180			foreach ( $this->value as $key => $val ) {
                    
181				$this->value[ $key ] = number_format_i18n( (float) str_ireplace( $search, $replace, $val ), 2 );
                    
182			}
                    
183		} else {
                    
184			$this->value = number_format_i18n( (float) str_ireplace( $search, $replace, $this->value ), 2 );
                    
185		}
                    
                
GeneralItemCollection.php https://gitlab.com/laher01/factu40 | PHP | 201 lines
                    
1<?php
                    
2
                    
42                'alone_number' => $resource['alone_number'],
                    
43                'quantity' => number_format($row->quantity, 2),
                    
44                'unit_value' => number_format($row->unit_value, 2),
                    
44                'unit_value' => number_format($row->unit_value, 2),
                    
45                'total' => number_format($row->total, 2),
                    
46                'total_number' => $row->total,
                    
46                'total_number' => $row->total,
                    
47                'total_item_purchase' => number_format($total_item_purchase, 2),
                    
48                'is_set' => (bool) $row->relation_item->is_set,
                    
48                'is_set' => (bool) $row->relation_item->is_set,
                    
49                'utility_item' => number_format($utility_item, 2),
                    
50                'factor' => $row->item->presentation ? number_format($row->item->presentation->quantity_unit, 2) : 0,
                    
152        $data = [];
                    
153        /*$data['quantity'] = number_format($row->quantity,2);
                    
154        $data['total'] = number_format($row->total,2);
                    
                
orders.php https://bitbucket.org/sharifbaba/snaptitoday-dev.git | PHP | 426 lines
                    
60
                    
61<?php 
                    
62	
                    
196			<div style="float: left;background:<?php echo $clr?>;color:#000;padding:7px 10px;height:30px;width: 80px;text-align: center;" >
                    
197				<?php echo ucwords($oby)?> <br /><b style="font-size: 16px;"><?php echo $ttl_ord; ?></b>
                    
198			</div> 
                    
241<tbody>
                    
242<?php foreach($orders as $o){?>
                    
243<tr <?=$o['priority']?"style='background:#ff8;'":""?> class="<?=$o['is_pnh']?"pnh_o":"n_o"?>">
                    
245<td>
                    
246<?php if($o['priority']){?>
                    
247<span class="order_high_priority"></span>
                    
349<tr><td colspan="100%">no orders to show</td></tr>
                    
350<?php }?>
                    
351</tbody>
                    
                
filebrowser.php https://bitbucket.org/chiamingyen/cmsimple-and-plugins.git | PHP | 431 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * @version $Id: filebrowser.php 292 2012-09-21 16:24:11Z cmb69 $
                    
5 */
                    
250// 設法在 Windows 能夠儲存中文命名檔案
                    
251if (substr(php_uname(), 0, 7) == "Windows")
                    
252{
                    
287               $this->view->error('error_not_uploaded', $file['name']);
                    
288               $this->view->error('error_file_too_big', array(number_format($file['size']/1000, 2),  number_format($this->maxFilesizes[$type]/1000, 2) . ' kb'));
                    
289               return;
                    
307// 設法在 Windows 能夠儲存中文命名檔案
                    
308if (substr(php_uname(), 0, 7) == "Windows")
                    
309{
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/VTTE/sitios-vtte | 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	}
                    
                
LintCommandTest.php https://github.com/FabienD/symfony.git | PHP | 197 lines
                    
1<?php
                    
2
                    
13
                    
14use PHPUnit\Framework\TestCase;
                    
15use Symfony\Bridge\Twig\Command\LintCommand;
                    
63        $tester = $this->createCommandTester();
                    
64        $filename = $this->createFile("{{ 2|number_format(2, decimal_point='.', ',') }}");
                    
65
                    
                
BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
                    
1<?php
                    
2
                    
99
                    
100    if($val) return number_format($this->valmtr,2,',','.');
                    
101    else return $this->valmtr;
                    
107
                    
108    if($val) return number_format($this->valfis,2,',','.');
                    
109    else return $this->valfis;
                    
115
                    
116    if($val) return number_format($this->alitip,2,',','.');
                    
117    else return $this->alitip;
                    
123
                    
124    if($val) return number_format($this->anual,2,',','.');
                    
125    else return $this->anual;
                    
131
                    
132    if($val) return number_format($this->alitipt,2,',','.');
                    
133    else return $this->alitipt;
                    
                
javo-post-class.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 207 lines
                    
1<?php
                    
2class get_char{
                    
26			, $this->__meta("price_Postfix")
                    
27			, number_format((int)$this->__meta("sale_price"))
                    
28			, ((strpos(strtolower($this->__hasStatus()), "rent") !== false)? "/ ".__("M", "javo_fr") : ""));
                    
81			, $this->__meta("price_Postfix")
                    
82			, number_format((int)$this->__meta("sale_price"))
                    
83			, ((strpos(strtolower($this->__hasStatus()), "rent") !== false)? " / ".__("Month", "javo_fr") : "")
                    
                
cache.php https://github.com/terry69/fluxflex_wordpress.git | PHP | 497 lines
                    
1<?php
                    
2/**
                    
409	 * The $expire parameter is not used, because the cache will automatically
                    
410	 * expire for each time a page is accessed and PHP finishes. The method is
                    
411	 * more for cache plugins which use files.
                    
453		foreach ($this->cache as $group => $cache) {
                    
454			echo "<li><strong>Group:</strong> $group - ( " . number_format( strlen( serialize( $cache ) ) / 1024, 2 ) . 'k )</li>';
                    
455		}
                    
459	/**
                    
460	 * PHP4 constructor; Calls PHP 5 style constructor
                    
461	 *
                    
470	/**
                    
471	 * Sets up object properties; PHP 5 style constructor
                    
472	 *
                    
477		/**
                    
478		 * @todo This should be moved to the PHP4 style constructor, PHP5
                    
479		 * already calls __destruct()
                    
                
ActionScheduler_WPCLI_QueueRunner.php https://gitlab.com/ebrjose/comcebu | PHP | 197 lines
                    
1<?php
                    
2
                    
31		if ( ! ( defined( 'WP_CLI' ) && WP_CLI ) ) {
                    
32			/* translators: %s php class name */
                    
33			throw new Exception( sprintf( __( 'The %s class can only be run within WP CLI.', 'action-scheduler' ), __CLASS__ ) );
                    
92			/* translators: %d: amount of actions */
                    
93			sprintf( _n( 'Running %d action', 'Running %d actions', $count, 'action-scheduler' ), number_format_i18n( $count ) ),
                    
94			$count
                    
                
Profiler.php https://github.com/daholicofneki/IDC-Payroll.git | PHP | 507 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
183				{
                    
184					$time = number_format($db->query_times[$key], 4);
                    
185
                    
329		{
                    
330			$output = number_format($usage) .' bytes';
                    
331		}
                    
458	public static function get_file_size($size, $retstring = null) {
                    
459        // adapted from code at http://aidanlister.com/repos/v/function.size_readable.php
                    
460	    $sizes = array('bytes', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB');
                    
505
                    
506/* End of file Profiler.php */
                    
507/* Location: ./system/libraries/Profiler.php */
                    
                
columns.php https://gitlab.com/VTTE/sitios-vtte | PHP | 448 lines
                    
176			<span id="post-views-display">
                    
177				<?php echo __( 'Post Views', 'post-views-counter' ) . ': <b>' . number_format_i18n( $count ) . '</b>'; ?>
                    
178			</span>
                    
179
                    
180			<?php
                    
181			// restrict editing
                    
185				?>
                    
186				<a href="#post-views" class="edit-post-views hide-if-no-js"><?php _e( 'Edit', 'post-views-counter' ); ?></a>
                    
187
                    
189
                    
190					<p><?php _e( 'Adjust the views count for this post.', 'post-views-counter' ); ?></p>
                    
191					<input type="hidden" name="current_post_views" id="post-views-current" value="<?php echo $count; ?>" />
                    
193					<p>
                    
194						<a href="#post-views" class="save-post-views hide-if-no-js button"><?php _e( 'OK', 'post-views-counter' ); ?></a>
                    
195						<a href="#post-views" class="cancel-post-views hide-if-no-js"><?php _e( 'Cancel', 'post-views-counter' ); ?></a>
                    
                
cake_text_reporter.php https://github.com/cgajardo/repositorium.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-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2010, 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';
                    
21
                    
                
danhSach.php https://gitlab.com/nmhieucoder/php_bandienthoai | PHP | 131 lines
                    
1 <?php  require_once($level.compPart."Chart_Search.php"); ?>
                    
2        <!-- ============================================================== -->
                    
22                                            ?>
                    
23                                              <option value="<?php echo $i ?>">Tháng <?php echo $i ?> </option>
                    
24                                            <?php } ?> 
                    
36                                            ?>
                    
37                                              <option value="<?php echo $i ?>">Quý <?php echo $i ?> </option>
                    
38                                            <?php } ?> 
                    
79                                                <td><?php echo $value["prodName"] ?></td>
                    
80                                                <td><?php echo number_format($value["InfoOrderPrice"])."đ"; ?></td>
                    
81                                                <td><?php echo $value["InfoOrderSL"] ?></td>
                    
82                                                <td><?php echo $value["ordDate"] ?></td>
                    
83                                                <td><?php echo number_format($value["InfoOrderSL"]*$value["InfoOrderPrice"])." đ"; ?></td>
                    
84                                            </tr>
                    
108                            ?>
                    
109                                <li onclick="page('<?php echo $i*5; ?>','<?php echo ceil(count($countlst)/5); ?>', '<?php echo $i?>');"class="page-item page-link"><?php echo $i+1; ?></li>
                    
110                            <?php } ?>
                    
                
class-wp-users-list-table.php https://github.com/jimmytidey/jimmytidey.co.uk.git | PHP | 457 lines
                    
1<?php
                    
2/**
                    
137		if ( $this->is_site_users ) {
                    
138			$url = 'site-users.php?id=' . $this->site_id;
                    
139			switch_to_blog( $this->site_id );
                    
142		} else {
                    
143			$url = 'users.php';
                    
144			$users_of_blog = count_users();
                    
152		$role_links = array();
                    
153		$role_links['all'] = "<a href='$url'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>';
                    
154		foreach ( $wp_roles->get_names() as $this_role => $name ) {
                    
166			/* translators: User role name with count */
                    
167			$name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, number_format_i18n( $avail_roles[$this_role] ) );
                    
168			$role_links[$this_role] = "<a href='" . esc_url( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>";
                    
209	<div class="alignleft actions">
                    
210		<?php if ( current_user_can( 'promote_users' ) ) : ?>
                    
211		<label class="screen-reader-text" for="new_role"><?php _e( 'Change role to&hellip;' ) ?></label>
                    
                
header.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 200 lines
                    
1<?php
                    
2$stv=new Smarty();
                    
41	$hname[] = $skey;
                    
42	$hdauso[]=number_format(demsodau($svalue),0,".",".");
                    
43	$tongdau+=demsodau($svalue);
                    
48$stv->assign("dauso",$hdauso);
                    
49$stv->assign("tongdau",number_format($tongdau,0,".","."));
                    
50
                    
                
BaseFcdetrep.php https://github.com/cidesa/siga-universitario.git | PHP | 526 lines
                    
1<?php
                    
2
                    
68
                    
69    if($val) return number_format($this->monto,2,',','.');
                    
70    else return $this->monto;
                    
347	
                    
348	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
                    
349	{
                    
384	
                    
385	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
                    
386	{
                    
400	
                    
401	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
                    
402	{
                    
434	
                    
435	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
                    
436	{
                    
                
uploadapps.php https://github.com/Bigjoos/U-232.git | PHP | 224 lines
                    
1<?php
                    
2/**
                    
8 **/
                    
9require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'bittorrent.php');
                    
10require_once(INCL_DIR . 'user_functions.php');
                    
10require_once(INCL_DIR . 'user_functions.php');
                    
11require_once INCL_DIR . 'pager_functions.php';
                    
12dbconn(false);
                    
26    if ($action == "show")
                    
27        $hide = "[<a href='{$INSTALLER09['baseurl']}/uploadapps.php'>{$lang['uploadapps_hide']}</a>]";
                    
28    else {
                    
28    else {
                    
29        $hide   = "[<a href='{$INSTALLER09['baseurl']}/uploadapps.php?action=show'>{$lang['uploadapps_show']}</a>]";
                    
30        $where  = "WHERE status = 'pending'";
                    
36    $row     = mysqli_fetch_array($res);
                    
37    $url     = " .{$_SERVER['PHP_SELF']}?";
                    
38    $count   = $row[0];
                    
                
tuto5.htm https://gitlab.com/x33n/ProjectPier-Core | HTML | 134 lines
                    
11<div class="source">
                    
12<pre><code>&lt;?php
                    
13<span class="kw">require(</span><span class="str">'fpdf.php'</span><span class="kw">);
                    
57        </span>$<span class="kw">this-&gt;</span>Cell<span class="kw">(</span>$w<span class="kw">[</span>1<span class="kw">],</span>6<span class="kw">,</span>$row<span class="kw">[</span>1<span class="kw">],</span><span class="str">'LR'</span><span class="kw">);
                    
58        </span>$<span class="kw">this-&gt;</span>Cell<span class="kw">(</span>$w<span class="kw">[</span>2<span class="kw">],</span>6<span class="kw">,</span>number_format<span class="kw">(</span>$row<span class="kw">[</span>2<span class="kw">]),</span><span class="str">'LR'</span><span class="kw">,</span>0<span class="kw">,</span><span class="str">'R'</span><span class="kw">);
                    
59        </span>$<span class="kw">this-&gt;</span>Cell<span class="kw">(</span>$w<span class="kw">[</span>3<span class="kw">],</span>6<span class="kw">,</span>number_format<span class="kw">(</span>$row<span class="kw">[</span>3<span class="kw">]),</span><span class="str">'LR'</span><span class="kw">,</span>0<span class="kw">,</span><span class="str">'R'</span><span class="kw">);
                    
89        </span>$<span class="kw">this-&gt;</span>Cell<span class="kw">(</span>$w<span class="kw">[</span>1<span class="kw">],</span>6<span class="kw">,</span>$row<span class="kw">[</span>1<span class="kw">],</span><span class="str">'LR'</span><span class="kw">,</span>0<span class="kw">,</span><span class="str">'L'</span><span class="kw">,</span>$fill<span class="kw">);
                    
90        </span>$<span class="kw">this-&gt;</span>Cell<span class="kw">(</span>$w<span class="kw">[</span>2<span class="kw">],</span>6<span class="kw">,</span>number_format<span class="kw">(</span>$row<span class="kw">[</span>2<span class="kw">]),</span><span class="str">'LR'</span><span class="kw">,</span>0<span class="kw">,</span><span class="str">'R'</span><span class="kw">,</span>$fill<span class="kw">);
                    
91        </span>$<span class="kw">this-&gt;</span>Cell<span class="kw">(</span>$w<span class="kw">[</span>3<span class="kw">],</span>6<span class="kw">,</span>number_format<span class="kw">(</span>$row<span class="kw">[</span>3<span class="kw">]),</span><span class="str">'LR'</span><span class="kw">,</span>0<span class="kw">,</span><span class="str">'R'</span><span class="kw">,</span>$fill<span class="kw">);
                    
114</div>
                    
115<p class='demo'><a href='tuto5.php' target='_blank' class='demo'>[Demo]</a></p>
                    
116A table being just a collection of cells, it's natural to build one from them. The first
                    
                
class-wc-admin-webhooks-table-list.php https://gitlab.com/campus-academy/krowkaramel | PHP | 316 lines
                    
1<?php
                    
2/**
                    
11if ( ! class_exists( 'WP_List_Table' ) ) {
                    
12	require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
                    
13}
                    
71	public function column_title( $webhook ) {
                    
72		$edit_link = admin_url( 'admin.php?page=wc-settings&amp;tab=advanced&amp;section=webhooks&amp;edit-webhook=' . $webhook->get_id() );
                    
73		$output    = '';
                    
89						),
                    
90						admin_url( 'admin.php?page=wc-settings&tab=advanced&section=webhooks' )
                    
91					),
                    
179		/* translators: %s: count */
                    
180		$status_links['all'] = "<a href='admin.php?page=wc-settings&amp;tab=advanced&amp;section=webhooks'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_webhooks, 'posts', 'woocommerce' ), number_format_i18n( $total_webhooks ) ) . '</a>';
                    
181
                    
194
                    
195			$status_links[ $status_name ] = "<a href='admin.php?page=wc-settings&amp;tab=advanced&amp;section=webhooks&amp;status=$status_name'$class>" . sprintf( translate_nooped_plural( $label, $num_webhooks[ $status_name ] ), number_format_i18n( $num_webhooks[ $status_name ] ) ) . '</a>';
                    
196		}
                    
                
base.php https://gitlab.com/vince.omega/mcb-nov-build | PHP | 283 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2class Base_Controller extends Controller {	
                    
102				if (isset($this->fields[$field]['price'])) 
                    
103					$row->$field = number_format($row->$field, 2);	
                    
104
                    
                
mysql_stats.php https://github.com/Bigjoos/U-232.git | PHP | 320 lines
                    
24
                    
25require_once(INCL_DIR.'user_functions.php');
                    
26
                    
34    $month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
                    
35    // See http://www.php.net/manual/en/function.strftime.php to define the
                    
36    // variable below
                    
57        if ($unit != $GLOBALS['byteUnits'][0]) {
                    
58            $return_value = number_format($value, $comma, '.', ',');
                    
59        } 
                    
204            <td bgcolor='#EFF3FF' align='right'>&nbsp;". number_format($serverStatus['Aborted_clients'], 0, '.', ',')."&nbsp;</td>
                    
205            <td bgcolor='#EFF3FF' align='right'>&nbsp;". number_format(($serverStatus['Aborted_clients'] * 3600 / $serverStatus['Uptime']), 2, '.', ',')."&nbsp;</td>
                    
206            <td bgcolor='#EFF3FF' align='right'>&nbsp;". (($serverStatus['Connections'] > 0 ) ? number_format(($serverStatus['Aborted_clients'] * 100 / $serverStatus['Connections']), 2 , '.', ',') . '&nbsp;%' : '---')."&nbsp;</td>
                    
209            <td bgcolor='lightgrey'>&nbsp;Total&nbsp;</td>
                    
210            <td bgcolor='lightgrey' align='right'>&nbsp;". number_format($serverStatus['Connections'], 0, '.', ',')."&nbsp;</td>
                    
211            <td bgcolor='lightgrey' align='right'>&nbsp;". number_format(($serverStatus['Connections'] * 3600 / $serverStatus['Uptime']), 2, '.', ',')."&nbsp;</td>
                    
                
class.jetpack-landing-page.php https://gitlab.com/thisishayat/itv-2016 | PHP | 299 lines
                    
1<?php
                    
2include_once( 'class.jetpack-admin-page.php' );
                    
24		) {
                    
25			$new_count_i18n = number_format_i18n( $new_modules_count );
                    
26			$span_title     = esc_attr( sprintf( _n( 'One New Jetpack Module', '%s New Jetpack Modules', $new_modules_count, 'jetpack' ), $new_count_i18n ) );
                    
49		add_action( "admin_footer-$hook", apply_filters( 'jetpack_landing_page_js_templates_callback', array( $this, 'js_templates' ), $hook ) );
                    
50		/** This action is documented in class.jetpack.php */
                    
51		do_action( 'jetpack_admin_menu', $hook );
                    
144	function js_templates() {
                    
145		Jetpack::init()->load_view( 'admin/landing-page-templates.php' );
                    
146	}
                    
175		);
                    
176		Jetpack::init()->load_view( 'admin/admin-page.php', $data );
                    
177	}
                    
203				<div class="squeezer">
                    
204					<h2><?php echo wp_kses( $message, array( 'strong' => array(), 'a' => array( 'href' => true ), 'br' => true ) ); ?></h2>
                    
205					<?php
                    
                
cake_text_reporter.php https://github.com/hack521/contenidopago.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';
                    
21
                    
                
noutrace.class.php https://bitbucket.org/lordgnu/xdebug-trace-gui.git | PHP | 443 lines
                    
1<?php
                    
2
                    
48
                    
49      $aFiles[$date . uniqid()] = '<option value="' . $file->getFilename() . '" ' . $jSel . '> ' . $date . ' - ' . str_replace('_','-',$file->getFilename()) . '-' . number_format($file->getSize() / 1024,
                    
50                                                                                                                                                 0,
                    
154    /**
                    
155     * recuperem la llista de funcions, les pròpies de PHP hi
                    
156     * seran sota ['internal']
                    
208    {
                    
209      throw new Exception("xdebug.trace_format in /etc/php5/conf.d/xdebug.ini must be 1");
                    
210    }
                    
255        {
                    
256          echo "<h3>TOTAL " . number_format(count($aSteps), 0) .
                    
257          " function/method calls in " . number_format($jData[3], 6) . " ms with " .
                    
257          " function/method calls in " . number_format($jData[3], 6) . " ms with " .
                    
258          number_format(((int) $jData[4]) / 1024, 3) . " KB's </h3>";
                    
259        }
                    
                
transform.php https://github.com/sevir/Creamy.git | PHP | 275 lines
                    
1<?php
                    
2
                    
130					if($rotate_y_unit == 'grad') $radian_y = deg2rad((floatval($rotate_y) / 400) * 360);
                    
131					$matrix_a = floatval(number_format(cos($radian_x),8,'.',''));
                    
132					$matrix_b = -1 * floatval(number_format(sin($radian_x),8,'.',''));
                    
132					$matrix_b = -1 * floatval(number_format(sin($radian_x),8,'.',''));
                    
133					$matrix_c = floatval(number_format(sin($radian_y),8,'.',''));
                    
134					$matrix_d = floatval(number_format(cos($radian_y),8,'.',''));
                    
                
AssertProductPage.php https://gitlab.com/yousafsyed/easternglamor | PHP | 204 lines
                    
1<?php
                    
2/**
                    
59        $errors = $this->verify();
                    
60        \PHPUnit_Framework_Assert::assertEmpty(
                    
61            $errors,
                    
114        $formPrice = $priceBlock->isOldPriceVisible() ? $priceBlock->getOldPrice() : $priceBlock->getPrice();
                    
115        $fixturePrice = number_format($this->product->getPrice(), 2, '.', '');
                    
116
                    
134        $fixtureProductSpecialPrice = $this->product->getSpecialPrice();
                    
135        $fixtureProductSpecialPrice = number_format($fixtureProductSpecialPrice, 2);
                    
136        $formProductSpecialPrice = $this->productView->getPriceBlock()->getSpecialPrice();
                    
                
number.php https://github.com/coderlabs/internal.git | PHP | 380 lines
                    
1<?php
                    
2
                    
148
                    
15 * PHP versions 4 and 5
                    
169
                    
1810
                    
19 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
                    
2011
                    
3418
                    
35 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
                    
3619
                    
4021
                    
41 * @since         CakePHP(tm) v 0.10.0.1076
                    
4222
                    
4825
                    
49 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
                    
5026
                    
                
index.blade_bk.php https://gitlab.com/laher01/factu40 | PHP | 229 lines
                    
136
                    
137                                        @php
                    
138                                        if($value->inventory_kardexable_type == $models[3]){
                    
142                                        }
                    
143                                        @endphp
                    
144
                    
201                                        </td>
                    
202                                        @php
                    
203                                            $balance += $value->quantity;
                    
203                                            $balance += $value->quantity;
                    
204                                        @endphp
                    
205                                        <td>{{number_format($balance, 4)}}</td>
                    
                
tools.php https://gitlab.com/maxupunk/OCdownload | PHP | 256 lines
                    
1<?php
                    
2/**
                    
58        {
                    
59            $Bytes = number_format ($Bytes / 1073741824, 2) . ' GB';
                    
60        }
                    
62        {
                    
63            $Bytes = number_format ($Bytes / 1048576, 2) . ' MB';
                    
64        }
                    
66        {
                    
67            $Bytes = number_format ($Bytes / 1024, 2) . ' KB';
                    
68        }
                    
                
site-themes.php https://gitlab.com/morganestes/wordpress-develop | PHP | 226 lines
                    
173
                    
174require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
                    
175
                    
177<h1 id="edit-site"><?php echo $title; ?></h1>
                    
178<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
                    
179<?php
                    
194	}
                    
195	echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $enabled ) ) . '</p></div>';
                    
196} elseif ( isset( $_GET['disabled'] ) ) {
                    
202	}
                    
203	echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $disabled ) ) . '</p></div>';
                    
204} elseif ( isset( $_GET['error'] ) && 'none' == $_GET['error'] ) {
                    
225</div>
                    
226<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
                    
227
                    
                
main_list_page.php https://bitbucket.org/rkandpal/nustechgmgitfork.git | PHP | 246 lines
                    
62?>
                    
63    <?php require_once '_header.php'; ?>
                    
64    <div id="shopping-list-container">
                    
120                                <td align="center" width="120"><?php echo $supermarket ?></td>
                    
121                                <td align="center"><button type="button" name="product[]" id="<?php echo $id; ?>" class="delete-product-button" onclick="javascript:removeFromBigBasket(<?php echo $id ?>);"><img src="images/checkbox-x.png" width="10" height="10" /></button></td>
                    
122                                <td align="center">$<?php echo $amount_saved; ?></td>
                    
153                                        	<td class="no-border" align="right" width="50%"><img src="images/supermarket/<?php echo strtolower($supermarket_name); ?>.png" /></td>
                    
154                                            <td class="no-border" align="left">savings of <span class="green">&nbsp;$<?php echo number_format($value, 2) ?></span>
                    
155                                            </td>
                    
170                                    ?>
                    
171                                        <option value="<?php echo $name ?>" <?php echo (isset($_GET['supermarket']) && $name == $_GET['supermarket'])? "selected" : ""; ?>><?php echo $name ?></option>
                    
172                                    <?php endwhile; ?> </select></p> 
                    
245</div>
                    
246<?php require_once '_footer.php'; ?>
                    
247
                    
                
list.skin.php https://gitlab.com/dev.essetel/sjnuri | PHP | 229 lines
                    
12
                    
13<form name="fboardlist" id="fboardlist" action="<?php echo G5_BBS_URL; ?>/board_list_update.php" onsubmit="return fboardlist_submit(this);" method="post">
                    
14<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
                    
24<ul class="<?php echo isset($view) ? 'view_is_list btn_top' : 'btn_top top btn_bo_user';?>">
                    
25	<?php if ($admin_href) { ?><li><a href="<?php echo $admin_href ?>" class="btn_admin btn" title="관리자"><i class="fa fa-cog fa-spin fa-fw"></i><span class="sound_only">관리자</span></a></li><?php } ?>
                    
26    <?php if ($rss_href) { ?><li><a href="<?php echo $rss_href ?>" class="btn_b03 btn" title="RSS"><i class="fa fa-rss" aria-hidden="true"></i><span class="sound_only">RSS</span></a></li><?php } ?>
                    
38    <?php } ?>
                    
39	<?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="fix_btn write_btn" title="글쓰기"><i class="fa fa-pencil" aria-hidden="true"></i><span class="sound_only">글쓰기</span></a></li><?php } ?>
                    
40</ul>
                    
112                	<?php if ($is_good) { ?><span class="sound_only">추천</span><i class="fa fa-thumbs-o-up" aria-hidden="true"></i> <?php echo $list[$i]['wr_good'] ?><?php } ?>
                    
113                    <?php if ($is_nogood) { ?><span class="sound_only">비추천</span><i class="fa fa-thumbs-o-down" aria-hidden="true"></i> <?php echo $list[$i]['wr_nogood'] ?><?php } ?>
                    
114                </div>        
                    
133<div id="bo_list_total">
                    
134    <span>전체 <?php echo number_format($total_count) ?>건</span>
                    
135    <?php echo $page ?> 페이지
                    
                
class-wp-media-list-table.php https://github.com/MikeLockz/lockwitz.git | PHP | 374 lines
                    
56		$class = ( empty($_GET['post_mime_type']) && !$this->detached && !isset($_GET['status']) ) ? ' class="current"' : '';
                    
57		$type_links['all'] = "<a href='upload.php'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $_total_posts, 'uploaded files' ), number_format_i18n( $_total_posts ) ) . '</a>';
                    
58		foreach ( $post_mime_types as $mime_type => $label ) {
                    
71		if ( !empty($_num_posts['trash']) )
                    
72			$type_links['trash'] = '<a href="upload.php?status=trash"' . ( (isset($_GET['status']) && $_GET['status'] == 'trash' ) ? ' class="current"' : '') . '>' . sprintf( _nx( 'Trash <span class="count">(%s)</span>', 'Trash <span class="count">(%s)</span>', $_num_posts['trash'], 'uploaded files' ), number_format_i18n( $_num_posts['trash'] ) ) . '</a>';
                    
73
                    
191?>
                    
192		<th scope="row" class="check-column"><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><input type="checkbox" name="media[]" value="<?php the_ID(); ?>" /><?php } ?></th>
                    
193<?php
                    
217?>
                    
218		<td <?php echo $attributes ?>><strong><?php if ( $this->is_trash ) echo $att_title; else { ?><a href="<?php echo get_edit_post_link( $post->ID, true ); ?>" title="<?php echo esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $att_title ) ); ?>"><?php echo $att_title; ?></a><?php }; _media_states( $post ); ?></strong>
                    
219			<p>
                    
290			<td <?php echo $attributes ?>>
                    
291				<strong><a href="<?php echo get_edit_post_link( $post->post_parent ); ?>"><?php echo $title ?></a></strong>,
                    
292				<?php echo get_the_time( __( 'Y/m/d' ) ); ?>
                    
                
复件 orderpage.php https://bitbucket.org/ahunting/april-10-projects-5-8.git | PHP | 350 lines
                    
176        <td>The Sissy<input type="hidden" name="sandwiches[1]" value="The Sissy" /></td>
                    
177        <td align="right"><input name="quantities[1]" size="4" value="<?php print fill_val('quantities',1); ?>"/></td>
                    
178      </tr>
                    
197        <td>The Corleone<input type="hidden" name="sandwiches[2]" value="The Corleone" /></td>
                    
198        <td align="right"><input name="quantities[2]" size="4" value="<?php print fill_val('quantities',2); ?>"/></td>
                    
199      </tr>
                    
281        <td>The Porker<input type="hidden" name="sandwiches[6]" value="The Porker" /></td>
                    
282        <td align="right"><input name="quantities[6]" size="4" value="<?php print fill_val('quantities',6); ?>"/></td>
                    
283      </tr>
                    
302        <td>The Sub of Insanit<input type="hidden" name="sandwiches[7]" value="The Sub of Insanit" /></td>
                    
303        <td align="right"><input name="quantities[7]" size="4" value="<?php print fill_val('quantities',7); ?>"/></td>
                    
304      </tr>
                    
335  <tr><td>Card number</td><td>&nbsp;&nbsp; <input type="text" name="card_num" size="20" value="<?php print fill_val('card_num'); ?>" /></td><td></td></tr>
                    
336  <tr><td>Expire mm/yyyy</td><td>&nbsp;&nbsp; <input type="text" name="month" size="2" value="<?php print fill_val('month'); ?>" />/<input type="text" name="year" size="4" value="<?php print fill_val('year'); ?>" /></td><td></td></tr>
                    
337  <tr><td>CVV</td><td>&nbsp;&nbsp; <input type="text" name="cvv" size="3" value="<?php print fill_val('cvv'); ?>" /></td><td></td></tr>
                    
                
entry-views.php https://github.com/agilecentrix/Centrix.git | PHP | 162 lines
                    
1<?php
                    
2/**
                    
122	/* Returns the formatted number of views. */
                    
123	return $attr['before'] . number_format_i18n( $views ) . $attr['after'];
                    
124}
                    
158	/* Display the JavaScript needed. */
                    
159	echo '<script type="text/javascript">/* <![CDATA[ */ jQuery(document).ready( function() { jQuery.post( "' . admin_url( 'admin-ajax.php' ) . '", { action : "entry_views", _ajax_nonce : "' . $nonce . '", post_id : ' . $entry_views->post_id . ' } ); } ); /* ]]> */</script>' . "\n";
                    
160}
                    
                
currency.php https://bitbucket.org/adatux_/uakami.git | PHP | 119 lines
                    
1<?php
                    
2if(!class_exists("RGCurrency")){
                    
69
                    
70        $money = number_format($number, $this->currency["decimals"], $this->currency["decimal_separator"], $this->currency["thousand_separator"]);
                    
71        $symbol_left = !empty($this->currency["symbol_left"]) ? $this->currency["symbol_left"] . $this->currency["symbol_padding"] : "";
                    
102        "NZD" => array("name" => __("New Zealand Dollar", "gravityforms"), "symbol_left" => '$', "symbol_right" => "", "symbol_padding" => " ", "thousand_separator" => ',', "decimal_separator" => '.', "decimals" => 2),
                    
103        "PHP" => array("name" => __("Philippine Peso", "gravityforms"), "symbol_left" => 'Php', "symbol_right" => "", "symbol_padding" => " ", "thousand_separator" => ',', "decimal_separator" => '.', "decimals" => 2),
                    
104        "PLN" => array("name" => __("Polish Zloty", "gravityforms"), "symbol_left" => '&#122;&#322;', "symbol_right" => "", "symbol_padding" => " ", "thousand_separator" => '.', "decimal_separator" => ',', "decimals" => 2),
                    
                
activity.php https://gitlab.com/kaimou_m/Extia | PHP | 172 lines
                    
1<html>
                    
2<?php require_once('headrecur.php'); ?>
                    
3<body>
                    
14		header("location: ../index.php");?>
                    
15	<?php require_once('headerrecur.php'); ?>
                    
16	<div class="container-fluid" style="font-family: 'gotham';">
                    
33									<tr class="warning">
                    
34										<td><a href="../apps/cible_exporte.php" style="margin: 5px; color:inherit;"><i class="fa fa-file"></i> Données utilisateurs..</a></td>
                    
35									</tr>
                    
43									</tr>
                    
44									<?php
                    
45									$req = $bdd->query('select * from evenement');
                    
169	</div>
                    
170	<?php require_once('footerrecur.php'); ?>
                    
171</body>
                    
                
wc-formatting-functions.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 607 lines
                    
1<?php
                    
2/**
                    
157	// @codeCoverageIgnoreStart
                    
158	if ( version_compare( phpversion(), '5.3', '<' ) ) {
                    
159		$tax = round( $tax, $dp );
                    
195		$dp     = intval( $dp == "" ? get_option( 'woocommerce_price_num_decimals' ) : $dp );
                    
196		$number = number_format( floatval( $number ), $dp, '.', '' );
                    
197
                    
210/**
                    
211 * Convert a float to a string without locale formatting which PHP adds when changing floats to strings
                    
212 * @param  float $float
                    
236/**
                    
237 * Format a decimal with PHP Locale settings
                    
238 * @param  string $value
                    
402 *
                    
403 * Adapted from http://www.php.net/manual/en/function.timezone-name-from-abbr.php#89155
                    
404 *
                    
                
mainte_format1.php https://github.com/shoitokazu/GNS-idemitsu-Job.git | PHP | 417 lines
                    
1<?php
                    
2$page_line = 45;
                    
10	case "int":
                    
11		return number_format($value);
                    
12	case "float":
                    
12	case "float":
                    
13		return number_format($value, 1);
                    
14	}
                    
34
                    
35<?php
                    
36	if ($start=="") {
                    
60</table>
                    
61<?php
                    
62	}
                    
74
                    
75<?php	switch ($customer_type) {
                    
76	default:
                    
                
connection.php https://bitbucket.org/chakkimatti/vv2.git | PHP | 336 lines
                    
1<?php namespace Laravel\Database;
                    
2
                    
287	{
                    
288		// If the fetch style is "class", we'll hydrate an array of PHP
                    
289		// stdClass objects as generic containers for the query rows,
                    
310	{
                    
311		$time = number_format((microtime(true) - $start) * 1000, 2);
                    
312
                    
                
note_ticket.blade.php https://gitlab.com/laher01/factu40 | PHP | 275 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
28    $accounts = \App\Models\Tenant\BankAccount::all();
                    
29@endphp
                    
30<html>
                    
168                @else
                    
169                    {{ number_format($row->quantity, 0) }}
                    
170                @endif
                    
185            </td>
                    
186            <td class="text-right desc-9 align-top">{{ number_format($row->unit_price, 4) }}</td>
                    
187            <td class="text-right desc-9 align-top">{{ number_format($row->total, 2) }}</td>
                    
195                <td colspan="4" class="text-right font-bold desc">OP. EXPORTACIÓN: {{ $document->currency_type->symbol }}</td>
                    
196                <td class="text-right font-bold desc">{{ number_format($document->total_exportation, 2) }}</td>
                    
197            </tr>
                    
201                <td colspan="4" class="text-right font-bold desc">OP. GRATUITAS: {{ $document->currency_type->symbol }}</td>
                    
202                <td class="text-right font-bold desc">{{ number_format($document->total_free, 2) }}</td>
                    
203            </tr>
                    
                
index.php https://github.com/oozcitak/eve-corp-portal.git | PHP | 231 lines
                    
1<?php
                    
2require_once('../../core/core.class.php');
                    
5//Access control
                    
6if($core->CurrentUser()->AccessRight() < 2) $core->Goto('../../php/access.php');
                    
7
                    
200  }
                    
201  $opvalue = number_format($opvalue, 0);
                    
202  
                    
                
class-mla-objects.php https://bitbucket.org/kenaku/karate.git | PHP | 321 lines
                    
1<?php
                    
2/**
                    
202		return sprintf( '<a href="%1$s">%2$s</a>', esc_url( add_query_arg(
                    
203				array( 'page' => MLA::ADMIN_PAGE_SLUG, 'mla-tax' => $taxonomy, 'mla-term' => $term->slug, 'heading_suffix' => urlencode( $tax_object->label . ':' . $term->name ) ), 'upload.php' ) ), number_format_i18n( $results->post_count ) );
                    
204	}
                    
250		if ( !empty( $title ) ) { echo $args['before_title'] . $title . $args['after_title']; } ?>
                    
251			<div class="textwidget"><?php echo !empty( $instance['filter'] ) ? wpautop( $text ) : $text; ?></div>
                    
252		<?php
                    
270		<p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php echo __( 'Title', 'media-library-assistant' ) . ':'; ?></label>
                    
271		<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( $title ); ?>" /></p>
                    
272
                    
272
                    
273		<textarea class="widefat" rows="16" cols="20" id="<?php echo $this->get_field_id( 'text' ); ?>" name="<?php echo $this->get_field_name( 'text' ); ?>"><?php echo $text; ?></textarea>
                    
274
                    
274
                    
275		<p><input id="<?php echo $this->get_field_id( 'filter' ); ?>" name="<?php echo $this->get_field_name( 'filter' ); ?>" type="checkbox" <?php checked( isset( $instance['filter'] ) ? $instance['filter'] : 0 ); ?> />&nbsp;<label for="<?php echo $this->get_field_id( 'filter' ); ?>"><?php _e( 'Automatically add paragraphs', 'media-library-assistant' ); ?></label></p>
                    
276<?php
                    
                
menu.php https://github.com/kuzin/website-2008.git | PHP | 247 lines
                    
35	$submenu['edit.php'][15] = array( __('Tags'), 'manage_categories', 'edit-tags.php' );
                    
36	$submenu['edit.php'][20] = array( __('Categories'), 'manage_categories', 'categories.php' );
                    
37
                    
38$menu[10] = array( __('Media'), 'upload_files', 'upload.php', '', 'menu-top', 'menu-media', 'div' );
                    
39	$submenu['upload.php'][5] = array( __('Library'), 'upload_files', 'upload.php');
                    
40	$submenu['upload.php'][10] = array( _c('Add New|file'), 'upload_files', 'media-new.php');
                    
58	$submenu['themes.php'][5]  = array(__('Themes'), 'switch_themes', 'themes.php');
                    
59	$submenu['themes.php'][10] = array(__('Editor'), 'edit_themes', 'theme-editor.php');
                    
60
                    
68	$submenu['plugins.php'][10] = array(_c('Add New|plugin'), 'install_plugins', 'plugin-install.php');
                    
69	$submenu['plugins.php'][15] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' );
                    
70
                    
76if ( current_user_can('edit_users') ) {
                    
77	$_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php.
                    
78	$submenu['users.php'][5] = array(__('Authors &amp; Users'), 'edit_users', 'users.php');
                    
                
basket.php https://github.com/mihalyf/gallery3-contrib.git | PHP | 164 lines
                    
1<?php
                    
2/**
                    
116  static function formatMoney($money){
                    
117    return self::$format[self::getCurrency()].number_format($money,2);
                    
118  }
                    
                
template.php https://gitlab.com/Suhailgit/Project | PHP | 440 lines
                    
1<?php
                    
2
                    
380	 *
                    
381	 * @uses bbp_number_format() To format the number value
                    
382	 * @uses apply_filters() Calls 'bbp_get_search_pagination_count' with the
                    
393		$start_num = intval( ( $bbp->search_query->paged - 1 ) * $bbp->search_query->posts_per_page ) + 1;
                    
394		$from_num  = bbp_number_format( $start_num );
                    
395		$to_num    = bbp_number_format( ( $start_num + ( $bbp->search_query->posts_per_page - 1 ) > $bbp->search_query->found_posts ) ? $bbp->search_query->found_posts : $start_num + ( $bbp->search_query->posts_per_page - 1 ) );
                    
396		$total_int = (int) $bbp->search_query->found_posts;
                    
397		$total     = bbp_number_format( $total_int );
                    
398
                    
                
PurchaseItem.php https://gitlab.com/laher01/factu40 | PHP | 269 lines
                    
1<?php
                    
2
                    
212            'item' => $item,
                    
213            'quantity'                => number_format($this->quantity,2,'.',''),
                    
214            'unit_value'              => $this->unit_value,
                    
                
 

Source

Language