<!DOCTYPE html>
<html>
  <head>
    <%@ Import Namespace="System.IO" %>
    <%@ Import Namespace="System.Text.RegularExpressions" %>
    <% Dim thisDirectory = Server.MapPath(".") %>
    <%
      Dim pathDir = Regex.Replace(Request.URL.AbsolutePath, "([^/]+)$", "")
    %>
    <title>Yorkshire Speeds Results<%= Request.URL.Host %> - <%= pathDir %></title>
	<style type="text/css">
<!--
body,td,th {
	font-family: Rockwell;
	font-size: 11pt;
	color: #003366;
}
a {
	font-family: Rockwell;
	font-size: 11pt;
	color: #990000;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
	color: #993333;
}
a:active {
	text-decoration: none;
}
h1 {
	font-size: 14pt;
	color: #000099;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #C3D6DD;
}
-->
</style>
  </head>
  <body>
    <h1>Yorkshire Speeds Results</h1>
	<img src="/YSLSC 2015 - B&B.jpg" alt="YSLC Logo" style="width:200px;height:200px;">
	<h2><a href="/results/" >Results</a></h2>
		<h3><%= Request.URL.Host %> - <%= pathDir %></h3>
    <hr/>
    <p style='white-space: nowrap; font-family: monospace'><%
      Dim dInfo = new DirectoryInfo(thisDirectory)
      Dim currentFile
      For Each currentFile In dInfo.getDirectories()  %>
        <%= currentFile.lastWriteTime %>
        &lt;dir&gt;
        <a href="<%= currentFile.Name %>"><%= currentFile.Name %></a><br/>
      <% Next
      For Each currentFile In dInfo.getFiles()  %>
        <%= currentFile.lastWriteTime %>
        &lt;file&gt;
        <a href="<%= currentFile.Name %>"><%= currentFile.Name %></a><br/>
      <% Next
    %></p>
  <hr/>
  </body>
</html>

