All in One Time Clock Lite

'; __('WARNING!! Permalinks have to be set to anything other than default for the Timeclock to work properly. We recommend you user the Post Name setting. '); echo '
'; __('Configure Permalinks'); echo '
'; } if ($_GET['job'] == "create_timeclock_page") { $tc_page = aio_check_tc_shortcode_lite(); if ($tc_page == null) { $my_post = array( 'post_type' => 'page', 'post_title' => 'Time Clock', 'post_status' => 'publish', 'post_content' => '[show_aio_time_clock_lite]', 'comment_status' => 'closed', 'post_author' => $current_user->ID ); // Insert the post into the database $new_post_id = wp_insert_post($my_post); } echo '
'; if ($new_post_id != null) { _e('TimeClock Page Created Sucessfully
'); echo ''.__('View Page').''; } else { _e('Something went wrong. Timeclock was not created successfully.'); if ($tc_page != null) { _e('You already have a TimeClock page created.
'); echo ''. __('View Page') .''; } } echo '
'; } if ($_GET['job'] == "create_eprofile_page") { $eprofile_page = check_eprofile_shortcode_lite(); if ($eprofile_page == null) { $my_post = array( 'post_type' => 'page', 'post_title' => 'Employee Profile', 'post_status' => 'publish', 'post_content' => '[show_aio_employee_profile_lite]', 'comment_status' => 'closed', 'post_author' => 1 ); // Insert the post into the database $new_eprofile_id = wp_insert_post($my_post); } echo '
'; if ($new_eprofile_id != null) { echo __('Employee Profile Page Created Sucessfully
'); echo ''.__(' View Page').''; } else { __('Something went wrong. Employee Profile Page was not created successfully. '); if ($eprofile_page != null) { _e('You already have a Employee Profile page created.
'); echo ''.__(' View Page').''; } } echo '
'; } ?>

:
: /> />
: '.__('View Page').''; echo ''.__('Edit Page').''; } else { echo __('Time Clock page not found. Create one?').''; } ?>
: '.__(' View Page').''; echo ''.__(' Edit Page').' Edit Page'; } else { echo __('Employee Profile page not found. Create one?').''; } ?> Profile where employees can access their shifts. Shortcode: [show_aio_employee_profile]
: /> />
Show Employee Avatar: '.__('Pro').''; ?>
:
: '.__('Pro').''; ?>
: '.__('Pro').''; ?>
Need Help?'); $sad_puppy = plugins_url('/images/sadpuppy.jpg', __FILE__); echo '
'; echo __('Visit this link and we\'ll get you on your way.').' Get Support

'; } if ($tab == "news") { include("aio-news.php"); } if ($tab == "get_pro") { echo '
'; echo '

'.__('AIO Time Clock Pro').'

'; echo '
'; echo '

'.__('Some Pro Features Include').':

'; echo '

'.__('Learn More about Pro').'

'; echo '
'; } ?>