delete_row_by_profile_id($profile_id); $display_text = ad_return_message(ad_words('deleted'), ad_words('updated')); } ad_display_all_authors_details($display_text); } function ad_display_all_authors_details($display_text){ global $wpdb; $authors_details_database = new AD_Profile_DB($wpdb); ?>

 

insert_from_old_rows(); echo $display_text; $entryResults = $authors_details_database->get_all_rows(); if($entryResults){ ad_display_entries_header_and_footer(); foreach ($entryResults as $singleEntryResult) { $profile_id = $singleEntryResult->{AD_Profile_DB::profile_id}; $username = $singleEntryResult->{AD_Profile_DB::username}; $first_name = $singleEntryResult->{AD_Profile_DB::first_name}; $last_name = $singleEntryResult->{AD_Profile_DB::last_name}; $email = $singleEntryResult->{AD_Profile_DB::email}; $image_size = 40; $author_image = get_avatar( $email, $image_size); echo ''; echo ''.$author_image.' '.$username; ad_include_row_options($profile_id, $username); echo ''; echo '' . $first_name . ''; echo '' . $last_name . ''; echo '' . $email . ''; echo ''; } ad_display_entries_close_table(); }else{ echo '

'.ad_words('no_author').' '.ad_words('add_one').'

'; } ad_update_global_settings(); echo ad_display_global_settings(); ?>

/>
/>
/>
/>

/>

|