<?php
//about theme info
add_action( 'admin_menu', 'advance_startup_gettingstarted' );
function advance_startup_gettingstarted() {    	
	add_theme_page( esc_html__('Theme Demo Content', 'advance-startup'), esc_html__('Theme Demo Content', 'advance-startup'), 'edit_theme_options', 'advance_startup_guide', 'advance_startup_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function advance_startup_admin_theme_style() {
   wp_enqueue_style('advance-startup-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/admin/admin.css');
   wp_enqueue_script('tabs', esc_url(get_template_directory_uri()) . '/inc/admin/js/tab.js');

    // Admin notice code START
	wp_register_script('advance-startup-notice', esc_url(get_template_directory_uri()) . '/inc/admin/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('advance-startup-notice');
	// Admin notice code END

}
add_action('admin_enqueue_scripts', 'advance_startup_admin_theme_style');

//guidline for about theme
function advance_startup_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'advance-startup' );
?>

<div class="wrapper-info">  
	<div id="tc-header">
		<div class="tc-container main-header">
			<a class="tc-logo">
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/logo.png" alt="" />
			</a>
			<span class="tc-header-action">
			<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customize', 'advance-startup'); ?></a>
			<a href="<?php echo esc_url( ADVANCE_STARTUP_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'advance-startup' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/startup-agency-wordpress-theme'); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'advance-startup' ); ?></a>
			<a href="<?php echo esc_url( 'https://www.themescaliber.com/products/wordpress-theme-bundle' ); ?>" class="bundle_btn" target="_blank"> <?php esc_html_e( 'Bundle of 220+ Themes at $99', 'advance-startup' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container  tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="advance_startup_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'advance-startup' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_startup_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'advance-startup' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_startup_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'advance-startup' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="advance_startup_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'advance-startup' ); ?>
					</a>
				</li>
			</ul>
		</div><!-- END .tc-tabs -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_demo" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Advance Startup', 'advance-startup' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="demo">
					<h4><?php esc_html_e( 'Click the "Run Importer" button below to load demo content for Advance Startup', 'advance-startup' ); ?></h4>
					<?php /* Demo Import */ require get_parent_theme_file_path( '/inc/admin/demo-import.php' );?>
				</div>
			</div><!-- END .tc-section -->
		</div>
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_index" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Advance Startup Theme', 'advance-startup' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( ADVANCE_STARTUP_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'advance-startup' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'advance-startup'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( ADVANCE_STARTUP_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'advance-startup'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
					<P><?php esc_html_e( 'Advance Startup is a resourceful, feature-rich, stylish, and versatile theme to build high-quality websites for startups, company business blogs, online agencies, portfolios, IT companies, entrepreneurs, freelancers, freelance developers, online fitness coaching, digital marketing, energy sector projects, content writers, graphic designers, landing pages, cryptocurrency platforms, marketing professionals, product showcases, technology ventures, entrepreneurship initiatives, consulting firms, tech ventures, SaaS platforms, fintech companies, innovation hubs, business incubators, product launches, joint business ventures, web development agencies, online education platforms, mobile internet startups, digital marketers, organizations, charities, NGOs, SEO agencies, advertising agencies, marketing agencies, influencers, bakers, investment firms, crowdfunding platforms, business counselling, online businesses, affiliate marketing, app landing pages, software landing pages, consulting law firms, startup hubs, agencies, online shops, innovative advertisers, ad agencies, corporate companies, and newly establishing businesses of all scales and scopes. It is a multipurpose theme which can be used as a startup blog or for resumes, journals, and magazines. Being highly customizable, its look and feel can be altered by changing its color, background, font, header and footer format, menu style, logo, and various other components without indulging in coding. This responsive, retina-ready, translation-ready theme is multiple-browsers compatible and readily supports RTL languages. It has bug-free code and is optimized for better SEO performance. Its simple yet powerful interface makes it easy to set up and start using irrespective of coding skills. It features multiple layout options, full-width templates, a beautiful homepage slider, call-to-action (CTA) buttons, several sections, and many useful predesigned inner pages. Fully compatible with WooCommerce for online stores, Contact Form 7 for lead capture, YITH WooCommerce Wishlist, and YITH WooCommerce Compare, Advance Startup provides a strong base to extend functionality for any business website. ', 'advance-startup' ); ?></P>
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div id="tc_pro" class="tabcontent">
				<h3><?php esc_html_e( 'Advance Startup Theme Information', 'advance-startup' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( ADVANCE_STARTUP_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'advance-startup' ); ?></a>
					<a href="<?php echo esc_url( ADVANCE_STARTUP_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'advance-startup' ); ?></a>
					<a href="<?php echo esc_url( ADVANCE_STARTUP_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'advance-startup' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/admin/images/responsiveimg.jpg" alt="" />
				</div>
			<div class="col-pro-5">
				<h4><?php esc_html_e( 'Advance Startup Pro Theme', 'advance-startup' ); ?></h4>
				<P><?php esc_html_e( 'Advance Startup is a resourceful, feature-rich, stylish, and versatile theme to build high-quality websites for startups, company business blogs, online agencies, portfolios, IT companies, entrepreneurs, freelancers, freelance developers, online fitness coaching, digital marketing, energy sector projects, content writers, graphic designers, landing pages, cryptocurrency platforms, marketing professionals, product showcases, technology ventures, entrepreneurship initiatives, consulting firms, tech ventures, SaaS platforms, fintech companies, innovation hubs, business incubators, product launches, joint business ventures, web development agencies, online education platforms, mobile internet startups, digital marketers, organizations, charities, NGOs, SEO agencies, advertising agencies, marketing agencies, influencers, bakers, investment firms, crowdfunding platforms, business counselling, online businesses, affiliate marketing, app landing pages, software landing pages, consulting law firms, startup hubs, agencies, online shops, innovative advertisers, ad agencies, corporate companies, and newly establishing businesses of all scales and scopes.', 'advance-startup' ); ?></P>	
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'advance-startup' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title and tagline customization', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Seperate Newsletter Section', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slides', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Posttype', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'advance-startup' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'advance-startup' ); ?></li>
				</ul>				
			</div>	
		</div><!-- END .tc-section -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div id="tc_create" class="tabcontent">
				<div class="tab-cont">
					<h4><?php esc_html_e( 'Need Support?', 'advance-startup' ); ?></h4>				
					<div class="info-link-support">
						<P><?php esc_html_e( 'Our team is obliged to help you in every way possible whenever you face any type of difficulties and doubts.', 'advance-startup' ); ?></P>
						<a href="<?php echo esc_url( ADVANCE_STARTUP_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'advance-startup' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'advance-startup'); ?></h4>				
					<div class="info-link-support">
						<P><?php esc_html_e( 'It is commendable to have such a theme inculcated with amazing features and robust functionalities. I feel grateful to recommend this theme to one and all.', 'advance-startup' ); ?></P>
						<a href="<?php echo esc_url( ADVANCE_STARTUP_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'advance-startup'); ?></a>
					</div>
				</div>

				<div class="tc-section large-section">
					<h2>Let‘s customize your website</h2>
					<p>There are many changes you can make to customize your website. Explore customization options and make it unique.</p>
					<div class="tc-buttons">
						<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>" class="tc-btn primary large-button"><?php esc_html_e('Start Customizing', 'advance-startup'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>