<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
- <meta http-equiv="Content-type" content=
- "text/html; charset=us-ascii">
+ <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>dylanstestserver</title>
<link href="includes/style.css" rel="stylesheet" type="text/css">
- <link rel="icon" href="icon.png" type="image/png">
- <script type="text/javascript" src="includes/jquery-core.js">
-</script>
- <script type="text/javascript" src=
- "includes/jquery-components.js">
-</script>
- <script type="text/javascript" src="includes/tabs.js">
+ <link rel="icon" href="favicon.ico" type="image/png">
+ <script type="text/javascript" src="includes/all.js">
</script>
</head>
<div id="structure">
<div id="banner">
<a href=
- "http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fdylanstestserver.com%2F">
+ "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#">
<img src="images/dylanstestserver.png" alt="dylanstestserver"
border="0"></a>
</div>
<div id="content">
<div id="exhibit">
- <div class="tabs" id="repthis">
- <div class="minimizer"></div><br>
- <span class="reprap_entry-title">3D printing is a form of
- additive manufacturing technology where a three
- dimensional object is created by successive layers of
- material. [1]:<a href=
- "http://repthis.info/">http://en.wikipedia.org/wiki/3D_printing</a><br>
-
- <br>
- <a href="reprap.org">reprap</a> is a <a href=
- "http://en.wikipedia.org/wiki/Free_software">free</a>
- desktop 3D printer capable of printing plastic
- objects.<br>
- <br>
- <a href="http://repthis.info">repthis.info</a> is the account of a friend and I learning to build our own. <br>
- <br>
-</span>
- </div>
-
- <div class="tabs" id="peepshow">
- <h3><i><a href=
- "http://foxy-addons/peepshow">foxy-addons/</a></i></h3>
-
- <h1><i><a href=
- "http://foxy-addons/peepshow">peepshow</a></i></h1>
-<br><br><br>
-
- <span class="peepshow_entry">a <a href="http://www.mozilla.com/en-US/products/download.html">firefox</a> addon, to load linked images inline (like on <a href="reddit.com/r/pics">reddit</a>).<br><br>
-
- here's the <a href="http://github.com/nospampleasemam/peepshow/">repo</a> for the source code.</span>
- </div>
-
- <div class="tabs" id="readoo">
- <span class="readoo_entry"><a href="readoo">readoo</a> helps you find search keywords to target.<br><br>
- it reads your IIS logs, and finds successful keywords worth focusing on.<br><br>
- it's not done yet! here's the <a href="github.com/nospampleasemam/READOO">source code</a>.</span>
- </div><br>
- <br>
- <br>
- <br>
- <br>
- <br>
- <br>
- </div>
-
- <ul class="portfolio" style="text-align:right">
- <li style="list-style: none; display: inline">
+ <?php
+ $config = parse_ini_file('/etc/dylanstestserver.ini');
+ mysql_connect($config['domain'], $config['user'], $config['password']) or die(mysql_error());
+ mysql_select_db($config['database']) or die(mysql_error());
+ if (isset($_GET['project'])) {
+ $page_type = 'project';
+ $project = mysql_real_escape_string($_GET['project']);
+ $sql = "SELECT text FROM projects WHERE title='$project'";
+ } else {
+ $sql = "SELECT text FROM projects";
+ }
+ $result = mysql_query($sql) or die (mysql_error());
+ while($project = mysql_fetch_array($result)) {
+ $text = $project['text'];
+ if (isset($page_type)) {
+ $text = str_replace("<div class=\"exhibit\"", "<div class=\"exhibit\" style=\"display:block;\"", $text);
+ }
+ echo $text;
+ }
+ ?>
+ </div>
+
+ <ul id="portfolio" style="text-align:right">
+ <li>
<h3>my projects:</h3>
</li>
- <li class="project"><a class="exhibit" href=
- "#repthis">repthis.info</a></li>
+ <li><a class="tab" href="repthis">repthis.info</a></li>
- <li style="list-style: none"><br></li>
+ <li><a class="tab" href=
+ "youtube_backup">youtube_backup</a></li>
- <li class="project"><a class="exhibit" href=
- "#peepshow">foxy-addons/peepshow</a></li>
+ <li><a class="tab" href=
+ "i_like_pandora">i_like_pandora</a></li>
- <li style="list-style: none"><br></li>
+ <li><a class="tab" href=
+ "peepshow">foxy-addons/peepshow</a></li>
- <li class="project"><a class="exhibit" href=
- "#readoo">readoo</a></li>
+ <li><a class="tab" href="drawcss">drawcss</a></li>
- <li style="list-style: none">
- <br>
- <br>
+ <li><a class="tab" href="readoo">readoo</a></li>
+ <li>
<h3>things i've done for others:</h3>
</li>
- <li class="project"><a href=
+ <li><a href=
"http://activehamptons.com">activehamptons.com</a></li>
- <li style="list-style: none"><br></li>
-
- <li class="project"><a href=
+ <li><a href=
"http://transfishing.com">transfishing.com</a></li>
- <li style="list-style: none">
- <br>
- <br>
-
- <h3>things i'm doing for others:</h3>
- </li>
-
- <li class="project"><a href=
- "kjondesign/">kjondesign</a></li>
-
- <li style="list-style: none">
- <br>
- <br>
-
+ <li>
<h3>something i've worked on:</h3>
</li>
- <li class="project"><a href=
+ <li><a href=
"http://tempositions.com">tempositions.com</a></li>
- <li style="list-style: none">
- <br>
- <br>
-
- <h3>my github repo:</h3>
+ <li>
+ <h3>my repositories:</h3>
</li>
- <li class="project"><a href=
- "http://github.com/nospampleasemam">github@github.com:nospampleasemam</a></li>
+ <li><a href=
+ "git">git://dylanstestserver.com</a></li>
- <li style="list-style: none">
- <br>
- <br>
- <br>
- <br>
- <br>
- <br>
+ <li>
+ <h3>some notes:</h3>
+ </li>
+
+ <li><a href=
+ "/dylanstestserver/notes">here</a></li>
- <h1><a href="mailto:dylan@psu.edu">dylan</a></h1><a href=
+ <li>
+ <h1 id="contact_me"><a href=
+ "mailto:dylan@psu.edu">dylan</a></h1><a href=
"mailto:dylan@psu.edu">@psu.edu</a>
</li>
</ul>
</div>
</body>
</html>
-