Umfragen
action.option.php File Reference

executes some actions on options More...

Go to the source code of this file.

Variables

 $db = new db( DB_USER, DB_PASS, DB_DATABASE, DB_HOST )
 $config = new config($db)
 $messages = new messageHandler()
 $r = load_poll_from_http_request($db,"GET")
if((intval($_SESSION["user"]->
ID)!==intval($poll->owner))
AND(!in_array("{$_SESSION["user"]->
ID}", explode(",", SUPER_ADMIN)))) 
$err_reason = ""

Detailed Description

executes some actions on options

parameters GET

  • pollID
  • widgetID
  • optionID
  • action

valid actions

add, rm, mvup, mvdwn, addq, rmq mvupq, mvdwnq where *q is for widgets andthe rest options

redirects

Definition in file action.option.php.

Variable Documentation

$config = new config($db)

Definition at line 53 of file action.option.php.

$db = new db( DB_USER, DB_PASS, DB_DATABASE, DB_HOST )

Definition at line 52 of file action.option.php.

if ((intval($_SESSION["user"]->ID)!==intval($poll->owner)) AND(!in_array("{$_SESSION["user"]->ID}", explode(",", SUPER_ADMIN)))) $err_reason = ""

Definition at line 114 of file action.option.php.

$messages = new messageHandler()

Definition at line 56 of file action.option.php.

Definition at line 62 of file action.option.php.