diff --git a/wp-content/themes/GreenTrack/category.php b/wp-content/themes/GreenTrack/category.php new file mode 100644 index 0000000000000000000000000000000000000000..bad929fed3f93f331d053e8793ca61f4b02bf1e3 --- /dev/null +++ b/wp-content/themes/GreenTrack/category.php @@ -0,0 +1,29 @@ +<?php get_header(); ?> + <div id="content"> + <div class="post"> + <p class="post-title"><em>Category Archive</em><?php echo single_cat_title(); ?></p> + <br/><br/> + </div> + <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> + <div class="post"> + <p class="post-title"><em><?php the_category(' &');?> <?php edit_post_link('[edit this]'); ?></em><?php the_time('d M Y h:i a'); ?></p> + <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> + <div class="post-content"> + <?php the_content("<br/> Continue Reading »"); ?> + <p class="post-info-co"> + <?php wp_link_pages(); ?> + </p> + <!-- + <?php trackback_rdf(); ?> + --> + </div> + <p class="post-footer"><?php comments_popup_link(__('No Comments Yet'), __('Comments (1)'), __('Comments (%)')); ?></p> + <?php comments_template(); // Get wp-comments.php template ?> + </div> + <?php endforeach; else: ?> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + <?php endif; ?> + <p align="center"><?php posts_nav_link() ?></p> + </div> + <?php get_sidebar() ;?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/comments.php b/wp-content/themes/GreenTrack/comments.php new file mode 100644 index 0000000000000000000000000000000000000000..6cdf73d9a0e93433ca8be4e85497c549977f6544 --- /dev/null +++ b/wp-content/themes/GreenTrack/comments.php @@ -0,0 +1,110 @@ +<?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"><?php _e("This post is password protected. Enter the password to view comments."); ?><p> + + <?php + return; + } + } + + /* This variable is for alternating comment background */ + $oddcomment = 'alt'; +?> + +<!-- You can start editing here. --> + +<?php if ($comments) : ?> + <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3> + + <ol class="commentlist"> + <?php $commentcounter = 0; ?> + <?php foreach ($comments as $comment) : ?> + <?php $commentcounter++; ?> + <li class="<?php echo $oddcomment; ?>"> + <p class="cmtinfo" id="comment-<?php comment_ID() ?>"><em>on <?php comment_date('d M Y') ?> at <?php comment_time() ?> <a href="#comment-<?php comment_ID() ?>" title=""></a> <?php edit_comment_link('edit','',''); ?></em><cite><span class="commentnum"><?php echo $commentcounter; ?>.</span><?php comment_author_link() ?></cite> said …</p> + + <?php if ($comment->comment_approved == '0') : ?> + <em>Your comment is awaiting moderation.</em> + <br /> + <?php endif; ?> + <p><?php comment_text() ?></p> + </li> + + <?php /* Changes every other comment to a different class */ + if ('alt' == $oddcomment) $oddcomment = ''; + else $oddcomment = 'alt'; + ?> + + <?php endforeach; /* end for each comment */ ?> + + </ol> + + <?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. --> + + <?php else : // comments are closed ?> + <!-- If comments are closed. --> + <p class="nocomments">Comments are closed.</p> + + <?php endif; ?> +<?php endif; ?> +<div class="post-content"> +<p> +<?php if ($post->ping_status == "open") { ?> + <a href="<?php trackback_url(display); ?>">Trackback This Post</a> | +<?php } ?> +<?php if ($post-> comment_status == "open") {?> + <?php comments_rss_link('Subscribe to the comments through RSS Feed'); ?> +<?php }; ?> +</p> +</div> + +<?php if ('open' == $post-> comment_status) : ?> + +<h3 id="respond">Leave a Reply</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 ) : ?> + +<p>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="<?php _e('Log out of this account') ?>">Logout »</a></p> + +<?php else : ?> + +<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> +<label for="author"><small>Name <?php if ($req) _e('(required)'); ?></small></label></p> + +<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> +<label for="email"><small>Mail (will not be published) <?php if ($req) _e('(required)'); ?></small></label></p> + +<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> +<label for="url"><small>Website</small></label></p> + +<?php endif; ?> + +<!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>--> + +<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> + +<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> +<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 ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/contact.php b/wp-content/themes/GreenTrack/contact.php new file mode 100644 index 0000000000000000000000000000000000000000..06acbeba07b55e08c1497338221bc83b97bf8659 --- /dev/null +++ b/wp-content/themes/GreenTrack/contact.php @@ -0,0 +1,98 @@ +<?php +/* +Template Name: Contact +*/ +?> +<?php get_header(); ?> +<div id="main"> + <div id="content"> + <?php if (have_posts()) : ?> + <?php while (have_posts()) : the_post(); ?> + <div class="post"> + <?php + //validate email adress + function is_valid_email($email) + { + return (eregi ("^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$", $email)); + } + //clean up text + function clean($text) + { + return stripslashes($text); + } + //encode special chars (in name and subject) + function encodeMailHeader ($string, $charset = 'UTF-8') + { + return sprintf ('=?%s?B?%s?=', strtoupper ($charset),base64_encode ($string)); + } + + $ssc_name = (!empty($_POST['ssc_name'])) ? $_POST['ssc_name'] : ""; + $ssc_email = (!empty($_POST['ssc_email'])) ? $_POST['ssc_email'] : ""; + $ssc_url = (!empty($_POST['ssc_url'])) ? $_POST['ssc_url'] : ""; + $ssc_message = (!empty($_POST['ssc_message'])) ? $_POST['ssc_message'] : ""; + $ssc_message = clean($ssc_message); + $error_msg = ""; + $send = 0; + if (!empty($_POST['submit'])) { + $send = 1; + if (empty($ssc_name) || empty($ssc_email) || empty($ssc_message)) { + $error_msg.= "<p><strong>Please fill in all required fields.</strong></p>\n"; + $send = 0; + } + if (!is_valid_email($ssc_email)) { + $error_msg.= "<p><strong>Your email adress failed to validate.</strong></p>\n"; + $send = 0; + } + } + if (!$send) { ?> + <h2 class="post-info"> + <?php the_title(); ?> + </h2> + <p class="post-footer"> + Created by <?php the_author(); ?> on <?php the_time('d M y'); ?> <?php edit_post_link(); ?> + </p> + <div class="post-content"> + <?php + the_content(); + echo $error_msg; + ?> + <form method="post" action="<?php echo "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>" id="contactform"> + <fieldset> + <strong>Name</strong><br/> + <input type="text" id="ssc_name" name="ssc_name" value="<?php echo $ssc_name ;?>" /><br/> + <strong>Email</strong><br/> + <input type="text" id="ssc_email" name="ssc_email" value="<?php echo $ssc_email ;?>" /><br/> + <strong>Website</strong><br/> + <input type="text" id="ssc_url" name="ssc_url" value="<?php echo $ssc_url ;?>" /><br/> + <strong>Message</strong><br/> + <textarea id="ssc_message" name="ssc_message" value="<?php echo $ssc_message ;?>"></textarea><br/> + <input type="submit" id="submit" name="submit" value="Send Message" /> + </fieldset> + </form> + </div> + <?php + } else { + $displayName_array = explode(" ",$ssc_name); + $displayName = htmlentities(utf8_decode($displayName_array[0])); + + $header = "MIME-Version: 1.0\n"; + $header .= "Content-Type: text/plain; charset=\"utf-8\"\n"; + $header .= "From:" . encodeMailHeader($ssc_name) . "<" . $ssc_email . ">\n"; + $email_subject = "[" . get_settings('blogname') . "] " . encodeMailHeader($ssc_name); + $email_text = "From......: " . $ssc_name . "\n" . + "Email.....: " . $ssc_email . "\n" . + "Url.......: " . $ssc_url . "\n\n" . + $ssc_message; + + if (@mail(get_settings('admin_email'), $email_subject, $email_text, $header)) { + echo "<h2>Hey " . $displayName . ",</h2><p>thanks for your message! I'll get back to you as soon as possible.</p>"; + } + } + ?> + <?php endwhile; ?> + </div> + <?php endif; ?> + </div> +</div> +<?php get_sidebar(); ?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/date.php b/wp-content/themes/GreenTrack/date.php new file mode 100644 index 0000000000000000000000000000000000000000..b90d9322a6ddeac6b4bc724f986a2adb07db490c --- /dev/null +++ b/wp-content/themes/GreenTrack/date.php @@ -0,0 +1,38 @@ +<?php get_header(); ?> + <div id="content"> + <div class="post"> + <?php if ($posts) { ?> + <?php $post = $posts[0]; /* Hack. Set $post so that the_date() works. */ ?> + <?php if (is_day()) { ?> + <p class="post-title"><em>Daily Archive</em><?php the_time('l, F jS, Y'); ?></p> + <?php } elseif (is_month()) { ?> + <p class="post-title"><em>Monthly Archive</em><?php the_time('F Y'); ?></p> + <?php } elseif (is_year()) { ?> + <p class="post-title"><em>Yearly Archive</em><?php the_time('Y'); ?></p> + <?php } ?> + <?php } ?> + <br/><br/> + </div> + <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> + <div class="post"> + <p class="post-title"><em><?php the_category(' &');?> <?php edit_post_link('[edit this]'); ?></em><?php the_time('d M Y h:i a'); ?></p> + <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> + <div class="post-content"> + <?php the_content("<br/> Continue Reading »"); ?> + <p class="post-info-co"> + <?php wp_link_pages(); ?> + </p> + <!-- + <?php trackback_rdf(); ?> + --> + </div> + <p class="post-footer"><?php comments_popup_link(__('No Comments Yet'), __('Comments (1)'), __('Comments (%)')); ?></p> + <?php comments_template(); // Get wp-comments.php template ?> + </div> + <?php endforeach; else: ?> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + <?php endif; ?> + <p align="center"><?php posts_nav_link() ?></p> + </div> + <?php get_sidebar() ;?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/footer.php b/wp-content/themes/GreenTrack/footer.php new file mode 100644 index 0000000000000000000000000000000000000000..f0ea61ea9f223210e1f0cc3e35efd058315ae68b --- /dev/null +++ b/wp-content/themes/GreenTrack/footer.php @@ -0,0 +1,5 @@ +<hr /> +<?php //please keep the link back to the author ?> +<p id="footer"> +<a title="WPThemes.Info" href="http://wpthemes.info/green-track/">GreenTrack</a> Theme made free by <a href="http://www.webhostingbluebook.com/">Web Hosting Bluebook</a></p> + diff --git a/wp-content/themes/GreenTrack/functions.php b/wp-content/themes/GreenTrack/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..0fe962ad14bb3e3b6e3d440f7f16efdc441ec849 --- /dev/null +++ b/wp-content/themes/GreenTrack/functions.php @@ -0,0 +1,68 @@ +<?php +/* +Gets the number of posts and comments so we can display it in the sidebar +*/ +$numposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish'"); +if (0 < $numposts) $numposts = number_format($numposts); + +$numcmnts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'"); +if (0 < $numcmnts) $numcmnts = number_format($numcmnts); + +/* +Description: Returns a list of the most recent posts. +Created by Sadish for his GreenTrack Theme +*/ + +function gt_get_recent_posts($no_posts = 5, $before = '<li>', $after = '</li>', $show_pass_post = false) { + global $wpdb, $tableposts; + $time_difference = get_settings('gmt_offset'); + $now = gmdate("Y-m-d H:i:s",(time()+($time_difference*3600))); + $request = "SELECT ID, post_title, post_excerpt FROM $tableposts WHERE post_status = 'publish' "; + if(!$show_pass_post) $request .= "AND post_password ='' "; + $request .= "AND post_date < '$now' ORDER BY post_date DESC LIMIT 0, $no_posts"; + $posts = $wpdb->get_results($request); + $output = ''; + foreach ($posts as $post) { + $post_title = stripslashes($post->post_title); + $permalink = get_permalink($post->ID); + $output .= $before . '<a href="' . $permalink . '" rel="bookmark" title="Permanent Link: ' . $post_title . '">' . $post_title . '</a>'; + $output .= $after; + } + echo $output; +} +/* +Description: Returns a list of the most recent comments. +Created by Sadish for his GreenTrack Theme +*/ +function gt_get_recent_comments($no_comments = 5, $comment_num_of_words = 4, $before = '<li>', $after = '</li>') +{ + global $wpdb, $tablecomments, $tableposts; + + $request = "SELECT ID, comment_ID, comment_content, comment_author FROM $tableposts, $tablecomments WHERE $tableposts.ID=$tablecomments.comment_post_ID AND post_status = 'publish' "; + $request .= "AND comment_approved = '1' ORDER BY $tablecomments.comment_date DESC LIMIT $no_comments"; + $comments = $wpdb->get_results($request); + + $output = ''; + if($comments) { + foreach ($comments as $comment) + { + $comment_author = stripslashes($comment->comment_author); + $comment_content = strip_tags($comment->comment_content); + $comment_content = stripslashes($comment_content); + $words=split(" ",$comment_content); + $comment_excerpt = join(" ",array_slice($words,0,$comment_num_of_words)); + $permalink = get_permalink($comment->ID)."#comment-".$comment->comment_ID; + $output .= $before . '<strong>' . $comment_author . '</strong>: <a href="' . $permalink; + $output .= '" title="'.__('Comment by','c4m').' ' . $comment_author.'">' . $comment_excerpt . '...</a>' . $after; + } + } + echo $output; + echo '<br/>'."\n"; +} + + + + + + +?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/header.php b/wp-content/themes/GreenTrack/header.php new file mode 100644 index 0000000000000000000000000000000000000000..f0726e0d4614a12ffb6694347173d49f7d8fd123 --- /dev/null +++ b/wp-content/themes/GreenTrack/header.php @@ -0,0 +1,35 @@ +<!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/1"> + <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> + + <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" /> + <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> + <style type="text/css" media="screen"> + @import url( <?php bloginfo('stylesheet_url'); ?> ); + </style> + <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> + <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> + <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> + + <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> + <?php wp_get_archives('type=monthly&format=link'); ?> + <?php //comments_popup_script(); // off by default ?> + <?php + // Load functions for active theme. + if ( file_exists(TEMPLATEPATH . "/functions.php") ) + include_once(TEMPLATEPATH . "/functions.php"); + ?> + <?php wp_head(); ?> +</head> + +<body> +<div id="rap"> +<ul id="gnav"> + <li <?php if(is_home()){echo 'class="current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>" title="Home">Home</a></li> + <?php wp_list_pages('title_li=&depth=1&'.$page_sort)?> +</ul> +<div id="header"> + <h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> +</div> diff --git a/wp-content/themes/GreenTrack/img/blockquote.png b/wp-content/themes/GreenTrack/img/blockquote.png new file mode 100644 index 0000000000000000000000000000000000000000..3fd144f59ba726c57ca8e452752d136100a0b79a Binary files /dev/null and b/wp-content/themes/GreenTrack/img/blockquote.png differ diff --git a/wp-content/themes/GreenTrack/img/bullet.png b/wp-content/themes/GreenTrack/img/bullet.png new file mode 100644 index 0000000000000000000000000000000000000000..732a54d5a6fb7423570214974b301f983f0a8959 Binary files /dev/null and b/wp-content/themes/GreenTrack/img/bullet.png differ diff --git a/wp-content/themes/GreenTrack/img/ico-talk-act.gif b/wp-content/themes/GreenTrack/img/ico-talk-act.gif new file mode 100644 index 0000000000000000000000000000000000000000..2fbf3ab319fe5a824dd301934ec5160cf1ab6d89 Binary files /dev/null and b/wp-content/themes/GreenTrack/img/ico-talk-act.gif differ diff --git a/wp-content/themes/GreenTrack/img/ico-talk.gif b/wp-content/themes/GreenTrack/img/ico-talk.gif new file mode 100644 index 0000000000000000000000000000000000000000..ad61db99deece05d31bfd40a524c6fa65d7bbafb Binary files /dev/null and b/wp-content/themes/GreenTrack/img/ico-talk.gif differ diff --git a/wp-content/themes/GreenTrack/img/rail.jpg b/wp-content/themes/GreenTrack/img/rail.jpg new file mode 100644 index 0000000000000000000000000000000000000000..fefbe32ba866800a1cb96d4bdd3fe5d10d2b5746 Binary files /dev/null and b/wp-content/themes/GreenTrack/img/rail.jpg differ diff --git a/wp-content/themes/GreenTrack/index.php b/wp-content/themes/GreenTrack/index.php new file mode 100644 index 0000000000000000000000000000000000000000..d4b85a27ee2358c3f5dc1315588fb26971a295af --- /dev/null +++ b/wp-content/themes/GreenTrack/index.php @@ -0,0 +1,25 @@ +<?php get_header(); ?> + <div id="content"> + <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> + <div class="post"> + <p class="post-title"><em><?php the_category(' &');?> <?php edit_post_link('[edit this]'); ?></em><?php the_time('d M Y h:i a'); ?></p> + <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> + <div class="post-content"> + <?php the_content("<br/> Continue Reading »"); ?> + <p class="post-info-co"> + <?php wp_link_pages(); ?> + </p> + <!-- + <?php trackback_rdf(); ?> + --> + </div> + <p class="post-footer"><?php comments_popup_link(__('No Comments Yet'), __('Comments (1)'), __('Comments (%)')); ?></p> + <?php comments_template(); // Get wp-comments.php template ?> + </div> + <?php endforeach; else: ?> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + <?php endif; ?> + <p align="center"><?php posts_nav_link() ?></p> + </div> + <?php get_sidebar() ;?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/page-archives.php b/wp-content/themes/GreenTrack/page-archives.php new file mode 100644 index 0000000000000000000000000000000000000000..fabbb258d130197d8e3f055117e5da0480708e84 --- /dev/null +++ b/wp-content/themes/GreenTrack/page-archives.php @@ -0,0 +1,30 @@ +<?php +/* +Template Name: Archives +*/ +?> +<?php get_header(); ?> +<div id="main"> + + <div id="content"> + <h2>Archives</h2> + <h2>Latest 15 Posts</h2> + <ul><?php gt_get_recent_posts(15);?></ul> + <h2>Search</h2> + + <form id="searchform" method="get" action="<?php bloginfo('siteurl') ?>/index.php"> + <input type="text" name="s" id="s" value="<?php echo wp_specialchars($s, 1); ?>" size="15" /> + <input id="btnSearch" type="submit" name="submit" value="<?php _e('Search'); ?>" /> + </form> + <h2>Monthly</h2> + <ul> + <?php wp_get_archives('type=monthly&show_post_count=1'); ?> + </ul> + <h2>Categories</h2> + <ul> + <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> + </ul> + </div> +</div> +<?php get_sidebar(); ?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/page.php b/wp-content/themes/GreenTrack/page.php new file mode 100644 index 0000000000000000000000000000000000000000..0c2e504893958ee639bc468dc65b3d7650b95a80 --- /dev/null +++ b/wp-content/themes/GreenTrack/page.php @@ -0,0 +1,25 @@ +<?php get_header(); ?> + <div id="content"> + <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> + <div class="post"> + <p class="post-title"><em> <?php edit_post_link('[edit this]'); ?></em><?php the_time('d M Y h:i a'); ?></p> + <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> + <div class="post-content"> + <?php the_content("<br/> Continue Reading »"); ?> + <p class="post-info-co"> + <?php wp_link_pages(); ?> + </p> + <!-- + <?php trackback_rdf(); ?> + --> + </div> + <p class="post-footer"><?php comments_popup_link(__('No Comments Yet'), __('Comments (1)'), __('Comments (%)')); ?></p> + <?php comments_template(); // Get wp-comments.php template ?> + </div> + <?php endforeach; else: ?> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + <?php endif; ?> + <p align="center"><?php posts_nav_link() ?></p> + </div> + <?php get_sidebar() ;?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/post.php b/wp-content/themes/GreenTrack/post.php new file mode 100644 index 0000000000000000000000000000000000000000..ca330a6fda4bade60e270be7b8f5a3b2ec16d1e4 --- /dev/null +++ b/wp-content/themes/GreenTrack/post.php @@ -0,0 +1,12 @@ +<div class="post-title"><em><?php the_category('&');?></em><?php the_time('d M Y h:i a'); ?></div> +<p class="post-info"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a><?php edit_post_link('e'); ?></p> +<div class="post-content"> + <?php the_content(); ?> + <p class="post-info-co"> + <?php wp_link_pages(); ?> + </p> + <!-- + <?php trackback_rdf(); ?> + --> +</div> +<div class="post-footer"><?php comments_popup_link(__('No Comments Yet'), __('Comments (1)'), __('Comments (%)')); ?></div> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/readme.html b/wp-content/themes/GreenTrack/readme.html new file mode 100644 index 0000000000000000000000000000000000000000..c51bdbb2f0cf7fbe5496767379c347fef634ea27 --- /dev/null +++ b/wp-content/themes/GreenTrack/readme.html @@ -0,0 +1,58 @@ +<!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>ShadedGrey From WPThemes.Info</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style type="text/css" media="screen"> + @import url( style.css ); </style> + </head> + <body> + <div id="rap"> + <div id="header"><h1><a href="http://wpthemes.Info">ShadedGrey From WPThemes.Info</a></h1> + </div> + <div id="main"> + <div id="content"> + <div class="post"> + <h2 class="post-title"><em><a href="#">ShadedGrey : Install it !</a></em>Saturday, + Feb 25 2006</span></h2> + <p class="post-info"> + <small>Downloadable Theme From WPThemes.info</small> + </p> + <div class="post-content"> + <p>This is the version 2.0 of the 'ShadedGrey' theme.<br /> + Available at <a href="http://wpthemes.info/shaded-grey/">http://wpthemes.info/shaded-grey/</a></p> + <p>Please follow the steps as in the sidebar of this page, but if you would need + more assistance, send en email to me at reachme @ wpthemes.info</p> + <p>Thanks. + </p> + <div class="post-footer">Sadish Balasubramanian From <a href="http://wpthemes.info">WPThemes.Info</a></div> + </div> + </div> + </div> + </div> + <div id="sidebar"> + <h2>Step 1:</h2> + <ul> + <li> + Unzip the contents of the zip.</li></ul> + <h2>Step 2:</h2> + <ul> + <li> + copy the whole folder into your wordpress's wp-content/themes/ folder</li></ul> + <h2>Step 3:</h2> + <ul> + <li> + Go to the Presentation area of your WordPress Admin and Select the 'ShadedGrey'</li></ul> + <h2>Step 4:</h2> + <ul> + <li> + Thats all !!!</li> + <li> + Go Ahead and Click on View Site at the top!!!</li></ul> + </div> + <p id="footer"> + Designed by <a title="WPThemes.Info" href="http://wpthemes.info"> + WPThemes.Info</a> | Powered By <a href="http://wordpress.org" title="WordPress">WordPress</a></p> + </div> + </body> +</html> diff --git a/wp-content/themes/GreenTrack/screenshot.jpg b/wp-content/themes/GreenTrack/screenshot.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bdebd582c07dc2def7c147b68ceb56494f1efb2f Binary files /dev/null and b/wp-content/themes/GreenTrack/screenshot.jpg differ diff --git a/wp-content/themes/GreenTrack/search.php b/wp-content/themes/GreenTrack/search.php new file mode 100644 index 0000000000000000000000000000000000000000..af66433fc2cc254b9bb74bff36486797e0229f81 --- /dev/null +++ b/wp-content/themes/GreenTrack/search.php @@ -0,0 +1,31 @@ +<?php get_header(); ?> + <div id="content"> + <?php if ($posts) { ?> + <div class="post"> + <p class="post-title"><em>Search Results</em>For "<?php echo $s; ?>"</p> + <br/><br/> + </div> + <?php } ?> + <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> + <div class="post"> + <p class="post-title"><em><?php the_category(' &');?> <?php edit_post_link('[edit this]'); ?></em><?php the_time('d M Y h:i a'); ?></p> + <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> + <div class="post-content"> + <?php the_content("<br/> Continue Reading »"); ?> + <p class="post-info-co"> + <?php wp_link_pages(); ?> + </p> + <!-- + <?php trackback_rdf(); ?> + --> + </div> + <p class="post-footer"><?php comments_popup_link(__('No Comments Yet'), __('Comments (1)'), __('Comments (%)')); ?></p> + <?php comments_template(); // Get wp-comments.php template ?> + </div> + <?php endforeach; else: ?> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + <?php endif; ?> + <p align="center"><?php posts_nav_link() ?></p> + </div> + <?php get_sidebar() ;?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/sidebar.php b/wp-content/themes/GreenTrack/sidebar.php new file mode 100644 index 0000000000000000000000000000000000000000..253a3a5f936b7ba208e64e5ee0c45c053e25f7dd --- /dev/null +++ b/wp-content/themes/GreenTrack/sidebar.php @@ -0,0 +1,42 @@ +<div id="sidebar"> + <h2><?php _e('About'); ?></h2> + <ul><li id="about"><?php bloginfo('description'); ?><p>There are <?php global $numposts; echo $numposts ;?> posts and <?php global $numcmnts; echo $numcmnts ;?> comments so far.</p></li></ul> + <?php if (!is_home()) {?> + <h2><?php _e('Recent Posts'); ?></h2> + <ul><?php gt_get_recent_posts(6);?></ul> + <?php }?> + <h2><?php _e('Pages'); ?></h2> + <ul><?php wp_list_pages('title_li='); ?></ul> + + <h2><?php _e('Categories'); ?></h2> + <ul> + <?php list_cats(0, '', 'name', 'ASC', '/', true, 0, 1); ?> + </ul> + <h2><label for="s"><?php _e('Search'); ?></label></h2> + <form id="searchform" method="get" action="<?php bloginfo('siteurl') ?>/index.php"> + <input type="text" name="s" id="s" value="<?php echo wp_specialchars($s, 1); ?>" size="15" /><br /> + <input type="submit" name="submit" value="<?php _e('Search'); ?>" /> + </form> + <h2><?php _e('Archives'); ?></h2> + <ul> + <?php wp_get_archives('type=monthly&show_post_count=true'); ?> + </ul> + <?php if(is_home()) {?> + <h2>Recent Comments</h2> + <ul> + + <?php gt_get_recent_comments(6,5); //shows 6 recent comments, each with first 5 words ?> + </ul> + <h2>Links</h2> + <ul><?php get_links_list('name'); ?> </ul> + <h2><?php _e('Meta'); ?></h2> + <ul> + <li><?php wp_register(); ?></li> + <li><?php wp_loginout(); ?></li> + <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> + <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> + <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li> + <?php wp_meta(); ?> + </ul> + <?php }?> + </div> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/single.php b/wp-content/themes/GreenTrack/single.php new file mode 100644 index 0000000000000000000000000000000000000000..98e19eb48c551e2710fed4fdf8827840959b5eb4 --- /dev/null +++ b/wp-content/themes/GreenTrack/single.php @@ -0,0 +1,24 @@ +<?php get_header(); ?> + <div id="content"> + <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> + <div class="post"> + <p class="post-title"><em><?php the_category(' &');?> <?php edit_post_link('[edit this]'); ?></em><?php the_time('d M Y h:i a'); ?></p> + <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> + <div class="post-content"> + <?php the_content("<br/> Continue Reading »"); ?> + <p class="post-info-co"> + <?php wp_link_pages(); ?> + </p> + <!-- + <?php trackback_rdf(); ?> + --> + </div> + <p class="post-footer"><?php comments_popup_link(__('No Comments Yet'), __('Comments (1)'), __('Comments (%)')); ?></p> + <?php comments_template(); // Get wp-comments.php template ?> + </div> + <?php endforeach; else: ?> + <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> + <?php endif; ?> + </div> + <?php get_sidebar() ;?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/GreenTrack/style.css b/wp-content/themes/GreenTrack/style.css new file mode 100644 index 0000000000000000000000000000000000000000..50fc89d03c22d77bbc53446a3e9afbb7c96be631 --- /dev/null +++ b/wp-content/themes/GreenTrack/style.css @@ -0,0 +1,341 @@ +/* +Theme Name: GreenTrack +Theme URI: http://wpthemes.info/ +Design Name: Green Track +Description: Green Track Version 2 From WPThemes.Info +Version: 2.1 +Author: Sadish Balasubramanian +Author URI: http://www.simpleinside.com +*/ +body { + margin:0; + padding:0; + font-family: Georgia, Times, Times New Roman, sans-serif; + font-size: 0.9em; + text-align:center; + color:#29303B; + line-height:1.3em; + background: #636363; +} +a:link, a:visited { + color: #8a3207; + text-decoration:none; +} +a:hover, a:active { + color: #753206; + text-decoration:underline; +} +#rap +{ + background:#fff; + border-left: 4px solid black; + border-right: 4px solid black; + width:760px; + margin:0 auto; + padding:3px 8px; + text-align:left; + font-family: Trebuchet MS, Georgia, Arial, serif; + font-size: 0.9em; +} +#header { + background: url(img/rail.jpg) no-repeat center; + height: 175px; + margin: 0; + padding:0; +} + +#content { + width:520px; + float:left; + padding:8px 0 0 1em; + margin:0; + overflow:hidden; +} + +#sidebar { + width:200px; + float:right; + padding:8px 0; + margin:0; +} +a img { + border: none; +} +acronym, abbr { + border-bottom: 1px dotted #0c6bf0; +} +acronym, abbr, span.caps { + cursor: help; + letter-spacing: .07em; +} +code { + font-size: 1em; + font-style: italic; +} +blockquote{ + background: #EEE url(img/blockquote.png) no-repeat bottom left; + /*border: 1px solid #E0E0E0;*/ + padding: 10px; + padding-bottom: 40px; + margin: 1em; +} + +cite { + font-size: 0.9em; + font-style: normal; +} +h3 { + margin: 0; + padding: 0; + font: normal 1.3em verdana, helvetica, sans-serif; +} +p { + margin: 0 0 1em; + padding: 0; + line-height: 1.5em; +} +h1, h2, h3, h4 { + font-family: Georgia, "Lucida Grande", "Lucida Sans Unicode", lucida, Verdana, sans-serif; + font-weight: normal; +} +#header h1 { + margin: 0; + font-size: 1.6em; + color: #f0f0f0; + letter-spacing: 0.5em; + padding:10px; + text-align:right; +} +h2 { + margin: 0; + padding: 5px 0; + font-size: 1.4em; + color: #333; + font-weight: bold; +} +h3 { + margin: 0; + padding: 0; + font-size: 1.2em; + color: #333; + font-weight: bold; +} + +#sidebar h2 { + margin: 0; + padding:5px; + font-size: 0.9em; + color: #333; + border-bottom:#eee 1px solid; +} +h4 { + margin-top: 0; + margin-bottom: 0; + font-size: 1.1em; + color: #999; +} +#sidebar ul, #sidebar form { + list-style-type: none; + padding: 0.5em; + margin: 0; +} +#sidebar ul li { + margin: 0.5em 0 0 0; + padding: 0; + font-size: 0.9em; +} +#sidebar ul li h2 +{ + background:none; + border-bottom:#eee 1px solid; +} +#sidebar ul li ul{ + list-style-type: none; + padding: 0; + margin: 0; + border:none; +} +#sidebar ul li ul li { + margin: 0.5em 0 0 0.5em; + padding: 0; + font-size:1em; +} + +#sidebar li a:link, #sidebar li a:visited { + color: #8a3207; + text-decoration: none; +} +#sidebar li a:hover { + color: #753206; + border-bottom: 1px solid #753206; +} +#header a:link, #header a:visited, #header a:hover, #header a:active { + color: #f0f0f0; + text-decoration: none; + border-bottom: none; +} +#content ul { + margin-left: 0; + padding-left: 15px; + list-style-type: none; +} +#content ul li { + background: url(img/bullet.png) no-repeat 0 7px; + padding-left: 1.5em; +} +.post-footer, .copyright { + margin-bottom: 3em; + font-size: 0.9em; + color: #666; + font-family:Verdana, Arial, Serif; + border-bottom:#eee 1px solid; +} +.post-content { + padding: 1em 0 0; +} +img { + border: #ccc 1px solid; + padding: 3px; +} +.post-title { + margin: 0 0 0.2em; + text-align: right; + padding: 0.5em 1em 0 0; + color: #333; + border-bottom:#ccc 1px solid; +} +.post-title em { + text-decoration: none; + float: left; + font-style: normal; + font-size: 0.9em; + padding:0; + +} +hr { + display: none; +} +#footer { + margin:0; + padding: 7px 20px; + border-top: 1px solid #e6e6e6; + clear: both; + font-size: 0.9em; + color: #999; + background: #fff; + text-align:center; +} +#footer a { +border:none; +color:#7A7636; +} + +cite a { + border-bottom: 1px dotted #DC9204; + text-decoration: none; +} +cite a:visited, a:hover { + border-bottom: none; +} + +.link-comment { + background: url(img/ico-talk-act.gif) no-repeat left; + padding-left: 15px; +} +.link-comment-off { + background: url(img/ico-talk.gif) no-repeat left; + padding-left: 15px; +} +/*Comments Styling*/ +#comments, #respond{ + margin: 2em 1em 0 10px; +} +.commentlist +{ + margin:0; + padding:0; +} +.commentlist li +{ + border:#e0e0e0 1px solid; + list-style:none; + margin:10px 0; + font-size:1em; +} +.commentlist li p +{ + margin:0; + padding:0.5em 1em; +} +.commentlist .cmtinfo +{ + background:#f0f0f0 url(img/sidetitle.png) repeat-x top; + font-weight:bold; +} +.commentlist .cmtinfo em +{ + float:right; + font-weight:normal; + font-style:normal; +} +.commentlist cite +{ + font-style:normal; +} +#commentform +{ + margin:10px; + padding:10px; +} +fieldset{ + border: none; +} +.field label{ + display: block; +} +textarea{ + width: 90%; + height: 20em; + border: 1px solid #aaa; +} +input[type="text"]{ + border: 1px solid #aaa; + margin:3px 0; +} +.commentnum { + font-family:Georgia, "Times New Roman", Times, serif; + font-size:15px; + font-weight:bold; + color:#999; + padding:5px 0; + text-align:right; +} +#gnav +{ + list-style:none; + margin:0 auto; + padding:0 0 2px 0; + background:#fff; + text-align:right; + font-size:1em; +} +#gnav li +{ + list-style:none; + display:inline; + margin:0; + padding:0 10px; +} +#gnav li a:link, #gnav li a:visited +{ + text-decoration:none; +} +#gnav li a:hover, #gnav li a:active +{ + border-bottom:#3c6018 2px solid; +} +#gnav li.current_page_item a:link, #gnav li.current_page_item a:visited, #gnav li.current_page_item a:hover, #gnav li.current_page_item a:active +{ + border-bottom:#3c6018 2px solid; + color:#000; +}