<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_head', $head_info); ?>

<label>
	<input <?php if( $value ) echo 'checked'; ?> class="vp-input<?php if( $value ) echo ' checked'; ?>" type="checkbox" name="<?php echo ''.$name; ?>" value="1" />
	<span></span>
</label>

<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_foot', $head_info); ?>