ID);
$blog_reg_date = date($date_format, strtotime($time));
$now = date($date_format);
$authors_limit = $this->options->popular_authors_limit;
$posts_limit = $this->options->popular_posts_limit;
?>
options->is_author_popular_by_post_count == 1) {
$authors_data = $this->statistic->get_popular_authors_by_posts_count($blog_reg_date, $now, $authors_limit);
if (count($authors_data)) {
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'];
?>
-
options->is_author_popular_by_post_count == 2) {
$authors_data = $this->statistic->get_popular_authors_by_posts_views_count($blog_reg_date, $now, $authors_limit);
if (count($authors_data)) {
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']
?>
-
statistic->get_popular_authors_by_comments_count($blog_reg_date, $now, $authors_limit);
if (count($authors_data)) {
foreach ($authors_data as $author_data) {
$author_id = $author_data['author_id'];
$author_posts_comments_count = $author_data['c_count'];
$author_user_name = $author_data['user_name'];
?>
-
options->is_popular_posts_by_post_views == 1) {
$posts_data = $this->statistic->get_popular_posts_by_view_count($blog_reg_date, $now, $posts_limit);
if (count($posts_data)) {
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'];
?>
-
statistic->get_popular_posts_by_commment_count($blog_reg_date, $now, $posts_limit);
if (count($posts_data)) {
foreach ($posts_data as $post_data) {
$post_id = $post_data['c_post'];
$post_comment_count = $post_data['c_count'];
$post_title = $post_data['p_title'];
$comment_status = $post_data['c_status'];
?>
-