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

function secretary_services_menu() {
	add_theme_page( esc_html__( 'Secretary Services', 'secretary-services' ), esc_html__( 'Secretary Services Theme', 'secretary-services' ), 'edit_theme_options', 'secretary-services-info', 'secretary_services_theme_page_display' );
}
add_action( 'admin_menu', 'secretary_services_menu' );

function secretary_services_admin_theme_style() {
	wp_enqueue_style('secretary-services-custom-admin-style', esc_url(get_template_directory_uri()) . '/css/admin-style.css');
	wp_enqueue_script('secretary-services-tabs', esc_url(get_template_directory_uri()) . '/js/tab.js');
}
add_action('admin_enqueue_scripts', 'secretary_services_admin_theme_style');

/**
 * Display About page
 */
function secretary_services_theme_page_display() {
	$secretary_services_theme = wp_get_theme();

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

	<div class="wrapper-info">
	    <div class="col-left sshot-section">
	    	<h2><?php esc_html_e( 'Welcome to Secretary Services Theme', 'secretary-services' ); ?> <span class="version"><?php esc_html_e('Version:','secretary-services'); ?> <?php echo esc_html($secretary_services_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.','secretary-services'); ?></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','secretary-services'); ?></h2>
	                        <h4><?php esc_html_e('SECRETARY SERVICES THEME','secretary-services'); ?></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','secretary-services'); ?></h5>
	                        <h1 class="disc-per"><?php esc_html_e('20%','secretary-services'); ?></h1>    
	                    </div>
	                    <div class="coupen-info">
	                        <h5 class="coupen-code"><?php esc_html_e('"VWPRO20"','secretary-services'); ?></h5>
	                        <h5 class="coupen-text"><?php esc_html_e('USE COUPON CODE','secretary-services'); ?></h5>
	                        <div class="info-link">                        
	                            <a href="<?php echo esc_url( SECRETARY_SERVICES_BUY_NOW ); ?>" target="_blank"> <?php esc_html_e( 'UPGRADE TO PRO', 'secretary-services' ); ?></a>
	                        </div>    
	                    </div>    
	                </div>                
	            </div>
	        </div> 
	    </div>

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

			<div id="lite_theme" class="tabcontent open">
				<div class="lite-theme-tab">
					<h3><?php esc_html_e( 'Lite Theme Information', 'secretary-services' ); ?></h3>
					<hr class="h3hr">
				  	<p><?php esc_html_e('The Secretary Services theme is a premium, professionally crafted solution designed specifically for secretarial agencies, virtual secretary services, executive assistants, freelance secretaries, personal assistants, and administrative support providers. Its clean, minimal, and modern layout is perfect for highlighting a range of services, including document preparation, data entry, calendar coordination, email management, and more. Ideal for those operating virtual assistant businesses, executive secretary agencies, or offering freelance business support, this theme showcases your expertise with elegance and professionalism. It emphasizes usability, responsiveness, and SEO optimization, featuring schema integration, mobile-friendly design, and rapid loading performance. Key functionalities include appointment scheduling through the Booking Calendar plugin, service listings, testimonial sections, team showcases, call-to-action buttons, integrated contact forms, and customizable layouts for seamless content management. This theme is well-suited for startups, small businesses, and corporate offices, providing a polished digital presence that attracts clients, builds trust, and helps grow your secretarial or administrative support business effectively. ','secretary-services'); ?></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', 'secretary-services'); ?></a>
							<a href="<?php echo esc_url( home_url() ); ?>" target="_blank"><?php esc_html_e('Visit Your Site', 'secretary-services'); ?></a>
						</div>
						<div class="support-forum-col-section">
							<div class="support-forum-col">
								<h4><?php esc_html_e('Having Trouble, Need Support?', 'secretary-services'); ?></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.', 'secretary-services'); ?></p>
								<div class="info-link">
									<a href="<?php echo esc_url( SECRETARY_SERVICES_SUPPORT ); ?>" target="_blank"><?php esc_html_e('Support Forum', 'secretary-services'); ?></a>
								</div>
							</div>
							<div class="support-forum-col">
								<h4><?php esc_html_e('Reviews & Testimonials', 'secretary-services'); ?></h4>
								<p> <?php esc_html_e('All the features and aspects of this WordPress Theme are phenomenal. I\'d recommend this theme to all.', 'secretary-services'); ?>  </p>
								<div class="info-link">
									<a href="<?php echo esc_url( SECRETARY_SERVICES_REVIEW ); ?>" target="_blank"><?php esc_html_e('Reviews', 'secretary-services'); ?></a>
								</div>
							</div>
							<div class="support-forum-col">
								<h4><?php esc_html_e('Theme Documentation', 'secretary-services'); ?></h4>
								<p> <?php esc_html_e('If you need any assistance regarding setting up and configuring the Theme, our documentation is there.', 'secretary-services'); ?>  </p>
								<div class="info-link">
									<a href="<?php echo esc_url( SECRETARY_SERVICES_FREE_DOC ); ?>" target="_blank"><?php esc_html_e('Free Theme Documentation', 'secretary-services'); ?></a>
								</div>
							</div>
						</div>
				  	</div>
				</div>
			</div>

			<div id="pro_theme" class="tabcontent">
			  	<h3><?php esc_html_e( 'Premium Theme Information', 'secretary-services' ); ?></h3>
				<hr class="h3hr">
				<div class="col-left-pro">
		    		<p><?php esc_html_e('The Secretary WordPress Theme is a premium, professionally designed theme built for secretarial agencies, virtual secretary services, and executive assistant providers. Crafted with a clean, minimal, and modern layout, it’s tailored for online secretary businesses, personal assistant services, and administrative support agencies. Whether you\'re a freelance secretary, corporate assistant, or managing a secretarial agency, this theme helps present your services with elegance. With strong emphasis on usability and responsiveness, it supports fast loading, SEO optimization, and mobile-friendly performance. Features like appointment scheduling, testimonial sections, team showcases, and call-to-action buttons ensure users get a seamless experience. From document preparation and email management to phone answering services and calendar coordination, you can outline all your offerings clearly and professionally. This theme also suits part-time, freelance, or full-time secretaries offering services like transcription typing, bookkeeping assistance, CRM data entry, and office correspondence. Its beautiful design and intuitive backend make managing content simple for all business sizes from startups to corporate offices.','secretary-services'); ?></p>
		    	</div>
		    	<div class="col-right-pro">
			    	<div class="pro-links">
				    	<a href="<?php echo esc_url( SECRETARY_SERVICES_LIVE_DEMO ); ?>" target="_blank"><?php esc_html_e('Live Demo', 'secretary-services'); ?></a>
						<a href="<?php echo esc_url( SECRETARY_SERVICES_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Buy Pro', 'secretary-services'); ?></a>
						<a href="<?php echo esc_url( SECRETARY_SERVICES_PRO_DOC ); ?>" target="_blank"><?php esc_html_e('Pro Documentation', 'secretary-services'); ?></a>
						<a href="<?php echo esc_url( SECRETARY_SERVICES_THEME_BUNDLE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Get 500+ Themes Bundle at $119', 'secretary-services'); ?></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="featurebox">
				    <h3 class="theme-features"><?php esc_html_e( 'Theme Features', 'secretary-services' ); ?></h3>
					<hr class="h3hr1">
					<div class="table-image">
						<table class="tablebox">
							<thead>
								<tr>
									<th><?php esc_html_e('Features', 'secretary-services'); ?></th>
									<th><?php esc_html_e('Free Themes', 'secretary-services'); ?></th>
									<th><?php esc_html_e('Premium Themes', 'secretary-services'); ?></th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td><?php esc_html_e('Easy Setup', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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('Template Pages', 'secretary-services'); ?></td>
									<td class="table-img"><?php esc_html_e('1', 'secretary-services'); ?></td>
									<td class="table-img"><?php esc_html_e('14', 'secretary-services'); ?></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Home Page Template', 'secretary-services'); ?></td>
									<td class="table-img"><?php esc_html_e('1', 'secretary-services'); ?></td>
									<td class="table-img"><?php esc_html_e('1', 'secretary-services'); ?></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Theme sections', 'secretary-services'); ?></td>
									<td class="table-img"><?php esc_html_e('2', 'secretary-services'); ?></td>
									<td class="table-img"><?php esc_html_e('12', 'secretary-services'); ?></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Contact us Page Template', 'secretary-services'); ?></td>
									<td class="table-img">0</td>
									<td class="table-img"><?php esc_html_e('1', 'secretary-services'); ?></td>
								</tr>
								<tr>
									<td><?php esc_html_e('Blog Templates & Layout', 'secretary-services'); ?></td>
									<td class="table-img">0</td>
									<td class="table-img"><?php esc_html_e('3(Full width/Left/Right Sidebar)', 'secretary-services'); ?></td>
								</tr>
								<tr class="odd">
									<td><?php esc_html_e('Section Reordering', 'secretary-services'); ?></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('Demo Importer', 'secretary-services'); ?></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('Full Documentation', 'secretary-services'); ?></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('Latest WordPress Compatibility', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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 ', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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', 'secretary-services'); ?></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('PHP 8.2 or 8.3', 'secretary-services'); ?></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('MySQL 5.6 (or greater) | MariaDB 10.0 (or greater)', 'secretary-services'); ?></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('Influence Registration', 'secretary-services'); ?></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('Detailed Influencer Portfolio', 'secretary-services'); ?></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('Premium Pricing Plan', 'secretary-services'); ?></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( SECRETARY_SERVICES_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Upgrade to Pro', 'secretary-services'); ?></a></td>
								</tr>
							</tbody>
						</table>

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

			<div id="get_bundle" class="tabcontent">		  	
			   <div class="col-left-pro">
			   	<h3><?php esc_html_e( 'WP Theme Bundle', 'secretary-services' ); ?></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.','secretary-services'); ?></p>
			    	<div class="feature">
			    		<h4><?php esc_html_e( 'Features:', 'secretary-services' ); ?></h4>
			    		<p><?php esc_html_e('500+ Premium Themes & 5+ Plugins.', 'secretary-services'); ?></p>
			    		<p><?php esc_html_e('Seamless Integration.', 'secretary-services'); ?></p>
			    		<p><?php esc_html_e('Customization Flexibility.', 'secretary-services'); ?></p>
			    		<p><?php esc_html_e('Regular Updates.', 'secretary-services'); ?></p>
			    		<p><?php esc_html_e('Dedicated Support.', 'secretary-services'); ?></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( SECRETARY_SERVICES_THEME_BUNDLE_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Buy Now', 'secretary-services'); ?></a>
						<a href="<?php echo esc_url( SECRETARY_SERVICES_THEME_BUNDLE_DOC ); ?>" target="_blank"><?php esc_html_e('Documentation', 'secretary-services'); ?></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 }?>
