Using a form inside Dashboard to get information from user

Hi,

I use Divi theme for my network. Divi adds "Export Page Builder layouts" option under Appearance menu.

I did little custom work here.

What I want to do :

1. Have custom Texts [Already Done]

2. Use a form here to get information. The idea here is, if the layout created by the member is good, then we will add to other members too. So I want the user to notify us,using the form. Fields such as - Layout demo link, description, Name is sufficient.

Here is the Code which needs your input :

<?php
define( 'ET_PB_VERSION', et_get_theme_version() );
define( 'ET_PB_DIR', trailingslashit( dirname(__FILE__) ) );
define( 'ET_PB_URI', get_template_directory_uri() . '/et-pagebuilder' );

// load pre-defined layouts
require_once( ET_PB_DIR . '/layouts/layouts.php' );

// exclude predefined layouts from import
function et_remove_predefined_layouts_from_import( $posts ) {
	$processed_posts = $posts;

	if ( isset( $posts ) && is_array( $posts ) ) {
		$processed_posts = array();

		foreach ( $posts as $post ) {
			if ( isset( $post['postmeta'] ) && is_array( $post['postmeta'] ) ) {
				foreach ( $post['postmeta'] as $meta ) {
					if ( '_et_pb_predefined_layout' === $meta['key'] && 'on' === $meta['value'] )
						continue 2;
				}
			}

			$processed_posts[] = $post;
		}
	}

	return $processed_posts;
}
add_filter( 'wp_import_posts', 'et_remove_predefined_layouts_from_import' );

function et_pb_export_layouts_page() {
    add_theme_page( esc_html__( 'Share Your Theme', 'Divi' ), esc_html__( 'Share Your Theme', 'Divi' ), 'export', 'et_pb_export_layouts', 'et_pb_export_layouts_interface' );

    if ( isset( $_GET['page'] ) && 'et_divi_homepage_builder' === $_GET['page'] && isset( $_POST['et_hb_action'] ) )
		et_homepage_builder_save_data();
}
add_action( 'admin_menu', 'et_pb_export_layouts_page' );

if ( ! function_exists( 'et_pb_is_pagebuilder_used' ) ) :
function et_pb_is_pagebuilder_used( $page_id ) {
	return ( 'on' === get_post_meta( $page_id, '_et_pb_use_builder', true ) );
}
endif;

if ( ! function_exists( 'et_pb_font_icon_list' ) ) :
function et_pb_font_icon_list() {
	$output = '';

	$symbols = array( '!', '"', '#', '$', '%', '&', ''', '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', '\', ']', '^', '_', '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{', '|', '}', '~', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', );

	$symbols = apply_filters( 'et_pb_font_icon_symbols', $symbols );

	foreach ( $symbols as $symbol ) {
		$output .= sprintf( '<li data-icon="%1$s"></li>', esc_attr( $symbol ) );
	}

	$output = sprintf( '<ul class="et_font_icon">%1$s</ul>', $output );

	echo $output;
}
endif;

if ( ! function_exists( 'et_pb_export_layouts_interface' ) ) :
function et_pb_export_layouts_interface() {
	if ( ! current_user_can( 'export' ) )
		wp_die( __( 'You do not have sufficient permissions to export the content of this site.' ) );

?>
	<div class="wrap">
		<?php screen_icon( 'tools' ); ?>
		<h2 id="et_page_title"><?php esc_html_e( 'Share Your Theme', 'Divi' ); ?></h2>

		<p><?php _e( '<h1><b>Why You Should Share Your Theme</b></h1>' ); ?></p>
		<p><?php _e( 'Some time ago I was dedicating quite a lot of time to another blog that I have, but the RSS subscriptions were not going up so fast. It was strange because the articles I was writing were being featured on some high authority blogs, meaning that people were reading them but not subscribing to the blog.
After some time I decided to redesign the sidebar, and I included an RSS subscription button on the top right corner of every single place. Bingo! RSS subscriptions skyrocketed that very same day. Prior to those changes I realized that I only had an RSS subscription button on the home page. People that were coming from other blogs directly to an article page, therefore, were not even seeing the option to subscribe.
', 'Divi' ); ?></p>

		<p><?php _e( '<h1><b>What You Get in Turn</b></h1>' ); ?></p>
		<p><?php _e( 'Some time ago I was dedicating quite a lot of time to another blog that I have, but the RSS subscriptions were not going up so fast. It was strange because the articles I was writing were being featured on some high authority blogs, meaning that people were reading them but not subscribing to the blog.
After some time I decided to redesign the sidebar, and I included an RSS subscription button on the top right corner of every single place. Bingo! RSS subscriptions skyrocketed that very same day. Prior to those changes I realized that I only had an RSS subscription button on the home page. People that were coming from other blogs directly to an article page, therefore, were not even seeing the option to subscribe.
', 'Divi' ); ?></p>

		<p><?php _e( '<h1><b>How to share your theme</b></h1>' ); ?></p>
        <p><?php _e( '  Some time ago I was dedicating quite a lot of time to another blog that I have, but the RSS subscriptions were not going up so fast. It was strange because the articles I was writing were being featured on some high authority blogs, meaning that people were reading them but not subscribing to the blog.
After some time I decided to redesign the sidebar, and I included an RSS subscription button on the top right corner of every single place. Bingo! RSS subscriptions skyrocketed that very same day. Prior to those changes I realized that I only had an RSS subscription button on the home page. People that were coming from other blogs directly to an article page, therefore, were not even seeing the option to subscribe.
', 'Divi' ); ?></p>
		<form action="<?php echo esc_url( admin_url( 'export.php' ) ); ?>" method="get" id="et-pb-export-layouts">
			<input type="hidden" name="download" value="true" />
			<input type="hidden" name="content" value="et_pb_layout" />

			<?php submit_button( __('Download Your Theme') ); ?>
		</form>
<?php }
endif;

Need complete code (4936 lines!) ? Notify me, I will update here.

Thanks.