Zeile 670 | Zeile 670 |
---|
SELECT u.uid, u.username, COUNT(pid) AS poststoday FROM '.TABLE_PREFIX.'posts p LEFT JOIN '.TABLE_PREFIX.'users u ON (p.uid=u.uid)
|
SELECT u.uid, u.username, COUNT(pid) AS poststoday FROM '.TABLE_PREFIX.'posts p LEFT JOIN '.TABLE_PREFIX.'users u ON (p.uid=u.uid)
|
WHERE p.dateline>'.$timesearch.'
| WHERE p.dateline>'.$timesearch.' AND p.visible=1
|
GROUP BY '.$group_by.' ORDER BY poststoday DESC LIMIT 1 ');
| GROUP BY '.$group_by.' ORDER BY poststoday DESC LIMIT 1 ');
|
Zeile 808 | Zeile 808 |
---|
{ foreach($main as $forum) {
|
{ foreach($main as $forum) {
|
$forum_mods = '';
| $forum_mods = array();
|
if(count($moderators)) { $forum_mods = $moderators;
| if(count($moderators)) { $forum_mods = $moderators;
|
Zeile 1056 | Zeile 1056 |
---|
$threads = array();
|
$threads = array();
|
$query = $db->simple_select("threads", "tid, subject, replies, fid", "visible='1'", array('order_by' => 'replies', 'order_dir' => 'DESC', 'limit_start' => 0, 'limit' => $mybb->settings['statslimit']));
| $query = $db->simple_select("threads", "tid, subject, replies, fid, uid", "visible='1'", array('order_by' => 'replies', 'order_dir' => 'DESC', 'limit_start' => 0, 'limit' => $mybb->settings['statslimit']));
|
while($thread = $db->fetch_array($query)) { $threads[] = $thread;
| while($thread = $db->fetch_array($query)) { $threads[] = $thread;
|
Zeile 1071 | Zeile 1071 |
---|
$threads = array();
|
$threads = array();
|
$query = $db->simple_select("threads", "tid, subject, views, fid", "visible='1'", array('order_by' => 'views', 'order_dir' => 'DESC', 'limit_start' => 0, 'limit' => $mybb->settings['statslimit']));
| $query = $db->simple_select("threads", "tid, subject, views, fid, uid", "visible='1'", array('order_by' => 'views', 'order_dir' => 'DESC', 'limit_start' => 0, 'limit' => $mybb->settings['statslimit']));
|
while($thread = $db->fetch_array($query)) { $threads[] = $thread;
| while($thread = $db->fetch_array($query)) { $threads[] = $thread;
|