367b334ccd69ebf6bfcdc1b3cae4598cf222b597
[dylansserver.git] / view / note.php
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3
4 <html>
5 <head>
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='http://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"
34 border="0"></a>
35 </div>
36
37 <div id="content">
38 <div id='notes'>
39 <div class='note'>
40 <h1><span class='date'>
41 <?php echo "$this->year_posted/$this->month_posted/$this->day_posted/" ?>
42 </span><?php echo $this->title ?></h1>
43 <?php echo $this->text ?>
44 </div>
45 <br><br><br><br>
46 <div id='navigation'>
47 <?php if ($this->comments_enabled) {
48 $this->display_comments();
49 $this->display_comment_form();
50 } ?>
51 <h1>
52 <?php if (!$this->comments_enabled) $this->display_comment_link(); ?>
53 <a href="/notes/">back to notes/</a>
54 </h1>
55 </div>
56 <div id="contact_me"><h1><a href=
57 "mailto:dylan@psu.edu">dylan</a></h1><a href=
58 "mailto:dylan@psu.edu">@psu.edu</a>
59 </div>
60 </div>
61 <br>
62 <br>
63 </div>
64 </body>
65 </html>