<?cs include:"util.cs" ?>

<?cs call:html_heading() ?>
   <head>
      <title><?cs var:lang.survey_display_frameset.page_title ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta http-equiv="Pragma" content="no-cache" />
   <link rel="StyleSheet" href="<?cs var:image_path ?>common.css" type="text/css"  />
   <link rel="StyleSheet" href="<?cs var:image_path ?>survey.css" type="text/css"  />
</head>
<?cs if:Query.action ==1 ?>
   <frameset ROWS="11%,89%">
      <frame src="<?cs var:top_url ?><?cs if:Query.from ?>&main=main_menu <?cs /if ?>">
      <frame src="<?cs var:bottom_url ?><?cs if:Query.from ?>&from=main_menu <?cs /if ?>" name="CONTENT"  scrolling="auto">
   </frameset>
<?cs else ?>
<body style="background-color:black">
<?cs call:course_info() ?>
   <?cs if:access != 6 ?>
     <div><form action="<?cs var:action ?>" method="post" target="_top">
     <div>
       <input type="hidden" name="crs" value="<?cs var:Query.crs ?>" />
       <input type="hidden" name="id" value="<?cs var:Query.id ?>" />
       <input type="hidden" name="loc" value="<?cs var:Query.loc ?>" />
       <input type="hidden" name="grp" value="15" />
       <?cs if:Query.main ?>
       <input type="hidden" name="main" value="main_menu" />
       <?cs /if ?>
     </div>
     <div>
      <input type="submit" value="<?cs var:lang.survey_display_frameset.submit ?>" />
     </div>
   </form> 
   </div>
   <?cs else ?>
     <div><a href="<?cs var:url ?>" ><?cs var:lang.survey_display_frameset.submit ?></a></div>
   <?cs /if ?>
</body>
<?cs /if ?>
</html>
<?cs call:runtime() ?>

