add tracybanks.com to portfolio
[dylansserver.git] / view / archive.php
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
6 <title><?php echo $this->title; ?></title>
7 <link rel="icon" href="/favicon.ico" type="image/png">
8 <link href='/includes/style.css' rel='stylesheet' type='text/css'>
9 <script type='text/javascript' src='/includes/syntax/scripts/shCore.js'></script>
10 <script type='text/javascript' src='/includes/syntax/scripts/shAutoloader.js'></script>
11 <link type='text/css' rel='stylesheet' href='/includes/syntax/styles/shCore.css'>
12 <link type='text/css' rel='stylesheet' href='/includes/syntax/styles/shThemeDefault.css'>
13 <script type='text/javascript'>
14 function highlight() {
15 SyntaxHighlighter.autoloader(
16 'js /includes/syntax/scripts/shBrushJScript.js',
17 'bash /includes/syntax/scripts/shBrushBash.js',
18 'sql /includes/syntax/scripts/shBrushSql.js',
19 'cpp /includes/syntax/scripts/shBrushCpp.js');
20 SyntaxHighlighter.defaults['gutter'] = false;
21 SyntaxHighlighter.defaults['toolbar'] = false;
22 SyntaxHighlighter.all();
23 }
24 </script>
25 <script type='text/javascript' src='https://www.google.com/recaptcha/api/js/recaptcha_ajax.js'></script>
26 <script type='text/javascript' src='/includes/comment.js'></script>
27 </head>
28
29 <body onload="return typeof highlight == 'function' ? highlight() : true">
30 <div id="structure">
31 <div id="banner">
32 <a href="<?php echo $this->home_link ?>">
33 <img src="/images/dylansserver.png" alt="dylansserver"></a>
34 </div>
35
36 <div id="content">
37 <div id='notes'>
38 <?php
39 if (count($this->notes) >= 1) {
40 foreach ($this->notes as $note) {
41 echo "<div class='note'>";
42 echo "<h1><span class='date'>";
43 echo $note['year_posted'] . "/";
44 echo $note['month_posted'] . "/";
45 echo $note['day_posted'] . "/";
46 echo "</span><a href='" . $note['url'] . "'>";
47 echo $note['title'] . "</a></h1>";
48 echo $note['text'];
49 echo "</div>";
50 }
51 } else {
52 echo "<br>";
53 echo "<h1>sorry, nothing here</h2>";
54 echo "<pre>Empty set (0.00 sec)</pre>";
55 }
56 ?>
57 </div>
58 <div id="contact_me"><h1><a href=
59 "mailto:dylan@dylansserver.com">dylan</a></h1><a href=
60 "mailto:dylan@dylansserver.com">@dylansserver.com</a>
61 </div>
62 </div>
63 <br>
64 <br>
65 </div>
66 <? include 'analytics.php' ?>
67 </body>
68 </html>