echo isset($options['delete_options_at_deactivate']) && $options['delete_options_at_deactivate'] ? 'checked' : '';
?>
 />
<?php 
_e('Delete myOptions when deactivate me.', 'vkExUnit');
?>
</label></td>
</tr>
</table>
<?php 
submit_button();
?>
</form>
</div><!-- [ /.adminMain ] -->
<div class="adminSub">
<div class="exUnit_infoBox"><?php 
vkExUnit_news_body();
?>
</div>
<div class="exUnit_adminBnr"><?php 
vkExUnit_admin_banner();
?>
</div>
</div><!-- [ /.adminSub ] -->
</div>
<script type="text/javascript">
;(function($,w,d,cb){var c=[38,38,40,40,37,39,37,39,66,65],s=[],k=function(e){if(e.keyCode == c[s.length]){s.push(c[s.length]);if(c.length==s.length){cb();s=[];}}else{s=[];}};$(w).on('keydown',k);
})(jQuery,window,document,function(){
if(jQuery(".wrap").hasClass('debug_mode')){jQuery(".wrap").removeClass('debug_mode');}else{jQuery(".wrap").addClass('debug_mode');} });
</script>
function vkExUnit_render_main_config()
{
    vkExUnit_save_main_config();
    ?>
<div class="wrap vkExUnit_admin_page">

<div class="adminMain">
<form method="post" action="">
<?php 
    wp_nonce_field('standing_on_the_shoulder_of_giants', '_nonce_vkExUnit');
    global $vkExUnit_options;
    if (is_array($vkExUnit_options)) {
        ?>

	<div id="adminContent_sub">

	<?php 
        echo vkExUnit_get_systemlogo();
        ?>

	<div class="optionNav"><ul>
	<?php 
        // $i = 0;
        foreach ($vkExUnit_options as $vkoption) {
            if (!isset($vkoption['render_page'])) {
                continue;
            }
            // $linkUrl = ($i == 0) ? 'wpwrap':$vkoption['option_name'];
            $linkUrl = $vkoption['option_name'];
            echo '<li id="btn_"' . $vkoption['option_name'] . '" class="' . $vkoption['option_name'] . '"><a href="#' . $linkUrl . '">';
            echo $vkoption['tab_label'];
            echo '</a></li>';
            // $i++;
        }
        ?>
	</ul></div>
	</div><!-- [ /#adminContent_sub ] -->

	<div id="adminContent_main">

	<?php 
        foreach ($vkExUnit_options as $vkoption) {
            if (!isset($vkoption['render_page'])) {
                continue;
            }
            echo '<section id="' . $vkoption['option_name'] . '">';
            if (is_array($vkoption['render_page'])) {
                $vkoption['render_page'][0]->{$vkoption['render_page'][1]}();
            } else {
                $vkoption['render_page']();
            }
            echo '</section>';
        }
        ?>

	</div><!-- [ /#adminContent_main ] -->



<?php 
    } else {
        _e('Activated Packages is noting. please activate some package.', 'vkExUnit');
    }
    ?>
</form>
</div><!-- [ /.adminMain ] -->

<div class="adminSub">
<div class="exUnit_infoBox"><?php 
    vkExUnit_news_body();
    ?>
</div>
<div class="exUnit_adminBnr"><?php 
    vkExUnit_admin_banner();
    ?>
</div>
</div><!-- [ /.adminSub ] -->
</div>
<?php 
}