Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ae3a9f4
Showing
19 changed files
with
698 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php get_header(); ?> | ||
|
||
<div id="Copy"> | ||
<h1>Not Found</h1> | ||
<p>Sorry, but you are looking for something that isn't here.</p> | ||
</div> | ||
|
||
<?php get_sidebar(); ?> | ||
|
||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php get_header(); ?> | ||
|
||
<div id="Copy"> | ||
<?php if (have_posts()) : ?> | ||
<?php while (have_posts()) : the_post(); ?> | ||
<div class="post" id="post_<?php the_ID(); ?>"> | ||
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1> | ||
<div class="byline"> | ||
<span class="date"><?php the_time('F j') ?></span> | ||
<cite><?php the_author() ?></cite> | ||
</div> | ||
<div class="content"><?php the_content('Continue reading...'); ?></div> | ||
<div class="comments"><?php comments_popup_link('Leave a comment', '1 comment', '% comments'); ?></div> | ||
</div> | ||
|
||
<?php endwhile; ?> | ||
|
||
<div class="navigation"> | ||
<div><?php next_posts_link('« Previous Entries') ?></div> | ||
<div><?php previous_posts_link('Next Entries »') ?></div> | ||
</div> | ||
|
||
<?php else : ?> | ||
|
||
<h1>Not Found</h1> | ||
<p>Sorry, but you are looking for something that isn't here.</p> | ||
<?php include (TEMPLATEPATH . "/searchform.php"); ?> | ||
|
||
<?php endif; ?> | ||
|
||
</div> | ||
|
||
<?php get_sidebar(); ?> | ||
|
||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/* | ||
Template Name: Archives | ||
*/ | ||
?> | ||
|
||
<?php get_header(); ?> | ||
|
||
<div id="content"> | ||
|
||
<?php include (TEMPLATEPATH . '/searchform.php'); ?> | ||
|
||
<h2>Archives by Month:</h2> | ||
<ul> | ||
<?php wp_get_archives('type=monthly'); ?> | ||
</ul> | ||
|
||
<h2>Archives by Subject:</h2> | ||
<ul> | ||
<?php wp_list_cats(); ?> | ||
</ul> | ||
|
||
</div> | ||
|
||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<?php | ||
/* Don't remove these lines. */ | ||
add_filter('comment_text', 'popuplinks'); | ||
foreach ($posts as $post) { start_wp(); | ||
?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title><?php echo get_settings('blogname'); ?> - Comments on <?php the_title(); ?></title> | ||
|
||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> | ||
<style type="text/css" media="screen"> | ||
@import url( <?php bloginfo('stylesheet_url'); ?> ); | ||
body { margin: 3px; } | ||
</style> | ||
|
||
</head> | ||
<body id="commentspopup"> | ||
|
||
<h1 id="header"><a href="" title="<?php echo get_settings('blogname'); ?>"><?php echo get_settings('blogname'); ?></a></h1> | ||
|
||
<h2 id="comments">Comments</h2> | ||
|
||
<p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p> | ||
|
||
<?php if ('open' == $post->ping_status) { ?> | ||
<p>The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em><?php trackback_url() ?></em></p> | ||
<?php } ?> | ||
|
||
<?php | ||
// this line is WordPress' motor, do not delete it. | ||
$comment_author = (isset($_COOKIE['comment_author_' . COOKIEHASH])) ? trim($_COOKIE['comment_author_'. COOKIEHASH]) : ''; | ||
$comment_author_email = (isset($_COOKIE['comment_author_email_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_email_'. COOKIEHASH]) : ''; | ||
$comment_author_url = (isset($_COOKIE['comment_author_url_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_url_'. COOKIEHASH]) : ''; | ||
$comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved = '1' ORDER BY comment_date"); | ||
$commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $wpdb->posts WHERE ID = $id"); | ||
if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $commentstatus->post_password) { // and it doesn't match the cookie | ||
echo(get_the_password_form()); | ||
} else { ?> | ||
|
||
<?php if ($comments) { ?> | ||
<ol id="commentlist"> | ||
<?php foreach ($comments as $comment) { ?> | ||
<li id="comment-<?php comment_ID() ?>"> | ||
<?php comment_text() ?> | ||
<p><cite><?php comment_type('Comment', 'Trackback', 'Pingback'); ?> by <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p> | ||
</li> | ||
|
||
<?php } // end for each comment ?> | ||
</ol> | ||
<?php } else { // this is displayed if there are no comments so far ?> | ||
<p>No comments yet.</p> | ||
<?php } ?> | ||
|
||
<?php if ('open' == $commentstatus->comment_status) { ?> | ||
<h2>Leave a comment</h2> | ||
<p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p> | ||
|
||
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> | ||
<p> | ||
<input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> | ||
<label for="author">Name</label> | ||
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> | ||
<input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER["REQUEST_URI"]); ?>" /> | ||
</p> | ||
|
||
<p> | ||
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" /> | ||
<label for="email">E-mail</label> | ||
</p> | ||
|
||
<p> | ||
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /> | ||
<label for="url"><acronym title="Uniform Resource Identifier">URI</acronym></label> | ||
</p> | ||
|
||
<p> | ||
<label for="comment">Your Comment</label> | ||
<br /> | ||
<textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> | ||
</p> | ||
|
||
<p> | ||
<input name="submit" type="submit" tabindex="5" value="Say It!" /> | ||
</p> | ||
<?php do_action('comment_form', $post->ID); ?> | ||
</form> | ||
<?php } else { // comments are closed ?> | ||
<p>Sorry, the comment form is closed at this time.</p> | ||
<?php } | ||
} // end password check | ||
?> | ||
|
||
<div><strong><a href="javascript:window.close()">Close this window.</a></strong></div> | ||
|
||
<?php // if you delete this the sky will fall on your head | ||
} | ||
?> | ||
|
||
<!-- // this is just the end of the motor - don't touch that line either :) --> | ||
<?php //} ?> | ||
<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>Wordpress</strong></a></cite></p> | ||
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?> | ||
<script type="text/javascript"> | ||
<!-- | ||
document.onkeypress = function esc(e) { | ||
if(typeof(e) == "undefined") { e=event; } | ||
if (e.keyCode == 27) { self.close(); } | ||
} | ||
// --> | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?php // Do not delete these lines | ||
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) | ||
die ('Please do not load this page directly. Thanks!'); | ||
|
||
if (!empty($post->post_password)) { // if there's a password | ||
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie | ||
?> | ||
|
||
<p class="nocomments">This post is password protected. Enter the password to view comments.<p> | ||
|
||
<?php | ||
return; | ||
} | ||
} | ||
?> | ||
|
||
<!-- You can start editing here. --> | ||
<a name="comments"></a> | ||
<?php if ($comments) : ?> | ||
<h2>Comments</h2> | ||
<ul id="Comments"> | ||
<?php foreach ($comments as $comment) : ?> | ||
<li> | ||
<div class="byline"> | ||
<cite><?php comment_author_link() ?></cite> | ||
<span class="date"><?php comment_time('F j') ?></span> | ||
|
||
<?php if ($comment->comment_approved == '0') : ?> | ||
<small>Awaiting moderation</small> | ||
<?php endif; ?> | ||
<small><?php edit_comment_link('edit','',''); ?></small> | ||
</div> | ||
<div class="content"><?php comment_text() ?></div> | ||
</li> | ||
<?php endforeach; /* end for each comment */ ?> | ||
</ul> | ||
<?php endif; ?> | ||
|
||
|
||
<?php if ('open' == $post->comment_status) : ?> | ||
<?php if (!( get_option('comment_registration') && !$user_ID )) : ?> | ||
|
||
<h2>Add a Comment</h2> | ||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" id="AddComment" method="post"> | ||
|
||
<?php if ( $user_ID ) : ?> | ||
|
||
<p> | ||
Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>.<br /> | ||
<a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout">Logout »</a> | ||
</p> | ||
|
||
<?php else : ?> | ||
|
||
|
||
<p>Name<br/> | ||
<input name="author" id="author" value="<?php echo $comment_author; ?>" size="30" type="text" tabindex="1" /></p> | ||
|
||
<p>Email<br /> | ||
<input name="email" id="email" value="<?php echo $comment_author_email; ?>" size="30" type="text" tabindex="2" /></p> | ||
|
||
<p>Web Site<br /> | ||
<input name="url" id="url" value="<?php echo $comment_author_url; ?>" size="30" type="text" tabindex="3" /></p> | ||
|
||
<?php endif; ?> | ||
|
||
<p> | ||
<label> | ||
Comments<br /> | ||
<textarea name="comment" id="comment" tabindex="4"></textarea></p> | ||
|
||
<p> | ||
<input name="submit" type="submit" id="submit" tabindex="5" value="Submit" /> | ||
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> | ||
</p> | ||
<?php do_action('comment_form', $post->ID); ?> | ||
</form> | ||
|
||
<?php endif; // If registration required and not logged in ?> | ||
|
||
<?php endif; // if you delete this the sky will fall on your head ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
<div id="Footer"> | ||
<p>All images and design are © 2007 <a href="/">Corkboard, Inc.</a></p> | ||
</div> | ||
|
||
</div> | ||
|
||
</body> | ||
|
||
<script type="text/javascript"> | ||
function twitterCallback(obj) { | ||
var id = obj[0].user.id; | ||
document.getElementById('my_twitter_status').innerHTML = obj[0].text; | ||
} | ||
</script> | ||
|
||
<script type="text/javascript" src="http://www.twitter.com/statuses/user_timeline/95653.json?callback=twitterCallback&count=1"></script> | ||
|
||
|
||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> | ||
</script> | ||
<script type="text/javascript"> | ||
_uacct = "UA-1143202-2"; | ||
urchinTracker(); | ||
</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
|
||
<head profile="http://gmpg.org/xfn/11"> | ||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> | ||
|
||
<title><?php wp_title(''); ?> <?php if ( is_single() ) { ?>»<?php } ?> <?php bloginfo('name'); ?></title> | ||
|
||
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> | ||
|
||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> | ||
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/corkboard" /> | ||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> | ||
|
||
<?php wp_get_archives('type=monthly&format=link'); ?> | ||
|
||
<?php wp_head(); ?> | ||
</head> | ||
<body> | ||
|
||
<div id="Pager"></div> | ||
|
||
<div id="Content"> | ||
<a href="/blog"><img src="<?php bloginfo('template_directory');?>/images/blog_logo.png"></a> | ||
|
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php get_header(); ?> | ||
|
||
<div id="Copy"> | ||
<?php if (have_posts()) : ?> | ||
<?php while (have_posts()) : the_post(); ?> | ||
<div class="post" id="post_<?php the_ID(); ?>"> | ||
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1> | ||
<div class="byline"> | ||
<span class="date"><?php the_time('F j') ?></span> | ||
<cite><?php the_author() ?></cite> | ||
</div> | ||
<div class="content"><?php the_content('Continue reading...'); ?></div> | ||
<div class="comments"><?php comments_popup_link('Leave a comment', '1 comment', '% comments'); ?></div> | ||
</div> | ||
|
||
<?php endwhile; ?> | ||
|
||
<div class="navigation"> | ||
<div><?php next_posts_link('« Previous Entries') ?></div> | ||
<div><?php previous_posts_link('Next Entries »') ?></div> | ||
</div> | ||
|
||
<?php else : ?> | ||
|
||
<h1>Not Found</h1> | ||
<p>Sorry, but you are looking for something that isn't here.</p> | ||
<?php include (TEMPLATEPATH . "/searchform.php"); ?> | ||
|
||
<?php endif; ?> | ||
|
||
</div> | ||
|
||
<?php get_sidebar(); ?> | ||
|
||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/* | ||
Template Name: Links | ||
*/ | ||
?> | ||
|
||
<?php get_header(); ?> | ||
|
||
<div id="content"> | ||
|
||
<h2>Links:</h2> | ||
<ul> | ||
<?php get_links_list(); ?> | ||
</ul> | ||
|
||
</div> | ||
|
||
<?php get_footer(); ?> |
Oops, something went wrong.