remove old readme
[atutor.git] / docs / include / html / frameset / header.inc.php
1 <?php
2 if (!defined('AT_INCLUDE_PATH')) { exit; }
3 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $myLang->getCode(); ?>" lang="<?php echo $myLang->getCharacterSet(); ?>">
6 <head>
7         <title>ATutor - <?php echo $_SESSION['course_title'];
8         if ($cid != 0) {
9                 $myPath = $path;
10                 $num_path = count($myPath);
11                 for ($i =0; $i<$num_path; $i++) {
12                         echo ' - ';
13                         echo $myPath[$i]['title'];
14                 }
15         } else if (is_array($_section) ) {
16                 $num_sections = count($_section);
17                 for($i = 0; $i < $num_sections; $i++) {
18                         echo ' - ';
19                         echo $_section[$i][0];
20                 }
21         }
22         ?></title>
23         <base href="<?php echo AT_BASE_HREF; ?>" />
24         <link rel="stylesheet" href="<?php echo $_base_path; ?>themes/<?php echo $_SESSION['prefs']['PREF_THEME']; ?>/styles.css" type="text/css" />
25         <link rel="stylesheet" href="<?php echo $_base_path.'themes/'.$_SESSION['prefs']['PREF_THEME']; ?>/forms.css" type="text/css" />
26         <?php
27                 
28                 if ($myLang->isRTL()) {
29                         echo '<link rel="stylesheet" href="'.$_base_path.'rtl.css" type="text/css" />'."\n";
30                 }
31         ?>
32         <meta http-equiv="Content-Type" content="text/html; <?php echo $myLang->getCharacterSet(); ?>" />
33 </head>
34 <body bgcolor="#FFFFFF">