Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function postcount () {
- global $db, $mybb, $posts;
- $date = strtotime("1".date(" M Y"));
- $post_file = $db->simple_select("posts", "pid", "username='Admin' AND dateline > ".$date." AND visible='1'");
- while ($post = $db->fetch_array($post_file))
- {
- $posts++;
- }
- }
Add Comment
Please, Sign In to add comment