<?php

function SubFormHeader($formname)
{
   global $HTTP_SERVER_VARS;

   ?>
   <form name="<?php echo $formname; ?>" action="<?php echo $HTTP_SERVER_VARS["PHP_SELF"]; if ($HTTP_SERVER_VARS["QUERY_STRING"] != '') { echo '?'.$HTTP_SERVER_VARS["QUERY_STRING"]; } ?>" method="post" enctype="multipart/form-data">
   <?php
} // function SubFormHeader()


function SubFormFooter()
{
   global $EZ_SESSION_VARS, $HTTP_POST_VARS;
   ?>
   <input type="hidden" name="topgroupname" value="<?php echo $HTTP_POST_VARS["topgroupname"]; ?>">
   <input type="hidden" name="groupname" value="<?php echo $HTTP_POST_VARS["groupname"]; ?>">
   <input type="hidden" name="subgroupname" value="<?php echo $HTTP_POST_VARS["subgroupname"]; ?>">
   <input type="Hidden" name="link" value="<?php echo $HTTP_POST_VARS["link"]; ?>">
   <input type="Hidden" name="catcode" value="<?php echo $HTTP_POST_VARS["catcode"]; ?>">
   <input type="Hidden" name="ezSID" value="<?php echo $HTTP_POST_VARS["ezSID"]; ?>">
   </form>
   <?php
} // function SubModFormFooter()

?>
