private static function export_page()
    {
        ?>
<div class="em-menu-export em-menu-group">

			<div id="poststuff">


				<!-- Syndication Settings -->
				<div class="postbox" id="em-ess-export-syndication">
					<div class="handlediv" title="<?php 
        _e('Click to toggle', 'dbem');
        ?>
"><br /></div><h3><span><?php 
        _e('Syndication Settings', 'dbem');
        ?>
 </span></h3>
					<div class="inside">

						<?php 
        ESS_Elements::get_explain_block("This section defines the way the aggregated feed's events will appears in your event dashboard." . "<br />" . "-");
        ?>

						<table class="form-table">
							<tbody>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_syndication_status', 'title' => 'Event Status', 'explain' => "Place automatically if ON is selected the aggregated events as 'publish', otherwise if OFF is selected they will be automatically published as 'draft'."));
        ?>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_backlink_enabled', 'title' => 'Back-link URL', 'explain' => "Place automatically a back-link URL at the end of the event description within the ESS feed to drive web-users to your website."));
        ?>
							</tbody>
						</table>

						<p class="submit">
							<input type="submit" class="button-primary" name="save_export" value="<?php 
        _e('Save Changes (All)', 'dbem');
        ?>
" />
						</p>
					</div>
				</div>




				<!-- Feed Settings -->
				<div class="postbox" id="em-ess-export-feed">
					<div class="handlediv" title="<?php 
        _e('Click to toggle', 'dbem');
        ?>
"><br /></div><h3><span><?php 
        _e('Feed Settings', 'dbem');
        ?>
 </span></h3>
					<div class="inside">

						<?php 
        ESS_Elements::get_explain_block("This section defines the header elements of your ESS feeds." . "<br />" . "Those elements will be read by robot crawlers to identify the origin of the events.");
        ?>

						<table class="form-table">
							<tbody>
								<?php 
        self::get_input_table_row(array('id' => 'ess_feed_title', 'title' => 'Feed Title'));
        ?>
								<?php 
        self::get_input_table_row(array('id' => 'ess_feed_rights', 'title' => 'Feed Rights'));
        ?>
								<?php 
        self::get_input_table_row(array('id' => 'ess_feed_website', 'title' => 'Feed Website'));
        ?>
								<tr>
									<td width="20">&nbsp;</td>
									<th><?php 
        _e('Max. Events per Feed', 'dbem');
        ?>
</th>
									<td>
										<input type="text" name="ess_feed_limit" value="<?php 
        echo ESS_Database::get_option('ess_feed_limit');
        ?>
" style="width:130px;float:left;clear:right;margin-right:10px;" />
										<em><?php 
        _e('Some ESS aggregators limits the acceptable file size to 2Mo.', 'dbem');
        ?>
</em>
									</td>
								</tr>
								<tr>
									<td width="20">&nbsp;</td>
									<th><?php 
        _e("Events' Purpose", 'dbem');
        ?>
&nbsp;</th>
									<td>
										<select name="ess_feed_category_type" style="width:130px;float:left;clear:right;margin-right:10px;">
											<option value="0" <?php 
        echo get_option('ess_feed_category_type') == '' ? 'selected="selected"' : '';
        ?>
><?php 
        ucfirst(ESS_Database::DEFAULT_CATEGORY_TYPE);
        ?>
</option>
											<?php 
        foreach (ESS_Control_admin::get_categories_types() as $category_type) {
            ?>
											<option value="<?php 
            echo $category_type;
            ?>
" <?php 
            echo get_option('ess_feed_category_type') == $category_type ? 'selected="selected"' : '';
            ?>
><?php 
            echo ucfirst($category_type);
            ?>
</option>
											<?php 
        }
        ?>
										</select>
										<em><?php 
        _e('Defines the global theme of all your events (used by search engines)', 'dbem');
        ?>
</em>
									</td>
								</tr>
								<tr>
									<td width="20">&nbsp;</td>
									<th><?php 
        _e("Events' Currency", 'dbem');
        ?>
&nbsp;</th>
									<td>
										<select name="ess_feed_currency" style="width:130px;float:left;clear:right;margin-right:10px;">
											<option value="0" <?php 
        echo get_option('ess_feed_currency') == '' ? 'selected="selected"' : '';
        ?>
><?php 
        ESS_Database::DEFAULT_CURRENCY;
        ?>
</option>
											<?php 
        foreach (FeedValidator::$CURRENCIES_ as $country => $currency) {
            ?>
											<option value="<?php 
            echo $currency;
            ?>
" <?php 
            echo get_option('ess_feed_currency') == $currency ? 'selected="selected"' : '';
            ?>
><?php 
            echo $currency;
            ?>
</option>
											<?php 
        }
        ?>
										</select>
										<em><?php 
        _e("Defines the currency used to set the events' prices", 'dbem');
        ?>
</em>
									</td>
								</tr>
								<tr>
									<td width="20">&nbsp;</td>
									<th><?php 
        _e('Feed Language:', 'dbem');
        ?>
&nbsp;</th>
									<td>
										<select name="ess_feed_language" style="max-width:402px;">
											<option value="0" <?php 
        echo get_option('ess_feed_language') == '' ? 'selected="selected"' : '';
        ?>
><?php 
        _e('none selected', 'dbem');
        ?>
</option>
											<?php 
        foreach (FeedValidator::$LANGUAGES_ as $lang_code => $lang_name) {
            ?>
											<option value="<?php 
            echo $lang_code;
            ?>
" <?php 
            echo get_option('ess_feed_language') == $lang_code ? 'selected="selected"' : '';
            ?>
><?php 
            echo $lang_name;
            ?>
</option>
											<?php 
        }
        ?>
										</select>
									</td>
								</tr>
								<tr>
									<td width="20">&nbsp;</td>
									<th><?php 
        _e('Events Time Zone', 'dbem');
        ?>
</th>
									<td><?php 
        self::get_timezone_picker();
        ?>
</td>
								</tr>
							</tbody>
						</table>
						<p class="submit">
							<input type="submit" class="button-primary" name="save_export" value="<?php 
        _e('Save Changes (All)', 'dbem');
        ?>
" />
						</p>
					</div>
				</div>



				<!-- Feed Visibility -->
				<div class="postbox" id="em-ess-export-visibility">
					<div class="handlediv" title="<?php 
        _e('Click to toggle', 'dbem');
        ?>
"><br /></div><h3><span><?php 
        _e('Feed Visibility', 'dbem');
        ?>
 </span></h3>
					<div class="inside">

						<?php 
        ESS_Elements::get_explain_block("This section control the visibility of the ESS feeds and its components." . "<br />" . "You can define if the search engines can automaticaly access and analyse your events.");
        ?>

						<table class="form-table">
							<tbody>

								<tr><th colspan="3"><strong><?php 
        _e("Website Feed Visibility", "dbem");
        ?>
 </strong></th></tr>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_visibility_web', 'title' => 'Feed Icon', 'explain' => 'Display the ESS feeds icon on your website to allow other web reader to syndicate to your events.'));
        ?>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_visibility_meta', 'title' => 'Meta Data', 'explain' => 'Display all your public events in the header meta tags of your website (use by search engines for web indexation).'));
        ?>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_push', 'title' => 'Search Engines', 'explain' => 'Push your events to search engine in real-time at every changes.'));
        ?>


								<tr><th colspan="3"><strong><?php 
        _e("Feed's Elements Visibility", "dbem");
        ?>
 </strong></th></tr>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_import_images', 'title' => 'Import Images', 'explain' => 'Defines if the images have to be also imported while importing an ESS feed.'));
        ?>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_export_images', 'title' => 'Export Images', 'explain' => 'Defines if your images have to be exported in your ESS feeds.'));
        ?>
								<!--
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_import_videos', 'title' => 'Import Videos', 'explain' => 'Defines if the video files have to be also imported while importing an ESS feed.'));
        ?>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_export_videos', 'title' => 'Export Videos', 'explain' => 'Defines if your video files have to be exported in your ESS feeds.'));
        ?>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_import_sounds', 'title' => 'Import Sounds', 'explain' => 'Defines if the audio files have to be also imported while importing an ESS feed.'));
        ?>
								<?php 
        self::get_checkbox_table_row(array('id' => 'ess_feed_export_sounds', 'title' => 'Export Sounds', 'explain' => 'Defines if your audio files have to be exported in your ESS feeds.'));
        ?>
								-->
							</tbody>
						</table>

						<p class="submit">
							<input type="submit" class="button-primary" name="save_export" value="<?php 
        _e('Save Changes (All)', 'dbem');
        ?>
" />
						</p>
					</div>
				</div>



				<!-- Events Organizer -->
				<div class="postbox" id="em-ess-export-owner">
					<div class="handlediv" title="<?php 
        _e('Click to toggle', 'dbem');
        ?>
"><br /></div><h3><span><?php 
        _e('Events Organizer', 'dbem');
        ?>
 </span></h3>
					<div class="inside">

						<?php 
        ESS_Elements::get_explain_block("This section defines the organizer information displayed in every ESS feeds." . "<br />" . "This information will be available for any third party that syndicate to your feeds.");
        ?>

						<table class="form-table">
							<tbody>
								<tr>
									<th><strong><?php 
        _e('Display Organizer', 'dbem');
        ?>
</strong></th>
									<td>
										<?php 
        ESS_Elements::button_checkbox(array('id' => 'ess_owner_activate', 'checked' => get_option('ess_owner_activate'), 'on' => 'ON', 'off' => 'OFF'));
        ?>
										<em><?php 
        _e('Display, in the feed, the coordinate of the event organizer (will be the same for all the events).', 'dbem');
        ?>
</em>
									</td>
								</tr>
							</tbody>
						</table>
						<table class="form-table" id="block_owner" style="opacity:<?php 
        echo get_option('ess_owner_activate') ? '1' : '0.3';
        ?>
;">
							<tbody>
								<tr>
									<td width="20">&nbsp;</td>
									<th><?php 
        _e('First Name / Last Name:', 'dbem');
        ?>
&nbsp;</th>
									<td>
										<input type="text" name="ess_owner_firstname" value="<?php 
        echo ESS_Database::get_option('ess_owner_firstname');
        ?>
" style="width:49%;" />
										<input type="text" name="ess_owner_lastname" value="<?php 
        echo ESS_Database::get_option('ess_owner_lastname');
        ?>
" style="width:49%;" />
									</td>
								</tr>
								<?php 
        self::get_input_table_row(array('id' => 'ess_owner_company', 'title' => 'Company / Organisation'));
        ?>
								<?php 
        self::get_input_table_row(array('id' => 'ess_owner_address', 'title' => 'Address:'));
        ?>
								<tr>
									<td width="20">&nbsp;</td>
									<th><?php 
        _e('City / State / Postcode:', 'dbem');
        ?>
&nbsp;</th>
									<td>
										<input type="text" name="ess_owner_city" value="<?php 
        echo ESS_Database::get_option('ess_owner_city');
        ?>
" style="width:44%;" />
										<input type="text" name="ess_owner_state" value="<?php 
        echo ESS_Database::get_option('ess_owner_state');
        ?>
" style="width:43%;" />
										<input type="text" name="ess_owner_zip" value="<?php 
        echo ESS_Database::get_option('ess_owner_zip');
        ?>
" style="width:10%;" />
									</td>
								</tr>
								<tr>
									<td width="20">&nbsp;</td>
									<th><?php 
        _e('Country:', 'dbem');
        ?>
&nbsp;</th>
									<td>
										<select name="ess_owner_country">
											<option value="0" <?php 
        echo get_option('ess_owner_country') == '' ? 'selected="selected"' : '';
        ?>
><?php 
        _e('none selected', 'dbem');
        ?>
</option>
											<?php 
        foreach (em_get_countries() as $country_key => $country_name) {
            ?>
											<option value="<?php 
            echo $country_key;
            ?>
" <?php 
            echo get_option('ess_owner_country') == $country_key ? 'selected="selected"' : '';
            ?>
><?php 
            echo $country_name;
            ?>
</option>
											<?php 
        }
        ?>
										</select>
									</td>
								</tr>
								<?php 
        self::get_input_table_row(array('id' => 'ess_owner_website', 'title' => 'Website:'));
        ?>
								<?php 
        self::get_input_table_row(array('id' => 'ess_owner_phone', 'title' => 'Phone:'));
        ?>
							</tbody>
						</table>
						<p class="submit">
							<input type="submit" class="button-primary" name="save_export" value="<?php 
        _e('Save Changes (All)', 'dbem');
        ?>
" />
						</p>
					</div>
				</div>



				<!-- Social Platforms -->
				<div class="postbox" id="em-ess-export-social">
					<div class="handlediv" title="<?php 
        _e('Click to toggle', 'dbem');
        ?>
"><br /></div><h3><span><?php 
        _e('Social Platform', 'dbem');
        ?>
 </span></h3>
					<div class="inside">

						<?php 
        ESS_Elements::get_explain_block("This section defines the social platforms you want to link with all your events." . "<br />" . "This information will be available for search engine for high-ranking your pages by creating a cross-link.");
        ?>

						<?php 
        foreach (ESS_Database::$SOCIAL_PLATFORMS as $type => $socials_) {
            ?>
							<div class="postbox" id="em-ess-export-social">
								<div class="handlediv" title="<?php 
            _e('Click to toggle', 'dbem');
            ?>
"><br /></div><h3><span><?php 
            _e(ucfirst($type), 'dbem');
            ?>
 </span></h3>
								<div class="inside">
									<table class="form-table">
										<tbody>
											<?php 
            foreach ($socials_ as $social) {
                ?>
												<?php 
                self::get_social_table_row($social);
                ?>
											<?php 
            }
            ?>
										</tbody>
									</table>
								</div>
							</div>
						<?php 
        }
        ?>

						<p class="submit">
							<input type="submit" class="button-primary" name="save_export" value="<?php 
        _e('Save Changes (All)', 'dbem');
        ?>
" />
						</p>
					</div>
				</div>



			</div>


		</div><?php 
    }