<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Mobile WIS</title>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
   <meta name="author" content="(c) Tomas Kavalek - http://kavalek.net; e-mail: tomas@kavalek.net" />
   <meta name="copyright" content="Tomas Kavalek" />
 </head>
<body>
<?php
  // WIS class
  include("./WIS.class.php");
  
  // Create WIS object
  $wis = new WIS("xnovak01", "heslo");
  // Print student name  
  echo($wis->getName());
  echo("<br />\n");
  // Multiprint - print data accord IDs
  $courses = array("HSC", "HSC", "BIO");
  $id = array("ZKR", "BODY", "ZN");
  $wis->printCoursesParsed($courses, $id);
?>
</body>
</html>