<?php
//about theme info
add_action( 'admin_menu', 'tabib_hospital_gettingstarted' );
function tabib_hospital_gettingstarted() {
	add_theme_page( esc_html__('About Theme', 'tabib-hospital'), esc_html__('About Theme', 'tabib-hospital'), 'edit_theme_options', 'tabib-hospital-guide-page', 'tabib_hospital_mostrar_guide');   
}

// Add a Custom CSS file to WP Admin Area
function tabib_hospital_admin_theme_style() {
   wp_enqueue_style('tabib-hospital-custom-admin-style', esc_url(get_template_directory_uri()) . '/inc/dashboard/get_started_info.css');
   wp_enqueue_script('tabs', esc_url(get_template_directory_uri()) . '/inc/dashboard/js/tab.js');
}
add_action('admin_enqueue_scripts', 'tabib_hospital_admin_theme_style');

//guidline for about theme
function tabib_hospital_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'tabib-hospital' );
?>

<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/dashboard/media/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', 'tabib-hospital'); ?></a>
			<a href="<?php echo esc_url( TABIB_HOSPITAL_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'tabib-hospital' ); ?></a>
			<a href="<?php echo esc_url( TABIB_HOSPITAL_BUY_PRO); ?>" target="_blank"> <?php esc_html_e( 'Get Premium', 'tabib-hospital' ); ?></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', 'tabib-hospital' ); ?></a>
			</span>
		</div>
	</div>
	<div class="tc-container tab-sec">
		<div class="tc-tabs">
			<ul>
				<li class="tablinks home active" onclick="tabib_hospital_openCity(event, 'tc_index')">
					<a href="#">
						<?php esc_html_e( 'Free Theme Information', 'tabib-hospital' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="tabib_hospital_openCity(event, 'tc_pro')">
					<a href="#">
						<?php esc_html_e( 'Premium Theme Information', 'tabib-hospital' ); ?>
					</a>
				</li>
				<li class="tablinks" onclick="tabib_hospital_openCity(event, 'tc_create')">
					<a href="#">
						<?php esc_html_e( 'Theme Support', 'tabib-hospital' ); ?>
					</a>
				</li>
			</ul>
		</div><!-- END .tc-tabs -->
	</div>

	<div class="tc-container">
		<div class="tc-section">
			<div  id="tc_index" class="tabcontent">
				<h2><?php esc_html_e( 'Welcome to Tabib Hospital Theme', 'tabib-hospital' ); ?> <span class="version">Version: <?php echo esc_html($theme['Version']);?></span></h2>
				<hr>
				<div class="info-link">
					<a href="<?php echo esc_url( TABIB_HOSPITAL_FREE_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Documentation', 'tabib-hospital' ); ?></a>
					<a target="_blank" href="<?php echo esc_url( admin_url('customize.php') ); ?>"><?php esc_html_e('Customizing', 'tabib-hospital'); ?></a>
					<a class="get-pro" href="<?php echo esc_url( TABIB_HOSPITAL_BUY_PRO ); ?>" target="_blank"><?php esc_html_e('Get Pro', 'tabib-hospital'); ?></a>
				</div>
				<div class="col-tc-6">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/screenshot.png" alt="" />
				</div>
				<div class="col-tc-6">
					<P><?php esc_html_e( 'Tabib Hospital is a unique and professionally designed WordPress theme best to create websites for hospital, clinic, doctors, healthcare, pharmacy, dentist, ambulance, hospital listing, medical directory, medical tourism, laboratory, nursing home, weight loss clinic, and such health and medical websites. The theme can also be utilized to spread awareness about virus outbreaks, global health and medical training institutes. It has support for many WordPress plugins specially WooCommerce. With the help of it you can setup an ecommerce store and sell medicines, Healthcare, Medical Clinic, Hospital, Surgery Center, Dental Clinic, Pediatric Care, Health Services, Nursing Home, Urgent Care, Mental Health, cosmetics and pharmaceuticals online. It comes with awesome page-builder which makes your task smoother to create pages. The theme can be translated into innumerable languages and has support for RTL layout too. The codes used are optimized as well as clean and secure. It is SEO-friendly to make your website rank soon on major search engines like Google. It is executed on bootstrap framework which makes it user-friendly to work. There is theme customizer and mega menu feature available. It is fully responsive and looks beautiful on any device. You can generate and add shortcodes to build stunning pages. Advanced slider and custom widgets are also available. The theme comes loaded with more than 25+ different page layouts for doctors, services, blog with comments, about page, events or schedule pages, etc.', 'tabib-hospital' ); ?></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( 'Tabib Hospital Theme Information', 'tabib-hospital' ); ?></h3>
				<hr>
				<div class="info-link-pro">
					<a href="<?php echo esc_url( TABIB_HOSPITAL_BUY_PRO ); ?>" target="_blank"> <?php esc_html_e( 'Buy Now', 'tabib-hospital' ); ?></a>
					<a href="<?php echo esc_url( TABIB_HOSPITAL_LIVE_DEMO ); ?>" target="_blank"> <?php esc_html_e( 'Live Demo', 'tabib-hospital' ); ?></a>
					<a href="<?php echo esc_url( TABIB_HOSPITAL_PRO_DOC ); ?>" target="_blank"> <?php esc_html_e( 'Pro Documentation', 'tabib-hospital' ); ?></a>
				</div>
				<div class="pro-image">
					<img role="img" src="<?php echo esc_url(get_template_directory_uri()); ?>/inc/dashboard/media/responsive.png" alt="" />
				</div>
			<div class="col-pro-5">
				<h4><?php esc_html_e( 'Tabib Hospital Pro Theme', 'tabib-hospital' ); ?></h4>
				<p><?php esc_html_e( 'Hospital WordPress theme is a premium theme suitable for making a website related to different disciplines of medical science. It is an SEO-friendly, responsive, beautiful, and multipurpose theme. Which is quite fit for the professionals related to medical science, and these include doctors, surgeons, as well as gynecologists. Many other professionals related to the medical sector can also use this theme to make their website. It is also good for businessmen who want to start hospital chains around the world or global pharmaceutical firms. Premier hospital WordPress theme is accompanied by the CTA [call to action] button part from optimized code and a faster page load time making it suitable for the general practitioners, health bloggers, wellness spa business as well as health care consultancies. Besides displaying options, you can also view interactive demos. That makes the hospital WordPress theme ideal for dentists and almost all health care providers.', 'tabib-hospital' ); ?></P>		
			</div>
			<div class="col-pro-6">				
				<h4><?php esc_html_e( 'Theme Features', 'tabib-hospital' ); ?></h4>
				<ul>
					<li><?php esc_html_e( 'Theme Options using Customizer API', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Responsive design', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Favicon, Logo, title, and tagline customization', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Advanced Color options', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( '100+ Font Family Options', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Background Image Option', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Simple Menu Option', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Additional section for products', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Enable-Disable options on All sections', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Home Page setting for different sections', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Advance Slider with unlimited slides', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Partner Section', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Promotional Banner Section for Products', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Separate Newsletter Section', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Text and call to action button for each slide', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Pagination option', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Custom CSS option', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Translations Ready', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Custom Backgrounds, Colors, Headers, Logo & Menu', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Customizable Home Page', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Full-Width Template', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Footer Widgets & Editor Style', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Banner & Post Type Plugin Functionality', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Post type', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Woo Commerce Compatible', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Multiple Inner Page Templates', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Product Sliders', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Slider', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Contact page template', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Contact Widget', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Advance Social Media Feature', 'tabib-hospital' ); ?></li>
					<li><?php esc_html_e( 'Testimonial Listing With Shortcode', 'tabib-hospital' ); ?></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?', 'tabib-hospital' ); ?></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.', 'tabib-hospital' ); ?></P>
						<a href="<?php echo esc_url( TABIB_HOSPITAL_FREE_SUPPORT ); ?>" target="_blank"> <?php esc_html_e( 'Support Forum', 'tabib-hospital' ); ?></a>
					</div>
				</div>
				<div class="tab-cont">	
					<h4><?php esc_html_e('Reviews', 'tabib-hospital'); ?></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.', 'tabib-hospital' ); ?></P>
						<a href="<?php echo esc_url( TABIB_HOSPITAL_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'tabib-hospital'); ?></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', 'tabib-hospital'); ?></a>
					</div><!-- END .tc-buttons -->
				</div>
			</div>
		</div><!-- END .tc-section -->
	</div>
</div>
<?php } ?>