ID); $blog_reg_date = date($date_format, strtotime($time)); $now = current_time($date_format); $authors_limit = $this->apsw_options_serialized->popular_authors_limit; $posts_limit = $this->apsw_options_serialized->popular_posts_limit; $authors_data = ''; $posts_data = ''; ?>
    apsw_options_serialized->is_author_popular_by_post_count == 1) { $authors_data = $this->apsw_db_helper->get_popular_authors_by_posts_count($blog_reg_date, $now, $authors_limit); foreach ($authors_data as $author_data) { $author_id = $author_data['author_id']; $author_posts_count = $author_data['posts_count']; $author_user_name = $author_data['user_name']; $author_profile_url = APSW_Helper::get_profile_url(get_user_by('id', $author_id)); ?>
  • <?php _e('posts', APSW_Core::$text_domain) ?>
  • apsw_options_serialized->is_author_popular_by_post_count == 2) { $authors_data = $this->apsw_db_helper->get_popular_authors_by_posts_views_count($blog_reg_date, $now, $authors_limit); foreach ($authors_data as $author_data) { $author_id = $author_data['author_id']; $author_posts_views_count = $author_data['view_count']; $author_user_name = $author_data['user_name']; $author_profile_url = APSW_Helper::get_profile_url(get_user_by('id', $author_id)); ?>
  • <?php _e('views', APSW_Core::$text_domain) ?>
  • apsw_db_helper->get_popular_authors_by_comments_count($blog_reg_date, $now, $authors_limit); foreach ($authors_data as $author_data) { $author_id = $author_data['author_id']; $author_comments_count = $author_data['c_count']; $author_user_name = $author_data['user_name']; $author_profile_url = APSW_Helper::get_profile_url(get_user_by('id', $author_id)); ?>
  • <?php _e('comments', APSW_Core::$text_domain) ?>
    apsw_options_serialized->is_popular_posts_by_post_views == 1) { $posts_data = $this->apsw_db_helper->get_popular_posts_by_view_count($blog_reg_date, $now, $posts_limit); foreach ($posts_data as $post_data) { $post_id = $post_data['post_id']; $post_views_count = $post_data['v_count']; $post_title = $post_data['p_title']; ?>
  • <?php _e('views', APSW_Core::$text_domain) ?>
  • apsw_db_helper->get_popular_posts_by_commment_count($blog_reg_date, $now, $posts_limit); foreach ($posts_data as $post_data) { $post_id = $post_data['post_id']; $post_comment_count = $post_data['c_count']; $post_title = $post_data['p_title']; $comment_status = $post_data['c_status']; ?>
  • <?php _e('comments', APSW_Core::$text_domain) ?> <?php _e('comments', APSW_Core::$text_domain) ?>