As the sun rises and the forest mist clears, and the clouds return and the caves darken, these changes of light and shadow are the morning and evening in the mountains. Wildflowers bloom with their subtle fragrance, fine trees flourish with their dense shade, the wind and frost are pure and clean, and the water recedes to reveal the rocks—these are the four seasons in the mountains. Going out in the morning and returning in the evening, the scenery of the four seasons is different, and the joy is endless.至于负者歌于途,行者休于树,前者呼,后者应,伛偻提携,往来而不绝者,滁人游也。临溪而渔,溪深而鱼肥,酿泉为酒,泉香而酒洌,山肴野蔌,杂然而前陈者,太守宴也。宴酣之乐,非丝非竹,射者中,弈者胜,觥筹交错,起坐而喧哗者,众宾欢也。苍颜白发,颓然乎其间者,太守醉也。 HEX
HEX
Server: Apache
System: Linux webd003.cluster106.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: labeautef (51223)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/labeautef/les-referenceurs.com/wp-content/plugins/divi-toolbox/customizer/particles.php
<?php
	
$wp_customize->add_setting( 'dtb_customize_title_particles', array(
	'default' => '',
	'transport' => 'refresh',
	'sanitize_callback' => 'wp_filter_nohtml_kses'
));
$wp_customize->add_control( new Toolbox_Toggle( $wp_customize, 'dtb_customize_title_particles', array(
	'label' => __( 'Moving Particles Background', 'divi-toolbox' ),
	'section' => 'dtb_general'
)));	
	
// #1

$wp_customize->add_setting( 'dtb_customize_title_particles1_desc', array(
	'default' => '',
	'transport' => 'refresh',
	'sanitize_callback' => 'wp_filter_nohtml_kses'
));
$wp_customize->add_control( new Toolbox_Descriptions( $wp_customize, 'dtb_customize_title_particles1_desc', array(
	'description'  => esc_html__( 'The first set of controls applies to any element with the custom CSS ID of particles-bg1 and the second set of controls applies to an element with CSS ID of particles-bg2' ),
	'section' => 'dtb_general'
)));
$wp_customize->add_setting( 'dtb_customize_title_particles1', array(
	'default' => '',
	'transport' => 'refresh',
	'sanitize_callback' => 'wp_filter_nohtml_kses'
));
$wp_customize->add_control( new Toolbox_Descriptions( $wp_customize, 'dtb_customize_title_particles1', array(
	'label' => __( 'Particle Background #1', 'divi-toolbox' ),
	'section' => 'dtb_general'
)));
$wp_customize->add_setting( 'dtb_customize_particles1_number', array(
	'default' => 80,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles1_number', array(
	'label' => __('Number of Particles', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 300,
		'step' => 1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles1_color', array(
	'default' => '#BDC8D5',
	'type' => 'option',
	'sanitize_callback' => 'et_sanitize_alpha_color',
	'capability' => 'edit_theme_options'
));
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dtb_customize_particles1_color', array(
	'label' => __('Particles Color', 'divi-toolbox'),
	'section' => 'dtb_general',
	'settings' => 'dtb_customize_particles1_color'
)));




$wp_customize->add_setting( 'dtb_customize_particles1_opacity', array(
	'default' => 0.5,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'wp_filter_nohtml_kses'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles1_opacity', array(
	'label' => __('Particles Opacity', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 1,
		'step' => 0.1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles1_shape', array(
	'default' => 'circle',
	'type' => 'option',
	'sanitize_callback' => 'dtb_sanitize_select',
	'capability' => 'edit_theme_options',
));

$wp_customize->add_control( 'dtb_customize_particles1_shape', array(
	'label' => __('Particles Shape', 'divi-toolbox'),
	'type' => 'select',
	'section' => 'dtb_general',
	'choices' => array(
		'circle'   => 'Circle',
		'edge'      => 'Square',
		'polygon'    => 'Poygon',
		'star'   => 'Star'
	)
));
$wp_customize->add_setting( 'dtb_customize_particles1_size', array(
	'default' => 3,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles1_size', array(
	'label' => __('Particles Size', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 100,
		'step' => 1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles1_speed', array(
	'default' => 6,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles1_speed', array(
	'label' => __('Particles Speed', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 1,
		'max'  => 20,
		'step' => 1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles1_lines', array(
	'default' => 1,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles1_lines', array(
	'label' => __('Lines Width', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 20,
		'step' => 1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles1_lines_color', array(
	'default' => '#BDC8D5',
	'type' => 'option',
	'sanitize_callback' => 'et_sanitize_alpha_color', 
	'capability' => 'edit_theme_options'
));
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dtb_customize_particles1_lines_color', array(
	'label' => __('Lines Color', 'divi-toolbox'),
	'section' => 'dtb_general',
	'settings' => 'dtb_customize_particles1_lines_color'
)));
$wp_customize->add_setting( 'dtb_customize_particles1_lines_opacity', array(
	'default' => 0.4,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'wp_filter_nohtml_kses'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles1_lines_opacity', array(
	'label' => __('Lines Opacity', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 1,
		'step' => 0.1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles1_activity', array(
	'default' => 'default',
	'type' => 'option',
	'sanitize_callback' => 'dtb_sanitize_select',
	'capability' => 'edit_theme_options',
));
$wp_customize->add_control( 'dtb_customize_particles1_activity', array(
	'label' => __('Particles Interactivity', 'divi-toolbox'),
	'type' => 'select',
	'section' => 'dtb_general',
	'choices' => array(
		'none'   => 'None',
		'grab'      => 'Grab',
		'bubble'    => 'Bubble',
		'repulse'   => 'Repulse'
	)
));
// #2

$wp_customize->add_setting( 'dtb_customize_title_particles2', array(
	'default' => '',
	'transport' => 'refresh',
	'sanitize_callback' => 'wp_filter_nohtml_kses'
));
$wp_customize->add_control( new Toolbox_Descriptions( $wp_customize, 'dtb_customize_title_particles2', array(
	'label' => __( 'Particle Background #2', 'divi-toolbox' ),
	'section' => 'dtb_general'
)));

$wp_customize->add_setting( 'dtb_customize_particles2_number', array(
	'default' => 80,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles2_number', array(
	'label' => 'Number of Particles',
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 300,
		'step' => 1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles2_color', array(
	'default' => '#BDC8D5',
	'type' => 'option',
	'sanitize_callback' => 'et_sanitize_alpha_color', 
	'capability' => 'edit_theme_options'
));
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dtb_customize_particles2_color', array(
	'label' => __('Particles Color', 'divi-toolbox'),
	'section' => 'dtb_general',
	'settings' => 'dtb_customize_particles2_color'
)));
$wp_customize->add_setting( 'dtb_customize_particles2_opacity', array(
	'default' => 0.5,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles2_opacity', array(
	'label' => __('Particles Opacity', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 1,
		'step' => 0.1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles2_shape', array(
	'default' => 'circle',
	'type' => 'option',
	'sanitize_callback' => 'dtb_sanitize_select',
	'capability' => 'edit_theme_options',
));

$wp_customize->add_control( 'dtb_customize_particles2_shape', array(
	'label' => __('Particles Shape', 'divi-toolbox'),
	'type' => 'select',
	'section' => 'dtb_general',
	'choices' => array(
		'circle'   => 'Circle',
		'edge'      => 'Square',
		'polygon'    => 'Poygon',
		'star'   => 'Star'
	)
));
$wp_customize->add_setting( 'dtb_customize_particles2_size', array(
	'default' => 3,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles2_size', array(
	'label' => __('Particles Size', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 100,
		'step' => 1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles2_speed', array(
	'default' => 6,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles2_speed', array(
	'label' => __('Particles Speed', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 1,
		'max'  => 20,
		'step' => 1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles2_lines', array(
	'default' => 1,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles2_lines', array(
	'label' => __('Lines Width', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 20,
		'step' => 1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles2_lines_color', array(
	'default' => '#BDC8D5',
	'type' => 'option',
	'sanitize_callback' => 'et_sanitize_alpha_color', 
	'capability' => 'edit_theme_options'
));
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'dtb_customize_particles2_lines_color', array(
	'label' => __('Lines Color', 'divi-toolbox'),
	'section' => 'dtb_general',
	'settings' => 'dtb_customize_particles2_lines_color'
)));
$wp_customize->add_setting( 'dtb_customize_particles2_lines_opacity', array(
	'default' => 0.4,
	'type'			  => 'option',
	'capability'    => 'edit_theme_options',
	'sanitize_callback' => 'et_sanitize_int_number'
));
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'dtb_customize_particles2_lines_opacity', array(
	'label' => __('Lines Opacity', 'divi-toolbox'),
	'section' => 'dtb_general',
	'type'			=> 'range',
	'input_attrs' => array(
		'min'  => 0,
		'max'  => 1,
		'step' => 0.1
	)
)));
$wp_customize->add_setting( 'dtb_customize_particles2_activity', array(
	'default' => 'default',
	'type' => 'option',
	'sanitize_callback' => 'dtb_sanitize_select',
	'capability' => 'edit_theme_options',
));
$wp_customize->add_control( 'dtb_customize_particles2_activity', array(
	'label' => __('Particles Interactivity','divi-toolbox'),
	'type' => 'select',
	'section' => 'dtb_general',
	'choices' => array(
		'none'   => 'None',
		'grab'      => 'Grab',
		'bubble'    => 'Bubble',
		'repulse'   => 'Repulse'
	)
));