<div class="widget_content"> <ul> <li><strong><?php _e('Username:','appthemes')?></strong> <?php echo $userdata->user_login; ?></li> <li><strong><?php _e('Account type:','appthemes')?></strong> <?php $user = new WP_User( $userdata->ID ); if ( !empty( $user->roles ) && is_array( $user->roles ) ) { foreach ( $user->roles as $role ) if ($role=='job_seeker') echo __('Job Seeker', 'appthemes'); else echo __('Job Lister', 'appthemes'); } ?></li> <li><strong><?php _e('Member Since:','appthemes')?></strong> <?php appthemes_get_reg_date($userdata->user_registered); ?></li> <li><strong><?php _e('Last Login:','appthemes'); ?></strong> <?php appthemes_get_last_login($userdata->ID); ?></li> </ul> </div>
<div class="widget_content"> <ul> <li><strong><?php _e('Username:','appthemes')?></strong> <?php echo $userdata->user_login; ?></li> <li><strong><?php _e('Account type:','appthemes')?></strong> <?php $user = new WP_User( $userdata->ID ); if ( !empty( $user->roles ) && is_array( $user->roles ) ) { foreach ( $user->roles as $role ) if ($role=='job_seeker') echo __('Job Seeker', 'appthemes'); if ($role=='recruiter') echo __('Recruiter', 'appthemes'); else echo __('Job Lister', 'appthemes'); } ?></li> <li><strong><?php _e('Member Since:','appthemes')?></strong> <?php appthemes_get_reg_date($userdata->user_registered); ?></li> <li><strong><?php _e('Last Login:','appthemes'); ?></strong> <?php appthemes_get_last_login($userdata->ID); ?></li> </ul> </div>
There are currently 1 users browsing this thread. (0 members and 1 guests)