PageRenderTime 3235ms queryFilters 1ms Sphinxql 3011ms GetByIds 176ms meta 0ms repositoryFilters 10ms languageFilters 1ms sourceFilters 1ms

364,113 results for 'php empty repo:adamanthea/sinister-gaming' (3235 ms)

Source

Language

Repository

post.php https://bitbucket.org/johnroyer/phpwind8.7.git | PHP | 305 lines
1<?php
2define('SCR','post');
5}
6require_once('global.php');
7L::loadClass('forum', 'forum', false);
8L::loadClass('post', 'forum', false);
9//* include_once pwCache::getPath(D_P.'data/bbscache/cache_post.php');
10pwCache::getData(D_P.'data/bbscache/cache_post.php');
14
15empty($fid) && Showmsg('undefined_action');
16$pwforum = new PwForum($fid);
32$replacedb = array();
33$secondurl = "thread.php?fid=$fid";
34!$action && $action = "new";
84		$modelid = $pcid = $actmid = 0;
85		if (empty($special) && $pwforum->foruminfo['allowtype'] > 0) {
86			$special = (int)log($pwforum->foruminfo['allowtype'],2);
feed-wp-config.php https://bitbucket.org/jcsarda/wordpress-dotcloud-deployable.git | PHP | 117 lines
1#!/usr/bin/env php
2<?php
14define("WP_CONFIG_FILE_NAME", dirname(__FILE__) . '/../wp-config.php');
15define("WP_CONFIG_sample_FILE_NAME", dirname(__FILE__) . '/../wp-config-sample.php');
16// the name of the database that will be created for wordpress
25$json = @file_get_contents(ENVIRONMENT_FILE_NAME);
26if (empty($json)) {
27    die(MSG_PREFIX . "Error: Can't read environment.json file.\n");
31$environment = @json_decode($json);
32if (empty($environment)) {
33    die(MSG_PREFIX . "Error: Content of environment.json is not valid json.\n");
53    if (empty($content)) {
54        echo MSG_PREFIX . "File wp-config.php not found (looking at: " . WP_CONFIG_FILE_NAME . "). Trying to find wp-config-sample.php\n";
55    }
57} else {
58    echo MSG_PREFIX . "File wp-config.php empty (looking at: " . WP_CONFIG_FILE_NAME . "). Trying to find wp-config-sample.php\n";
59}
admin.php https://bitbucket.org/dkrzos/phc.git | PHP | 911 lines
176	<?php else: ?>
177	<h2 class="ak-header"><?php printf( __( 'Akismet <a href="%s" class="add-new-h2">Stats</a>' ), esc_url( add_query_arg( array( 'page' => 'akismet-stats-display' ), class_exists( 'Jetpack' ) ? admin_url( 'admin.php' ) : admin_url( 'index.php' ) ) ) ); ?></h2>
178	<?php endif; ?>
205						<td>
206							<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_html( 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 ucfirst( $key_status );?></div>
207							<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>
214							<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
215							<label for="akismet_discard_month" title="<?php echo esc_attr( __( '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>
216							<label for="akismet_show_user_comments_approved" title="<?php echo esc_attr( __( '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>
308	if ( !$api_key ) :?>
309	<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.' ), esc_url( add_query_arg( array( 'page' => 'akismet-key-config' ), admin_url( 'admin.php' ) ) ) );?></p></div><?php
310	else :?>
310	else :?>
311	<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
312	endif;?>
tasks.php https://bitbucket.org/speedealing/speedealing.git | PHP | 399 lines
1<?php
2/* Copyright (C) 2005      Rodolphe Quiedeville <rodolphe@quiedeville.org>
27require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
28require_once DOL_DOCUMENT_ROOT.'/projet/class/task.class.php';
29require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php';
29require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
31require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
129			{
130				header("Location: ".DOL_URL_ROOT.'/projet/tasks/index.php'.(empty($mode)?'':'?mode='.$mode));
131				exit;
144            // We go back on task list
145            header("Location: ".DOL_URL_ROOT.'/projet/tasks/index.php'.(empty($mode)?'':'?mode='.$mode));
146            exit;
312		{
313			print '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?id='.$object->id.'&action=create'.$param.'&backtopage='.urlencode($_SERVER['PHP_SELF'].'?id='.$object->id).'">'.$langs->trans('AddTask').'</a>';
314		}
fiche.php https://bitbucket.org/speedealing/speedealing.git | PHP | 1,586 lines
1<?php
2/* Copyright (C) 2003-2004	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
31require_once(DOL_DOCUMENT_ROOT."/core/lib/price.lib.php");
32require_once(DOL_DOCUMENT_ROOT.'/core/lib/contract.lib.php');
33require_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
34require_once(DOL_DOCUMENT_ROOT."/core/modules/contract/modules_contract.php");
35if (! empty($conf->produit->enabled) || ! empty($conf->service->enabled))  require_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
36if (! empty($conf->propal->enabled))  require_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
379             $newlang='';
380             if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
381             if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
627    {
628        Header('Location: '.$_SERVER["PHP_SELF"].'?id='.$object->id.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc'));
629        exit;
901
902        $linkback = '<a href="'.DOL_URL_ROOT.'/contrat/liste.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
903
fiche.php https://bitbucket.org/speedealing/speedealing.git | PHP | 588 lines
1<?php
2/* Copyright (C) 2001-2002	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
28require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
30require_once DOL_DOCUMENT_ROOT.'/compta/dons/class/don.class.php';
31require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
32if (! empty($conf->projet->enabled)) require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php';
33
229	$newlang='';
230	if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
231	if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$donation->client->default_lang;
244	{
245		header('Location: '.$_SERVER["PHP_SELF"].'?id='.$donation->id.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc'));
246		exit;
455
456	$linkback = '<a href="'.DOL_URL_ROOT.'/compta/dons/liste.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
457
admin.php https://bitbucket.org/KamranMackey/wordpress.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;
index.php https://bitbucket.org/varad/usebb-freddy-cannon-edition | PHP | 283 lines
1<?php
2
44
45$_GET['step'] = ( !empty($_GET['step']) && valid_int($_GET['step']) ) ? intval($_GET['step']) : 1;
46
73	
74	if ( !empty($_POST['start']) && !is_writable(ROOT_PATH.'config.php') && !empty($_SESSION['installer_running']) ) {
75		
77		
78	} elseif ( !empty($_POST['db_type']) && array_key_exists($_POST['db_type'], $db_servers) && !empty($_POST['db_server']) && !empty($_POST['db_username']) && !empty($_POST['db_dbname']) && !empty($_POST['admin_username']) && preg_match(USER_PREG, $_POST['admin_username']) && !empty($_POST['admin_email']) && preg_match(EMAIL_PREG, $_POST['admin_email']) && !empty($_POST['admin_passwd1']) && !empty($_POST['admin_passwd2']) && preg_match(PWD_PREG, $_POST['admin_passwd1']) && $_POST['admin_passwd1'] == $_POST['admin_passwd2'] ) {
79		
110			
111			$config_warning = ( !is_writable(ROOT_PATH.'config.php') ) ? '<p class="important"><strong>Tip:</strong> <code>config.php</code> is at this moment not writable by the webserver. Therefore, you will be asked to download the file after filling in this form. If you would like UseBB to edit the file automatically, make <code>config.php</code> writable (<em>chmod</em> it to 0777) and <a href="index.php">refresh</a> this wizard.</p>' : '';
112			
220	
221} elseif ( $_GET['step'] === 2 && !empty($_SESSION['admin_username']) && preg_match(USER_PREG, $_SESSION['admin_username']) && !empty($_SESSION['admin_email']) && preg_match(EMAIL_PREG, $_SESSION['admin_email']) && !empty($_SESSION['admin_passwd']) ) {
222	
da_catalog_titleRecord.php https://github.com/jmjamison/da_catalog.git | PHP | 759 lines
44<div id="content">
45<?php
46	
52	//include('../db_login2.php');
53	//include('ISSRDA_login.php');
54	// set the include file
54	// set the include file
55	//include the login file - db_login.php
56	$sscnetInclude = "ISSRDA_login.php";
428	  #
429      if (empty($file) and empty($study)) {
430        # ignore
496echo "<A HREF='viewfiles.php'>View Data Cart</A><br>";
497			echo "<A HREF='emptycart.php'>Empty/Clear Data Cart</A><br><br>";
498			}
update-core.php https://github.com/jpwannabi/tiendaelfracaso.git | PHP | 647 lines
53		} else {
54			$php_compat     = version_compare( $php_version, $update->php_version, '>=' );
55			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
60			if ( !$mysql_compat && !$php_compat )
61				$message = sprintf( __('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.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
62			elseif ( !$php_compat )
62			elseif ( !$php_compat )
63				$message = sprintf( __('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.'), $update->current, $update->php_version, $php_version );
64			elseif ( !$mysql_compat )
155				'version'       => $wp_version . '.1.next.minor',
156				'php_version'   => $required_php_version,
157				'mysql_version' => $required_mysql_version,
423	<script type="text/javascript">
424	window.location = '<?php echo self_admin_url( 'about.php?updated' ); ?>';
425	</script>
update-core.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 660 lines
53		} else {
54			$php_compat     = version_compare( $php_version, $update->php_version, '>=' );
55			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
60			if ( !$mysql_compat && !$php_compat )
61				$message = sprintf( __('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.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
62			elseif ( !$php_compat )
62			elseif ( !$php_compat )
63				$message = sprintf( __('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.'), $update->current, $update->php_version, $php_version );
64			elseif ( !$mysql_compat )
155				'version'       => $wp_version . '.1.next.minor',
156				'php_version'   => $required_php_version,
157				'mysql_version' => $required_mysql_version,
435	<script type="text/javascript">
436	window.location = '<?php echo self_admin_url( 'about.php?updated' ); ?>';
437	</script>
update-core.php https://bitbucket.org/Thane2376/death-edge.ru.git | PHP | 650 lines
53		} else {
54			$php_compat     = version_compare( $php_version, $update->php_version, '>=' );
55			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
60			if ( !$mysql_compat && !$php_compat )
61				$message = sprintf( __('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.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
62			elseif ( !$php_compat )
62			elseif ( !$php_compat )
63				$message = sprintf( __('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.'), $update->current, $update->php_version, $php_version );
64			elseif ( !$mysql_compat )
155				'version'       => $wp_version . '.1.next.minor',
156				'php_version'   => $required_php_version,
157				'mysql_version' => $required_mysql_version,
425	<script type="text/javascript">
426	window.location = '<?php echo self_admin_url( 'about.php?updated' ); ?>';
427	</script>
update-core.php https://github.com/markjaquith/WordPress.git | PHP | 729 lines
51	$form_action = 'update-core.php?action=do-core-upgrade';
52	$php_version    = phpversion();
53	$mysql_version  = $wpdb->db_version();
63		} else {
64			$php_compat     = version_compare( $php_version, $update->php_version, '>=' );
65			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
70			if ( !$mysql_compat && !$php_compat )
71				$message = sprintf( __('You cannot update because <a href="https://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.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
72			elseif ( !$php_compat )
72			elseif ( !$php_compat )
73				$message = sprintf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $update->current, $update->php_version, $php_version );
74			elseif ( !$mysql_compat )
170				'version'       => $wp_version . '.1.next.minor',
171				'php_version'   => $required_php_version,
172				'mysql_version' => $required_mysql_version,
update-core.php https://gitlab.com/jessehall/hudson_alpha.git | PHP | 649 lines
53		} else {
54			$php_compat     = version_compare( $php_version, $update->php_version, '>=' );
55			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
60			if ( !$mysql_compat && !$php_compat )
61				$message = sprintf( __('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.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
62			elseif ( !$php_compat )
62			elseif ( !$php_compat )
63				$message = sprintf( __('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.'), $update->current, $update->php_version, $php_version );
64			elseif ( !$mysql_compat )
155				'version'       => $wp_version . '.1.next.minor',
156				'php_version'   => $required_php_version,
157				'mysql_version' => $required_mysql_version,
425	<script type="text/javascript">
426	window.location = '<?php echo self_admin_url( 'about.php?updated' ); ?>';
427	</script>
update-core.php https://gitlab.com/geyson/geyson.git | PHP | 694 lines
63		} else {
64			$php_compat     = version_compare( $php_version, $update->php_version, '>=' );
65			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
70			if ( !$mysql_compat && !$php_compat )
71				$message = sprintf( __('You cannot update because <a href="https://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.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
72			elseif ( !$php_compat )
72			elseif ( !$php_compat )
73				$message = sprintf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $update->current, $update->php_version, $php_version );
74			elseif ( !$mysql_compat )
170				'version'       => $wp_version . '.1.next.minor',
171				'php_version'   => $required_php_version,
172				'mysql_version' => $required_mysql_version,
463	<script type="text/javascript">
464	window.location = '<?php echo self_admin_url( 'about.php?updated' ); ?>';
465	</script>
expressions_parsing.php https://bitbucket.org/jelix/jelix-trunk/ | PHP | 303 lines
92        '@abstract.as.break.case.catch.class.clone@'=>'$t->getLocaleString(\'abstract.as.break.case.catch.class.clone\')',
93        '@const.continue.declare.default.do.echo.else.elseif.empty@'=>'$t->getLocaleString(\'const.continue.declare.default.do.echo.else.elseif.empty\')',
94        '@exit.final.for.foreach.function.global.if.implements.instanceof@'=>'$t->getLocaleString(\'exit.final.for.foreach.function.global.if.implements.instanceof\')',
101    protected $varexprTrustedMode = array(
102        '$aaa.PHP_VERSION'=>'$t->_vars[\'aaa\'].PHP_VERSION',
103    );
166        'isset($t[5])'  =>array('Dans le tag  du template , le code php isset n\'est pas autorisé'),
167        'empty($aa)'    =>array('Dans le tag  du template , le code php empty n\'est pas autorisé'),
168        '$aa == 123'    =>array('Dans le tag  du template , le code php == n\'est pas autorisé'),
174        '$aa >> 123'    =>array('Dans le tag  du template , le code php >> n\'est pas autorisé'),
175        '$aa == false'  =>array('Dans le tag  du template , le code php == n\'est pas autorisé'),
176        '$aa == true'   =>array('Dans le tag  du template , le code php == n\'est pas autorisé'),
194    protected $badvarexprUnTrustedMode = array(
195        '$aaa.PHP_VERSION'=>array('Dans le tag  du template , les constantes (PHP_VERSION) sont interdites'),
196    );
document.php git://github.com/Dolibarr/dolibarr.git | PHP | 189 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville  <rodolphe@quiedeville.org>
29
30require '../../main.inc.php';
31require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
31require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
32require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
33require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
33require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
34require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php';
35require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
35require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
36require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
37if (!empty($conf->projet->enabled)) {
114
115	$linkback = '<a href="'.DOL_URL_ROOT.'/fourn/commande/list.php'.(!empty($socid) ? '?socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>';
116
del_entry.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 276 lines
72// user is allowed to delete events from the other user's calendar.
73if ( ! $can_edit && access_is_enabled () && ! empty ( $user ) &&
74    access_user_calendar ( 'edit', $user ) )
91$override_repeat = false;
92if ( ! empty ( $date ) && $event_repeats && ! empty ( $override ) )
93  $override_repeat = true;
163              translate ( 'Date XXX' ) ) . "\n"
164             . ( ! empty ( $eventtime ) && $eventtime != '-1'
165              ? str_replace ( 'XXX', display_time ( '', 2, $eventstart,
258  if ( $ret == 'list' )
259    $url = 'list_unapproved.php' . ( empty ( $user ) ? '' : '?user=' . $user );
260} else
267set_env ( 'TZ', $TIMEZONE );
268if ( empty ( $error ) && empty ( $mailerError ) ) {
269  do_redirect ( $url );
search_handler.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 265 lines
53$users = getValue ( 'users' );
54if ( empty ( $users ) || empty ( $users[0] ) )
55  $search_others = false;
90
91if ( empty ( $users ) || empty ( $users[0] ) )
92  $search_others = false;
121// check if keywords is surrounded by quotes
122// an alternative might be to add a checkbox/list on search.php
123// to indicate Phrase or other mode via an arg
244// now sort by number of hits
245if ( empty ( $error ) && ! empty ( $info ) ) {
246  echo '
256echo '
257      <form action="search.php' . ( ! empty ( $advanced ) ? '?adv=1' : '' )
258        . '"  style="margin-left: 13px;" method="post">
InstallerController.php https://bitbucket.org/machaven/limesurvey.git | PHP | 1,213 lines
101    {
102        if (file_exists(APPPATH . 'config/config.php') && empty($_POST['InstallerConfigForm']))
103        {
116    {
117        if (empty(Yii::app()->session['installerLang']))
118            Yii::app()->session['installerLang'] = 'en';
204        $aData['progressValue'] = 20;
205        $aData['phpVersion'] = phpversion();
206        // variable storing next button link.initially null
860
861        // zlib php library check
862        check_PHPFunction('zlib_get_coding_type', $data['zlibPresent']);
1203        } catch(Exception $e) {
1204            if (!empty($aData['model']) && !empty($aData['clang'])) {
1205                $aData['model']->addError('dblocation', $aData['clang']->gT('Try again! Connection with database failed. Reason: ') . $e->message);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21