majBilansPostes.php

This commit is contained in:
Michael RICOIS 2013-06-23 20:44:22 +00:00
parent 612444571f
commit 748ae1d11c

View File

@ -6,12 +6,12 @@
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../library'),
get_include_path(),
realpath(APPLICATION_PATH . '/../library'),
get_include_path(),
)));
/** Zend_Application */
@ -55,6 +55,13 @@ function exporte($txt, $lon=-1, $sep="|") {
else return trim(sprintf("%-".$lon.'.'.$lon."s", $txt)).$sep;
}
/**
*
* @param unknown $bodEtab
* @param unknown $bodSiege
* @param unknown $insee
* @return unknown|string
*/
function choixAdr($bodEtab, $bodSiege, $insee) {
if (strlen(trim($bodSiege))>0) $adr=trim($bodSiege);
@ -112,6 +119,8 @@ if ($_SERVER['argc']>1)
}
}
//=> Start
$strSirenReprise='';
if ($sirenReprise) $strSirenReprise="AND siren>=$sirenReprise";
@ -191,5 +200,4 @@ while($tabTmp=$iDb->fetch(MYSQL_ASSOC)) {
}
die();
?>
?>