PageRenderTime 2292ms queryFilters 0ms Sphinxql 2167ms GetByIds 92ms meta 0ms repositoryFilters 5ms languageFilters 5ms sourceFilters 2ms

1,427,616 results for 'php empty repo:jhunsinfotech/blue-blues' (2292 ms)

Source

Language

Repository

admin.php https://github.com/briancunningham6/blog.git | PHP | 833 lines
145?>
146<?php if ( !empty($_POST['submit'] ) ) : ?>
147<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
223		<td><?php echo htmlspecialchars($ip); ?></td>
224		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
225		
292					<p><?php esc_html_e( $alert['msg'] ); ?></p>
293					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
294				</div>
309		return;
310	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
311		function akismet_warning() {
749function akismet_add_comment_author_url() {
750    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
751        global $wpdb;
admin.php https://github.com/bringhurst/wordpress-heroku.git | PHP | 850 lines
146?>
147<?php if ( !empty($_POST['submit'] ) ) : ?>
148<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
224		<td><?php echo htmlspecialchars($ip); ?></td>
225		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
226		
310					<p><?php esc_html_e( $alert['msg'] ); ?></p>
311					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
312				</div>
327		return;
328	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
329		function akismet_warning() {
766function akismet_add_comment_author_url() {
767    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
768        global $wpdb;
admin.php https://github.com/bruceallen/brucetest-woh.git | PHP | 925 lines
165	$key_status_strings = array( 
166	 	'empty'   => __( 'Empty' ), 
167		'valid'   => __( 'Valid' ), 
218						<td>
219							<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div>
220							<p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p>
227							<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
228							<label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br>
229							<label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label>
322	if ( !$api_key ) :?>
323	<div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php
324	else :?>
324	else :?>
325	<iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php
326	endif;?>
admin.php https://github.com/bsantana/jfelicio.git | PHP | 925 lines
165	$key_status_strings = array( 
166	 	'empty'   => __( 'Empty' ), 
167		'valid'   => __( 'Valid' ), 
218						<td>
219							<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div>
220							<p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p>
227							<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
228							<label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br>
229							<label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label>
322	if ( !$api_key ) :?>
323	<div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php
324	else :?>
324	else :?>
325	<iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php
326	endif;?>
admin.php https://github.com/bthornhill/mimosa-contents.git | PHP | 833 lines
145?>
146<?php if ( !empty($_POST['submit'] ) ) : ?>
147<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
223		<td><?php echo htmlspecialchars($ip); ?></td>
224		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
225		
292					<p><?php esc_html_e( $alert['msg'] ); ?></p>
293					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
294				</div>
309		return;
310	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
311		function akismet_warning() {
749function akismet_add_comment_author_url() {
750    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
751        global $wpdb;
admin.php https://github.com/btdeviant/wordpress-on-heroku.git | PHP | 925 lines
165	$key_status_strings = array( 
166	 	'empty'   => __( 'Empty' ), 
167		'valid'   => __( 'Valid' ), 
218						<td>
219							<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div>
220							<p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p>
227							<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
228							<label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br>
229							<label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label>
322	if ( !$api_key ) :?>
323	<div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php
324	else :?>
324	else :?>
325	<iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php
326	endif;?>
admin.php https://github.com/bugaudin/bestilblomster.git | PHP | 925 lines
165	$key_status_strings = array( 
166	 	'empty'   => __( 'Empty' ), 
167		'valid'   => __( 'Valid' ), 
218						<td>
219							<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div>
220							<p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p>
227							<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
228							<label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br>
229							<label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label>
322	if ( !$api_key ) :?>
323	<div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php
324	else :?>
324	else :?>
325	<iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php
326	endif;?>
CValidator.php https://bitbucket.org/dfr/tehsad.git | PHP | 211 lines
1<?php
2/**
120			else
121				$on=preg_split('/[\s,]+/',$params['on'],-1,PREG_SPLIT_NO_EMPTY);
122		}
144
145		$validator->on=empty($on) ? array() : array_combine($on,$on);
146
169	 * <ul>
170	 * <li>the validator's "on" property is empty</li>
171	 * <li>the validator's "on" property contains the specified scenario</li>
178	{
179		return empty($this->on) || isset($this->on[$scenario]);
180	}
197	 * Checks if the given value is empty.
198	 * A value is considered empty if it is null, an empty array, or the trimmed result is an empty string.
199	 * Note that this method is different from PHP empty(). It will return false when the value is 0.
document.php https://bitbucket.org/speedealing/speedealing.git | PHP | 180 lines
1<?php
2/* Copyright (C) 2003-2004 Rodolphe Quiedeville  <rodolphe@quiedeville.org>
26
27require '../../main.inc.php';
28require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
28require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
29require_once DOL_DOCUMENT_ROOT.'/core/lib/propal.lib.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
31require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
32require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
43$socid='';
44if (! empty($user->societe_id))
45{
126
127	$linkback='<a href="'.DOL_URL_ROOT.'/comm/propal/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
128
contact.php https://bitbucket.org/speedealing/speedealing.git | PHP | 227 lines
1<?php
2/* Copyright (C) 2005      Patrick Rouillon     <patrick@rouillon.net>
26
27require '../main.inc.php';
28require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
28require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
29require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
31require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
32require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
63	{
64		header("Location: ".$_SERVER['PHP_SELF']."?id=".$object->id);
65		exit;
155
156		$linkback = '<a href="'.DOL_URL_ROOT.'/commande/liste.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
157
Validator.php https://github.com/stefan321/yii2.git | PHP | 271 lines
1<?php
2/**
132		if (!is_array($attributes)) {
133			$attributes = preg_split('/[\s,]+/', $attributes, -1, PREG_SPLIT_NO_EMPTY);
134		}
137		if (isset($params['on']) && !is_array($params['on'])) {
138			$params['on'] = preg_split('/[\s,]+/', $params['on'], -1, PREG_SPLIT_NO_EMPTY);
139		}
141		if (isset($params['except']) && !is_array($params['except'])) {
142			$params['except'] = preg_split('/[\s,]+/', $params['except'], -1, PREG_SPLIT_NO_EMPTY);
143		}
181			$skip = $this->skipOnError && $object->hasErrors($attribute)
182				 || $this->skipOnEmpty && $this->isEmpty($object->$attribute);
183			if (!$skip) {
258	 * Checks if the given value is empty.
259	 * A value is considered empty if it is null, an empty array, or the trimmed result is an empty string.
260	 * Note that this method is different from PHP empty(). It will return false when the value is 0.
Validator.php https://github.com/rlerdorf/yii2.git | PHP | 269 lines
1<?php
2/**
132		if (!is_array($attributes)) {
133			$attributes = preg_split('/[\s,]+/', $attributes, -1, PREG_SPLIT_NO_EMPTY);
134		}
137		if (isset($params['on']) && !is_array($params['on'])) {
138			$params['on'] = preg_split('/[\s,]+/', $params['on'], -1, PREG_SPLIT_NO_EMPTY);
139		}
141		if (isset($params['except']) && !is_array($params['except'])) {
142			$params['except'] = preg_split('/[\s,]+/', $params['except'], -1, PREG_SPLIT_NO_EMPTY);
143		}
181			$skip = $this->skipOnError && $object->hasErrors($attribute)
182				 || $this->skipOnEmpty && $this->isEmpty($object->$attribute);
183			if (!$skip) {
256	 * Checks if the given value is empty.
257	 * A value is considered empty if it is null, an empty array, or the trimmed result is an empty string.
258	 * Note that this method is different from PHP empty(). It will return false when the value is 0.
upgrade.php https://github.com/shaiquddin/WordPress.git | PHP | 116 lines
41$mysql_version  = $wpdb->db_version();
42$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
43if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
70	if ( !$mysql_compat && !$php_compat )
71		printf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
72	elseif ( !$php_compat )
72	elseif ( !$php_compat )
73		printf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );
74	elseif ( !$mysql_compat )
86<p><?php _e( 'The update process may take a little while, so please be patient.' ); ?></p>
87<p class="step"><a class="button" href="upgrade.php?step=1&amp;backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p>
88<?php
98	<p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p>
99	<p class="step"><a class="button" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
100
AgHTML.php https://github.com/orphee2633/AgFramework.git | PHP | 126 lines
1<?php
2
35    {
36        if(is_file(VIEW_DIR.$string.".php") && empty($controller))
37        {
37        {
38            include(VIEW_DIR.$string.".php");
39            
42        
43        elseif(is_file(VIEW_DIR.$controller."/".$string.".php") && !empty($controller))
44        {   
44        {   
45                include(VIEW_DIR.$controller."/".$string.".php");
46                
106            {
107                if(is_file(VIEW_DIR.$controlador."/".$action.".php"))
108                            
statistic.php https://github.com/foxadmin/ReloadCMS.git | PHP | 116 lines
1<?php
2////////////////////////////////////////////////////////////////////////////////
17    // Add popularity to referer
18    if(!empty($referer) && $referer = parse_url($referer)) {
19        if(!empty($stats['ref'][$referer['host']])) {
26    //Add popularity to page
27     if(!empty($stats['popular'][$page])) {
28         $stats['popular'][$page]++;
36    // Register user in total hits count
37    if(!empty($stats['totalhits'])) {
38        $stats['totalhits']++;
44    if(!empty($stats['update']) && $stats['update'] < mktime(0, 0, 0, date('n'), date('j'), date('Y'))) {
45     if (!empty($stats['ref']))  { 
46		rcms_log_put(__('Today referers'), 'Last', $stats['ref']); // Save yestarday's referers
114                                  
115if(basename($_SERVER['SCRIPT_FILENAME']) == 'index.php' && !empty($system->config['disable_stats'])) statistic_register();
116?>
note.php https://github.com/zeert/dolibarr.git | PHP | 160 lines
21/**
22 *	\file       htdocs/comm/propal/note.php
23 *	\ingroup    propale
26
27require("../../main.inc.php");
28require_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
28require_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
29require_once(DOL_DOCUMENT_ROOT."/core/lib/propal.lib.php");
30
72
73if ($id > 0 || ! empty($ref))
74{
88
89			$linkback = '<a href="'.DOL_URL_ROOT.'/comm/propal/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans('BackToList').'</a>';
90
note.php https://github.com/zeert/dolibarr.git | PHP | 103 lines
19/**
20 *	\file       htdocs/fichinter/note.php
21 *	\ingroup    fichinter
24
25require("../main.inc.php");
26require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
26require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
27require_once(DOL_DOCUMENT_ROOT."/core/lib/fichinter.lib.php");
28
68
69if ($id > 0 || ! empty($ref))
70{
80
81		$linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
82
upgrade.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 117 lines
41$mysql_version  = $wpdb->db_version();
42$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
43if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
71	if ( !$mysql_compat && !$php_compat )
72		printf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
73	elseif ( !$php_compat )
73	elseif ( !$php_compat )
74		printf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );
75	elseif ( !$mysql_compat )
87<p><?php _e( 'The update process may take a little while, so please be patient.' ); ?></p>
88<p class="step"><a class="button button-large" href="upgrade.php?step=1&amp;backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p>
89<?php
99	<p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p>
100	<p class="step"><a class="button button-large" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
101
upgrade.php https://bitbucket.org/AFelipeTrujillo/goblog | PHP | 117 lines
41$mysql_version  = $wpdb->db_version();
42$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
43if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
71	if ( !$mysql_compat && !$php_compat )
72		printf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
73	elseif ( !$php_compat )
73	elseif ( !$php_compat )
74		printf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );
75	elseif ( !$mysql_compat )
87<p><?php _e( 'The update process may take a little while, so please be patient.' ); ?></p>
88<p class="step"><a class="button button-large" href="upgrade.php?step=1&amp;backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p>
89<?php
99	<p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p>
100	<p class="step"><a class="button button-large" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
101
book.var.php https://github.com/ssbalakumar/web-php.git | PHP | 90 lines
1<?php
2include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
9    0 => 'index.php',
10    1 => 'PHP Manual',
11  ),
18  array (
19    0 => 'book.var.php',
20    1 => '変数操作',
23  array (
24    0 => 'refs.basic.vartype.php',
25    1 => '変数・データ型関連',
28  array (
29    0 => 'class.reflectionexception.php',
30    1 => 'ReflectionException',
89
90<ul class="chunklist chunklist_book"><li><a href="intro.var.php">導入</a></li><li><a href="var.setup.php">インストール/設定</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="var.requirements.php">要件</a></li><li><a href="var.installation.php">インストール手順</a></li><li><a href="var.configuration.php">実行時設定</a></li><li><a href="var.resources.php">リソース型</a></li></ul></li><li><a href="var.constants.php">定義済み定数</a></li><li><a href="ref.var.php">変数操作 関数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.boolval.php">boolval</a> — 変数の boolean としての値を取得する</li><li><a href="function.debug-zval-dump.php">debug_zval_dump</a> — 内部的な Zend の値を表す文字列をダンプする</li><li><a href="function.doubleval.php">doubleval</a> — floatval のエイリアス</li><li><a href="function.empty.php">empty</a> — 変数が空であるかどうかを検査する</li><li><a href="function.floatval.php">floatval</a> — 変数の float 値を取得する</li><li><a href="function.get-defined-vars.php">get_defined_vars</a> — 全ての定義済の変数を配列で返す</li><li><a href="function.get-resource-type.php">get_resource_type</a> — リソース型を返す</li><li><a href="function.gettype.php">gettype</a> — 変数の型を取得する</li><li><a href="function.import-request-variables.php">import_request_variables</a> — GET/POST/Cookie 変数をグローバルスコープにインポートする</li><li><a href="function.intval.php">intval</a> — 変数の整数としての値を取得する</li><li><a href="function.is-array.php">is_array</a> — 変数が配列かどうかを検査する</li><li><a href="function.is-bool.php">is_bool</a> — 変数が boolean であるかを調べる</li><li><a href="function.is-callable.php">is_callable</a> — 引数が、関数としてコール可能な構造であるかどうかを調べる</li><li><a href="function.is-double.php">is_double</a> — is_float のエイリアス</li><li><a href="function.is-float.php">is_float</a> — 変数の型が float かどうか調べる</li><li><a href="function.is-int.php">is_int</a> — 変数が整数型かどうかを検査する</li><li><a href="function.is-integer.php">is_integer</a> — is_int のエイリアス</li><li><a href="function.is-long.php">is_long</a> — is_int のエイリアス</li><li><a href="function.is-null.php">is_null</a> — 変数が NULL かどうか調べる</li><li><a href="function.is-numeric.php">is_numeric</a> — 変数が数字または数値形式の文字列であるかを調べる</li><li><a href="function.is-object.php">is_object</a> — 変数がオブジェクトかどうかを検査する</li><li><a href="function.is-real.php">is_real</a> — is_float のエイリアス</li><li><a href="function.is-resource.php">is_resource</a> — 変数がリソースかどうかを調べる</li><li><a href="function.is-scalar.php">is_scalar</a> — 変数がスカラかどうかを調べる</li><li><a href="function.is-string.php">is_string</a> — 変数の型が文字列かどうかを調べる</li><li><a href="function.isset.php">isset</a> — 変数がセットされていること、そして NULL でないことを検査する</li><li><a href="function.print-r.php">print_r</a> — 指定した変数に関する情報を解りやすく出力する</li><li><a href="function.serialize.php">serialize</a> — 値の保存可能な表現を生成する</li><li><a href="function.settype.php">settype</a> — 変数の型をセットする</li><li><a href="function.strval.php">strval</a> — 変数の文字列としての値を取得する</li><li><a href="function.unserialize.php">unserialize</a> — 保存用表現から PHP の値を生成する</li><li><a href="function.unset.php">unset</a> — 指定した変数の割当を解除する</li><li><a href="function.var-dump.php">var_dump</a> — 変数に関する情報をダンプする</li><li><a href="function.var-export.php">var_export</a> — 変数の文字列表現を出力または返す</li></ul></li></ul></div><?php manual_footer(); ?>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21