<?php

include '../library.php';
$rownoticefetched = array();
$rownoticefetched = display_papers();
$count = sizeof($rownoticefetched);
$i = 0;
$flag = 0;
session_start();
if (isset($_SESSION['username'])) {
    $flag = 1;
}
$s = "";
?>


<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>JSSATEN | Library</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="stylesheet" href="../assets/css/bootstrap.css">
  <link rel="stylesheet" href="../assets/css/main.css">
  <script src="../assets/js/vendor/jquery-1.11.1.min.js"></script>
  <style media="screen">
Beispiel #2
0
                 foreach ($paper_details as $individual_paper) {
                     if ($individual_paper['start_day'] == $day_no + 1 - $subtract and $individual_paper['cal_year'] == $current_year and $individual_paper['month'] == $current_month) {
                         $saturday_exams = true;
                         $day_number = $individual_paper['start_day'];
                     }
                 }
                 if ($saturday_exams == true) {
                     echo "<br /><table style=\"width:100%\">";
                     if ($day_number == date("j") and $current_month == date("n") and $current_year == date("Y")) {
                         // Current day
                         echo "<tr><td class=\"dheadtoday\" style=\"border-left:0px\">{$day_number} &#8211; " . $string['saturday'] . "</td></tr>";
                     } else {
                         echo "<tr><td class=\"dhead\" style=\"border-left:0px\">{$day_number} &#8211; " . $string['saturday'] . "</td></tr>";
                     }
                     echo "</table>";
                     display_papers($day_no + 1, $subtract, $current_year, $current_month, $paper_details, $papers, $cellID, $string, $default_timezone, $userObject);
                 }
             }
             echo "</td>";
         } else {
             // Day on grid after end of month.
             echo '<td class="daynomonth">&nbsp;</td>';
         }
         $day_no++;
     }
     echo "</tr>\n";
     $day_no += 2;
     // Skip the weekend.
 } while ($day_no - $subtract <= $days_in_month);
 echo "</table>\n</td></tr>\n</table></div><br />\n";
 $current_month++;