<?php
session_start();

/*==========================================================================================================================
| REGISTRATION FORM
|
| Author:    Aaron Sargent, (agsarge@u.washington.edu)
| Client:    Seattle STD/HIV Prevention Training Center
| Project:   Registration Form
|
| Purpose:   Functions for the registration application.
|
*>=========================================================================================================================
| Revisions  Date        Author          Comments
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|            03.16.06    Aaron Sargent   Initial creation.
\-------------------------------------------------------------------------------------------------------------------------*/
/*==========================================================================================================================
| INCLUDES
\=========================================================================================================================*/
  require("/hw00/d32/seaptc/global_test.php");
//  require("registration_func.php");

/*==========================================================================================================================
| DEFINE VARIABLES
\=========================================================================================================================*/
/*--------------------------------------------------------------------------------------------------------------------------
| Database Variables
\-------------------------------------------------------------------------------------------------------------------------*/
  $objDB                              = db_connect();

/*==========================================================================================================================
| START HTML OUTPUT
\=========================================================================================================================*/
  if (authorize_user())
  {
  //Administrator logged in
    require("/hw00/d32/seaptc/includes/internal_top_admin.inc");
  }
  else
  {
    require("/hw00/d32/seaptc/includes/internal_top_100.inc");
    require("/hw00/d32/seaptc/includes/nav_courses.inc");
  }
  
?>

<script language="javascript">
<!--
  function submit_registration(intCourseId,intCourseDetailId)
  {
    document.registration.course_id.value=intCourseId;
    document.registration.course_detail_id.value=intCourseDetailId;
    //document.registration.submit_form.value=true;
    document.registration.submit();
  }
//-->
</script>


<table cellpadding="0" cellspacing="0" border="0" class="content" align="left">
  <tr>
    <td><h3>Course Calendar / Registration</h3>
    <p>Click on a course name to review course descriptions. Click 'register' to register for a course.</p>
    <p>If you prefer to pay by check, please make it payable to &ldquo;University of Washington&rdquo; and mail to:<br />
       Seattle STD/HIV Prevention Training Center/ Attention: Ronnie Staats<br />
       325 Ninth Avenue/ Box 359932/ Seattle, WA 98104</p>
   
       
       </td>
  </tr>
</table>



<br clear="all">



<?php
  print "<br><br>\n";
  print get_courses("page_output");
  print "\n        </div>";
  require("/hw00/d32/seaptc/includes/footer.inc");
?>

