Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: polls.php 2164 2006-08-30 06:17:49Z chris $
| * $Id: polls.php 2213 2006-09-10 22:49:42Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 59 | Zeile 59 |
---|
} // Make navigation build_forum_breadcrumb($fid);
|
} // Make navigation build_forum_breadcrumb($fid);
|
add_breadcrumb($thread['subject'], "showthread.php?tid=$thread[tid]");
| add_breadcrumb(htmlspecialchars_uni($thread['subject']), "showthread.php?tid={$thread['tid']}");
|
add_breadcrumb($lang->nav_postpoll);
// No permission if: Not thread author; not moderator; no forum perms to view, post threads, post polls
| add_breadcrumb($lang->nav_postpoll);
// No permission if: Not thread author; not moderator; no forum perms to view, post threads, post polls
|
Zeile 265 | Zeile 265 |
---|
// Make navigation build_forum_breadcrumb($fid);
|
// Make navigation build_forum_breadcrumb($fid);
|
add_breadcrumb($thread['subject'], "showthread.php?tid=$tid");
| add_breadcrumb(htmlspecialchars_uni($thread['subject']), "showthread.php?tid=$tid");
|
add_breadcrumb($lang->nav_editpoll);
| add_breadcrumb($lang->nav_editpoll);
|
Zeile 554 | Zeile 554 |
---|
// Make navigation build_forum_breadcrumb($fid);
|
// Make navigation build_forum_breadcrumb($fid);
|
add_breadcrumb($thread['subject'], "showthread.php?tid=$thread[tid]");
| add_breadcrumb(htmlspecialchars_uni($thread['subject']), "showthread.php?tid={$thread['tid']}");
|
add_breadcrumb($lang->nav_pollresults);
$voters = array();
| add_breadcrumb($lang->nav_pollresults);
$voters = array();
|
Zeile 564 | Zeile 564 |
---|
SELECT v.*, u.username FROM ".TABLE_PREFIX."pollvotes v LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=v.uid)
|
SELECT v.*, u.username FROM ".TABLE_PREFIX."pollvotes v LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=v.uid)
|
WHERE v.pid='$poll[pid]'
| WHERE v.pid='{$poll['pid']}'
|
ORDER BY u.username "); while($voter = $db->fetch_array($query))
| ORDER BY u.username "); while($voter = $db->fetch_array($query))
|
Zeile 718 | Zeile 718 |
---|
elseif(!$mybb->user['uid']) { // Give a cookie to guests to inhibit revotes
|
elseif(!$mybb->user['uid']) { // Give a cookie to guests to inhibit revotes
|
my_setcookie("pollvotes[$poll[pid]]", '1', 'yes');
| my_setcookie("pollvotes[{$poll['pid']}]", '1', 'yes');
|
} $votesql = ''; $now = time();
| } $votesql = ''; $now = time();
|