date('Y-m-d'), 'date_expiration_end' =>'', 'date_expiration_limit' => '((to_days(empr_date_expiration) - to_days(now()) ) <= '.$pmb_relance_adhesion.' )', 'change_categ' => '')); break; case "depasse" : $list_ui_instance = new static::$list_ui_class_name(array('date_expiration_start' => '', 'date_expiration_end' => date('Y-m-d'), 'date_expiration_limit' => '', 'change_categ' => '')); break; case "categ_change" : $list_ui_instance = new static::$list_ui_class_name(array('date_expiration_start' => '', 'date_expiration_end' => '', 'date_expiration_limit' => '', 'change_categ' => '((((age_min<> 0) || (age_max <> 0)) && (age_max >= age_min)) && (((DATE_FORMAT( curdate() , "%Y" )-empr_year) < age_min) || ((DATE_FORMAT( curdate() , "%Y" )-empr_year) > age_max)))')); break; case "encours" : default : $list_ui_instance = new static::$list_ui_class_name(array('date_expiration_start' => date('Y-m-d'), 'date_expiration_end' => '', 'date_expiration_limit' => '', 'change_categ' => '')); break; } switch($dest) { case "TABLEAU": break; case "TABLEAUHTML": break; default: if (isset($statut_action) && $statut_action=="modify") { $list_ui_instance->run_change_status(); } break; } return $list_ui_instance; } }