<?php
/**
 * Add theme page
 */

function automobile_car_shop_menu() {
	add_theme_page( esc_html__( 'Automobile Car Shop', 'automobile-car-shop' ), esc_html__( 'Automobile Theme', 'automobile-car-shop' ), 'edit_theme_options', 'automobile-car-shop-info', 'automobile_car_shop_theme_page_display' );
}
add_action( 'admin_menu', 'automobile_car_shop_menu' );

function automobile_car_shop_admin_theme_style() {
	wp_enqueue_style('automobile-car-shop-custom-admin-style', esc_url(get_template_directory_uri()) . '/css/admin-style.css');
	wp_enqueue_script('automobile-car-shop-tabs', esc_url(get_template_directory_uri()) . '/js/tab.js');
}
add_action('admin_enqueue_scripts', 'automobile_car_shop_admin_theme_style');

/**
 * Display About page
 */
function automobile_car_shop_theme_page_display() {
	$theme = wp_get_theme();

	if ( is_child_theme() ) {
		$theme = wp_get_theme()->parent();
	} ?>

	<div class="wrapper-info">
	    <div class="col-left sshot-section">
	    	<h2><?php esc_html_e( 'Welcome to Automobile Car Shop Theme', 'automobile-car-shop' ); ?> <span class="version"><?php esc_html_e('Version:','automobile-car-shop'); ?> <?php echo esc_html($theme['Version']);?></span></h2>
	    	<p><?php esc_html_e('All our WordPress themes are modern, minimalist, 100% responsive, seo-friendly,feature-rich, and multipurpose that best suit designers, bloggers and other professionals who are working in the creative fields.','automobile-car-shop'); ?></p>
	    </div>
	    <div class="col-right coupen-section">
			<div class="logo-section">
				<img src="<?php echo esc_url(get_template_directory_uri()); ?>/screenshot.png" alt="" />
			</div>
			<div class="logo-right">			
				<div class="update-now">
					<div class="theme-info">
						<div class="theme-info-left">
							<h2><?php esc_html_e('TRY PREMIUM','automobile-car-shop'); ?></h2>
							<h4><?php esc_html_e('AUTOMOBILE CAR SHOP THEME','automobile-car-shop'); ?></h4>
						</div>	
						<div class="theme-info-right"></div>
					</div>	
					<div class="dicount-row">
						<div class="disc-sec">	
							<h5 class="disc-text"><?php esc_html_e('GET THE FLAT DISCOUNT OF','automobile-car-shop'); ?></h5>
							<h1 class="disc-per"><?php esc_html_e('20%','automobile-car-shop'); ?></h1>	
						</div>
						<div class="coupen-info">
							<h5 class="coupen-code"><?php esc_html_e('"VWPRO20"','automobile-car-shop'); ?></h5>
							<h5 class="coupen-text"><?php esc_html_e('USE COUPON CODE','automobile-car-shop'); ?></h5>
							<div class="info-link">						
								<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'UPGRADE TO PRO', 'automobile-car-shop' ); ?></a>
							</div>	
						</div>	
					</div>				
				</div>
			</div> 
			
	    </div>


	    <div class="tab-sec">
			<div class="tab">
				<button class="tablinks" onclick="automobile_car_shop_open_tab(event, 'lite_theme')"><?php esc_html_e( 'Free Setup', 'automobile-car-shop' ); ?></button>
			  	<button class="tablinks" onclick="automobile_car_shop_open_tab(event, 'pro_theme')"><?php esc_html_e( 'Get Premium', 'automobile-car-shop' ); ?></button>
			  	<button class="tablinks" onclick="automobile_car_shop_open_tab(event, 'free_pro')"><?php esc_html_e( 'Free Vs Premium', 'automobile-car-shop' ); ?></button>
			  	<button class="tablinks" onclick="automobile_car_shop_open_tab(event, 'get_bundle')"><?php esc_html_e( 'Get 500+ Themes Bundle at $119', 'automobile-car-shop' ); ?></button>
			</div>

			<div id="lite_theme" class="tabcontent open">
				<div class="lite-theme-tab">
					<h3><?php esc_html_e( 'Automobile Car Shop', 'automobile-car-shop' ); ?></h3>
					<hr class="h3hr">
				  	<p><?php esc_html_e('The Automobile Car Shop is an innovative website template tailored for the automotive industry, serving businesses like car dealerships, auto repair shops, and rental agencies. This versatile theme is essential for building a robust online presence, equipped with vital tools and features to create a standout professional website. Its user-friendly interface and customizable options enable businesses to effectively showcase various services, whether related to autocare, motorcycling, or auto parts. With a selection of pre-designed layouts specifically crafted for automotive enterprises, this template is perfect for anyone managing a car service center, auto accessory store, repair shop, or vehicle sales outlet. The responsive designs provide a seamless user experience across desktops, tablets, and smartphones, crucial for engaging mobile users and enhancing search engine visibility. Additionally, compatibility with all major browsers ensures accessibility for everyone. The theme also includes functions for easy appointment bookings and vehicle rentals, catering particularly to rental companies and repair shops. Businesses can fully customize their site\'s look to match their brand identity by adjusting colors, fonts, and overall style. For more information, you can check the demo link: https://www.vwthemes.net/automobile-car-shop/.','automobile-car-shop'); ?></p>
				  	<div class="col-left-inner">
						<div class="pro-links">
					    	<a href="<?php echo esc_url( admin_url() . 'site-editor.php' ); ?>" target="_blank"><?php esc_html_e('Edit Your Site', 'automobile-car-shop'); ?></a>
							<a href="<?php echo esc_url( home_url() ); ?>" target="_blank"><?php esc_html_e('Visit Your Site', 'automobile-car-shop'); ?></a>
						</div>
						<div class="support-forum-col-section">
							<div class="support-forum-col">
								<h4><?php esc_html_e('Having Trouble, Need Support?', 'automobile-car-shop'); ?></h4>
								<p> <?php esc_html_e('Our dedicated team is well prepared to help you out in case of queries and doubts regarding our theme.', 'automobile-car-shop'); ?></p>
								<div class="info-link">
									<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'automobile-car-shop'); ?></a>
								</div>
							</div>
							<div class="support-forum-col">
								<h4><?php esc_html_e('Reviews & Testimonials', 'automobile-car-shop'); ?></h4>
								<p> <?php esc_html_e('All the features and aspects of this WordPress Theme are phenomenal. I\'d recommend this theme to all.', 'automobile-car-shop'); ?>  </p>
								<div class="info-link">
									<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'automobile-car-shop'); ?></a>
								</div>
							</div>
							<div class="support-forum-col">
								<h4><?php esc_html_e('Theme Documentation', 'automobile-car-shop'); ?></h4>
								<p> <?php esc_html_e('If you need any assistance regarding setting up and configuring the Theme, our documentation is there.', 'automobile-car-shop'); ?>  </p>
								<div class="info-link">
									<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_FREE_DOC ); ?>" target="_blank"><?php esc_html_e('Free Theme Documentation', 'automobile-car-shop'); ?></a>
								</div>
							</div>
						</div>
				  	</div>
				</div>
			</div>

			<div id="pro_theme" class="tabcontent">
			  	<h3><?php esc_html_e( 'Premium Theme Information', 'automobile-car-shop' ); ?></h3>
				<hr class="h3hr">
			    <div class="col-left-pro">
			    	<p><?php esc_html_e('The Car Dealership WordPress Theme is a cutting-edge solution designed to transform your automotive website into an engaging and efficient platform. With a sleek and modern appearance, this theme captures attention while offering a user-friendly layout that showcases your vehicles with elegance. Its carefully crafted design ensures seamless navigation and provides an immersive browsing experience for your potential customers. The theme’s layout prioritizes clarity and organization, allowing visitors to effortlessly explore your car inventory, view detailed specifications, and compare different options. Its responsive design guarantees optimal functionality across various devices, ensuring that users have a consistent experience whether they’re on a desktop, tablet, or smartphone. Beyond its aesthetic appeal, this premium theme is equipped with a range of features and functionalities tailored for car listings. Robust search and filtering options enable users to find their desired vehicles quickly. Advanced booking and inquiry forms facilitate customer engagement, while integration with social media platforms enhances your online reach. Experience the benefits of premium features such as priority customer support, regular updates, and enhanced security measures. With customizable design options, you can align the theme’s appearance with your brand identity. Boost your website’s performance and elevate your car listing business with the power of the Car Dealership WordPress Theme.','automobile-car-shop'); ?></p>
			    	
			    </div>
			    <div class="col-right-pro">
			    	<div class="pro-links">
				    	<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'automobile-car-shop'); ?></a>
						<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Buy Pro', 'automobile-car-shop'); ?></a>
						<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_PRO_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'automobile-car-shop'); ?></a>
						<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_THEME_BUNDLE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get 500+ Themes Bundle at $119', 'automobile-car-shop'); ?></a>
					</div>
			    	<img src="<?php echo esc_url(get_template_directory_uri()); ?>/images/pro.png" alt="" />
			    </div>
			  	
			</div>

			<div id="free_pro" class="tabcontent">
				<div class="support-sec">
				  	<div class="featurebox">
				    <h3 class="theme-features"><?php esc_html_e( 'Theme Features', 'automobile-car-shop' ); ?></h3>
					<hr class="h3hr1">
					<div class="table-image">
						<table class="tablebox">
							<thead>
								<tr>
									<th><?php esc_html_e('Features', 'automobile-car-shop'); ?></th>
									<th><?php esc_html_e('Free Themes', 'automobile-car-shop'); ?></th>
									<th><?php esc_html_e('Premium Themes', 'automobile-car-shop'); ?></th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td><?php esc_html_e('Easy Setup', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Responsive Design', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('SEO Friendly', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Banner Settings', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Number of Slider/ Banner', 'automobile-car-shop'); ?></td>
									<td class="table-img"><?php esc_html_e('Banner', 'automobile-car-shop'); ?></td>
									<td class="table-img"><?php esc_html_e('Unlimited Slides', 'automobile-car-shop'); ?></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Template Pages', 'automobile-car-shop'); ?></td>
									<td class="table-img"><?php esc_html_e('1', 'automobile-car-shop'); ?></td>
									<td class="table-img"><?php esc_html_e('14', 'automobile-car-shop'); ?></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Home Page Template', 'automobile-car-shop'); ?></td>
									<td class="table-img"><?php esc_html_e('1', 'automobile-car-shop'); ?></td>
									<td class="table-img"><?php esc_html_e('1', 'automobile-car-shop'); ?></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Theme sections', 'automobile-car-shop'); ?></td>
									<td class="table-img"><?php esc_html_e('2', 'automobile-car-shop'); ?></td>
									<td class="table-img"><?php esc_html_e('13', 'automobile-car-shop'); ?></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Contact us Page Template', 'automobile-car-shop'); ?></td>
									<td class="table-img">0</td>
									<td class="table-img"><?php esc_html_e('1', 'automobile-car-shop'); ?></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Blog Templates & Layout', 'automobile-car-shop'); ?></td>
									<td class="table-img">0</td>
									<td class="table-img"><?php esc_html_e('3(Full width/Left/Right Sidebar)', 'automobile-car-shop'); ?></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Section Reordering', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Demo Importer', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Full Documentation', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Latest WordPress Compatibility', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Woo-Commerce Compatibility', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Support 3rd Party Plugins', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Secure and Optimized Code', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Exclusive Functionalities', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Section Enable / Disable', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Section Google Font Choices', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Gallery', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Simple & Mega Menu Option', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Support to add custom CSS / JS ', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Shortcodes', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Custom Background, Colors, Header, Logo & Menu', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Premium Membership', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Budget Friendly Value', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Priority Error Fixing', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Custom Feature Addition', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('All Access Theme Pass', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Seamless Customer Support', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('WordPress 6.4 or later', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('PHP 8.2 or 8.3', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('MySQL 5.6 (or greater) | MariaDB 10.0 (or greater)', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Test Drive Booking', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('360 degree care view feature', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Premium Car Gallery', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Car Listing', 'automobile-car-shop'); ?></td>
									<td class="table-img"><span class="dashicons dashicons-no"></span></td>
									<td class="table-img"><span class="dashicons dashicons-saved"></span></td>
								</tr>
								<tr>
								<td></td>
								<td class="table-img"></td>
								<td class="update-link"><a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Upgrade to Pro', 'automobile-car-shop'); ?></a></td>
								</tr>
							</tbody>
						</table>

					</div>
				</div>
				</div>
			</div>

			<div id="get_bundle" class="tabcontent">		  	
			   <div class="col-left-pro">
			   	<h3><?php esc_html_e( 'WP Theme Bundle', 'automobile-car-shop' ); ?></h3>
			    	<p><?php esc_html_e('Enhance your website effortlessly with our WP Theme Bundle. Get access to 500+ premium WordPress themes and 5+ powerful plugins, all designed to meet diverse business needs. Enjoy seamless integration with any plugins, ultimate customization flexibility, and regular updates to keep your site current and secure. Plus, benefit from our dedicated customer support, ensuring a smooth and professional web experience.','automobile-car-shop'); ?></p>
			    	<div class="feature">
			    		<h4><?php esc_html_e( 'Features:', 'automobile-car-shop' ); ?></h4>
			    		<p><?php esc_html_e('500+ Premium Themes & 5+ Plugins.', 'automobile-car-shop'); ?></p>
			    		<p><?php esc_html_e('Seamless Integration.', 'automobile-car-shop'); ?></p>
			    		<p><?php esc_html_e('Customization Flexibility.', 'automobile-car-shop'); ?></p>
			    		<p><?php esc_html_e('Regular Updates.', 'automobile-car-shop'); ?></p>
			    		<p><?php esc_html_e('Dedicated Support.', 'automobile-car-shop'); ?></p>
			    	</div>
			    	<p>Upgrade now and give your website the professional edge it deserves, all at an unbeatable price of $119!</p>
			    	<div class="pro-links">
						<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_THEME_BUNDLE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Buy Now', 'automobile-car-shop'); ?></a>
						<a href="<?php echo esc_url( AUTOMOBILE_CAR_SHOP_THEME_BUNDLE_DOC ); ?>" target="_blank"><?php esc_html_e('Documentation', 'automobile-car-shop'); ?></a>
					</div>
			   </div>
			   <div class="col-right-pro">
			    	<img src="<?php echo esc_url(get_template_directory_uri()); ?>/images/bundle.png" alt="" />
			   </div>		    
			</div>
			
		</div>
	</div>
<?php }?>
