<div class="wrap">
	<div id="ait-languages-page" class="ait-admin-page">
		<div class="ait-admin-page-wrap">
			<div class="ait-options-page">
				<div class="ait-options-page-content">

					<div class="ait-options-sidebar">
						<div class="ait-options-sidebar-content">
							<h3 class="ait-options-sidebar-title"><?php _e('Languages', 'ait-languages') ?></h3>
							<ul id="ait-languages-tabs" class="ait-options-tabs">
								<?php
									if(current_theme_supports('ait-languages-plugin')){
										foreach($tabs as $key => $title){
											printf(
												'<li class="%s"><a href="%s">%s</a></li>',
												$key == $activeTab ? 'tab-active' : '',
												admin_url('admin.php?page=ait-languages&amp;tab=' . $key),
												$title
											);
										}
									}else{
									?>
										<h2 class="nav-tab-wrapper">
										<?php
										foreach($tabs as $key => $title){
											printf(
												'<a href="%s" class="nav-tab %s">%s</a>',
												admin_url('admin.php?page=ait-languages&amp;tab=' . $key),
												$key == $activeTab ? 'nav-tab-active' : '',
												$title
											);
										}
										?>
										</h2>
									<?php
									}
								?>
							</ul>
						</div>
					</div><!-- /.ait-options-sidebar -->


					<div class="ait-options-content">
						<?php if(current_theme_supports('ait-languages-plugin')): ?>
						<div class="ait-options-content-header">
							<h1><span id="ait-options-panel-title"><?php echo $tabs[$activeTab]; ?></span></h1>
						</div>
						<?php endif; ?>
						<div class="ait-options-controls-container">
							<div id="ait-languages-panels" class="ait-options-controls ait-options-panels">
								<?php

									include_once $adminPageFile;
								?>
							</div>
						</div>

					</div><!-- /.ait-options-content -->

				</div><!-- /.ait-options-page-content -->
			</div>
		</div><!-- /.ait-admin-page-wrap -->
	</div><!-- /#ait-languages-page -->
</div>
