function check_content_exists($content_name, $content_type)
{
    $checked_content = sp_get_saved_input($content_name, $content_type);
    echo $checked_content;
}
function sp_theme_options_image($args)
{
    $name = $args['name'];
    $label = $args['label'];
    ?>
    
    <input id="<?php 
    echo $name;
    ?>
" type="text" name="<?php 
    echo $name;
    ?>
" value="<?php 
    echo sp_get_saved_input($name, 'url');
    ?>
"/>
    <input type="button" class="button upload-button" value="Upload Image" />
        <?php 
    if ($label) {
        ?>
        <label for="<?php 
        echo $name;
        ?>
"><?php 
        echo $label;
        ?>
</label>
    <?php 
    }
}