-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteaching.php~
executable file
·42 lines (36 loc) · 940 Bytes
/
teaching.php~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
include "page_template.html"
?>
<div id="temp-content" style="display: none;">
<h3>Teaching</h3>
<hr>
<br>
<div class="course-list">
<ul>
<?php
include "CV_DB.php" ;
foreach ($DATABASE['TEACHING'] as &$x) {
echo "<li>" ;
echo "<p><i><b>\"" . $x['COURSE_NAME'] . "\"</b></i></p>" .
$x['ROLE'] . ", " .
"(course owner: " . $x['COURSE_OWNER'] . ")<br>" .
$x['INSTITUTE'] . ", " .
$x['INSTITUTE_CITY'] . ", " .
$x['INSTITUTE_COUNTRY'] . "<br>" .
$x['STARTING_DATE'] .
" -- " . $x['ENDING_DATE'] . ", " .
$x['HOURS'] . "h<br>" .
"<br>" ;
echo "</li>" ;
}
S ?>
</ul>
</div>
</div>
<script>
var chapter = 'teaching' ;
var x = document.getElementById('temp-content') ;
document.getElementById('main').innerHTML = x.innerHTML ;
</script>
<!--
-->