PageRenderTime 1358ms queryFilters 40ms Sphinxql 634ms GetByIds 518ms meta 0ms repositoryFilters 0ms languageFilters 0ms sourceFilters 0ms

878 results for 'php empty repo:speedealing/speedealing' (1358 ms)

Source

Language

Repository

adherent.php https://bitbucket.org/speedealing/speedealing.git | PHP | 277 lines
1<?php
2/* Copyright (C) 2003      Rodolphe Quiedeville <rodolphe@quiedeville.org>
25/**
26 *   	\file       htdocs/adherents/admin/adherent.php
27 *		\ingroup    member
30
31require '../../main.inc.php';
32require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
32require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
33require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
34
109
110$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
111print_fiche_titre($langs->trans("MembersSetup"),$linkback,'setup');
135    $var=!$var;
136    print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
137    print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
doc_generic_odt.modules.php https://bitbucket.org/speedealing/speedealing.git | PHP | 320 lines
1<?php
2/* Copyright (C) 2010-2011 Laurent Destailleur <ely@users.sourceforge.net>
26require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php';
27require_once DOL_DOCUMENT_ROOT . '/core/lib/company.lib.php';
28require_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
28require_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
29require_once DOL_DOCUMENT_ROOT . '/core/lib/doc.lib.php';
30
38
39	var $phpmin = array(5,2,0);	// Minimum version of PHP required by module
40
214				// Open and load template
215				require_once ODTPHP_PATH.'odf.php';
216				$odfHandler = new odf(
219    					'PATH_TO_TMP'	  => $conf->societe->multidir_temp[$object->entity],
220    					'ZIP_PROXY'		  => 'PclZipProxy',	// PhpZipProxy or PclZipProxy. Got "bad compression method" error when using PhpZipProxy.
221    					'DELIMITER_LEFT'  => '{',
index.php https://bitbucket.org/speedealing/speedealing.git | PHP | 518 lines
1<?php
2/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
20/**
21 *	\file       htdocs/comm/propal/index.php
22 *	\ingroup    propal
25
26require '../../main.inc.php';
27require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
27require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
28require_once DOL_DOCUMENT_ROOT .'/comm/propal/class/propal.class.php';
29
65print '<table class="noborder nohover" width="100%">';
66print '<form method="post" action="'.DOL_URL_ROOT.'/comm/propal/list.php">';
67print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
128            print '<td>'.$propalstatic->LibStatut($status,0).'</td>';
129            print '<td align="right"><a href="liste.php?statut='.$status.'">'.(isset($vals[$status])?$vals[$status]:0).'</a></td>';
130            print "</tr>\n";
popuprop.php https://bitbucket.org/speedealing/speedealing.git | PHP | 167 lines
1<?php
2/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
21/**
22 * \file       htdocs/product/popuprop.php
23 * \ingroup    propal, produit
26
27require '../main.inc.php';
28require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
35// Security check
36if (! empty($user->societe_id)) $socid=$user->societe_id;
37$result=restrictedArea($user,'produit|service');
91
92print_barre_liste($title, $page, "popuprop.php",$param,"","","",$num);
93
97print "<tr class=\"liste_titre\">";
98print_liste_field_titre($langs->trans('Ref'), 'popuprop.php', 'p.ref', '', '', '', $sortfield, $sortorder);
99print_liste_field_titre($langs->trans('Type'), 'popuprop.php', 'p.type', '', '', '', $sortfield, $sortorder);
propal.php https://bitbucket.org/speedealing/speedealing.git | PHP | 181 lines
1<?php
2/* Copyright (C) 2004-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
20/**
21 *	    \file       htdocs/product/stats/propal.php
22 *      \ingroup    product service propal
26
27require '../../main.inc.php';
28require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
28require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
29require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
30require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
38// Security check
39$fieldvalue = (! empty($id) ? $id : (! empty($ref) ? $ref : ''));
40$fieldtype = (! empty($ref) ? 'ref' : 'rowid');
61
62if ($id > 0 || ! empty($ref))
63{
facture_fournisseur.php https://bitbucket.org/speedealing/speedealing.git | PHP | 192 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
20/**
21 *       \file       htdocs/product/stats/facture_fournisseur.php
22 *       \ingroup    product service facture
25
26require '../../main.inc.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
28require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
29require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
39// Security check
40$fieldvalue = (! empty($id) ? $id : (! empty($ref) ? $ref : ''));
41$fieldtype = (! empty($ref) ? 'ref' : 'rowid');
65
66if ($id > 0 || ! empty($ref))
67{
contrat.php https://bitbucket.org/speedealing/speedealing.git | PHP | 199 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
20/**
21 *       \file       htdocs/product/stats/contrat.php
22 *       \ingroup    product service contrat
25
26require '../../main.inc.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
28require_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
29require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
38// Security check
39$fieldvalue = (! empty($id) ? $id : (! empty($ref) ? $ref : ''));
40$fieldtype = (! empty($ref) ? 'ref' : 'rowid');
65
66if ($id > 0 || ! empty($ref))
67{
commande_fournisseur.php https://bitbucket.org/speedealing/speedealing.git | PHP | 181 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
20/**
21 *	\file       htdocs/product/stats/commande_fournisseur.php
22 *	\ingroup    product service commande
25
26require '../../main.inc.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
28require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
29require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
38// Security check
39$fieldvalue = (! empty($id) ? $id : (! empty($ref) ? $ref : ''));
40$fieldtype = (! empty($ref) ? 'ref' : 'rowid');
62
63if ($id > 0 || ! empty($ref))
64{
commande.php https://bitbucket.org/speedealing/speedealing.git | PHP | 188 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
20/**
21 *       \file       htdocs/product/stats/commande.php
22 *       \ingroup    product service commande
25
26require '../../main.inc.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
27require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
28require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
29require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
38// Security check
39$fieldvalue = (! empty($id) ? $id : (! empty($ref) ? $ref : ''));
40$fieldtype = (! empty($ref) ? 'ref' : 'rowid');
62
63if ($id > 0 || ! empty($ref))
64{
product_extrafields.php https://bitbucket.org/speedealing/speedealing.git | PHP | 203 lines
1<?php
2/* Copyright (C) 2001-2002	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
22/**
23 *      \file       htdocs/societe/admin/societe_extrafields.php
24 *		\ingroup    societe
27
28require '../../main.inc.php';
29require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
29require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
30require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php';
31
54
55require DOL_DOCUMENT_ROOT.'/core/admin_extrafields.inc.php';
56
64$tab = $langs->trans("ProductsAndServices");
65if (empty($conf->produit->enabled))
66{
convert_user.php https://bitbucket.org/speedealing/speedealing.git | PHP | 274 lines
1<?php
2
19/**
20 * 	\file       htdocs/comm/serverprocess.php
21 * 	\ingroup    commercial societe
22 * 	\brief      load data to display
23 * 	\version    $Id: serverprocess.php,v 1.6 2012/01/27 16:15:05 synry63 Exp $
24 */
24 */
25require_once("../../../main.inc.php");
26require_once(DOL_DOCUMENT_ROOT . "/core/class/html.formother.class.php");
26require_once(DOL_DOCUMENT_ROOT . "/core/class/html.formother.class.php");
27require_once(DOL_DOCUMENT_ROOT . "/core/db/couchdb/lib/couchAdmin.php");
28$langs->load("companies");
137    // Verification email sinon construction automatique
138    if (empty($aRow->email)) {
139        $aRow->email = $aRow->login . '@' . $entity . '.fr';
tcpdf.php https://bitbucket.org/speedealing/speedealing.git | PHP | 22,699 lines
1<?php
2
32// Description :
33//   This is a PHP class for generating PDF documents without requiring external extensions.
34//
64//  * move and delete pages;
65//  * page compression (requires php-zlib extension);
66//  * XOBject Templates;
107 * @file
108 * This is a PHP class for generating PDF documents without requiring external extensions.<br>
109 * TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
134 * <li>move and delete pages;</li>
135 * <li>page compression (requires php-zlib extension);</li>
136 * <li>XOBject Templates;</li>
10388        }
10389        if (!empty($this->empty_signature_appearance)) {
10390            foreach ($this->empty_signature_appearance as $esa) {
tcpdf.php https://bitbucket.org/speedealing/speedealing.git | PHP | 25,629 lines
1<?php
2//============================================================+
126 * <li>move and delete pages;</li>
127 * <li>page compression (requires php-zlib extension);</li>
128 * <li>XOBject Templates;</li>
10194				// images or nested xobjects
10195				if (!empty($data['images']) OR !empty($data['xobjects'])) {
10196					$out .= ' /XObject <<';
10402		$out .= ' /Names <<';
10403		if ((!empty($this->javascript)) OR (!empty($this->js_objects))) {
10404			$out .= ' /JavaScript '.($this->n_js).' 0 R';
12008			if (!extension_loaded('mcrypt')) {
12009				$this->Error('AES encryption requires mcrypt library (http://www.php.net/manual/en/mcrypt.requirements.php).');
12010			}
12015				// the Hash extension requires no external libraries and is enabled by default as of PHP 5.1.2.
12016				$this->Error('AES 256 encryption requires HASH Message Digest Framework (http://www.php.net/manual/en/book.hash.php).');
12017			}
class.soap_parser.php https://bitbucket.org/speedealing/speedealing.git | PHP | 642 lines
1<?php
2
7*
8* nusoap_parser class parses SOAP XML messages into native PHP values
9*
66		// Check whether content has been read.
67		if(!empty($xml)){
68			// Check XML encoding
139		} else {
140			$this->debug('xml was empty, didn\'t parse!');
141			$this->setError('xml was empty, didn\'t parse!');
466	*
467	* @return	string XML or empty if no Header
468	* @access   public
474	/**
475	* decodes simple types into PHP variables
476	*
mimeDecode.php https://bitbucket.org/speedealing/speedealing.git | PHP | 836 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4// | Copyright (c) 2002-2003  Richard Heyes                                |
5// | Copyright (c) 2003-2005  The PHP Group                                |
6// | All rights reserved.                                                  |
33// +-----------------------------------------------------------------------+
34// | Author: Richard Heyes <richard@phpguru.org>                           |
35// +-----------------------------------------------------------------------+
36
37require_once 'PEAR.php';
38
40*  +----------------------------- IMPORTANT ------------------------------+
41*  | Usage of this class compared to native php extensions such as        |
42*  | mailparse or imap, is slow and may be feature deficient. If available|
42*  | mailparse or imap, is slow and may be feature deficient. If available|
43*  | you are STRONGLY recommended to use the php extensions.              |
44*  +----------------------------------------------------------------------+
holiday.class.php https://bitbucket.org/speedealing/speedealing.git | PHP | 1,598 lines
1<?php
2/* Copyright (C) 2007-2008 Laurent Destailleur  <eldy@users.sourceforge.net>
23 */
24require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php';
25
104        // User
105        if(!empty($this->fk_user)) {
106            $sql.= "'".$this->fk_user."',";
260        // Filtre de séléction
261        if(!empty($filter)) {
262            $sql.= $filter;
265        // Ordre d'affichage du résultat
266        if(!empty($order)) {
267            $sql.= $order;
777
778        if (empty($userID) && empty($nbHoliday))
779        {
holiday.php https://bitbucket.org/speedealing/speedealing.git | PHP | 417 lines
1<?php
2/* Copyright (C) 2012	Laurent Destailleur	<eldy@users.sourceforge.net>
22 *
23 *   	\file       holiday.php
24 *		\ingroup    holiday
27
28require '../../main.inc.php';
29require DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
29require DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
30require_once DOL_DOCUMENT_ROOT. '/core/class/html.form.class.php';
31require_once DOL_DOCUMENT_ROOT. '/user/class/user.class.php';
31require_once DOL_DOCUMENT_ROOT. '/user/class/user.class.php';
32require_once DOL_DOCUMENT_ROOT. '/user/class/usergroup.class.php';
33
49// Vérification si module activé
50if (empty($conf->holiday->enabled)) print $langs->trans('NotActiveModCP');
51
fournisseur.product.class.php https://bitbucket.org/speedealing/speedealing.git | PHP | 503 lines
1<?php
2/* Copyright (C) 2005		Rodolphe Quiedeville	<rodolphe@quiedeville.org>
22/**
23 * 	\file       htdocs/fourn/class/fournisseur.product.class.php
24 * 	\ingroup    produit
27
28require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
29require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php';
155        // Clean parameter
156        if (empty($qty)) $qty=0;
157        if (empty($buyprice)) $buyprice=0;
157        if (empty($buyprice)) $buyprice=0;
158        if (empty($charges)) $charges=0;
159        if (empty($availability)) $availability=0;
159        if (empty($availability)) $availability=0;
160        if (empty($remise_percent)) $remise_percent=0;
161        if ($price_base_type == 'TTC')
fichinter.class.php https://bitbucket.org/speedealing/speedealing.git | PHP | 1,159 lines
1<?php
2/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
21/**
22 * 	\file       htdocs/fichinter/class/fichinter.class.php
23 * 	\ingroup    ficheinter
25 */
26require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php';
27
103		$result=$soc->fetch($this->socid);
104		if (! empty($this->ref))
105		{
161			// Appel des triggers
162			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
163			$interface=new Interfaces($this->db);
205			// Appel des triggers
206			include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
207			$interface=new Interfaces($this->db);
xcal.lib.php https://bitbucket.org/speedealing/speedealing.git | PHP | 520 lines
1<?php
2/* Copyright (C) 2008-2011 Laurent Destailleur  <eldy@users.sourceforge.net>
19/**
20 *  \file       htdocs/core/lib/xcal.lib.php
21 *  \brief      Function to manage calendar files (vcal/ical/...)
38
39	dol_syslog("xcal.lib.php::build_calfile Build cal file ".$outputfile." to format ".$format);
40
40
41	if (empty($outputfile)) return -1;
42
46	{
47	    include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
48		$now=dol_now();
65        //fwrite($calfileh,"X-WR-TIMEZONE:Europe/Paris\n");
66        if (! empty($conf->global->MAIN_AGENDA_EXPORT_CACHE)
67        && $conf->global->MAIN_AGENDA_EXPORT_CACHE > 60) fwrite($calfileh,"X-PUBLISHED-TTL: P".$hh."H".$mm."M".$ss."S\n");
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21