<?php
//about theme info
add_action( 'admin_menu', 'law_firm_lite_gettingstarted' );
function law_firm_lite_gettingstarted() {    	
	add_theme_page( esc_html__('About Law Firm Lite', 'law-firm-lite'), esc_html__('Theme Demo Import', 'law-firm-lite'), 'edit_theme_options', 'law_firm_lite_guide', 'law_firm_lite_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function law_firm_lite_admin_theme_style() {
   wp_enqueue_style('law-firm-lite-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/getstart/getstart.css');
   wp_enqueue_script('law-firm-lite-tabs', esc_url(get_template_directory_uri()) . '/inc/getstart/js/tab.js');

   // Admin notice code START
	wp_register_script('law-firm-lite-notice', esc_url(get_template_directory_uri()) . '/inc/getstart/js/notice.js', array('jquery'), time(), true);
	wp_enqueue_script('law-firm-lite-notice');
	// Admin notice code END
}
add_action('admin_enqueue_scripts', 'law_firm_lite_admin_theme_style');

//guidline for about theme
function law_firm_lite_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$law_firm_lite_theme = wp_get_theme( 'law-firm-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/getstart/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', 'law-firm-lite'); ?></a>
			<a href="<?php echo esc_url( LAW_FIRM_LITE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'law-firm-lite' ); ?></a>
			<a href="<?php echo esc_url( LAW_FIRM_LITE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'law-firm-lite' ); ?></a>
			<a href="<?php echo esc_url( LAW_FIRM_LITE_THEME_BUNDLE_BUY_NOW ); ?>" target="_blank" class="bundle-btn"> <?php esc_html_e( 'Bundle Of 220+ Themes at $119', 'law-firm-lite' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="law_firm_lite_openCity(event, 'tc_demo')">
					<a href="#">
						<?php esc_html_e( 'Theme Demo Import', 'law-firm-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="law_firm_lite_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'law-firm-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="law_firm_lite_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'law-firm-lite' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="law_firm_lite_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'law-firm-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 Law Firm Lite', 'law-firm-lite' ); ?> <span class="version">Version: <?php echo esc_html($law_firm_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 Law Firm Lite', 'law-firm-lite' ); ?></h4>
					<?php /* Demo Import */ require get_parent_theme_file_path( '/inc/getstart/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 Law Firm Lite Theme', 'law-firm-lite' ); ?> <span class="version">Version: <?php echo esc_html($law_firm_lite_theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( LAW_FIRM_LITE_FREE_THEME_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'law-firm-lite' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'law-firm-lite'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( LAW_FIRM_LITE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'law-firm-lite'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getstart/images/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
					<P><?php esc_html_e( 'Law firm lite is one of the most demandable WordPress themes in the online international market as of today and is beneficial for the law firms or various businesses related to law or businesses associated with areas where legal sector is involved. It is one of the most sought after lawyer WordPress themes and is in constant demand in the market since its inception. It is also applicable for the individual attorneys and in case you are operating an established legal firm or want to start one, the theme will work wonders as far as business excellence and expansion in this area is concerned. This legal attorney WordPress theme is of multipurpose level armed with classic features like Bootstrap framework, call to action button, responsiveness, clean code, optimized codes, retina ready, distinctive typography, Custom Colors, translation ready and much more all these makes it best for the legal offices, legal advisors, legal services, law firm, attorney practice, legal consultation, corporate law, civil law, counsel, campaigner, defender, proponent, Bankruptcy, crimnal lawyer, political, legal executive, agent, member of the bar supporter, expounder, Intellectual Property (IP) Lawyers, Estate Planning Lawyers, Malpractice Lawyers, Corporate lawyer, criminal lawyer, public prosecutor, Mayor, Labor Lawyers, divorce settlement, legal documents, pleader, barristers, solicitors, legal experts websites, legal adviser, Tax Lawyers, Immigration Lawyers law office, legal practitioners, barrister, courts, agency, financial centers, consultant, justice legal experts, legal firm, Lawman, proposer, speaker, spokesperson, upholder, legal practitioner, legal officer, legal representative advocates, lawyers as well as attorneys. It is an advanced and sophisticated theme with personalization options making it apt for the legal focussed websites and comes in the category of professional lawyer WordPress themes for lawyers, accountant, advocate, consulting, court, finance, solicitor, accountants, legal experts, law firms and legal offices. Law Firm Lite is good for legal advisors as well as legal services.', 'law-firm-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( 'Law Firm Lite Theme Information', 'law-firm-lite' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( LAW_FIRM_LITE_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'law-firm-lite' ); ?></a>
					<a href="<?php echo esc_url( LAW_FIRM_LITE_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'law-firm-lite' ); ?></a>
					<a href="<?php echo esc_url( LAW_FIRM_LITE_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'law-firm-lite' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/getstart/images/Law-Firm-Lite-Responsive.png" alt="" />
				</div>
			<div class="col-pro-5">
				<h4><?php esc_html_e( 'Law Firm Lite Pro Theme', 'law-firm-lite' ); ?></h4>
				<p><?php esc_html_e( 'Law firm WordPress theme is good for both the individual attorneys and the law firms and the credit goes to its mesmerizing features like responsive nature, professionalism, personalization options, CTA, SEO friendly, customization options, stunning, animated, personalization options, secure and clean code and much more. All these features make law firm WordPress theme suitable for the legal advisors, legal offices, attorneys, lawyers and this theme comes in the category of professional lawyer WordPress theme and works well not only for the lawyers but for the accountants, legal experts, law firms as well as legal offices. It is also good for the legal advisors as well as the experts in the civil law and you can make use of it for the legal websites & the legal practices. It is robust and sophisticated making it an excellent choice for the websites related to the law firms and the international law firms as well.', 'law-firm-lite' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'law-firm-lite' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Customization', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Responsive Design', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Logo Upload', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Social Media Links', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Slider Settings', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Number of Slides', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Template Pages', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Home Page Template', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Theme sections', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Contact us Page Template', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Blog Templates & Layout', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Page Templates & Layout', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Color Pallete For Particular Sections', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Global Color Option', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Section Reordering', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Demo Importer', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Allow To Set Site Title, Tagline, Logo', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Enable Disable Options On All Sections, Logo', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Full Documentation', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Latest WordPress Compatibility', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Woo-Commerce Compatibility', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Support 3rd Party Plugins', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Secure and Optimized Code', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Exclusive Functionalities', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Section Enable / Disable', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Section Google Font Choices', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Gallery', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Simple & Mega Menu Option', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Shortcodes', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Custom Background, Colors, Header, Logo & Menu', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Premium Membership', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Budget Friendly Value', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Priority Error Fixing', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Custom Feature Addition', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'All Access Theme Pass', 'law-firm-lite' ); ?></li>
					<li><?php esc_html_e( 'Seamless Customer Support', 'law-firm-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?', 'law-firm-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.', 'law-firm-lite' ); ?></P>
						<a href="<?php echo esc_url( LAW_FIRM_LITE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'law-firm-lite' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'law-firm-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.', 'law-firm-lite' ); ?></P>
						<a href="<?php echo esc_url( LAW_FIRM_LITE_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'law-firm-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', 'law-firm-lite'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>