<?php
/**
 * Intranet
 *
 * PHP version 5
 *
 * @category  PHP
 * @package   Rocket_form
 * @author    Softdiscover <info@softdiscover.com>
 * @copyright 2015 Softdiscover
 * @license   http://www.php.net/license/3_01.txt  PHP License 3.01
 * @link      https://softdiscover.com/zigaform/wordpress-cost-estimator
 */
if ( ! defined('BASEPATH')) {
    exit('No direct script access allowed');
}
ob_start();
?>
<?php
if ( isset($help_block['show_st']) && intval($help_block['show_st']) === 1) {
    switch ( $help_block['pos']) {
        case 1:
            // top
            ?>
                <div class="rockfm-help-block"><?php echo urldecode($help_block['text']); ?></div>
                <div class="rockfm-input-container">
               <?php echo $render_block_input; ?>
                </div>
                <?php
            break;
        case 2:
            // tooltip
            ?>
                <div class="rockfm-input-container">
               <?php echo $render_block_input; ?>
                </div>
                <?php
            break;
        case 3:
            // popup
            ?>
                <div class="rockfm-input-container">
                <?php echo $render_block_input; ?>
                </div>
                <?php
            break;
        case 0:
        default:
            // bottom
            ?>
                <div class="rockfm-input-container">
            <?php echo $render_block_input; ?>
                </div>
                <div class="rockfm-help-block"><?php echo urldecode($help_block['text']); ?></div>
            <?php
            break;
    }
} else {
    ?>
                <div class="rockfm-input-container">
               <?php echo $render_block_input; ?>
                </div>
        <?php
}


?>
<?php
$cntACmp = ob_get_contents();
$cntACmp = Uiform_Form_Helper::sanitize_output($cntACmp);
ob_end_clean();

echo $cntACmp;
?>
