<?php
if (!isset($_COOKIE["user"]))
{
	header("Location: index.html");
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
<title>6D Homepage</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/bootstrap.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/responsive.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/touchTouch.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/kwicks-slider.css" type="text/css" media="screen">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/calendar.css" type="text/css" media="screen"  >
<script src="js/jquery.js"></script>
<script src="js/superfish.js"></script>
<script src="js/jquery.flexslider-min.js"></script>
<script src="js/jquery.kwicks-1.5.1.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/touchTouch.jquery.js"></script>
<script>
if ($(window).width() > 1024) {
    document.write("<" + "script src='js/jquery.preloader.js'></" + "script>");
}
</script>
<script>
jQuery(window).load(function () {
    $x = $(window).width();
    if ($x > 1024) {
        jQuery("#content .row").preloader();
    }
    jQuery('.magnifier').touchTouch();
    jQuery('.spinner').animate({
        'opacity': 0
    }, 200, 'easeOutCubic', function () {
        jQuery(this).css('display', 'none')
    });
});
</script>
<!--[if lt IE 8]>
<div style='text-align:center'><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.theie6countdown.com/img/upgrade.jpg"border="0"alt=""/></a></div>  
<![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<link rel="stylesheet" href="css/docs.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
<![endif]-->
<style>
table, th, td {
    border: 2px solid black;
    border-collapse: collapse;
	border-color:#ff5c33;
	
}
th, td {
    padding: 5px;
}
th {
    text-align: left;
}
</style>
</head>
<body>
<div class="spinner"></div>
<!-- header start -->
<header>
  <div class="container clearfix">
    <div class="row">
      <div class="span12">
        <div class="navbar navbar_">
          <div class="container">
            <h1 class="brand brand_"><a href="homepage.php"><img alt="" src="img/logoict.png"> </a></h1>
            <a class="btn btn-navbar btn-navbar_" data-toggle="collapse" data-target=".nav-collapse_">Menu <span class="icon-bar"></span> </a>
            <div class="nav-collapse nav-collapse_  collapse">
              <ul class="nav sf-menu">
			  
               <li class="active"><a href="homepage.php">Home</a></li>
                <li><a href="photoalbum.php">Gallery</a></li>
               <li><a href="event.php">Event</a></li>
              <li><a href="classmates.php">classmates</a>
				
                        
            			
              </ul>					  
            </div>
          </div>
        </div>
      </div>	  	
    </div>
  </div>
</header>

|<a style="color:#282828 " href="logout.php">logout</a>|

<div class="row-1">

    <div class="row">
      <div class="span6 offset1">
				<h3> Welcome to Your class homepage <h3>
				<div class="container">
				<h3>Fight for your dream</h3>
				<h3>Practice make perfect</h3>
			
				<a href="#" class="btn btn-1">Download</a> 
		
		</div>
	  </div>
      <div class="span4 offset1">
	  	<br />
			<?php
				include 'calendar.php'; 
				$calendar = new Calendar();
				echo $calendar->show();					
			?>
</br>			
	  <table width="400">
  <tr>
    <th><font color= #000000>Day1</th>
    <th><font color= #000000>Day2</th> 
    <th><font color= #000000>Day3</th>
    <th><font color= #000000>Day4</th>
    <th><font color= #000000>Day5</th> 
    <th><font color= #000000>Day6</th>
  </tr>
  <tr>
    <td><font color= #404040LS>LS</td>
    <td><font color= #404040LS>X2</td>
    <td><font color= #404040LS>LS</td>
    <td><font color= #404040LS>ECO</td>
    <td><font color= #404040LS>ENG</td>
    <td><font color= #404040LS>CHI</td>
  </tr>
  <tr>
    <td><font color= #404040LS>LS</td>
    <td><font color= #404040LS>X2</td>
    <td><font color= #404040LS>LS</td>
     <td><font color= #404040LS>CHI</td>
    <td><font color= #404040LS>ENG</td>
    <td><font color= #404040LS>CHI</td>
  </tr>
  <tr>
    <td><font color= #404040LS>ECO</td>
    <td><font color= #404040LS>MTH</td>
    <td><font color= #404040LS>CHI</td>
    <td><font color= #404040LS>X3</td>
    <td><font color= #404040LS>X2</td>
    <td><font color= #404040LS>ENG</td>
  </tr>
  <tr>
  <td align = "center" colspan="6"><font color= #404040LS>Recess </td>
  </tr>
  <tr>
    <td><font color= #404040LS>ECO</td>
    <td><font color= #404040LS>MTH</td>
    <td><font color= #404040LS>CHI</td>
    <td><font color= #404040LS>X3</td>
    <td><font color= #404040LS>X2</td>
    <td><font color= #404040LS>ENG</td>
  </tr>
  <tr>
    <td><font color= #404040LS>PE</td>
    <td><font color= #404040LS>ENG</td>
    <td><font color= #404040LS>X3</td>
    <td><font color= #404040LS>MTH</td>
    <td><font color= #404040LS>MTH</td>
    <td><font color= #404040LS>LS</td>
  </tr>
  <tr>
    <td><font color= #404040LS>PE</td>
    <td><font color= #404040LS>ENG</td>
    <td><font color= #404040LS>X3</td>
    <td><font color= #404040LS>MTH</td>
    <td><font color= #404040LS>MTH</td>
    <td><font color= #404040LS>LS</td>
  </tr>
  <tr>
 	<td align = "center" colspan="6"><font color= #404040LS>Lunch Break </td>
  </tr>
  <tr>
    <td><font color= #404040LS>CHI</td>
    <td><font color= #404040LS>ECO</td>
    <td><font color= #404040LS>ENG</td>
    <td><font color= #404040LS>X2</td>
    <td><font color= #404040LS>CHI</td>
    <td><font color= #404040LS>X3</td>
  </tr>
    <tr>
   	<td><font color= #404040LS>CHI</td>
    <td><font color= #404040LS>ECO</td>
    <td><font color= #404040LS>ENG</td>
    <td><font color= #404040LS>X2</td>
    <td><font color= #404040LS>CHI</td>
    <td><font color= #404040LS>X3</td>
  </tr>
</table>
 		
	  </div>
    </div>
  </div>
</div>

		

<!------------------------------------>
				
			   </div> 
		     </div> 
		    </div>  
          </div> 
        
   
<!-- footer -->

<script src="js/bootstrap.js"></script>
</body>
</html>