?> </span></h1> <?php global $message; // TODO: don't pass the actual message in the URL; pass a key and look it up if (isset($_GET['message'])) { $message = strip_tags(stripslashes(urldecode($_GET['message']))); } if (!empty($message)) { echo '<p class="success">' . $message . '</p>'; } ?> <div class="user_prefs_wrap" style="display: none"><?php echo jr_seeker_prefs(get_the_author_meta('ID')); ?> </div> <?php ### Visibility check if (!jr_resume_is_visible() && $post->post_author != get_current_user_id()) { echo '<ul class="errors"><li>' . __('Sorry, you do not have permission to view individual resumes.', 'appthemes') . '</li></ul>'; if (jr_viewing_resumes_require_subscription() && jr_current_user_can_subscribe_for_resumes()) { if ($notice = get_option('jr_resume_subscription_notice')) { echo '<p>' . wptexturize($notice) . '</p>'; } jr_resume_subscribe_button(); echo '<div class="clear"></div>'; } } else {
$alt = 1; ?> <ol class="resumes"> <?php while (have_posts()) { the_post(); ?> <?php appthemes_before_post('resume'); ?> <li class="resume" title="<?php echo htmlspecialchars(jr_seeker_prefs(get_the_author_meta('ID')), ENT_QUOTES); ?> "> <dl> <?php appthemes_before_post_title('resume'); ?> <dt><?php _e('Resume title', 'appthemes'); ?> </dt> <dd class="title">