kod aşağıda global $vbulletin, $vbphrase, $db; if ($vbulletin->options ) { if (! empty($vbulletin->options )) elseif (! empty($vbulletin->options )) $poll = ''; if { $pollbits = ''; $counter = 1; $pollid = $getthread ; $show = iif(can_moderate , true, false); // get poll info $pollinfo = $db->query_first_slave ; require_once ; $bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list ; $pollinfo = $bbcode_parser->parse(unhtmlspecialchars , $getthread , true); $splitoptions = explode ; $splitoptions = array_map ; $splitvotes = explode ; $showresults = 0; $uservoted = 0; $forumperms = fetch_permissions ; if (! if (!$pollinfo OR!$getthread OR ($pollinfo + ($pollinfo 86400) < TIMENOW AND $pollinfo != 0) OR $nopermission) else { //get userid, check if user already voted $voted = intval(fetch_bbarray_cookie ; if } if else foreach if ($vbulletin->userinfo > 0) { $pollvotes = $db->query_read_slave ; if ($db->num_rows > 0) } if { if { $uservote = array ; while ($pollvote = $db->fetch_array } } $left = vB_Template_Runtime::fetchStyleVar ; $right = vB_Template_Runtime::fetchStyleVar ; $option = $left ; $option = $right ; foreach { $arrayindex = $index + 1; $option = iif ; $option = $bbcode_parser->parse ; // public link if else $option = $counter; //number of the option //Now we check if the user has voted or not if { // user did vote or poll is closed if ($value <= 0) else if else $option = vb_number_format($option , 2); $option = $option % 6 + 1; $option = round 2; $option = 201 - $option ; // Phrase parts below if else if else if $templater = vB_Template::create ; $templater->register ; $templater->register ; $pollbits.= $templater->render ; } else { if else } $counter++; } if if else $displayed_dateline = $getthread ; $pollinfo = $getthread ; if else return $poll; } } else