<?php
$sBaseDirName = dirname( __FILE__ ).DIRECTORY_SEPARATOR;

if ( $flags[ 'wrap_page_content' ] ) : ?>
	<div class="wrap">
	<div class="bootstrap-wpadmin1 icwp-options-page <?php echo $data[ 'mod_slug' ]; ?>">
	<h1 style="height: 0; display: none"></h1>
<?php endif; ?>

<?php if ( $flags[ 'access_restricted' ] ) : ?>
<?php else : ?>
	<?php include( $sBaseDirName.'index_body.php' ); ?>
<?php endif; ?>

<?php if ( $flags[ 'wrap_page_content' ] ) : ?>
	</div><!-- / bootstrap-wpadmin -->
</div><!-- / wrap -->
<?php endif; ?>

<?php include_once( $sBaseDirName.'index_footer.php' ); ?>

<?php if ( !empty( $aPluginLabels[ 'icon_url_128x128' ] ) ) : ?>
	<style>
		#TopPluginIcon {
			background-image: url( "<?php echo $aPluginLabels[ 'icon_url_128x128' ]; ?>" ) !important;
		}
	</style>
<?php endif;

