<?php
add_action( 'admin_menu', 'vw_automobile_lite_gettingstarted' );
function vw_automobile_lite_gettingstarted() {    	
	add_theme_page( esc_html__('About VW Automobile Theme', 'vw-automobile-lite'), esc_html__('Theme Demo Importer', 'vw-automobile-lite'), 'edit_theme_options', 'vw_automobile_lite_guide', 'vw_automobile_lite_mostrar_guide');   
}

function vw_automobile_lite_admin_theme_style() {
   wp_enqueue_style('vw-automobile-lite-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/getting-started/getting-started.css');
   wp_enqueue_script('vw-automobile-lite-tabs', esc_url(get_template_directory_uri()) . '/inc/getting-started/js/tab.js');

   // Admin notice code START
	wp_register_script('vw-automobile-lite-notice', esc_url(get_template_directory_uri()) . '/inc/getting-started/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('vw-automobile-lite-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'vw_automobile_lite_admin_theme_style');

function vw_automobile_lite_mostrar_guide() { 
	$return = add_query_arg( array()) ;
	$vw_automobile_lite_theme = wp_get_theme( 'vw-automobile-lite' );
?>

<div class="wrapper-info">  
	<div id="tc-header">
		<div class="tc-container">
			<a class="tc-logo">
				<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/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', 'vw-automobile-lite'); ?></a>
			<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'vw-automobile-lite' ); ?></a>
			<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'vw-automobile-lite' ); ?></a>
			<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_THEME_BUNDLE_BUY_NOW ); ?>" target="_blank" class="bundle-btn"> <?php esc_html_e( 'Bundle Of 220+ Themes at $99', 'vw-automobile-lite' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="vw_automobile_lite_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'vw-automobile-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="vw_automobile_lite_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'vw-automobile-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="vw_automobile_lite_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'vw-automobile-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="vw_automobile_lite_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'vw-automobile-lite' ); ?>
					</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 VW Automobile Lite', 'vw-automobile-lite' ); ?> <span class="version">Version: <?php echo esc_html($vw_automobile_lite_theme['Version']);?></span></h2>
				<hr>
				<div class="demo">
					<h4><?php esc_html_e( 'Click the "Run Importer" button below to load demo content for VW Automobile Lite', 'vw-automobile-lite' ); ?></h4>
					<?php /* Demo Import */ require get_parent_theme_file_path( '/inc/getting-started/demo-content.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 VW Automobile Lite Theme', 'vw-automobile-lite' ); ?> <span class="version">Version: <?php echo esc_html($vw_automobile_lite_theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'vw-automobile-lite' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'vw-automobile-lite'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( VW_AUTOMOBILE_LITE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'vw-automobile-lite'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
					<P><?php esc_html_e( 'Our Automobile WordPress Theme is crafted to be stylish and classy, just like the cherished vehicles we adore. This unique theme is specifically designed for various needs in the autocare industry, including car dealerships, motorhomes, travel trailers, lifts, tractors, and more. Whether you\'re involved in car reselling, running a mechanic workshop, or providing services like auto repair and vehicle maintenance, this theme caters to a wide array of businesses. Features such as easy customization, secure coding, and ample personalization options make it an ideal choice for anyone in the automotive sector. With interactive demos, responsive sliders, and SEO-friendly functions, our theme promises to enhance your online presence, whether you\'re selling used cars, operating a bus service, or running a car wash. The user-friendly layout and compatibility with WooCommerce ensure that it fits perfectly, no matter your specific automotive needs in the city. Finally, our Free Automobile WordPress Theme guarantees a professional look that stands out, making it the ultimate solution for your website.', 'vw-automobile-lite' ); ?></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( 'VW Automobile Lite Theme Information', 'vw-automobile-lite' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'vw-automobile-lite' ); ?></a>
					<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'vw-automobile-lite' ); ?></a>
					<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'vw-automobile-lite' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getting-started/images/VW-Automobile-Lite-Responsive.png" alt="" />
				</div>
			<div class="col-pro-5">
				<h4><?php esc_html_e( 'VW Automobile Lite Pro Theme', 'vw-automobile-lite' ); ?></h4>
				<p><?php esc_html_e( 'This spectacular premium Automobile WordPress Theme is made for the motor-heads. We have created our Automobile themes Stunning design with respect to the automotive industry. The frenzy for keeping our cars immaculate and shiny is well known. We assure you that it will be well reflected in our theme. As they are made with utilizing clean coding standards and it will function well with current WordPress version. It is built on the foundation of being responsive & user-friendly. This allows it to function at its optimal best across all platforms. This takes care of all the visitors and users, regardless of the source of traffic is being driven from.', 'vw-automobile-lite' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'vw-automobile-lite' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Customization', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Responsive Design', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Logo Upload', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Social Media Links', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Slider Settings', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Number of Slides', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Template Pages', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Home Page Template', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Theme sections', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Contact us Page Template', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Blog Templates & Layout', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Page Templates & Layout', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Color Pallete For Particular Sections ', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Global Color Option', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Section Reordering', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Demo Importer', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Allow To Set Site Title, Tagline, Logoo', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Enable Disable Options On All Sections, Logo', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Full Documentation', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Latest WordPress Compatibility', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Woo-Commerce Compatibility', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Support 3rd Party Plugins', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Secure and Optimized Code', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Exclusive Functionalities', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Section Enable / Disable', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Section Google Font Choices', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Gallery', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Simple & Mega Menu Option', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Support to add custom CSS / JS', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Shortcodes', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Custom Background, Colors, Header, Logo & Menu', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Premium Membership', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Budget Friendly Value', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Priority Error Fixing, Colors, Header, Logo & Menu', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Custom Feature Addition', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'All Access Theme Pass', 'vw-automobile-lite' ); ?></li>
					<li><?php esc_html_e( 'Seamless Customer Support, Colors, Header, Logo & Menu', 'vw-automobile-lite' ); ?></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?', 'vw-automobile-lite' ); ?></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.', 'vw-automobile-lite' ); ?></P>
						<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'vw-automobile-lite' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'vw-automobile-lite'); ?></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.', 'vw-automobile-lite' ); ?></P>
						<a href="<?php echo esc_url( VW_AUTOMOBILE_LITE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'vw-automobile-lite'); ?></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', 'vw-automobile-lite'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>