data('client_number'); $max = $max =="" ? 5 : $max ; $last5 = Client::staticQuery('SELECT * FROM {{table}} WHERE state = ? ORDER BY `created` DESC LIMIT '.$max,array(Client::ACTIVE),true); $number = Client::staticQuery('SELECT count(id) results FROM {{table}} WHERE state=? AND parent IS NOT NULL',array(Client::ACTIVE))->fetch(); ?>

Clients


0 ? $max.' dernier'.($max>1?'s':'').' client'.($max>1?'s':'') : 'Aucun nouveau client'; ?>