<div class="dark_switch_box box_<?php echo esc_attr($sty);?> floating-<?php echo esc_attr($posi);?>">
    <span class="droit_light">day</span>
    <div class="drdt_checkbox switch_<?php echo esc_attr($sty);?>"></div>
    <span class="droit_dark">night</span>
</div>