<div class="wrap" id="framework_wrap">
	<div id="busiprof-themepromo" style="width:97%;color:#FFFFFF;margin-right:10px;">
			<div id="company-logo" style="float:right;margin-top:2px; font-size:18px;color:#000000;text-shadow:#fff 0px 1px 0, #000 0 -1px 0;">
				<center><strong><?php _e('Corpbiz By','corpbiz');?></strong></center>&nbsp;<a href="http://www.webriti.com/" target="_blank"><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/png.png' ?> " /></a>
			</div>
			<h2 style="margin-bottom:10px;"><?php _e("Upgrade to Corpbiz Pro!",'corpbiz') ; ?></h2>            
			<div id="pro-connect" style="margin-bottom:5px;padding:5px;">
				<a class="btn btn-large btn-danger" href="#myModal"  data-toggle="modal"><strong><?php _e('Upgrade to Pro','corpbiz'); ?></strong></a>&nbsp;&nbsp;
				<a class="btn btn-large btn-info" href="http://wordpress.org/themes/corpbiz" target="_blank"><strong><?php _e('Rate Corpbiz','corpbiz'); ?></strong></a>
				<a class="btn btn-large btn-success" href="http://webriti.com/corpbiz" target="_blank"><strong><?php _e('Purchase This Theme','corpbiz'); ?></strong></a>
				<div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="background:transparent;border:0px;">
					<div class="modal-header" style="border:0px;">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true" ><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/close_256.png' ?> " /></button>
						<h4 id="myModalLabel"></h4>
					</div>
					<div class="modal-body" align="center" style="color:#333333;margin:0px;max-height:680px;overflow-y:auto;" align="center">	
						<div id="busiprof-pro" style="background:#FFFFFF; border:3px solid #ddd" >
								<div id="title">
									<h2 style="background:#6BB3D1;margin-top:0%;padding-bottom:10px;padding-top:10px;color:#FFFFFF"><?php _e('Corpbiz-Pro','corpbiz'); ?></h2>
								</div>
							<table class="table table-hover table-bordered" style="font-size:13px;margin-bottom:0px;" >
								<thead class="alert alert-info">
									<tr><th ><h4>&nbsp;</h4></th>
										<th style="text-align: center;"><p><?php _e('Features','corpbiz'); ?></p></th>
										<th style="text-align: center;"><p style="color:#F22853;"><?php _e('Free','corpbiz'); ?></p></th>
										<th style="text-align: center;"><p style="color:#F22853;"><?php _e('Premium','corpbiz'); ?></p></th>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td>&nbsp;</td><td><p><b><?php _e('Translation Ready','corpbiz'); ?></b><span class="icon help" style="float:right"><span class="tooltip"><?php  _e('Translate the theme into your own language.','corpbiz');?></span></span></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b><?php _e('Customizable Home Page','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Customize the Home Page by adding you own Images and Text.','corpbiz');?></span></span></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b><?php _e('Front Page Layout Manager','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Drag and Drop option for front page layout manager.','corpbiz');?></span></span></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/cross.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b><?php _e('Responsive Home Page Slider','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Showcase your most important services with the Home Page Slider.','corpbiz');?></span></span> </p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/cross.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b><?php _e('Page Templates','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Number of Page Templates which come with the Theme','corpbiz');?></span></span> </p></td>
										<td style="text-align: center;"> <p>1</p></td>
										<td style="text-align: center;"><p>8</p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b> <?php _e('About Us Template','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Showcase the team behind your business with About Us Template.','corpbiz');?></span></span></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/cross.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b> <?php _e('Contact Form Template','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Premium version comes with a beautiful contact page template. ','corpbiz');?></span></span> </p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/cross.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									
									<tr>
										<td>&nbsp;</td>
										<td><p><b> <?php _e('Services Template','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Showcase different services which your business offers.It is available in single column and two column layout','corpbiz');?></span></span> </p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/cross.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b> <?php _e('Portfolio Template','corpbiz'); ?></b> <span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Showcase your work with Postfolio Template. Available in 2, 3 & 4 Column Layout.','corpbiz');?></span></span></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/cross.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b> <?php _e('Custom Widgets','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Customize the sidebar with the included widgets','corpbiz');?></span></span> </p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/cross.png' ?> " /></p></td>
										<td style="text-align: center;"><p><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/icon_check.png' ?> " /></p></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td><p><b><?php _e('Theme Support ','corpbiz'); ?></b><span class="icon help" style="float:right">
										<span class="tooltip"><?php  _e('Get our fast and friendly support.','corpbiz');?></span></span></p></td>
										<td style="text-align: center;"><p> <?php _e('Via Wordpress Forums','corpbiz'); ?></p></td>
										<td style="text-align: center;"><p> <?php _e('Webriti Support Forums','corpbiz'); ?></p></td>
									</tr>
									<tr class="alert alert-info">
										<td>&nbsp;</td>
										<td style="text-align: center;"><p> <?php _e('Get the Premium Version','corpbiz'); ?></p></td>
										<td style="text-align: center;"><img src="<?php echo get_template_directory_uri().'/functions/theme_options/images/arrow1.png' ?> " /></td>
										<td style="text-align: center;"><a class="btn  btn-danger" href="http://www.webriti.com/corpbiz/" target = "_blank"> <strong><?php _e('Get the Premium Version','corpbiz');?></strong></a></td>
									</tr>
								</tbody>
							</table>    
						</div>
					</div> 
				</div>      
			</div>
		</div>
    <div id="content_wrap">
		<div class="webriti-header">
			<h2 style="padding-top: 0px;font-size: 23px;line-height: 10px;"><a href="http://www.webriti.com/" style="margin-bottom:0px;"><img style="margin-left:10px;" src="<?php echo get_template_directory_uri(); ?>/functions/theme_options/images/png.png"></a></h2>
		</div>
		<div class="webriti-submenu">
		<div id="icon-themes" class="icon32"></div>
			<h2><?php _e('Corpbiz','corpbiz'); ?>
				<div class="webriti-submenu-links">
					<a target="_blank" href="http://wordpress.org/support/theme/corpbiz" class="btn btn-primary"><?php _e('Support Desk','corpbiz'); ?></a>
					
					<a target="_blank" href="<?php echo get_template_directory_uri(); ?>/readme.txt" class="btn btn-success" ><?php _e('View Changelog','corpbiz'); ?></a>				
				</div><!-- webriti-submenu-links -->
			</h2>
          <div class="clear"></div>
        </div>
        <div id="content">
			<div id="options_tabs" class="ui-tabs ">
				<ul class="options_tabs ui-tabs-nav" role="tablist" id="nav">
					<div id="nav-shadow"></div>
					<li class="active" >
						<div class="arrow"><div></div></div><a href="#" id="1"><span class="icon home-page"></span><?php _e('Home Page','corpbiz'); ?></a>
						<ul><li class="currunt" ><a href="#" class="ui-tabs-anchor" id="ui-id-1"><?php _e('Quick Start','corpbiz'); ?> </a><span></span></li>
							<li><a href="#"  id="ui-id-2"><?php _e('Home Feature Image Setting','corpbiz'); ?></a><span></span></li>
							<li><a href="#"  id="ui-id-3"><?php _e('Site Info Setting','corpbiz'); ?></a><span></span></li> 
							<li><a href="#"  id="ui-id-14"><?php _e('Service Setting','corpbiz'); ?></a><span></span></li>			
							<li><a href="#"  id="ui-id-4"><?php _e('Portfolio Setting','corpbiz'); ?></a><span></span></li>
						</ul>
					</li>
					<li>
						<div class="arrow"><div></div></div><a href="#" id="ui-id-11"><span class="icon footer"></span><?php _e('Footer Customization','corpbiz'); ?></a><span></span>
					</li>				
					<div id="nav-shadow"></div>
                </ul>				
				<!--most 1 tabs Home page settings --> 
				<?php require_once('pages/home_page_settings.php'); ?>
				<!--most 2 tabs slider settings --> 
				<?php require_once('pages/home_slider_settings.php'); ?>
				<!--most 3 home service settings tabs --> 
				<?php require_once('pages/home_site_info_settings.php'); ?>	
				<!--most 4 tabs home_project_portfolio_settings --> 
				<?php require_once('pages/home_project_portfolio_settings.php'); ?>				
				<!--most 14 tabs home_project_portfolio_settings --> 
				<?php require_once('pages/home_service_settings.php'); ?>							
				<!--most 11 tabs home_page_settings --> 
				<?php require_once('pages/footer_customization_settings.php'); ?>			
			</div>		
        </div>
		<div class="webriti-submenu" style="height:35px;">			
            <div class="webriti-submenu-links" style="margin-top:5px;">
			<form method="POST">
				<input type="submit" onclick="return confirm( 'Click OK to reset theme data. Theme settings will be lost!' );" value="Restore All Defaults" name="restore_all_defaults" id="restore_all_defaults" class="reset-button btn">
			<form>
            </div><!-- webriti-submenu-links -->
        </div>
		<div class="clear"></div>
    </div>
</div>
<?php
// Restore all defaults
if(isset($_POST['restore_all_defaults'])) 
	{
		$corpbiz_pro_theme_options = theme_data_setup();	
		update_option('corpbiz_options',$corpbiz_pro_theme_options);
	}
?>