Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* $Id: polls.php 3478 2007-11-15 04:11:36Z Tikitiki $
| * $Id: polls.php 3596 2008-01-20 08:27:39Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 131 | Zeile 131 |
---|
if($mybb->input['action'] == "do_newpoll" && $mybb->request_method == "post") {
|
if($mybb->input['action'] == "do_newpoll" && $mybb->request_method == "post") {
|
| // Verify incoming POST request verify_post_check($mybb->input['my_post_key']);
|
$plugins->run_hooks("polls_do_newpoll_start");
$query = $db->simple_select(TABLE_PREFIX."threads", "*", "tid='".intval($mybb->input['tid'])."'");
| $plugins->run_hooks("polls_do_newpoll_start");
$query = $db->simple_select(TABLE_PREFIX."threads", "*", "tid='".intval($mybb->input['tid'])."'");
|
Zeile 399 | Zeile 402 |
---|
} if($mybb->input['action'] == "do_editpoll" && $mybb->request_method == "post") {
|
} if($mybb->input['action'] == "do_editpoll" && $mybb->request_method == "post") {
|
| // Verify incoming POST request verify_post_check($mybb->input['my_post_key']);
|
$plugins->run_hooks("polls_do_editpoll_start");
$query = $db->simple_select(TABLE_PREFIX."polls", "*", "pid='".intval($mybb->input['pid'])."'");
| $plugins->run_hooks("polls_do_editpoll_start");
$query = $db->simple_select(TABLE_PREFIX."polls", "*", "pid='".intval($mybb->input['pid'])."'");
|