'; echo "{$title}"; echo ""; echo ' '; echo "

{$title}

"; } /** * Outputs a web page footer. * * Outputs a footer containing a copyright notice, the body end tag, and the html end tag. * @param $organization the copyright owner */ function output_footer( $organization ) { echo ' '; } /** * Outputs an HTML paragraph element. * * @param $text the element's textual content */ function output_paragraph( $text ) { echo "

{$text}

"; } /** * Outputs a submit button for an HTML form. * * @param $button_label the text to appear on the button */ function output_submit_button( $button_label ) { echo ""; } /** * Outputs a reset button for an HTML form. * * @param $button_label the text to appear on the button */ function output_reset_button( $button_label ) { echo ""; } /** * Outputs a text field for an XHTML form. * * Outputs a text field for an HTML form, with an accompanying label, all wapped in a div. * @param $id the value of the HTML id attribute * @param $label the content of the HTML label element * @param $name the value of the HTML name attribute * @param $size the value of the HTML size attribute * @param $maxlength the value of the HTML maxlength attribute * @param $value the value of the HTML value attribute * @param $is_disabled a Boolean: if true, this text field is disabled (disabled="disabled"); if false, the user can enter data into it */ function output_textfield( $id, $label, $name, $size, $maxlength, $value, $is_disabled ) { echo "
"; echo ""; echo ""; echo "
"; } /** * Outputs a password field for an HTML form. * * Outputs a password field for an HTML form, with an accompanying label, all wapped in a div. * @param $id the value of the HTML id attribute * @param $label the content of the HTML label element * @param $name the value of the HTML name attribute * @param $size the value of the HTML size attribute * @param $maxlength the value of the HTML maxlength attribute * @param $value the value of the HTML value attribute */ function output_passwordfield( $id, $label, $name, $size, $maxlength, $value ) { echo "
"; echo ""; echo ""; echo "
"; } /** * Outputs an HTML unordered list (ul) element from an array. * * @param $items the array of items that will form the list's items (li) */ function output_unordered_list( &$items ) { echo ""; } /** * Outputs an HTML ordered list (ol) element from an array. * * @param $items the array of items that will form the list's items (li) */ function output_ordered_list( &$items ) { echo "
    "; foreach ($items as $item) { echo "
  1. {$item}
  2. "; } echo "
"; } ?>