diff --git a/wp-content/themes/rusty-grunge/404.php b/wp-content/themes/rusty-grunge/404.php new file mode 100644 index 0000000000000000000000000000000000000000..a7fd77aa165c80e96630451a2d5f236f9e9cb70b --- /dev/null +++ b/wp-content/themes/rusty-grunge/404.php @@ -0,0 +1,13 @@ +<?php get_header() ?> + <div id="main" class="clearfix"> + <div id="content"> + <div class="inner"> + <h1>Error 404: Page Not Found</h1> + <p>Sorry, but you are looking for something that isn't here.</p> + <?php include (TEMPLATEPATH . "/searchform.php"); ?> + </div> + </div> + <?php get_sidebar() ?> + </div> + +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/_notes/dwsync.xml b/wp-content/themes/rusty-grunge/_notes/dwsync.xml new file mode 100644 index 0000000000000000000000000000000000000000..b6b53dfaf48b473feb6e1150d9d45bdf52fbaa0c --- /dev/null +++ b/wp-content/themes/rusty-grunge/_notes/dwsync.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8" ?> +<dwsync> +<file name="404.php" local="128705767076250000" remote="128705749800000000" testing="0" /> +<file name="comments.php" local="128733609121560000" remote="128733537000000000" testing="0" /> +<file name="footer.php" local="128705873766875000" remote="128705801400000000" testing="0" /> +<file name="functions.php" local="128705790567187500" remote="128705749800000000" testing="0" /> +<file name="header.php" local="128705842015781250" remote="128705769600000000" testing="0" /> +<file name="index.php" local="128705767082500000" remote="128705749800000000" testing="0" /> +<file name="page.php" local="128705767082500000" remote="128705749800000000" testing="0" /> +<file name="print.css" local="128705767082500000" remote="128705749800000000" testing="0" /> +<file name="searchform.php" local="128705767083750000" remote="128705749800000000" testing="0" /> +<file name="sidebar.php" local="128705789890000000" remote="128705749800000000" testing="0" /> +<file name="single.php" local="128705767085312500" remote="128705749800000000" testing="0" /> +<file name="style.css" local="128705868710781250" remote="128705796600000000" testing="0" /> +<file name="screenshot.png" local="128705830829375008" remote="128705766000000000" testing="0" /> +</dwsync> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/comments.php b/wp-content/themes/rusty-grunge/comments.php new file mode 100644 index 0000000000000000000000000000000000000000..609048a9351fcb52a3060a2d6836c44e6723d52b --- /dev/null +++ b/wp-content/themes/rusty-grunge/comments.php @@ -0,0 +1,100 @@ +<?php + +if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) + die ('Please do not load this page directly. Thanks!'); +if ( post_password_required() ) { + echo '<p class="nocomments">This post is password protected. Enter the password to view comments.<p>'; + return; +} + + $oddcomment = 'alt'; + +?> + +<div id="comments" class="clearfix"> + +<?php if ( have_comments() ) : ?> + + <h2>Bring on the comments</h2> + + <ol class="commentlist"> + <?php wp_list_comments(array('avatar_size'=>48, 'reply_text'=>'Reply to this Comment')); ?> + </ol> + +<div class="navigation"> + <div class="alignleft"><?php previous_comments_link() ?></div> + <div class="alignright"><?php next_comments_link() ?></div> +</div> + + <?php else : // this is displayed if there are no comments so far ?> + + <?php if ('open' == $post->comment_status) : + // If comments are open, but there are no comments. ?> + <p>Be the first to comment.</p> + <?php + else : ?> + <p>Comments are closed for this entry.</p> + <?php + // comments are closed + endif; +endif; + +if ('open' == $post->comment_status) : ?> + + +<div id="respond"> + <h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3> + + <fieldset id="cancel-comment-reply"> + <small><?php cancel_comment_reply_link() ?></small> + </fieldset> + +<?php if ( get_option('comment_registration') && !$user_ID ) : ?> +<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p> +<?php else : ?> + + <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> + +<?php if ( $user_ID ) : ?> + + <fieldset id="comment-author"> + <small>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></small> + </fieldset> + +<?php else : ?> + + <fieldset id="comment-author"> + <label for="author">Name <?php if ($req) echo "(required)"; ?></label> + <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> + + <label for="email">Mail (will not be published) <?php if ($req) echo "(required)"; ?></label> + <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> + + <label for="url">Website</label> + <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> + </fieldset> +<?php endif; ?> + + + <fieldset id="comment-text"> + <p><textarea name="comment" id="comment" cols="45" rows="10" tabindex="4"></textarea></p> + + <p><input name="submit_comment" type="submit" id="submit_comment" tabindex="5" value="Submit Comment" /> + <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> + </p> + +<?php + comment_id_fields(); + do_action('comment_form', $post->ID); +?> + + <!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>--> + </fieldset> + </form> + +<?php endif; ?> + +</div> + +<?php endif; ?> +</div> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/footer.php b/wp-content/themes/rusty-grunge/footer.php new file mode 100644 index 0000000000000000000000000000000000000000..75c050935a8b3c51f93215ca6bafea8bcbcf8e54 --- /dev/null +++ b/wp-content/themes/rusty-grunge/footer.php @@ -0,0 +1,10 @@ + <ul id="footer"> + <li class="left">© <a href="<?php bloginfo('url') ?>" title="Home"><?php bloginfo('name') ?></a>. All Rights Reserved.</li> + <li class="right">WordPress Theme designed by <a href="http://www.chris-wallace.com" title="Chris Wallace">Chris Wallace</a></li> + <!-- I would appreciate if you would leave the link back to my site but is certainly not required. --> + </ul> + </div> + <?php wp_footer() ?> + +</body> +</html> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/functions.php b/wp-content/themes/rusty-grunge/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..a3dad0cb0eb50b6e03f95b3f51e69f11444d4e6a --- /dev/null +++ b/wp-content/themes/rusty-grunge/functions.php @@ -0,0 +1,28 @@ +<?php +if ( function_exists('register_sidebar') ) +register_sidebar(array( +'before_widget' => '<div>', +'after_widget' => '</div>', +'before_title' => '<h2>', +'after_title' => '</h2>', +)); + +add_filter('comments_template', 'legacy_comments'); +function legacy_comments($file) { + if ( !function_exists('wp_list_comments') ) + $file = TEMPLATEPATH . '/legacy.comments.php'; + return $file; +} + +function comment_add_microid($classes) { + $c_email=get_comment_author_email(); + $c_url=get_comment_author_url(); + if (!empty($c_email) && !empty($c_url)) { + $microid = 'microid-mailto+http:sha1:' . sha1(sha1('mailto:'.$c_email).sha1($c_url)); + $classes[] = $microid; + } + return $classes; +} +add_filter('comment_class','comment_add_microid'); + +?> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/header.php b/wp-content/themes/rusty-grunge/header.php new file mode 100644 index 0000000000000000000000000000000000000000..048db66505751efff1a0b69c0a7ec0ebca68a17a --- /dev/null +++ b/wp-content/themes/rusty-grunge/header.php @@ -0,0 +1,24 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> +<head> +<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> +<title><? bloginfo('name'); ?> <? wp_title(); ?></title> + +<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url') ?>/style.css" media="screen" /> +<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url') ?>/print.css" media="print" /> +<link rel="start" href="<?php bloginfo('url') ?>" title="Home" /> + +<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> +<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> +<link rel="icon" type="image/x-icon" href="<?php bloginfo('template_url') ?>/favicon.ico" /> +<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> +<?php wp_head(); ?> + +</head> +<body <?php if (is_home()) { ?>id="home"<?php } else { ?>id="interior" class="<?php echo $post->post_name; ?>"<?php } ?>> + + <div id="container"> + <div id="header"> + <h1><a href="<?php bloginfo('url') ?>"><? bloginfo('name'); ?> // <? bloginfo('description'); ?></a></h1> + </div> + <div id="header-page"><a href="<?php bloginfo('rss2_url'); ?>"><img alt="RSS Feed" src="http://s.wordpress.org/style/images/feedicon10.png" /></a></div> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/images/54_32x32.png b/wp-content/themes/rusty-grunge/images/54_32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..b056e76e57631a1356bedeba12832559a3c5be57 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/54_32x32.png differ diff --git a/wp-content/themes/rusty-grunge/images/_notes/dwsync.xml b/wp-content/themes/rusty-grunge/images/_notes/dwsync.xml new file mode 100644 index 0000000000000000000000000000000000000000..5422b708448f9bc9ba51780f19bf0af94a5b8982 --- /dev/null +++ b/wp-content/themes/rusty-grunge/images/_notes/dwsync.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8" ?> +<dwsync> +<file name="about-header.png" local="128705767077187500" remote="128705749800000000" testing="0" /> +<file name="bg-body.jpg" local="128705820050468752" remote="128705749800000000" testing="0" /> +<file name="bg-comment-alt.jpg" local="128705767077968750" remote="128705749800000000" testing="0" /> +<file name="bg-comment-author.jpg" local="128705767078125000" remote="128705749800000000" testing="0" /> +<file name="bg-comment.jpg" local="128705767078593750" remote="128705749800000000" testing="0" /> +<file name="bg-content.png" local="128705767078906250" remote="128705749800000000" testing="0" /> +<file name="bg-post-footer.png" local="128705767079218750" remote="128705749800000000" testing="0" /> +<file name="bg-pre.jpg" local="128705767079218750" remote="128705749800000000" testing="0" /> +<file name="bg-sidebar.png" local="128705767079687500" remote="128705749800000000" testing="0" /> +<file name="btn-hide-show.png" local="128705767080468750" remote="128705749800000000" testing="0" /> +<file name="header.png" local="128705766229687500" remote="128705749800000000" testing="0" /> +<file name="ico-calendar.png" local="128705767081562500" remote="128705749800000000" testing="0" /> +<file name="ico-speech.gif" local="128705767081562500" remote="128705749800000000" testing="0" /> +<file name="ico-tags.gif" local="128705767081562500" remote="128705749800000000" testing="0" /> +<file name="sidebar-h2.png" local="128705767082031250" remote="128705749800000000" testing="0" /> +<file name="white-page-header.png" local="128705822434843750" remote="128705768400000000" testing="0" /> +<file name="54_32x32.png" local="128705864142968750" remote="128705794200000000" testing="0" /> +</dwsync> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/images/about-header.png b/wp-content/themes/rusty-grunge/images/about-header.png new file mode 100644 index 0000000000000000000000000000000000000000..5c5c084d979d62ce54a27beca7206b796c947475 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/about-header.png differ diff --git a/wp-content/themes/rusty-grunge/images/bg-body.jpg b/wp-content/themes/rusty-grunge/images/bg-body.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ccb06523575b7ba845c53d417c0e4ca7ca20e73e Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/bg-body.jpg differ diff --git a/wp-content/themes/rusty-grunge/images/bg-comment-alt.jpg b/wp-content/themes/rusty-grunge/images/bg-comment-alt.jpg new file mode 100644 index 0000000000000000000000000000000000000000..212a509f459337aaa075aea13c81b86fd9f31261 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/bg-comment-alt.jpg differ diff --git a/wp-content/themes/rusty-grunge/images/bg-comment-author.jpg b/wp-content/themes/rusty-grunge/images/bg-comment-author.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2d6031a8af4e51b2508466a91bdb9de948e65191 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/bg-comment-author.jpg differ diff --git a/wp-content/themes/rusty-grunge/images/bg-comment.jpg b/wp-content/themes/rusty-grunge/images/bg-comment.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0274b2852b16f1372e0acda4d505568f449e75ee Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/bg-comment.jpg differ diff --git a/wp-content/themes/rusty-grunge/images/bg-content.png b/wp-content/themes/rusty-grunge/images/bg-content.png new file mode 100644 index 0000000000000000000000000000000000000000..2ccc989c58481aae0dd3925a61afb928e20ad75e Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/bg-content.png differ diff --git a/wp-content/themes/rusty-grunge/images/bg-post-footer.png b/wp-content/themes/rusty-grunge/images/bg-post-footer.png new file mode 100644 index 0000000000000000000000000000000000000000..791f03050e35c4d56666fd8b04dd56a6a9994034 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/bg-post-footer.png differ diff --git a/wp-content/themes/rusty-grunge/images/bg-pre.jpg b/wp-content/themes/rusty-grunge/images/bg-pre.jpg new file mode 100644 index 0000000000000000000000000000000000000000..08f15c20bed856a018109355a963431054c9ed7e Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/bg-pre.jpg differ diff --git a/wp-content/themes/rusty-grunge/images/bg-sidebar.png b/wp-content/themes/rusty-grunge/images/bg-sidebar.png new file mode 100644 index 0000000000000000000000000000000000000000..16014e3fae04c417e3b670cc9e31b708ac310dbd Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/bg-sidebar.png differ diff --git a/wp-content/themes/rusty-grunge/images/btn-hide-show.png b/wp-content/themes/rusty-grunge/images/btn-hide-show.png new file mode 100644 index 0000000000000000000000000000000000000000..18be35b763c4981d54c019a411bd81a2c720fc8c Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/btn-hide-show.png differ diff --git a/wp-content/themes/rusty-grunge/images/header.png b/wp-content/themes/rusty-grunge/images/header.png new file mode 100644 index 0000000000000000000000000000000000000000..b4f244e7b81af513c2633065c5e93885228a9876 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/header.png differ diff --git a/wp-content/themes/rusty-grunge/images/ico-calendar.png b/wp-content/themes/rusty-grunge/images/ico-calendar.png new file mode 100644 index 0000000000000000000000000000000000000000..de66a0c243699a59811525b10c23415d812fbc98 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/ico-calendar.png differ diff --git a/wp-content/themes/rusty-grunge/images/ico-speech.gif b/wp-content/themes/rusty-grunge/images/ico-speech.gif new file mode 100644 index 0000000000000000000000000000000000000000..7c7ab6314b50cab0cb491cbaca921c71e1176168 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/ico-speech.gif differ diff --git a/wp-content/themes/rusty-grunge/images/ico-tags.gif b/wp-content/themes/rusty-grunge/images/ico-tags.gif new file mode 100644 index 0000000000000000000000000000000000000000..a1eb6144ffa78a2949397e33505048654978b5ba Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/ico-tags.gif differ diff --git a/wp-content/themes/rusty-grunge/images/reply_arrow.png b/wp-content/themes/rusty-grunge/images/reply_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..a44e0e7e960c73586fdb55c2b8ea763b6fcdf642 Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/reply_arrow.png differ diff --git a/wp-content/themes/rusty-grunge/images/sidebar-h2.png b/wp-content/themes/rusty-grunge/images/sidebar-h2.png new file mode 100644 index 0000000000000000000000000000000000000000..ff34c725175d6448037edc41bf021b79c073e9db Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/sidebar-h2.png differ diff --git a/wp-content/themes/rusty-grunge/images/white-page-header.png b/wp-content/themes/rusty-grunge/images/white-page-header.png new file mode 100644 index 0000000000000000000000000000000000000000..e28cddc0da7a2224cae92a19bcd2a49ac1f029de Binary files /dev/null and b/wp-content/themes/rusty-grunge/images/white-page-header.png differ diff --git a/wp-content/themes/rusty-grunge/index.php b/wp-content/themes/rusty-grunge/index.php new file mode 100644 index 0000000000000000000000000000000000000000..599fec17e011fcad04e4ce167943891ca32203b8 --- /dev/null +++ b/wp-content/themes/rusty-grunge/index.php @@ -0,0 +1,39 @@ +<?php get_header() ?> + <div id="main" class="clearfix"> + <div id="content"> + <div class="inner"> + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + <div class="calendar"><small><?php the_time('M'); ?></small> <strong><?php the_time('j'); ?></strong></div> + <h1 class="post"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1> + <div class="posted">Posted on <span><?php the_time('l, F j, Y'); ?></span> in <span><?php the_category(', ') ?></span></div> + <br class="clearboth" /> + <?php the_content(); ?> + <div class="postfooter"><span class="comments"><?php comments_popup_link('Comments (0)', 'Comment (1)', 'Comments (%)'); ?></span> | <?php edit_post_link('Edit'); ?> + <?php if (function_exists('the_tags')) { ?> + <?php the_tags('<span class="tags">Tags: ', ', ', '</span>'); ?> + <?php } ?> + </div> + </div> + + <?php endwhile; ?> + + <?php else : ?> + <h1>Not Found</h1> + <p>Sorry, but you are looking for something that isn't here.</p> + <?php get_search_form(); ?> + <div class="postmeta"></div> + <?php endif; ?> + <div class="clearboth"></div> + <div class="navigation"> + <div class="alignleft"><?php next_posts_link('« Previous Posts') ?></div> + <div class="alignright"><?php previous_posts_link('Next Posts »') ?></div> + </div> + </div> + </div> + + <?php get_sidebar() ?> + <div class="clearboth"></div> + </div> + +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/js/_notes/dwsync.xml b/wp-content/themes/rusty-grunge/js/_notes/dwsync.xml new file mode 100644 index 0000000000000000000000000000000000000000..8fb1e67b535cbc39a4895e508c07e0381b819f17 --- /dev/null +++ b/wp-content/themes/rusty-grunge/js/_notes/dwsync.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8" ?> +<dwsync> +<file name="basic.js" local="128705718600000000" remote="128705718600000000" testing="0" /> +</dwsync> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/js/basic.js b/wp-content/themes/rusty-grunge/js/basic.js new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/wp-content/themes/rusty-grunge/legacy.comments.php b/wp-content/themes/rusty-grunge/legacy.comments.php new file mode 100644 index 0000000000000000000000000000000000000000..10bd881fa933943bbb2b3963fe25a74b84dade17 --- /dev/null +++ b/wp-content/themes/rusty-grunge/legacy.comments.php @@ -0,0 +1,105 @@ +<?php + 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; + } + } + + $oddcomment = 'alt'; +?> + +<!-- You can start editing here. --> +<div id="comments"> +<?php if ($comments) : ?> + + <ol> + + <?php foreach ($comments as $comment) : ?> + + <li class="<?php if ($comment->comment_author_email == "someone@website.com") echo 'author'; else echo $oddcomment; ?> item" id="comment-<?php comment_ID() ?>"> + <div class="commentmetadata"> + <?php echo get_avatar( $comment, 48 ); ?> + <strong><?php comment_author_link() ?></strong><br /> + <small><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('l, F j') ?> <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small> + <?php if ($comment->comment_approved == '0') : ?> + <em>Your comment is awaiting moderation.</em> + <?php endif; ?> + </div> + <div class="comment-body"><?php comment_text() ?></div> + </li> + + <?php + if ('alt' == $oddcomment) $oddcomment = ''; + else $oddcomment = 'alt'; + ?> + + <?php endforeach; /* end for each comment */ ?> + + </ol> + + <?php else : ?> + + <?php if ('open' == $post->comment_status) : ?> + <!-- If comments are open, but there are no comments. --> + + <?php else : ?> + <!-- If comments are closed. --> + <!--<p class="nocomments">Comments are closed.</p>--> + + <?php endif; ?> +<?php endif; ?> + + +<?php if ('open' == $post->comment_status) : ?> + +<h3>Leave a Comment</h3> + +<?php if ( get_option('comment_registration') && !$user_ID ) : ?> +<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p> +<?php else : ?> + +<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> + +<?php if ( $user_ID ) : ?> + +<fieldset id="comment-author"> + <small>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout »</a></small> +</fieldset> + +<?php else : ?> + +<fieldset id="comment-author"> + <label for="author">Name <?php if ($req) echo "(required)"; ?></label> + <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> + + <label for="email">Mail (will not be published) <?php if ($req) echo "(required)"; ?></label> + <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> + + <label for="url">Website</label> + <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> +</fieldset> +<?php endif; ?> + +<fieldset id="comment-text"> +<p><textarea name="comment" id="comment" cols="45" rows="10" tabindex="4"></textarea></p> + +<p><input name="submit_comment" type="submit" id="submit_comment" tabindex="5" value="Submit Comment" /> +<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> +</p> +<?php do_action('comment_form', $post->ID); ?> + +<!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>--> +</fieldset> +</form> +<?php endif; ?> + +<?php endif; ?> +</div> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/page.php b/wp-content/themes/rusty-grunge/page.php new file mode 100644 index 0000000000000000000000000000000000000000..d1b7174e07942a8410832cb70719bf80315bee01 --- /dev/null +++ b/wp-content/themes/rusty-grunge/page.php @@ -0,0 +1,23 @@ +<?php get_header() ?> + <div id="main" class="clearfix"> + <div id="content"> + <div class="inner"> + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + <h1 class="post"><?php the_title(); ?></h1> + <?php the_content(); ?> + </div> + <?php endwhile; ?> + + <?php else : ?> + <h1>Not Found</h1> + <p>Sorry, but you are looking for something that isn't here.</p> + <?php get_search_form(); ?> + <div class="postmeta"></div> + <?php endif; ?> + </div> + </div> + <?php get_sidebar() ?> + <div class="clearboth"></div> + </div> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/print.css b/wp-content/themes/rusty-grunge/print.css new file mode 100644 index 0000000000000000000000000000000000000000..624053e34a5ad7e4369dd71b996bdbac762e245d --- /dev/null +++ b/wp-content/themes/rusty-grunge/print.css @@ -0,0 +1,31 @@ +body, #main, #content, #container { + width: 100%; + margin: 0; + float: none; + background: #fff url(none); +} +#header, #sidebar, .ad, .noprint { + display: none; +} +body { + font: 1em Georgia, "Times New Roman", Times, serif; + color: #000; +} +h1,h2,h3,h4,h5,h6 { + font-family: Helvetica, Arial, sans-serif; + color: #000; +} +h1 { font-size: 250%; } +h2 { font-size: 175%; } +h3 { font-size: 135%; } +h4 { font-size: 100%; font-variant: small-caps; } +h5 { font-size: 100%; } +h6 { font-size: 90%; font-style: italic; } + +a:link, a:visited { + color: #00c; + font-weight: bold; + text-decoration: underline; } +#content a:link:after, #content a:visited:after { + content: " (" attr(href) ") "; +} \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/screenshot.png b/wp-content/themes/rusty-grunge/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..abdc7df06ca63b6efee4c3c4e5a08432cb3e8a7e Binary files /dev/null and b/wp-content/themes/rusty-grunge/screenshot.png differ diff --git a/wp-content/themes/rusty-grunge/searchform.php b/wp-content/themes/rusty-grunge/searchform.php new file mode 100644 index 0000000000000000000000000000000000000000..a5a4518b6e392e8e1accc3dced6672e248d4ffe9 --- /dev/null +++ b/wp-content/themes/rusty-grunge/searchform.php @@ -0,0 +1,6 @@ + <form method="get" action="<?php bloginfo('url'); ?>/"> + <fieldset> + <input type="text" name="s" id="s" value="<?php the_search_query(); ?>"/> + <input type="submit" value="Search" name="submit" id="submit"/> + </fieldset> + </form> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/sidebar.php b/wp-content/themes/rusty-grunge/sidebar.php new file mode 100644 index 0000000000000000000000000000000000000000..590281257607e41553ce77d1cc659ecdb9a4c906 --- /dev/null +++ b/wp-content/themes/rusty-grunge/sidebar.php @@ -0,0 +1,11 @@ + <div id="sidebar"> + <?php if ( !function_exists('dynamic_sidebar') + || !dynamic_sidebar() ) : ?> + <div> + <h2>Categories</h2> + <ul> + <?php wp_list_categories('title_li='); ?> + </ul> + </div> + <?php endif; ?> + </div> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/single.php b/wp-content/themes/rusty-grunge/single.php new file mode 100644 index 0000000000000000000000000000000000000000..10a618995a5d8f9e1abc840e21ada84d74abc467 --- /dev/null +++ b/wp-content/themes/rusty-grunge/single.php @@ -0,0 +1,37 @@ +<?php get_header() ?> + <div id="main" class="clearfix"> + <div id="content"> + <div class="inner"> + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + <h1 class="post"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1> + <div class="posted">Posted on <span><?php the_time('l, F j, Y'); ?></span> in <span><?php the_category(', ') ?></span></div> + <?php the_content(); ?> + <div class="postfooter"><?php edit_post_link('Edit'); if(edit_post_link) echo " | "; ?> + <?php if (function_exists('the_tags')) { ?> + <?php the_tags('<span class="tags">Tags: ', ', ', '</span>'); ?> + <?php } ?> + </div> + <div class="navigation"> + <div class="alignleft"><?php previous_post_link('« %link') ?></div> + <div class="alignright"><?php next_post_link('%link »') ?></div> + </div> + + <?php comments_template(); ?> + + </div> + <?php endwhile; ?> + + <?php else : ?> + <h1>Not Found</h1> + <p>Sorry, but you are looking for something that isn't here.</p> + <?php get_search_form(); ?> + <div class="postmeta"></div> + <?php endif; ?> + </div> + </div> + <?php get_sidebar() ?> + <div class="clearboth"></div> + </div> + +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/rusty-grunge/style.css b/wp-content/themes/rusty-grunge/style.css new file mode 100644 index 0000000000000000000000000000000000000000..69380d2c3a799a291ba9dafea834eb178fa3e65b --- /dev/null +++ b/wp-content/themes/rusty-grunge/style.css @@ -0,0 +1,107 @@ +/* +Theme Name: Rusty Grunge +Theme URI: http://www.chris-wallace.com/2008/11/07/rusty-grunge-wordpress-theme/ +Description: A dirty, grungy theme with a fully dynamic sidebar by <a href="http://www.chris-wallace.com">Chris Wallace</a>. +Author: Christopher Wallace +Author URI: http://www.chris-wallace.com +Version: 1.2 +Tags: two-columns, fixed-width + + Rusty Grunge by Chris Wallace + http://www.chris-wallace.com/2008/11/07/rusty-grunge-wordpress-theme/ + + The CSS, XHTML, design and PHP are released under GPL: + http://www.opensource.org/licenses/gpl-license.php + +*/ + +/* general styles */ +body{margin: 0; padding: 0 0 100px 0; font: 12px Arial, Helvetica, sans-serif; background: #322F28 url(images/bg-body.jpg); text-align: center} +a, a:visited{color: #4f998d; text-decoration: none} +a:hover, a:active{text-decoration: underline} +a img{border:0} +h1{font:25px normal Georgia, "Times New Roman", Times, serif} +h2{font:1.4em Georgia, "Times New Roman", Times, serif} +h3{font-size:1em;margin-bottom: 0;} +caption{border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; background-color: #f2f2f2} +code{background: #D2ECE8} +pre code{color: black; background: none;} +pre{ height: auto; padding: 40px 12px 12px 12px; background: #FAF8EB url(images/bg-pre.jpg) no-repeat top left; overflow-x:scroll;} +fieldset{margin: 0; padding: 0; border: 0} +label{display:block; margin: 10px 0 5px 0;} + +/* WordPress-specific styles */ +.navigation{margin: 20px 0; height: 27px;} +.alignleft{float:left} +.alignright{float:right} +.aligncenter{text-align: center; float:none} +.tags a{background:url(images/ico-tags.gif) no-repeat top left; padding-left: 18px;} + +/* header styles */ +#header{ width:879px; height:88px; margin: 0 0 30px 0; padding: 10px 0 0 0; background:url(images/header.png) no-repeat top left; text-align:center; } +#header h1{ margin: 0 40px 0 40px; padding: 8px 0; background-color:#aa1f10; opacity: 0.8; filter:alpha(opacity=80)} +#header h1 a{color: white} +#header a{ display: block;} +#header-page{background: url(images/white-page-header.png) no-repeat top right; margin: 0; width: 693px; height:59;text-align:right} +#header-page img{margin: 20px 30px 0 0} + +/* main styles */ +#container {margin:0 auto;text-align:left;width:876px} +#main{background: url(images/bg-content.png) repeat-y top left; position: relative; margin: 0; padding: 20px 0 0 0; width: 876px} + +/* content styles */ +#content{ display: inline; float: left; width: 640px; margin-left: 30px; } +#content div.inner{ padding: 4px 40px 20px 40px } +#content .postfooter{background:url(images/bg-post-footer.png) no-repeat top left; width: 561px; height: 30px; line-height: 30px; margin-bottom: 35px; text-indent: 10px} +#content .calendar{background:url(images/ico-calendar.png) no-repeat top left; width: 39px; height: 41px; float: left; margin: 0 20px 0 0; text-align: center} +#content .calendar small{font: 10px Arial, Helvetica, sans-serif; color: #fff; line-height: 1.5em; text-transform:uppercase;display: block} +#content .calendar strong{font: bold 22px Arial, Helvetica, sans-serif; color: #2e7368; line-height: 0.9em;display: block} +#content h1{margin-top:0} +#content h1.post{margin-bottom: 0;} +#content .posted{margin-bottom: 10px;} + +/* sidebar styles */ +#sidebar{ float: right; width: 198px; background: url(images/bg-sidebar.png) repeat-y top right; color: white;} +#sidebar div{margin: 10px 10px 20px 10px} +#sidebar h2{ margin: 0 0 10px 0; padding: 0; color: white; line-height: 1.8em; text-indent: 10px; background: url(images/sidebar-h2.png) no-repeat top left; width: 171px; height: 32px;} +#sidebar ul, #sidebar ul li{ margin: 0 0 0 5px; padding: 0; list-style:none;} +#sidebar ul{ margin: 0 0 20px 5px; } +#sidebar a{ color: #bcf3ea;} + +/* comment styles */ +#comments ol, #comments ol li{margin: 0; padding: 0; list-style-type: lower-roman; color: #C8E6E4; font-family: 'Comic Sans MS',Textile,cursive} +#comments ol *{color: black; font-family: Arial, Verdana, Tahoma, sans-serif} +#comments ol li{padding: 20px 30px; margin: 0; background:#fff url(images/bg-comment.jpg)} +#comments ol li div.comment-author{font:18px Georgia, "Times New Roman", Times, serif; overflow: visible; vertical-align: middle} +#comments ol li.alt{background:#fff url(images/bg-comment-alt.jpg)} +#comments ol li.author{background:#fff url(images/bg-comment-author.jpg)} +#comments ol li.author a{color: black} +#comments ol li input, +#comments ol li select, +#comments ol li textarea{width: 100%} +#comments ol li .comment-meta{color: #ccc; font-style: italic; font-size: .8em; margin-bottom: 20px} +#comments ol li .comment-meta a{color: #ccc; text-decoration none; border-bottom: 1px dotted #ccc;} +#comments ol li .comment-meta a:hover{color: black; text-decoration none; border-bottom: none;} +#comments div.comment-body{clear:both; margin: 0 0 0 64px} +.comments a{background:url(images/ico-speech.gif) no-repeat top left; padding-left: 18px;} +#comments div.reply a{background: url("images/reply_arrow.png") no-repeat top left; padding-left: 15px; color: #C12110; font-size: .8em} +#comments ol li ul.children, +#comments ol li ul.children li{list-style: none; margin-top: 10px; margin-left: 0} + +/* footer styles */ +#footer{margin: 0; padding: 0 0 0 20px; list-style: none; color: white} +#footer li{margin: 0; padding: 10px 0; font:11px Arial, Helvetica, sans-serif;} +#footer li.left,#footer li.right{width:50%;} +#footer li.left{float:left} +#footer li.right{float:right} +#footer a{color:white; border-bottom: 1px dotted #FDE37B} +#footer a:hover{color:#FFFF66; border-bottom: 1px solid white; text-decoration: none} + +/* clear styles */ +.clearleft{clear: left} +.clearright{clear: right} +.clearboth{clear: both} +.clearfix:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0} +.clearfix {display: inline-block} +html[xmlns] .clearfix {display: block} +* html .clearfix {height: 1%} \ No newline at end of file