roles;
//$role = $current_user->roles

[0];
$ID = $current_user->ID;
$name = $current_user->display_name;
$mail = $current_user->user_email;
$today = date(‘Y-m-d’);
$lastDate = date(‘Y-m-d’,strtotime($today .’-1 year’));

?>

0) {
echo ‘
‘;
$dz_list = $wpdb->get_results(« SELECT * FROM `wp_pem_dropzone` WHERE `ch_dpz_etat`=1 AND `ch_dpz_etat`<".$lastDate." ORDER BY `ch_dpz_label`"); foreach ( $dz_list as $dz_item ) { echo '[fusion_toggle title="'. $dz_item->ch_dpz_date. ‘ – ‘ . stripslashes($dz_item->ch_dpz_label). ‘ » open= »no »]’;
echo ‘

‘;
echo ‘‘;
echo ‘
‘;
if (count(array_intersect($role, array(« administrator », »dropzoner »)))>0) {
echo ‘‘;
echo ‘
‘;
/*echo ‘‘;
echo ‘
‘;*/
}
echo stripslashes($dz_item->ch_dpz_description).’

‘;
if (count(array_intersect($role, array(« administrator », »dropzoner »)))>0) {
echo ‘

    ‘;
    echo ‘‘;
    echo ‘‘;
    echo ‘

[/fusion_builder_column]