<?

  $option[$number_options] = "Credits";
  $number_options = $number_options + 1;

  // Licence and credits

function credits_options () {

  global $background;
  global $text;
  global $frame_background;
  global $frame_text;
  global $selected_option;

  print ("<form ACTION=\"" . $_SERVER[PHP_SELF] . "\" METHOD=\"post\">\n");
  print ("<input type=hidden name=selected_option value=" . $selected_option . ">\n");
  // we need to following to let the main script know we are sending it data for the 
  // second half of this module to process.
  print ("<input type=hidden name=submited value=\"1\"\n");
  // now display our form
  print ("<font color=\"" . $frame_text . "\">\n");
  print ("<b>Web Based Network Toolkit version 1.0</b><br>\n");
  print ("<p>\n");
  print ("Written in PHP4 by Steve Phillips<br>\n");
  print ("Please feel free to buy me beer if you find this toolkit useful. ");
  print ("Updates can be found at <a href=\"http://www.focb.co.nz/toolkit\"> ");
  print ("<font color=\"" . $frame_text . "\">\n");
  print ("http://www.focb.co.nz/toolkit</font></a> and I can be reached for comment at ");
  print ("<i>steve at focb dot co dot nz</i>. Please feel free to send ");
  print ("me thoughts and improvements. ");
  print ("</font><p>\n");
  print ("<input type=submit value=\"Display Licence\">\n");
  print ("</form>\n");

}

function credits_output () {
  // this is called after the submit button is pressed and all the 
  // previous variables should be passed to this function.


  // Output data goes here
    print ("</center>\n");
    print("<pre>\n");
    include ("LICENCE.txt");
    print("</pre>\n");


}
