2016-09-17 02:08:42 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<% include head %>
|
|
|
|
</head>
|
|
|
|
<body>
|
2016-09-17 21:38:37 +00:00
|
|
|
<h1>// Referater fra holdets time på DAT3 //</h1>
|
|
|
|
<h3><a href="/toc">Fuld indholdsfortegnelse</a></h3>
|
2016-09-17 02:08:42 +00:00
|
|
|
<ul>
|
2016-09-17 21:38:37 +00:00
|
|
|
<!-- Print indholdsfortegnelse -->
|
|
|
|
<%
|
2016-09-17 11:27:44 +00:00
|
|
|
for (var i in data) {
|
|
|
|
var holdets_time = data[i]; %>
|
|
|
|
<li><a href="#<%=holdets_time['date']%>"><%=holdets_time['date']%> - <%=holdets_time['subtitle']%></a>
|
2016-09-17 21:38:37 +00:00
|
|
|
|
2016-09-17 02:08:42 +00:00
|
|
|
<% } %>
|
|
|
|
%>
|
|
|
|
</ul>
|
2016-09-17 21:38:37 +00:00
|
|
|
<!-- Slut indholdsfortegnelse -->
|
|
|
|
|
2016-09-17 02:08:42 +00:00
|
|
|
|
2016-09-17 21:38:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Start holdets timer -->
|
2016-09-17 02:08:42 +00:00
|
|
|
<%
|
2016-09-17 11:27:44 +00:00
|
|
|
for (var i in data) {
|
|
|
|
var holdets_time = data[i];
|
2016-09-17 02:08:42 +00:00
|
|
|
%>
|
2016-09-17 21:38:37 +00:00
|
|
|
<a name="<%=holdets_time['date']%>"></a><h2><%=holdets_time['date']%> kl. <%=holdets_time['time']%> - <%=holdets_time['subtitle']%></h2>
|
|
|
|
|
|
|
|
<!-- Print punkterne før klandringer -->
|
|
|
|
<a name="<%=holdets_time['date']%>Indledende"></a><h3>Indeledende bemærkninger</h3>
|
|
|
|
<%
|
|
|
|
var prepost_event = holdets_time["prepost_event"];
|
|
|
|
var prev_eventid;
|
|
|
|
for (var j in holdets_time["events"]) {
|
|
|
|
if (j <= prepost_event) {
|
|
|
|
prev_eventid = j;
|
|
|
|
var e = holdets_time["events"][j];
|
|
|
|
%>
|
|
|
|
<a name="<%=(holdets_time["date"] + e["title"]).replace(/\s/g,'')%>"></a><h4><%=e["title"]%></h4>
|
|
|
|
<p>
|
|
|
|
<%-e["description"]%>
|
|
|
|
</p>
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
|
|
|
|
<!-- Slut før -->
|
|
|
|
|
|
|
|
<!-- Print klandringer -->
|
|
|
|
<a name="<%=holdets_time['date']%>Klandringer"></a><h3>Klandringer</h3>
|
|
|
|
<%for (var j in holdets_time["klandringer"]) {
|
|
|
|
var k = holdets_time["klandringer"][j]; %>
|
2016-09-17 02:08:42 +00:00
|
|
|
<a name="<%=(k["klandrer"] + k["klandret"] + k["title"]).replace(/\s/g,'')%>"></a><h4><%=k["klandrer"]%> v. <%=k["klandret"]%> - <i><%=k["title"]%></i></h4>
|
|
|
|
<p>
|
|
|
|
<%-k["description"]%>
|
|
|
|
<br><br>
|
2016-09-17 11:27:44 +00:00
|
|
|
<% if (k["taber"] != "") { %>
|
|
|
|
<i><%=k["taber"]%> taber!</i>
|
2016-09-17 21:38:37 +00:00
|
|
|
|
2016-09-17 02:08:42 +00:00
|
|
|
</p>
|
2016-09-17 21:38:37 +00:00
|
|
|
<% } %>
|
|
|
|
<!-- Slut klandringer -->
|
|
|
|
|
|
|
|
<%
|
|
|
|
}%>
|
|
|
|
<!-- Print punkterne efter klandringer -->
|
|
|
|
<a name="<%=holdets_time['date']%>Afsluttende"></a><h3>Afsluttende bemærkninger</h3>
|
|
|
|
<%
|
|
|
|
var prepost_event = holdets_time["prepost_event"];
|
|
|
|
for (var j in holdets_time["events"]) {
|
|
|
|
if (j > prepost_event) {
|
|
|
|
|
|
|
|
var e = holdets_time["events"][j];
|
|
|
|
%>
|
|
|
|
<a name="<%=(holdets_time["date"] + e["title"]).replace(/\s/g,'')%>"></a><h4><%=e["title"]%></h4>
|
|
|
|
<p>
|
|
|
|
<%-e["description"]%>
|
|
|
|
</p>
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
}
|
2016-09-17 02:08:42 +00:00
|
|
|
%>
|
2016-09-17 21:38:37 +00:00
|
|
|
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
<!-- Slut holdets timer -->
|
|
|
|
|
|
|
|
|
2016-09-17 02:08:42 +00:00
|
|
|
<body>
|
|
|
|
</html>
|