Merge from 1.1
This commit is contained in:
commit
10668fd3f6
@ -2,45 +2,45 @@
|
|||||||
class Object_Codepostaux extends Libs_Row
|
class Object_Codepostaux extends Libs_Row
|
||||||
{
|
{
|
||||||
/* Selection des classes statut pour jstree */
|
/* Selection des classes statut pour jstree */
|
||||||
public function _jstree_checked()
|
public function _jstree_checked($type)
|
||||||
{
|
{
|
||||||
require_once('Scores/SessionCiblage.php');
|
require_once('Scores/SessionCiblage.php');
|
||||||
$session = new SessionCiblage();
|
$session = new SessionCiblage();
|
||||||
$valeurs = explode(',', $session->getCritere('adr_com'));
|
$valeurs = explode(',', $session->getCritere($type));
|
||||||
|
foreach ($valeurs as $valeur) {
|
||||||
foreach ($valeurs as $valeur)
|
if(!empty($valeur)) {
|
||||||
$return[] = $valeur;
|
$return[] = $valeur;
|
||||||
if(is_array($return))
|
}
|
||||||
|
}
|
||||||
|
if(is_array($return)) {
|
||||||
return ($return);
|
return ($return);
|
||||||
|
}
|
||||||
return (array($valeurs));
|
return (array($valeurs));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function _jstree_undetermined($niveau)
|
public function _jstree_undetermined($niveau, $type)
|
||||||
{
|
{
|
||||||
require_once('Scores/SessionCiblage.php');
|
require_once('Scores/SessionCiblage.php');
|
||||||
$session = new SessionCiblage();
|
$session = new SessionCiblage();
|
||||||
$table = new Table_Departements();
|
$table = new Table_Departements();
|
||||||
$valeurs = explode(',', $session->getCritere('adr_com'));
|
$valeurs = explode(',', $session->getCritere($type));
|
||||||
|
/*$valeurs = array_merge($valeurs, explode(',', $session->getCritere('adr_com')));*/
|
||||||
$in = array();
|
$in = array();
|
||||||
|
|
||||||
foreach($valeurs as $valeur) {
|
foreach($valeurs as $valeur) {
|
||||||
$type = explode(':', $valeur);
|
|
||||||
if($niveau == 0) {
|
if($niveau == 0) {
|
||||||
if ($type[0] == 'adr_dept'){
|
if ($type == 'adr_dept'){
|
||||||
$valeur = $type[1];
|
|
||||||
$insee = $table->fetchAll($table->select('departements', array('codeRegionInsee'))
|
$insee = $table->fetchAll($table->select('departements', array('codeRegionInsee'))
|
||||||
->where('numdep = ?', substr($valeur, 0, 2)))->toArray();
|
->where('numdep = ?', substr($valeur, 0, 2)))->toArray();
|
||||||
foreach ($insee as $code)
|
foreach ($insee as $code)
|
||||||
$in[] = 'adr_reg:'.$code['codeRegionInsee'];
|
$in[] = 'adr_reg:'.$code['codeRegionInsee'];
|
||||||
} else{
|
} else{
|
||||||
$valeur = $type[1];
|
|
||||||
$insee = $table->fetchAll($table->select('departements', array('codeRegionInsee'))
|
$insee = $table->fetchAll($table->select('departements', array('codeRegionInsee'))
|
||||||
->where('numdep = ?', substr($valeur, 0, 2)))->toArray();
|
->where('numdep = ?', substr($valeur, 0, 2)))->toArray();
|
||||||
foreach ($insee as $code)
|
foreach ($insee as $code)
|
||||||
$in[] = 'adr_reg:'.$code['codeRegionInsee'];
|
$in[] = 'adr_reg:'.$code['codeRegionInsee'];
|
||||||
}
|
}
|
||||||
} else if ($niveau == 1) {
|
} else if ($niveau == 1) {
|
||||||
$valeur = $type[1];
|
|
||||||
$insee = $table->fetchAll($table->select('departements', array('codeRegionInsee'))
|
$insee = $table->fetchAll($table->select('departements', array('codeRegionInsee'))
|
||||||
->where('numdep = ?', substr($valeur, 0, 2)))->toArray();
|
->where('numdep = ?', substr($valeur, 0, 2)))->toArray();
|
||||||
foreach ($insee as $code)
|
foreach ($insee as $code)
|
||||||
@ -52,9 +52,10 @@ class Object_Codepostaux extends Libs_Row
|
|||||||
|
|
||||||
public function _getClass($valeur, $niveau)
|
public function _getClass($valeur, $niveau)
|
||||||
{
|
{
|
||||||
if(in_array($valeur, $this->_jstree_checked()))
|
$type = explode(':', $valeur);
|
||||||
|
if(in_array($type[1], $this->_jstree_checked($type[0])))
|
||||||
return ('jstree-checked');
|
return ('jstree-checked');
|
||||||
else if (in_array($valeur, $this->_jstree_undetermined($niveau)))
|
else if (in_array($valeur, $this->_jstree_undetermined($niveau, $type[0])))
|
||||||
return ('jstree-undetermined');
|
return ('jstree-undetermined');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,7 +68,7 @@ class Object_Codepostaux extends Libs_Row
|
|||||||
|
|
||||||
foreach($regions as $nom) {
|
foreach($regions as $nom) {
|
||||||
$structure[] = array(
|
$structure[] = array(
|
||||||
'data' => $nom['NCCENR'],
|
'data' => $nom['REGION'].' '.$nom['NCCENR'],
|
||||||
'attr' => array('id' => 'adr_reg:'.$nom['REGION'],
|
'attr' => array('id' => 'adr_reg:'.$nom['REGION'],
|
||||||
'niveau' => 0,
|
'niveau' => 0,
|
||||||
'class' => $this->_getClass('adr_reg:'.$nom['REGION'], 0)
|
'class' => $this->_getClass('adr_reg:'.$nom['REGION'], 0)
|
||||||
@ -76,7 +77,6 @@ class Object_Codepostaux extends Libs_Row
|
|||||||
'children' => array()
|
'children' => array()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (json_encode($structure));
|
return (json_encode($structure));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,36 +62,45 @@ class Object_Comptage extends Libs_Row
|
|||||||
require_once 'Scores/SessionCiblage.php';
|
require_once 'Scores/SessionCiblage.php';
|
||||||
$session = new SessionCiblage();
|
$session = new SessionCiblage();
|
||||||
|
|
||||||
$sessionValeur = $session->getCritere($key);
|
if(in_array($key, array('adr_dept', 'adr_com', 'adr_reg')))
|
||||||
$session->setCritere($key, $valeur);
|
{
|
||||||
if($valeur[strlen($valeur)] == ',')
|
$valeurs = explode(',', $valeur);
|
||||||
$valeur = substr($valeur, 0, strlen($valeur) -1);
|
foreach($valeurs as $valeur)
|
||||||
if($key == 'vil' or $key == 'adr_reg' or $key == 'adr_dept') {
|
{
|
||||||
$key = 'adr_com';
|
$type = explode(':', $valeur);
|
||||||
if($session->getCritere('vil')){
|
if(count($type) == 2) {
|
||||||
$valeurs = explode(',', $session->getCritere('vil'));
|
$key = $type[0];
|
||||||
foreach($valeurs as $valeur) {
|
$valeur = $type[1];
|
||||||
$vil .= 'adr_com:'.trim($valeur).',';
|
|
||||||
}
|
}
|
||||||
//$vil = substr($vil, 0, strlen($vil)-1);
|
switch($key) {
|
||||||
}
|
case 'adr_dept':
|
||||||
if($session->getCritere('adr_reg')) {
|
$dept .= trim($valeur).',';
|
||||||
$valeurs = explode(',', $session->getCritere('adr_reg'));
|
break;
|
||||||
foreach($valeurs as $valeur) {
|
case 'adr_reg':
|
||||||
$reg .= 'adr_reg:'.trim($valeur).',';
|
$reg .= trim($valeur).',';
|
||||||
|
break;
|
||||||
|
case 'adr_com':
|
||||||
|
case 'vil':
|
||||||
|
default:
|
||||||
|
$vil .= trim($valeur).',';
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
//$reg = substr($reg, 0, strlen($reg)-1);
|
|
||||||
}
|
}
|
||||||
if($session->getCritere('adr_dept')) {
|
if(strlen($dept)>0) {
|
||||||
$valeurs = explode(',', $session->getCritere('adr_dept'));
|
$dept = substr($dept, 0, strlen($dept)-1);
|
||||||
foreach($valeurs as $valeur) {
|
$session->setCritere('adr_dept', $dept);
|
||||||
$dept .= 'adr_dept:'.trim($valeur).',';
|
|
||||||
}
|
|
||||||
//$dept = substr($dept, 0, strlen($dept)-1);
|
|
||||||
}
|
}
|
||||||
$valeur = $vil.$dept.$reg;
|
if(strlen($reg)>0) {
|
||||||
|
$reg = substr($reg, 0, strlen($reg)-1);
|
||||||
|
$session->setCritere('adr_reg', $reg);
|
||||||
|
}
|
||||||
|
if(strlen($vil)>0) {
|
||||||
|
$vil = substr($vil, 0, strlen($vil)-1);
|
||||||
|
$session->setCritere('adr_com', $vil);
|
||||||
|
}
|
||||||
|
} else
|
||||||
$session->setCritere($key, $valeur);
|
$session->setCritere($key, $valeur);
|
||||||
}
|
|
||||||
require_once 'Scores/Field.php';
|
require_once 'Scores/Field.php';
|
||||||
$field = new Fields();
|
$field = new Fields();
|
||||||
|
|
||||||
|
@ -2,14 +2,20 @@
|
|||||||
<ul id="fieldsblock">
|
<ul id="fieldsblock">
|
||||||
<li><?php echo $this->Field('adr_com', $this->fields->get('adr_com'));?></li>
|
<li><?php echo $this->Field('adr_com', $this->fields->get('adr_com'));?></li>
|
||||||
<li style="background-image:none;height:80px;">
|
<li style="background-image:none;height:80px;">
|
||||||
<?php echo $this->Field('vil', $this->fields->get('adr_com'), 'text');?>
|
<?php echo $this->Field('vil', $this->fields->get('adr_com'), 'text');?>
|
||||||
</li>
|
</li>
|
||||||
<li style="background-image:none;height:80px;">
|
<li style="background-image:none;height:80px;">
|
||||||
<?php echo $this->Field('adr_dept', $this->fields->get('adr_dept'), 'text');?>
|
<?php echo $this->Field('adr_dept', $this->fields->get('adr_dept'), 'text');?>
|
||||||
</li>
|
</li>
|
||||||
<li style="background-image:none;height:80px;">
|
<li style="background-image:none;height:80px;">
|
||||||
<?php echo $this->Field('adr_reg', $this->fields->get('adr_reg'), 'text');?>
|
<?php echo $this->Field('adr_reg', $this->fields->get('adr_reg'), 'text');?>
|
||||||
</li>
|
</li>
|
||||||
|
<li><?php echo $this->Field('zus', $this->fields->get('zus'), 'select');?></li>
|
||||||
|
<li><?php echo $this->Field('zru', $this->fields->get('zru'), 'select');?></li>
|
||||||
|
<li><?php echo $this->Field('zfu', $this->fields->get('zfu'), 'select');?></li>
|
||||||
|
<li><?php echo $this->Field('cucs', $this->fields->get('cucs'), 'select');?></li>
|
||||||
|
<li><?php echo $this->Field('zrr', $this->fields->get('zrr'), 'select');?></li>
|
||||||
|
<li><?php echo $this->Field('zafr', $this->fields->get('zafr'), 'select');?></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align:right;margin-top:20px;">
|
<div style="text-align:right;margin-top:20px;">
|
||||||
|
@ -6,20 +6,12 @@ Class Ciblage
|
|||||||
private $sphinx;
|
private $sphinx;
|
||||||
private $alpha = '';
|
private $alpha = '';
|
||||||
private $presentRcs = 0;
|
private $presentRcs = 0;
|
||||||
private $need;
|
|
||||||
|
|
||||||
public $index = 'ciblage';
|
public $index = 'ciblage';
|
||||||
|
|
||||||
public $nb_results = 50000;
|
public $nb_results = 5000;
|
||||||
public $max_results = 500000;
|
public $max_results = 500000;
|
||||||
|
|
||||||
public $mysql_host = '192.168.78.230';
|
|
||||||
public $mysql_user = 'sphinx';
|
|
||||||
public $mysql_password = 'indexer';
|
|
||||||
public $mysql_database = 'jo';
|
|
||||||
|
|
||||||
public $sphinx_host = '192.168.78.252';
|
|
||||||
public $sphinx_port = 3312;
|
|
||||||
public $sphinx_match = SPH_MATCH_EXTENDED2;
|
public $sphinx_match = SPH_MATCH_EXTENDED2;
|
||||||
public $sphinx_sort = SPH_SORT_EXTENDED;
|
public $sphinx_sort = SPH_SORT_EXTENDED;
|
||||||
|
|
||||||
@ -36,12 +28,14 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
return ($valeur);
|
return ($valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __construct($structure, $need = false)
|
public function __construct($structure, $need = false)
|
||||||
{
|
{
|
||||||
$this->need = true;
|
$this->need = true;
|
||||||
|
$configuration = Zend_Registry::get('configuration');
|
||||||
|
|
||||||
|
//Instantiation Sphinx
|
||||||
$this->sphinx = new SphinxClient();
|
$this->sphinx = new SphinxClient();
|
||||||
$this->sphinx->SetServer($this->sphinx_host, $this->sphinx_port);
|
$this->sphinx->SetServer($configuration->sphinx->host, intval($configuration->sphinx->port));
|
||||||
$this->sphinx->SetMatchMode(SPH_MATCH_EXTENDED2);
|
$this->sphinx->SetMatchMode(SPH_MATCH_EXTENDED2);
|
||||||
$this->sphinx->ResetFilters();
|
$this->sphinx->ResetFilters();
|
||||||
foreach($structure as $key => $valeur) {
|
foreach($structure as $key => $valeur) {
|
||||||
@ -55,8 +49,9 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* Provisoir */
|
||||||
|
//$this->setFilter('bilTca', array(4, 5, 6));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function extract()
|
public function extract()
|
||||||
{
|
{
|
||||||
$resultats = $this->execute(true);
|
$resultats = $this->execute(true);
|
||||||
@ -71,14 +66,12 @@ Class Ciblage
|
|||||||
);
|
);
|
||||||
return $total;
|
return $total;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function calculRedevanceInsee()
|
public function calculRedevanceInsee()
|
||||||
{
|
{
|
||||||
$this->sphinx->SetFilter('presentrcs', array(0));
|
$this->sphinx->SetFilter('presentrcs', array(0));
|
||||||
$resSphinx = $this->sphinx->Query($this->alpha, $this->index);
|
$resSphinx = $this->sphinx->Query($this->alpha, $this->index);
|
||||||
return ($resSphinx['total_found']);
|
return ($resSphinx['total_found']);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getSiret($structure)
|
protected function getSiret($structure)
|
||||||
{
|
{
|
||||||
$siret = array();
|
$siret = array();
|
||||||
@ -88,10 +81,8 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
return ($siret);
|
return ($siret);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute($need = false)
|
public function execute($need = false)
|
||||||
{
|
{
|
||||||
/* Retourne les resultats */
|
|
||||||
if($need) {
|
if($need) {
|
||||||
$return = array();
|
$return = array();
|
||||||
$limit = 0;
|
$limit = 0;
|
||||||
@ -107,7 +98,6 @@ Class Ciblage
|
|||||||
$resSphinx = $this->sphinx->Query($this->alpha, $this->index);
|
$resSphinx = $this->sphinx->Query($this->alpha, $this->index);
|
||||||
return ($resSphinx['total_found']);
|
return ($resSphinx['total_found']);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function setFilter($name, $valeur) {
|
protected function setFilter($name, $valeur) {
|
||||||
if(!is_array($valeur)) {
|
if(!is_array($valeur)) {
|
||||||
$this->sphinx->SetFilter($name, array(intval($valeur)));
|
$this->sphinx->SetFilter($name, array(intval($valeur)));
|
||||||
@ -115,43 +105,39 @@ Class Ciblage
|
|||||||
$this->sphinx->SetFilter($name, $this->transformIntval($valeur));
|
$this->sphinx->SetFilter($name, $this->transformIntval($valeur));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function setFilterRange($name, $valeur) {
|
protected function setFilterRange($name, $valeur) {
|
||||||
$this->sphinx->SetFilterRange($name, intval($valeur[0]), intval($valeur[1]));
|
$this->sphinx->SetFilterRange($name, intval($valeur[0]), intval($valeur[1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function writeRequest($name, $valeur, $or = false) {
|
protected function writeRequest($name, $valeur, $or = false) {
|
||||||
|
$this->alpha .= '@'.$name . '(';
|
||||||
if(!is_array($valeur)) {
|
if(!is_array($valeur)) {
|
||||||
if($or and !empty($this->alpha))
|
$this->alpha .= $valeur.')';
|
||||||
$this->alpha .= ' | ';
|
|
||||||
$this->alpha .= '@'.$name.' '.$valeur.' ';
|
|
||||||
} else {
|
} else {
|
||||||
$i = 0;
|
$i = 0;
|
||||||
if($or and !empty($this->alpha))
|
|
||||||
$this->alpha .= ' | ';
|
|
||||||
foreach($valeur as $item) {
|
foreach($valeur as $item) {
|
||||||
if($i != 0)
|
if($i != 0)
|
||||||
$this->alpha .= ' | ';
|
$this->alpha .= ' | ';
|
||||||
$this->alpha .= '@'.$name.' '.$item.' ';
|
$this->alpha .= $item;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
$this->alpha .= ')';
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
protected function setAlpha($name, $valeur)
|
|
||||||
{
|
|
||||||
$or = array('bilType');
|
|
||||||
$and = array('ape_entrep', 'ape_etab', 'age_entrep', 'age_etab', 'NaceEntrep', 'NaceEtab');
|
|
||||||
|
|
||||||
|
}
|
||||||
|
protected function setAlpha($name, $valeur)
|
||||||
|
{
|
||||||
|
$or = array('adr_com', 'adr_dept');
|
||||||
|
$and = array('bilType', 'ape_etab','ape_entrep', 'NaceEntrep', 'NaceEtab');
|
||||||
|
if(!empty($this->alpha))
|
||||||
|
$this->alpha .= ' ';
|
||||||
if(in_array($name, $or)) {
|
if(in_array($name, $or)) {
|
||||||
if(!empty($valeur))
|
if(!empty($valeur))
|
||||||
$this->writeRequest($name, $valeur, true);
|
$this->writeRequest($name, $valeur, true);
|
||||||
} else if (in_array($name, $and)) {
|
} else if(in_array($name, $and)) {
|
||||||
if(!empty($valeur))
|
if(!empty($valeur))
|
||||||
$this->writeRequest($name, $valeur);
|
$this->writeRequest($name, $valeur);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function transformIntval($array) {
|
protected function transformIntval($array) {
|
||||||
$copy = array();
|
$copy = array();
|
||||||
foreach($array as $item => $valeur) {
|
foreach($array as $item => $valeur) {
|
||||||
@ -159,104 +145,83 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
return ($copy);
|
return ($copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function dirNom($valeur) {
|
protected function dirNom($valeur) {
|
||||||
$this->setFilter('dirNom', $valeur);
|
$this->setFilter('dirNom', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function siege($valeur) {
|
protected function siege($valeur) {
|
||||||
$this->setFilter('siege', $valeur);
|
$this->setFilter('siege', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function adr_com($valeur) {
|
protected function adr_com($valeur) {
|
||||||
$this->setFilter('adr_com', $valeur);
|
$this->setAlpha('adr_com', $valeur);
|
||||||
|
}
|
||||||
|
protected function adr_dept($valeur) {
|
||||||
|
$this->setAlpha('adr_dept', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function action($valeur) {
|
protected function action($valeur) {
|
||||||
$this->setFilter('action', $valeur);
|
$this->setFilter('action', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function part($valeur) {
|
protected function part($valeur) {
|
||||||
$this->setFilter('part', $valeur);
|
$this->setFilter('part', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function tel($valeur) {
|
protected function tel($valeur) {
|
||||||
$this->setFilter('tel', $valeur);
|
$this->setFilter('tel', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function fax($valeur) {
|
protected function fax($valeur) {
|
||||||
$this->setFilter('fax', $valeur);
|
$this->setFilter('fax', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function cj($valeur) {
|
protected function cj($valeur) {
|
||||||
$this->setFilter('cj', $valeur);
|
$this->setFilter('cj', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function capital($valeur) {
|
protected function capital($valeur) {
|
||||||
$valeur = $this->setMinMax($name, $valeur);
|
$valeur = $this->setMinMax($name, $valeur);
|
||||||
|
|
||||||
$this->setFilterRange('capital', $valeur);
|
$this->setFilterRange('capital', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function ape_etab($valeur) {
|
protected function ape_etab($valeur) {
|
||||||
$this->setAlpha('ape_etab', $valeur);
|
$this->setAlpha('ape_etab', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function ape_entrep($valeur) {
|
protected function ape_entrep($valeur) {
|
||||||
$this->setAlpha('ape_entrep', $valeur);
|
$this->setAlpha('ape_entrep', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function age_entrep($valeur) {
|
protected function age_entrep($valeur) {
|
||||||
$this->setAlpha('age_entrep', $valeur);
|
$this->setAlpha('age_entrep', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function age_etab($valeur) {
|
protected function age_etab($valeur) {
|
||||||
$this->setAlpha('age_etab', $valeur);
|
$this->setAlpha('age_etab', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function tcaexp($valeur) {
|
protected function tcaexp($valeur) {
|
||||||
$this->setFilterRange('tcaexp', $valeur);
|
$this->setFilterRange('tcaexp', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function teff_entrep($valeur) {
|
protected function teff_entrep($valeur) {
|
||||||
if($valeur[0] != 0 or $valeur[1] != 0)
|
if($valeur[0] != 0 or $valeur[1] != 0)
|
||||||
$this->setFilterRange('teff_entrep', $valeur);
|
$this->setFilterRange('teff_entrep', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function teff_etab($valeur) {
|
protected function teff_etab($valeur) {
|
||||||
//$valeur = $this->setMinMax($name, $valeur);
|
//$valeur = $this->setMinMax($name, $valeur);
|
||||||
|
|
||||||
$this->setFilterRange('teff_etab', $valeur);
|
$this->setFilterRange('teff_etab', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function rang($valeur) {
|
protected function rang($valeur) {
|
||||||
$this->setFilterRange('rang', $valeur);
|
$this->setFilterRange('rang', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function actifEco($valeur) {
|
protected function actifEco($valeur) {
|
||||||
$this->setFilter('actifEco', $valeur);
|
$this->setFilter('actifEco', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function presentRcs($valeur) {
|
protected function presentRcs($valeur) {
|
||||||
$this->setFilter('presentRcs', $valeur);
|
$this->setFilter('presentRcs', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function procolHisto($valeur) {
|
protected function procolHisto($valeur) {
|
||||||
$this->setFilter('procolHisto', $valeur);
|
$this->setFilter('procolHisto', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function tvaIntraValide($valeur) {
|
protected function tvaIntraValide($valeur) {
|
||||||
$this->setFilter('tvaIntraValide', $valeur);
|
$this->setFilter('tvaIntraValide', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function NaceEtab($valeur) {
|
protected function NaceEtab($valeur) {
|
||||||
$this->setAlpha('NaceEtab', $valeur);
|
$this->setAlpha('NaceEtab', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function NaceEntrep($valeur) {
|
protected function NaceEntrep($valeur) {
|
||||||
$this->setAlpha('NaceEntrep', $valeur);
|
$this->setAlpha('NaceEntrep', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function dateCrea_etab($valeur) {
|
protected function dateCrea_etab($valeur) {
|
||||||
if(empty($valeur[0])) {$valeur[0] = date('Ymd');}
|
if(empty($valeur[0])) {$valeur[0] = date('Ymd');}
|
||||||
if(empty($valeur[1])) {$valeur[1] = date('Ymd');}
|
if(empty($valeur[1])) {$valeur[1] = date('Ymd');}
|
||||||
@ -274,7 +239,6 @@ Class Ciblage
|
|||||||
$this->setFilterRange('dateCrea_etab', $valeur);
|
$this->setFilterRange('dateCrea_etab', $valeur);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function dateCrea_ent($valeur) {
|
protected function dateCrea_ent($valeur) {
|
||||||
if(empty($valeur[0])) {$valeur[0] = date('Ymd');}
|
if(empty($valeur[0])) {$valeur[0] = date('Ymd');}
|
||||||
if(empty($valeur[1])) {$valeur[1] = date('Ymd');}
|
if(empty($valeur[1])) {$valeur[1] = date('Ymd');}
|
||||||
@ -291,7 +255,6 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
$this->setFilterRange('dateCrea_etab', $valeur);
|
$this->setFilterRange('dateCrea_etab', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function dateImmat($valeur) {
|
protected function dateImmat($valeur) {
|
||||||
if(empty($valeur[0])) {$valeur[0] = date('Ymd');}
|
if(empty($valeur[0])) {$valeur[0] = date('Ymd');}
|
||||||
if(empty($valeur[1])) {$valeur[1] = date('Ymd');}
|
if(empty($valeur[1])) {$valeur[1] = date('Ymd');}
|
||||||
@ -308,104 +271,83 @@ Class Ciblage
|
|||||||
}
|
}
|
||||||
$this->setFilterRange('dateImmat', $valeur);
|
$this->setFilterRange('dateImmat', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function eff_entrep($valeur) {
|
protected function eff_entrep($valeur) {
|
||||||
$valeur = $this->setMinMax($name, $valeur);
|
$valeur = $this->setMinMax($name, $valeur);
|
||||||
|
|
||||||
$this->setFilter('eff_entrep', $valeur);
|
$this->setFilter('eff_entrep', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function eff_etab($valeur) {
|
protected function eff_etab($valeur) {
|
||||||
$valeur = $this->setMinMax($name, $valeur);
|
$valeur = $this->setMinMax($name, $valeur);
|
||||||
|
|
||||||
$this->setFilter('eff_etab', $valeur);
|
$this->setFilter('eff_etab', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function rivoli($valeur) {
|
protected function rivoli($valeur) {
|
||||||
$this->setFilter('rivoli', $valeur);
|
$this->setFilter('rivoli', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function nbEtab($valeur) {
|
protected function nbEtab($valeur) {
|
||||||
$valeur = $this->setMinMax($name, $valeur);
|
$valeur = $this->setMinMax($name, $valeur);
|
||||||
$this->setFilterRange('nbEtab', $valeur);
|
$this->setFilterRange('nbEtab', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function sirenGrp($valeur) {
|
protected function sirenGrp($valeur) {
|
||||||
$this->setFilter('sirenGrp', $valeur);
|
$this->setFilter('sirenGrp', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function nbActio($valeur) {
|
protected function nbActio($valeur) {
|
||||||
$valeur = $this->setMinMax('nbActio', $valeur);
|
$valeur = $this->setMinMax('nbActio', $valeur);
|
||||||
|
|
||||||
$this->setFilterRange('nbActio', $valeur);
|
$this->setFilterRange('nbActio', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function nbMPubli($valeur) {
|
protected function nbMPubli($valeur) {
|
||||||
$this->setFilter('nbMPubli', $valeur);
|
$this->setFilter('nbMPubli', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function nbPart($valeur) {
|
protected function nbPart($valeur) {
|
||||||
$valeur = $this->setMinMax('nbPart', $valeur);
|
$valeur = $this->setMinMax('nbPart', $valeur);
|
||||||
|
|
||||||
$this->setFilterRange('nbPart', $valeur);
|
$this->setFilterRange('nbPart', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilDuree($valeur) {
|
protected function bilDuree($valeur) {
|
||||||
$this->setFilterRange('bilDuree', $valeur);
|
$this->setFilterRange('bilDuree', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilType($valeur) {
|
protected function bilType($valeur) {
|
||||||
$this->setAlpha('bilType', $valeur);
|
$this->setAlpha('bilType', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilAnnee($valeur) {
|
protected function bilAnnee($valeur) {
|
||||||
$this->setFilter('bilAnnee', $valeur);
|
$this->setFilter('bilAnnee', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilTca($valeur) {
|
protected function bilTca($valeur) {
|
||||||
$this->setFilter('bilTca', $valeur);
|
$this->setFilter('bilTca', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilEE($valeur) {
|
protected function bilEE($valeur) {
|
||||||
$valeur = $this->setMinMax('bilEE', $valeur);
|
$valeur = $this->setMinMax('bilEE', $valeur);
|
||||||
$this->setFilterRange('bilEE', $valeur);
|
$this->setFilterRange('bilEE', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilFL($valeur) {
|
protected function bilFL($valeur) {
|
||||||
$valeur = $this->setMinMax('bilFL', $valeur);
|
$valeur = $this->setMinMax('bilFL', $valeur);
|
||||||
$this->setFilterRange('bilFL', $valeur);
|
$this->setFilterRange('bilFL', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilFK($valeur) {
|
protected function bilFK($valeur) {
|
||||||
$valeur = $this->setMinMax('bilFK', $valeur);
|
$valeur = $this->setMinMax('bilFK', $valeur);
|
||||||
$this->setFilterRange('bilFK', $valeur);
|
$this->setFilterRange('bilFK', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilFR($valeur) {
|
protected function bilFR($valeur) {
|
||||||
$valeur = $this->setMinMax('bilFR', $valeur);
|
$valeur = $this->setMinMax('bilFR', $valeur);
|
||||||
$this->setFilterRange('bilFR', $valeur);
|
$this->setFilterRange('bilFR', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilGF($valeur) {
|
protected function bilGF($valeur) {
|
||||||
$valeur = $this->setMinMax('bilGF', $valeur);
|
$valeur = $this->setMinMax('bilGF', $valeur);
|
||||||
$this->setFilterRange('bilGF', $valeur);
|
$this->setFilterRange('bilGF', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilGP($valeur) {
|
protected function bilGP($valeur) {
|
||||||
$valeur = $this->setMinMax('bilGP', $valeur);
|
$valeur = $this->setMinMax('bilGP', $valeur);
|
||||||
$this->setFilterRange('bilGP', $valeur);
|
$this->setFilterRange('bilGP', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilGU($valeur) {
|
protected function bilGU($valeur) {
|
||||||
$valeur = $this->setMinMax('bilGU', $valeur);
|
$valeur = $this->setMinMax('bilGU', $valeur);
|
||||||
$this->setFilterRange('bilGU', $valeur);
|
$this->setFilterRange('bilGU', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilGW($valeur) {
|
protected function bilGW($valeur) {
|
||||||
$valeur = $this->setMinMax('bilGW', $valeur);
|
$valeur = $this->setMinMax('bilGW', $valeur);
|
||||||
$this->setFilterRange('bilGW', $valeur);
|
$this->setFilterRange('bilGW', $valeur);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function bilHD($valeur) {
|
protected function bilHD($valeur) {
|
||||||
$valeur = $this->setMinMax('bilHD', $valeur);
|
$valeur = $this->setMinMax('bilHD', $valeur);
|
||||||
$this->setFilterRange('bilHD', $valeur);
|
$this->setFilterRange('bilHD', $valeur);
|
||||||
@ -479,7 +421,6 @@ Class Ciblage
|
|||||||
$valeur[0] = $format1[2].$format1[1].$format1[0];
|
$valeur[0] = $format1[2].$format1[1].$format1[0];
|
||||||
$valeur[1] = $format2[2].$format2[1].$format2[0];
|
$valeur[1] = $format2[2].$format2[1].$format2[0];
|
||||||
}
|
}
|
||||||
//print_r($valeur);
|
|
||||||
$this->setFilterRange('bilCloture', $valeur);
|
$this->setFilterRange('bilCloture', $valeur);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -380,12 +380,12 @@ Class Fields
|
|||||||
'fields' => array(
|
'fields' => array(
|
||||||
'text' => array('value' => null),
|
'text' => array('value' => null),
|
||||||
'textarea' => array('value' => null)
|
'textarea' => array('value' => null)
|
||||||
),
|
),
|
||||||
'famille' => 'geographique',
|
'famille' => 'geographique',
|
||||||
'activated' => true,
|
'activated' => true,
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
'class' => null,
|
'class' => null,
|
||||||
'action' => '',
|
'action' => 'geographique',
|
||||||
'title' => 'Localisation'
|
'title' => 'Localisation'
|
||||||
),
|
),
|
||||||
'adr_reg' => array(
|
'adr_reg' => array(
|
||||||
@ -393,14 +393,68 @@ Class Fields
|
|||||||
'fields' => array(
|
'fields' => array(
|
||||||
'text' => array('value' => null),
|
'text' => array('value' => null),
|
||||||
'textarea' => array('value' => null)
|
'textarea' => array('value' => null)
|
||||||
),
|
),
|
||||||
'famille' => 'geographique',
|
'famille' => 'geographique',
|
||||||
'activated' => true,
|
'activated' => true,
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
'class' => null,
|
'class' => null,
|
||||||
'action' => '',
|
'action' => 'geographique',
|
||||||
'title' => 'Localisation'
|
'title' => 'Localisation'
|
||||||
),
|
),
|
||||||
|
'zus' => array(
|
||||||
|
'label' => 'Zones urbaines sensibles',
|
||||||
|
'fields' => array(
|
||||||
|
'select' => array('value' => array('1' => 'Oui', '0' => 'Non')),
|
||||||
|
),
|
||||||
|
'famille' => 'geographique',
|
||||||
|
'activated' => true,
|
||||||
|
'type' => 'select',
|
||||||
|
),
|
||||||
|
'zru' => array(
|
||||||
|
'label' => 'Zones de redynamisation urbaine',
|
||||||
|
'fields' => array(
|
||||||
|
'select' => array('value' => array('1' => 'Oui', '0' => 'Non')),
|
||||||
|
),
|
||||||
|
'famille' => 'geographique',
|
||||||
|
'activated' => true,
|
||||||
|
'type' => 'select',
|
||||||
|
),
|
||||||
|
'zfu' => array(
|
||||||
|
'label' => 'zones franches urbaines',
|
||||||
|
'fields' => array(
|
||||||
|
'select' => array('value' => array('1' => 'Oui', '0' => 'Non')),
|
||||||
|
),
|
||||||
|
'famille' => 'geographique',
|
||||||
|
'activated' => true,
|
||||||
|
'type' => 'select',
|
||||||
|
),
|
||||||
|
'cucs' => array(
|
||||||
|
'label' => 'Contrats urbains de cohésion sociale',
|
||||||
|
'fields' => array(
|
||||||
|
'select' => array('value' => array('1' => 'Oui', '0' => 'Non')),
|
||||||
|
),
|
||||||
|
'famille' => 'geographique',
|
||||||
|
'activated' => true,
|
||||||
|
'type' => 'select',
|
||||||
|
),
|
||||||
|
'zrr' => array(
|
||||||
|
'label' => 'Zone de revitalisation rurale',
|
||||||
|
'fields' => array(
|
||||||
|
'select' => array('value' => array('1' => 'Oui', '0' => 'Non')),
|
||||||
|
),
|
||||||
|
'famille' => 'geographique',
|
||||||
|
'activated' => true,
|
||||||
|
'type' => 'select',
|
||||||
|
),
|
||||||
|
'zafr' => array(
|
||||||
|
'label' => 'Zones Aide à finalité régionale',
|
||||||
|
'fields' => array(
|
||||||
|
'select' => array('value' => array('1' => 'Oui', '0' => 'Non')),
|
||||||
|
),
|
||||||
|
'famille' => 'geographique',
|
||||||
|
'activated' => true,
|
||||||
|
'type' => 'select',
|
||||||
|
),
|
||||||
//juridique
|
//juridique
|
||||||
'cj' => array(
|
'cj' => array(
|
||||||
'label' => 'Forme Juridique',
|
'label' => 'Forme Juridique',
|
||||||
@ -684,25 +738,24 @@ Class Fields
|
|||||||
$val = $session->getCriteres();
|
$val = $session->getCriteres();
|
||||||
}
|
}
|
||||||
$values = array();
|
$values = array();
|
||||||
unset($val['vil']);
|
|
||||||
foreach($val as $key => $item)
|
foreach($val as $key => $item)
|
||||||
{
|
{
|
||||||
if($item != '') {
|
if($item != '') {
|
||||||
if($this->fields[$key]['type'] == 'interval' or
|
if( $this->fields[$key]['type'] == 'interval' or
|
||||||
$this->fields[$key]['type'] == 'intervalSelect' or
|
$this->fields[$key]['type'] == 'intervalSelect' or
|
||||||
$this->fields[$key]['type'] == 'textarea' and
|
$this->fields[$key]['type'] == 'textarea' and
|
||||||
empty($this->fields[$key]['action']))
|
empty($this->fields[$key]['action']))
|
||||||
{
|
{
|
||||||
$values[$key] = explode(',', $item);
|
$values[$key] = explode(',', $item);
|
||||||
} else if (!empty($this->fields[$key]['action'])) {
|
} else if (!empty($this->fields[$key]['action'])) {
|
||||||
if($key == 'adr_reg' or $key == 'adr_dept') {
|
|
||||||
$key = 'adr_com';
|
|
||||||
}
|
|
||||||
if(!empty($values[$key])) {
|
if(!empty($values[$key])) {
|
||||||
$values[$key] = array_merge($this->selectArbo($key, $item), $values[$key]);
|
$values[$key] = array_merge($this->selectArbo($key, $item), $values[$key]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$values[$key] = $this->selectArbo($key, $item);
|
if($key == 'adr_reg')
|
||||||
|
$values['adr_dept'] = $this->selectArbo($key, $item);
|
||||||
|
else
|
||||||
|
$values[$key] = $this->selectArbo($key, $item);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$values[$key] = $item;
|
$values[$key] = $item;
|
||||||
@ -714,7 +767,7 @@ Class Fields
|
|||||||
|
|
||||||
public function selectArbo($name, $valeur)
|
public function selectArbo($name, $valeur)
|
||||||
{
|
{
|
||||||
$values = array();
|
$values = array();
|
||||||
switch($name)
|
switch($name)
|
||||||
{
|
{
|
||||||
case 'ape_etab' :
|
case 'ape_etab' :
|
||||||
@ -733,7 +786,15 @@ Class Fields
|
|||||||
foreach($valeurs as $element) {
|
foreach($valeurs as $element) {
|
||||||
if(!empty($element)) {
|
if(!empty($element)) {
|
||||||
$val = explode(':', $element);
|
$val = explode(':', $element);
|
||||||
$array = array_diff($this->localisationArbo($val[0], $val[1]), $values);
|
if(count($val)>1) {
|
||||||
|
$diff = $this->localisationArbo($val[0], $val[1]);
|
||||||
|
if(!empty($diff))
|
||||||
|
$array = array_diff($diff, $values);
|
||||||
|
} else if(!empty($element)) {
|
||||||
|
$diff = $this->localisationArbo($name, $element);
|
||||||
|
if(!empty($diff))
|
||||||
|
$array = array_diff($diff, $values);
|
||||||
|
}
|
||||||
if(!empty($array)) {
|
if(!empty($array)) {
|
||||||
$values = array_merge($values, $array);
|
$values = array_merge($values, $array);
|
||||||
}
|
}
|
||||||
@ -778,26 +839,15 @@ Class Fields
|
|||||||
$table = new Table_Departements();
|
$table = new Table_Departements();
|
||||||
$sql = $table->select()
|
$sql = $table->select()
|
||||||
->from('departements')
|
->from('departements')
|
||||||
->join(array('cp' => 'codepostaux'), 'cp.codepos LIKE CONCAT(departements.numdep, "%")', array('INSEE'))
|
|
||||||
->where('codeRegionInsee ='.$valeur)
|
->where('codeRegionInsee ='.$valeur)
|
||||||
->setIntegrityCheck(false);
|
->setIntegrityCheck(false);
|
||||||
$result = $table->fetchAll($sql)->toArray();
|
$result = $table->fetchAll($sql)->toArray();
|
||||||
|
|
||||||
foreach ($result as $res) {
|
foreach ($result as $res) {
|
||||||
$return[] = trim($res['INSEE']);
|
$return[] = trim($res['numdep']);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'adr_dept':
|
case 'adr_dept':
|
||||||
$table = new Table_Departements();
|
return (array($valeur));
|
||||||
$sql = $table->select()
|
|
||||||
->from('departements')
|
|
||||||
->join(array('cp' => 'codepostaux'), 'cp.codepos LIKE CONCAT(departements.numdep, "%")', array('INSEE'))
|
|
||||||
->where('numdep ='.$valeur)
|
|
||||||
->setIntegrityCheck(false);
|
|
||||||
$result = $table->fetchAll($sql)->toArray();
|
|
||||||
foreach ($result as $res) {
|
|
||||||
$return[] = trim($res['INSEE']);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
@ -829,7 +879,7 @@ Class Fields
|
|||||||
}
|
}
|
||||||
return ($value);
|
return ($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __construct($batch = false)
|
public function __construct($batch = false)
|
||||||
{
|
{
|
||||||
if(!$batch) {
|
if(!$batch) {
|
||||||
|
BIN
public/themes/default/images/stripe-2.png
Normal file
BIN
public/themes/default/images/stripe-2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 107 B |
BIN
public/themes/default/images/stripe-oldd.png
Normal file
BIN
public/themes/default/images/stripe-oldd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 107 B |
@ -180,6 +180,28 @@ $(document).ready(function()
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.saveciblage').on('click', function(){
|
||||||
|
var title = 'Sauvegarde du profil de ciblage';
|
||||||
|
var href = $(this).attr('href');
|
||||||
|
var dialogOpts = {
|
||||||
|
bgiframe: true,
|
||||||
|
title: title,
|
||||||
|
width: 500,
|
||||||
|
height: 200,
|
||||||
|
modal: true,
|
||||||
|
open: function(event, ui) {
|
||||||
|
$(this).html('Chargement...');
|
||||||
|
$(this).load(href);
|
||||||
|
},
|
||||||
|
buttons: {
|
||||||
|
Annuler: function() { $(this).dialog('close'); }
|
||||||
|
},
|
||||||
|
close: function() { $('#dialogsaveciblage').remove(); }
|
||||||
|
};
|
||||||
|
$('<div id="dialogsaveciblage"></div>').dialog(dialogOpts);
|
||||||
|
return false;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function set(key, value)
|
function set(key, value)
|
||||||
|
@ -45,7 +45,8 @@
|
|||||||
|
|
||||||
#entreprise select
|
#entreprise select
|
||||||
{
|
{
|
||||||
width:265px;
|
width:265px;
|
||||||
|
border:1px solid silver;
|
||||||
}
|
}
|
||||||
|
|
||||||
.resetFamille
|
.resetFamille
|
||||||
|
@ -4,8 +4,12 @@
|
|||||||
text-shadow: 1px 1px 1px white;
|
text-shadow: 1px 1px 1px white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#geographique select {
|
||||||
|
width:70%;
|
||||||
|
}
|
||||||
|
|
||||||
#geographique li {
|
#geographique li {
|
||||||
height:30px;
|
height:20px;
|
||||||
padding:5px;
|
padding:5px;
|
||||||
border:1px solid silver;
|
border:1px solid silver;
|
||||||
margin-top:2px;
|
margin-top:2px;
|
||||||
|
Loading…
Reference in New Issue
Block a user