dbff9a520ec50ec5799ef37495a4be30c61dc56e
1 <!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta name
="generator" content
=
7 "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
8 <meta http
-equiv
="Content-type" content
="text/html;charset=UTF-8">
10 <title
>dylanstestserver
</title
>
11 <link href
="includes/style.css" rel
="stylesheet" type
="text/css">
12 <link rel
="icon" href
="favicon.ico" type
="image/png">
13 <script type
="text/javascript" src
="includes/all.js">
21 "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#">
22 <img src
="images/dylanstestserver.png" alt
="dylanstestserver"
29 $config = parse_ini_file('/etc/dylanstestserver.ini');
30 mysql_connect($config['domain'], $config['user'], $config['password']) or die(mysql_error());
31 mysql_select_db($config['database']) or die(mysql_error());
32 if (isset($_GET['project'])) {
33 $page_type = 'project';
34 $project = mysql_real_escape_string($_GET['project']);
35 $sql = "SELECT text FROM projects WHERE title='$project'";
37 $sql = "SELECT text FROM projects";
39 $result = mysql_query($sql) or die (mysql_error());
40 while($project = mysql_fetch_array($result)) {
41 $text = $project['text'];
42 if (isset($page_type)) {
43 $text = str_replace("<div class=\"exhibit\"", "<div class=\"exhibit\" style=\"display:block;\"", $text);
50 <ul id
="portfolio" style
="text-align:right">
55 <li
><a
class="tab" href
="repthis">repthis
.info
</a
></li
>
57 <li
><a
class="tab" href
=
58 "youtube_backup">youtube_backup
</a
></li
>
60 <li
><a
class="tab" href
=
61 "i_like_pandora">i_like_pandora
</a
></li
>
63 <li
><a
class="tab" href
=
64 "peepshow">foxy
-addons
/peepshow
</a
></li
>
66 <li
><a
class="tab" href
="drawcss">drawcss
</a
></li
>
68 <li
><a
class="tab" href
="readoo">readoo
</a
></li
>
71 <h3
>things i
've done for others:</h3>
75 "http://activehamptons.com">activehamptons.com</a></li>
78 "http://transfishing.com">transfishing.com</a></li>
81 <h3>something i've worked on
:</h3
>
85 "http://tempositions.com">tempositions
.com
</a
></li
>
88 <h3
>my repositories
:</h3
>
92 "git">git
://dylanstestserver.com</a></li>
99 "/dylanstestserver/notes">here
</a
></li
>
102 <h1 id
="contact_me"><a href
=
103 "mailto:dylan@psu.edu">dylan
</a
></h1
><a href
=
104 "mailto:dylan@psu.edu">@psu
.edu
</a
>