function sl_print($val){
if ( isset( $_REQUEST['saved'] ) ){
echo '<div class="updated"><p>Сохранено.</p></div>';
}
if( function_exists( 'image_uploader_field' ) ) {
image_uploader_field($val['name'], get_option($val['id']));
}
}