PageRenderTime 2046ms queryFilters 0ms Sphinxql 1909ms GetByIds 87ms meta 0ms repositoryFilters 10ms languageFilters 10ms sourceFilters 2ms

1,427,616 results for 'php empty' (2046 ms)

Source

Language

Repository

document.php https://bitbucket.org/speedealing/speedealing.git | PHP | 205 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville  <rodolphe@quiedeville.org>
26
27require '../../main.inc.php';
28require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
28require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
29require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/invoice.lib.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/invoice.lib.php';
31require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
32require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
32require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
33require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
34
133
134		$linkback = '<a href="'.DOL_URL_ROOT.'/compta/facture/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
135
fiche.php https://bitbucket.org/speedealing/speedealing.git | PHP | 582 lines
1<?php
2/* Copyright (C) 2003		Rodolphe Quiedeville <rodolphe@quiedeville.org>
25
26require '../../main.inc.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/trip.lib.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/trip.lib.php';
28require_once DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacement.class.php';
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
30if (! empty($conf->projet->enabled))
31{
31{
32    require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php';
33    require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
447
448            $linkback = '<a href="'.DOL_URL_ROOT.'/compta/deplacement/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
449
document.php https://bitbucket.org/speedealing/speedealing.git | PHP | 175 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville  <rodolphe@quiedeville.org>
26
27require '../main.inc.php';
28require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
28require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
29require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
31require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
32require_once DOL_DOCUMENT_ROOT .'/commande/class/commande.class.php';
69// Envoi fichier
70if (GETPOST('sendit') && ! empty($conf->global->MAIN_UPLOAD_DOC))
71{
129
130		$linkback = '<a href="'.DOL_URL_ROOT.'/commande/liste.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
131
contact.php https://github.com/zeert/dolibarr.git | PHP | 157 lines
1<?php
2/* Copyright (C) 2005-2012 Regis Houssin        <regis@dolibarr.fr>
20/**
21 *       \file       htdocs/fichinter/contact.php
22 *       \ingroup    fichinter
25
26require("../main.inc.php");
27require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
28require_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
29require_once(DOL_DOCUMENT_ROOT."/core/lib/fichinter.lib.php");
30require_once(DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php');
61	{
62		Header("Location: ".$_SERVER['PHP_SELF']."?id=".$object->id);
63		exit;
130
131	$linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
132
document.php https://github.com/zeert/dolibarr.git | PHP | 172 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville  <rodolphe@quiedeville.org>
28
29require("../main.inc.php");
30require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
30require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
31require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
32require_once(DOL_DOCUMENT_ROOT."/core/lib/images.lib.php");
32require_once(DOL_DOCUMENT_ROOT."/core/lib/images.lib.php");
33require_once(DOL_DOCUMENT_ROOT."/core/lib/fichinter.lib.php");
34require_once(DOL_DOCUMENT_ROOT."/core/class/html.formfile.class.php");
73
74if (GETPOST('sendit','alpha') && ! empty($conf->global->MAIN_UPLOAD_DOC))
75{
127
128    $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
129
contact.php https://github.com/zeert/dolibarr.git | PHP | 205 lines
1<?php
2/* Copyright (C) 2005      Patrick Rouillon     <patrick@rouillon.net>
26
27require("../../main.inc.php");
28require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
28require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
29require_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
30require_once(DOL_DOCUMENT_ROOT.'/core/class/discount.class.php');
30require_once(DOL_DOCUMENT_ROOT.'/core/class/discount.class.php');
31require_once(DOL_DOCUMENT_ROOT.'/core/lib/invoice.lib.php');
32require_once(DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php');
65	{
66		Header("Location: ".$_SERVER['PHP_SELF']."?id=".$object->id);
67		exit;
146
147		$linkback = '<a href="'.DOL_URL_ROOT.'/compta/facture/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
148
note.php https://github.com/zeert/dolibarr.git | PHP | 137 lines
1<?php
2/* Copyright (C) 2004      Rodolphe Quiedeville <rodolphe@quiedeville.org>
20/**
21 *      \file       htdocs/compta/facture/note.php
22 *      \ingroup    facture
25
26require("../../main.inc.php");
27require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
27require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
28require_once(DOL_DOCUMENT_ROOT.'/core/class/discount.class.php');
29require_once(DOL_DOCUMENT_ROOT.'/core/lib/invoice.lib.php');
74
75if ($id > 0 || ! empty($ref))
76{
88
89    $linkback = '<a href="'.DOL_URL_ROOT.'/compta/facture/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
90
upgrade.php https://github.com/jinbo51/DiscuzX.git | PHP | 119 lines
6 *
7 *      $Id: install.php 27070 2012-01-04 05:55:20Z songlixin $
8 */
55$table = DB::table('common_plugin');
56include DISCUZ_ROOT . 'source/language/lang_admincp_cloud.php';
57$format = "UPDATE $table SET name = '%s' WHERE identifier = 'security'";
62$cronId_security_daily = $cronId_security_lastpost = 0;
63if(file_exists(DISCUZ_ROOT . './source/include/cron/cron_security_cleanup_lastpost.php') || file_exists(DISCUZ_ROOT . './source/include/cron/cron_security_daily.php')) {
64	$count = C::t('common_cron')->count();
66	foreach ($oldData as $value) {
67		if ($value['filename'] == 'cron_security_daily.php') {
68			$cronId_security_daily = $value['cronid'];
73}
74if(file_exists(DISCUZ_ROOT . './source/include/cron/cron_security_cleanup_lastpost.php') && empty($cronId_security_lastpost)) {
75	$data = array(
install.php https://github.com/jinbo51/DiscuzX.git | PHP | 123 lines
6 *
7 *      $Id: install.php 33344 2013-05-30 04:37:03Z jeffjzhang $
8 */
64$cronId_security_daily = $cronId_security_lastpost = 0;
65if(file_exists(DISCUZ_ROOT . './source/include/cron/cron_security_cleanup_lastpost.php') || file_exists(DISCUZ_ROOT . './source/include/cron/cron_security_daily.php')) {
66	$count = C::t('common_cron')->count();
68	foreach ($oldData as $value) {
69		if ($value['filename'] == 'cron_security_daily.php') {
70			$cronId_security_daily = $value['cronid'];
70			$cronId_security_daily = $value['cronid'];
71		}elseif ($value['filename'] == 'cron_security_cleanup_lastpost.php') {
72			$cronId_security_lastpost = $value['cronid'];
76include DISCUZ_ROOT . 'source/language/lang_admincp_cloud.php';
77if(file_exists(DISCUZ_ROOT . './source/include/cron/cron_security_cleanup_lastpost.php') && empty($cronId_security_lastpost)) {
78	$data = array(
checkboxes.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 368 lines
40                '#default_value' => (!empty( $field['value'][$option_key] )// Also check new post
41                || ($pagenow == 'post-new.php' && !empty( $option['checked'] ))) ? 1 : 0,
42                '#name' => 'wpcf[' . $field['id'] . '][' . $option_key . ']',
185            if ( $option['display'] == 'db'
186                    && !empty( $option['set_value'] ) && !empty( $value ) ) {
187                $value = $option['set_value'];
204        $output = implode( array_values( $params['field_value'] ), $separator );
205        return empty( $output ) ? '__wpcf_skip_empty' : stripslashes($output);
206    }
230    if ( isset( $params['state'] ) ) {
231        $content = !empty( $params['#content'] ) ? htmlspecialchars_decode( $params['#content'] ) : '__wpcf_skip_empty';
232        if ( $params['state'] == 'checked'
250     * Only set if it matches settings.
251     * Otherwise leave empty and '__wpcf_skip_empty' will be returned.
252     *
checkboxes.php https://github.com/ngocphuuit/wordpress-tax.git | PHP | 360 lines
40                '#default_value' => (!empty( $field['value'][$option_key] )// Also check new post
41                || ($pagenow == 'post-new.php' && !empty( $option['checked'] ))) ? 1 : 0,
42                '#name' => 'wpcf[' . $field['id'] . '][' . $option_key . ']',
185            if ( $option['display'] == 'db'
186                    && !empty( $option['set_value'] ) && !empty( $value ) ) {
187                $value = $option['set_value'];
204        $output = implode( array_values( $params['field_value'] ), $separator );
205        return empty( $output ) ? '__wpcf_skip_empty' : $output;
206    }
230    if ( isset( $params['state'] ) ) {
231        $content = !empty( $params['#content'] ) ? htmlspecialchars_decode( $params['#content'] ) : '__wpcf_skip_empty';
232        if ( $params['state'] == 'checked'
250     * Only set if it matches settings.
251     * Otherwise leave empty and '__wpcf_skip_empty' will be returned.
252     */
common.php https://gitlab.com/cherian/xmec.git | PHP | 472 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
43  // handle configs that have register_globals turned off.
44  // we use $PHP_SELF as the test since it should always be there.
45  // We might need to consider not using globals soon.
45  // We might need to consider not using globals soon.
46  if(!isset($PHP_SELF)) {
47     include ("./include/register_globals.php");
150
151  // passed to array_walk in read.php and list.php
152  // **TODO: replace using array_flip
379  // include abstraction layer and check if its defined
380  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
381    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
461      while($plugindirname = readdir($dir)) {
462        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
463          include("./plugin/$plugindirname/plugin.php");
common.php https://gitlab.com/cherian/xmec.git | PHP | 469 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
42  // handle configs that have register_globals turned off.
43  // we use $PHP_SELF as the test since it should always be there.
44  // We might need to consider not using globals soon.
44  // We might need to consider not using globals soon.
45  if(!isset($PHP_SELF)) {
46     include ("./include/register_globals.php");
149
150  // passed to array_walk in read.php and list.php
151  // **TODO: replace using array_flip
376  // include abstraction layer and check if its defined
377  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
378    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
458      while($plugindirname = readdir($dir)) {
459        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
460          include("./plugin/$plugindirname/plugin.php");
common.php https://gitlab.com/cherian/xmec.git | PHP | 472 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
43  // handle configs that have register_globals turned off.
44  // we use $PHP_SELF as the test since it should always be there.
45  // We might need to consider not using globals soon.
45  // We might need to consider not using globals soon.
46  if(!isset($PHP_SELF)) {
47     include ("./include/register_globals.php");
150
151  // passed to array_walk in read.php and list.php
152  // **TODO: replace using array_flip
379  // include abstraction layer and check if its defined
380  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
381    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
461      while($plugindirname = readdir($dir)) {
462        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
463          include("./plugin/$plugindirname/plugin.php");
one-click-child-theme.php https://gitlab.com/eita/encontre-consumo-responsavel.git | PHP | 686 lines
1<?php
2/*
100		// TODO: I could also use the $pagenow global, but is it still there?
101		if ( basename($_SERVER['PHP_SELF']) == 'themes.php' && !empty($_REQUEST['occt_error']) ) {
102			add_action( 'admin_notices', array($this,'showErrorNotice'));
125						)),
126						admin_url('theme-editor.php')
127					)
180						)),
181						admin_url('theme-editor.php')
182					),
386		// ^^^ above file has no final carriage return and ending comment so it should
387		// "smash" the starting '<?php' string in any existing functions.php.
388		$functions_text .= file_get_contents( $functions_file );
568		// "Generate" functions.php 
569		copy( $this->_pluginDir.'/templates/functions.php', $new_theme_path.'/functions.php' );
570
common.php https://gitlab.com/thejuskrishna/xmec.git | PHP | 472 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
43  // handle configs that have register_globals turned off.
44  // we use $PHP_SELF as the test since it should always be there.
45  // We might need to consider not using globals soon.
45  // We might need to consider not using globals soon.
46  if(!isset($PHP_SELF)) {
47     include ("./include/register_globals.php");
150
151  // passed to array_walk in read.php and list.php
152  // **TODO: replace using array_flip
379  // include abstraction layer and check if its defined
380  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
381    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
461      while($plugindirname = readdir($dir)) {
462        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
463          include("./plugin/$plugindirname/plugin.php");
common.php https://gitlab.com/thejuskrishna/xmec.git | PHP | 469 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
42  // handle configs that have register_globals turned off.
43  // we use $PHP_SELF as the test since it should always be there.
44  // We might need to consider not using globals soon.
44  // We might need to consider not using globals soon.
45  if(!isset($PHP_SELF)) {
46     include ("./include/register_globals.php");
149
150  // passed to array_walk in read.php and list.php
151  // **TODO: replace using array_flip
376  // include abstraction layer and check if its defined
377  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
378    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
458      while($plugindirname = readdir($dir)) {
459        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
460          include("./plugin/$plugindirname/plugin.php");
common.php https://gitlab.com/thejuskrishna/xmecorg.git | PHP | 469 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
42  // handle configs that have register_globals turned off.
43  // we use $PHP_SELF as the test since it should always be there.
44  // We might need to consider not using globals soon.
44  // We might need to consider not using globals soon.
45  if(!isset($PHP_SELF)) {
46     include ("./include/register_globals.php");
149
150  // passed to array_walk in read.php and list.php
151  // **TODO: replace using array_flip
376  // include abstraction layer and check if its defined
377  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
378    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
458      while($plugindirname = readdir($dir)) {
459        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
460          include("./plugin/$plugindirname/plugin.php");
common.php https://gitlab.com/thejuskrishna/xmec.git | PHP | 472 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
43  // handle configs that have register_globals turned off.
44  // we use $PHP_SELF as the test since it should always be there.
45  // We might need to consider not using globals soon.
45  // We might need to consider not using globals soon.
46  if(!isset($PHP_SELF)) {
47     include ("./include/register_globals.php");
150
151  // passed to array_walk in read.php and list.php
152  // **TODO: replace using array_flip
379  // include abstraction layer and check if its defined
380  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
381    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
461      while($plugindirname = readdir($dir)) {
462        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
463          include("./plugin/$plugindirname/plugin.php");
common.php https://gitlab.com/thejuskrishna/xmecorg.git | PHP | 472 lines
1<?php
2  if ( defined( "_COMMON_PHP" ) ) return;
43  // handle configs that have register_globals turned off.
44  // we use $PHP_SELF as the test since it should always be there.
45  // We might need to consider not using globals soon.
45  // We might need to consider not using globals soon.
46  if(!isset($PHP_SELF)) {
47     include ("./include/register_globals.php");
150
151  // passed to array_walk in read.php and list.php
152  // **TODO: replace using array_flip
379  // include abstraction layer and check if its defined
380  if(!defined("PHORUM_ADMIN") && (empty($PHORUM["dbtype"]) || !file_exists("./db/$PHORUM[dbtype].php"))){
381    echo "<html><head><title>Phorum Error</title></head><body>Something is wrong.  You need to edit common.php and select a database.</body></html>";
461      while($plugindirname = readdir($dir)) {
462        if($plugindirname[0] != "." && @file_exists("./plugin/$plugindirname/plugin.php") && !empty($PHORUM["plugins"][$plugindirname])){
463          include("./plugin/$plugindirname/plugin.php");
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21