Source for file index.php

Documentation is available at index.php

  1. <?php
  2. ################################################################
  3. # This file is part of SlidingDoors #
  4. # Copyright 2001-2002. Eric D. Nielsen, All rights reserverd #
  5. # SlidingDoors is availible for license under the GPL, see #
  6. # the COPYING file in the root directory of the install for #
  7. # the full terms of the GPL. #
  8. # #
  9. # File: group.php #
  10. # Author: Eric D. Nielsen #
  11. # Description: This page allows a team to retrieve their #
  12. # current registration summary, invoice, and #
  13. # competition results after the comp. #
  14. # Internal Links: group-check.php #
  15. # External Links: SlidingDoors information page (footer) #
  16. # Comp-in-a-box information page(footer) #
  17. # OpenImpetus information page (footer) #
  18. # Change Log: 11/06/01 -- created -- edn #
  19. ################################################################
  20. # Do not remove the following line
  21.  
  22. include "include_others.inc";
  23. session_start();
  24. unset($formVars);
  25. session_unregister($formVars);
  26. unset($addType);
  27. session_unregister($addType);
  28. $org = $HTTP_POST_VARS["Affil"];
  29. if ($org=="") $org=$HTTP_SESSION_VARS["org"];
  30. if ($org=="NewAffil")
  31. {
  32. # errorPage("index.php","selecting NewAffil","Feature Disabled","This feature has been disabled temporarily due to myriads of bugs. This is not a true bug, please do not email us (in spite of what the footer below says.",FALSE);
  33. $affil=0;
  34. session_register("affil");
  35. localRedirect("Location: $baseURL/group/group-setup.php");
  36. exit;
  37. }
  38. $display = new HTMLDisplay($db);
  39. $page = $display->beginPage();
  40. $page.= $display->instructionBox("<a name=\"top\">Affiliation Summary</a>",
  41. "This page allows captains/studio
  42. representative and other similar affiliation organizers to quickly review the
  43. status of their members' registrations. Registered, team authorized individuals may update most of the information here for their team.
  44. <p>
  45. Relevant Links:
  46. <ul>
  47. <li><a href=\"group-setup.php\">Update Information</a></li>
  48. <li><a href=\"$CIB_SECURE_URL/accounts/new_account.php\">Create a CompInaBox Account</a></li>
  49. <li><a href=\"$CIB_SECURE_URL/accounts/profile_management.php\">Request Team Authorization</a></li></ul>
  50. ");
  51.  
  52. $affil = new RegOrg($db,0);
  53. $affil->setID($org);
  54. $affil->retrieve();
  55. $box = "<center>".$display->teamNavBar(array("Top","Login","TeamMatch","Invoice","Results"),"login")."</center><br>";
  56. $box .= $display->teamInfoLoginBar($affil);
  57. $page.= $display->textBox($box,"95%","Org Login in Box");
  58. $text = "<center>".$display->teamNavBar(array("Top","Login","TeamMatch","Invoice","Results"),"teammatch")."</center><br>";
  59. $text.= $display->teamMatchSummary($affil);
  60. $page .= $display->textBox($text);
  61.  
  62. $text= "<center>".$display->teamNavBar(array("Top","Login","TeamMatch","Invoice","Results"),"invoice")."</center><br>";
  63. $text.= $display->teamRegistration($affil);
  64. $page .= $display->textBox($text);
  65.  
  66. $text = "<center>".$display->teamNavBar(array("Top","Login","TeamMatch","Invoice","Results"),"results")."</center><br>";
  67. $text .= $display->teamResults($affil);
  68. $page .= $display->textBox($text);
  69. $page .= $display->sectionBreak();
  70. $page .= $display->compinaboxBox();
  71. $page .= $display->endPage();
  72. clean_up_session();
  73. session_register("affil");
  74. echo $page;
  75. ?>

Documentation generated on Tue, 25 Apr 2006 13:03:16 -0400 by phpDocumentor 1.3.0RC3