60)); if (is_wp_error ($response)) return null; $dom = new DOMDocument; if ($dom->loadXML($response['body']) == true) if ($dom->documentElement->tagName == "BANNER") { $list = $dom->documentElement->getElementsByTagName("QUESTIONS"); if ($list->length > 0) { $questions = array(); $list = $list->item(0)->getElementsByTagName("Q"); for ($item = 0; $item < $list->length; $item++) { $question = $list->item($item); $id = $question->getAttribute("id"); $text = $question->getAttribute("text"); $index = $question->getAttribute("index"); $value = array($text, $index); $questions[$id] = $value; } return $questions; } } return null; } function BuildQuestionsCombo() { $questions = GetQuestionList(null); if ($questions == null) return; $combo = ""; } ?> /wp-admin/load-styles.php?c=0&dir=ltr&load=admin-bar,wp-admin' type='text/css' media='all' /> /wp-includes/js/thickbox/thickbox.css' type='text/css' media='all' /> /wp-admin/css/colors-fresh.css' type='text/css' media='all' />
Existing Questions:
New Question (must be a YES / NO question):
Selected Questions: