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($from, $to, $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));
?>
-
apsw_options_serialized->is_author_popular_by_post_count == 2) {
$authors_data = $this->apsw_db_helper->get_popular_authors_by_posts_views_count($from, $to, $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));
?>
-
apsw_db_helper->get_popular_authors_by_comments_count($from, $to, $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));
?>
-
apsw_options_serialized->is_popular_posts_by_post_views == 1) {
$posts_data = $this->apsw_db_helper->get_popular_posts_by_view_count($from, $to, $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'];
?>
-
apsw_db_helper->get_popular_posts_by_commment_count($from, $to, $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'];
?>
-