Home
last modified time | relevance | path

Searched refs:total_posts (Results 1 – 25 of 45) sorted by relevance

12

/dports/www/xoops/XoopsCore25-2.5.10/htdocs/modules/system/admin/users/
H A Djquery.php56 $total_posts = 0; variable
66 $total_posts += $row['total'];
71 …$sql = 'UPDATE ' . $xoopsDB->prefix('users') . " SET posts = '" . $total_posts . "' WHERE uid = '"…
75 echo $total_posts;
H A Dusers.php237 $total_posts = 0;
247 $total_posts += $row['total'];
251 …$sql = 'UPDATE ' . $xoopsDB->prefix('users') . " SET posts = '" . $total_posts . "' WHERE uid = '"…
/dports/chinese/phpbb-tw/phpBB2/includes/
H A Dfunctions_admin.php106 $total_posts = ($row['total']) ? $row['total'] : 0;
111 $total_posts = 0;
125 SET forum_last_post_id = $last_post, forum_posts = $total_posts, forum_topics = $total_topics
H A Dusercp_viewprofile.php75 $total_posts = get_db_stat('postcount'); variable
76 $percentage = ( $total_posts ) ? min(100, ($profiledata['user_posts'] / $total_posts) * 100) : 0;
/dports/www/phpbb/phpBB2/includes/
H A Dfunctions_admin.php106 $total_posts = ($row['total']) ? $row['total'] : 0;
111 $total_posts = 0;
125 SET forum_last_post_id = $last_post, forum_posts = $total_posts, forum_topics = $total_topics
H A Dusercp_viewprofile.php75 $total_posts = get_db_stat('postcount'); variable
76 $percentage = ( $total_posts ) ? min(100, ($profiledata['user_posts'] / $total_posts) * 100) : 0;
/dports/www/kohana/kohana-v3.3.6/modules/database/guide/database/query/
H A Dbuilder.md174 $query = DB::select('username', array(DB::expr('COUNT(`id`)'), 'total_posts')
175 ->from('posts')->group_by('username')->having('total_posts', '>=', 10);
179 …SELECT `username`, COUNT(`id`) AS `total_posts` FROM `posts` GROUP BY `username` HAVING `total_pos…
185 $sub = DB::select('username', array(DB::expr('COUNT(`id`)'), 'total_posts')
186 ->from('posts')->group_by('username')->having('total_posts', '>=', 10);
188 $query = DB::select('profiles.*', 'posts.total_posts')->from('profiles')
193 SELECT `profiles`.*, `posts`.`total_posts` FROM `profiles` INNER JOIN
194 …( SELECT `username`, COUNT(`id`) AS `total_posts` FROM `posts` GROUP BY `username` HAVING `total_p…
199 $sub = DB::select('username', array(DB::expr('COUNT(`id`)'), 'total_posts')
200 ->from('posts')->group_by('username')->having('total_posts', '>=', 10);
[all …]
/dports/chinese/phpbb3-tw/phpBB3/
H A Dindex.php31 $total_posts = $config['num_posts']; variable
36 $l_total_post_s = ($total_posts == 0) ? 'TOTAL_POSTS_ZERO' : 'TOTAL_POSTS_OTHER';
118 'TOTAL_POSTS' => sprintf($user->lang[$l_total_post_s], $total_posts),
H A Dviewtopic.php454 $total_posts = (int) $db->sql_fetchfield('num_posts'); variable
466 $total_posts = $topic_replies + 1; variable
488 if ($start < 0 || $start >= $total_posts)
490 …$start = ($start < 0) ? 0 : floor(($total_posts - 1) / $config['posts_per_page']) * $config['posts…
635 'PAGE_NUMBER' => on_page($total_posts, $config['posts_per_page'], $start),
636 …'TOTAL_POSTS' => ($total_posts == 1) ? $user->lang['VIEW_TOPIC_POST'] : sprintf($user->lang['VIEW_…
932 if ($start > $total_posts / 2)
936 if ($start + $config['posts_per_page'] > $total_posts)
938 $sql_limit = min($config['posts_per_page'], max(1, $total_posts - $start));
943 $sql_start = max(0, $total_posts - $sql_limit - $start);
[all …]
/dports/www/e107/e107/e107_plugins/forum/
H A Dforum_stats.php54 $total_posts = $sql->count('forum_post');
56 $total_replies = $total_posts - $total_topics;
73 $postsperday = ($open_days < 1 ? $total_posts : round($total_posts / $open_days));
138 $percent = round(($poster['post_count'] / $total_posts) * 100, 2);
238 …right;'><b>".LAN_FORUM_6003.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_posts}</td></tr>
/dports/chinese/phpbb-tw/phpBB2/
H A Dindex.php77 $total_posts = get_db_stat('postcount'); variable
83 if( $total_posts == 0 )
87 else if( $total_posts == 1 )
278 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
/dports/www/phpbb/phpBB2/
H A Dindex.php77 $total_posts = get_db_stat('postcount'); variable
83 if( $total_posts == 0 )
87 else if( $total_posts == 1 )
278 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
/dports/chinese/phpbb-tw/phpBB2/admin/
H A Dindex.php158 $total_posts = get_db_stat('postcount'); variable
166 $posts_per_day = sprintf("%.2f", $total_posts / $boarddays);
208 if($posts_per_day > $total_posts)
210 $posts_per_day = $total_posts;
312 "NUMBER_OF_POSTS" => $total_posts,
/dports/www/phpbb/phpBB2/admin/
H A Dindex.php158 $total_posts = get_db_stat('postcount'); variable
166 $posts_per_day = sprintf("%.2f", $total_posts / $boarddays);
208 if($posts_per_day > $total_posts)
210 $posts_per_day = $total_posts;
312 "NUMBER_OF_POSTS" => $total_posts,
/dports/chinese/phpbb3-tw/phpBB3/includes/acp/
H A Dacp_main.php424 $total_posts = $config['num_posts'];
433 $posts_per_day = sprintf('%.2f', $total_posts / $boarddays);
461 if ($posts_per_day > $total_posts)
463 $posts_per_day = $total_posts;
499 'TOTAL_POSTS' => $total_posts,
/dports/www/phpbb3/phpBB3/includes/acp/
H A Dacp_main.php490 $total_posts = $config['num_posts'];
499 $posts_per_day = sprintf('%.2f', $total_posts / $boarddays);
527 if ($posts_per_day > $total_posts)
529 $posts_per_day = $total_posts;
565 'TOTAL_POSTS' => $total_posts,
/dports/chinese/phpbb3-tw/phpBB3/includes/mcp/
H A Dmcp_queue.php495 $total_topics = $total_posts = 0;
549 $total_posts++;
555 $total_posts += $post_data['topic_replies'];
615 if ($total_posts)
617 set_config_count('num_posts', $total_posts, true);
H A Dmcp_main.php1047 $total_posts = 0;
1153 $total_posts += sizeof($post_rows);
1283 $sync_sql[$to_forum_id][] = 'forum_posts = forum_posts + ' . $total_posts;
1297 set_config_count('num_posts', $total_posts, true);
/dports/www/phpbb3/phpBB3/
H A Dviewtopic.php502 $total_posts = (int) $db->sql_fetchfield('num_posts'); variable
514 $total_posts = $topic_replies + 1; variable
530 $start = $pagination->validate_start($start, $config['posts_per_page'], $total_posts);
778 $pagination->generate_template_pagination($base_url, 'pagination', 'start', $total_posts, $config['…
793 'TOTAL_POSTS' => $user->lang('VIEW_TOPIC_POSTS', (int) $total_posts),
1187 if ($start > $total_posts / 2)
1194 $sql_limit = $pagination->reverse_limit($start, $sql_limit, $total_posts);
1195 $sql_start = $pagination->reverse_start($start, $sql_limit, $total_posts);
1627 if (count($rowset) != $total_posts)
2314 …$last_page = ((floor($start / $config['posts_per_page']) + 1) == max(ceil($total_posts / $config['…
/dports/chinese/wordpress-zh_CN/wordpress/wp-admin/includes/
H A Dclass-wp-posts-list-table.php301 $total_posts = array_sum( (array) $num_posts );
310 $total_posts -= $num_posts->$state;
313 if ( $this->user_posts_count && $this->user_posts_count !== $total_posts ) {
349 $total_posts,
352 number_format_i18n( $total_posts )
/dports/chinese/wordpress-zh_TW/wordpress/wp-admin/includes/
H A Dclass-wp-posts-list-table.php301 $total_posts = array_sum( (array) $num_posts );
310 $total_posts -= $num_posts->$state;
313 if ( $this->user_posts_count && $this->user_posts_count !== $total_posts ) {
349 $total_posts,
352 number_format_i18n( $total_posts )
/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/rest-api/endpoints/
H A Dclass-wp-rest-posts-controller.php377 $total_posts = $posts_query->found_posts;
379 if ( $total_posts < 1 ) {
385 $total_posts = $count_query->found_posts;
388 $max_pages = ceil( $total_posts / (int) $posts_query->query_vars['posts_per_page'] );
390 if ( $page > $max_pages && $total_posts > 0 ) {
400 $response->header( 'X-WP-Total', (int) $total_posts );
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/rest-api/endpoints/
H A Dclass-wp-rest-posts-controller.php377 $total_posts = $posts_query->found_posts;
379 if ( $total_posts < 1 ) {
385 $total_posts = $count_query->found_posts;
388 $max_pages = ceil( $total_posts / (int) $posts_query->query_vars['posts_per_page'] );
390 if ( $page > $max_pages && $total_posts > 0 ) {
400 $response->header( 'X-WP-Total', (int) $total_posts );
/dports/www/phpbb3/phpBB3/includes/mcp/
H A Dmcp_main.php1396 $total_posts = $total_posts_unapproved = $total_posts_softdeleted = 0;
1590 $total_posts++;
1695 SET forum_posts_approved = forum_posts_approved + ' . $total_posts . ',
1720 $config->increment('num_posts', $total_posts, false);
/dports/chinese/phpbb-tw/phpBB2/install/
H A Dupgrade.php1733 $total_posts = ($row['total']) ? $row['total'] : 0; variable
1737 $total_posts = 0; variable
1756 SET forum_last_post_id = $last_post, forum_posts = $total_posts, forum_topics = $total_topics

12