Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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">
- <link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family=Molengo' rel='stylesheet' type='text/css'>
- <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css"
- media="screen" />
- <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo
- ('rss2_url'); ?>" />
- <?php wp_head(); ?>
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
- <script type="text/javascript" src="http://kscope.flubba.webfactional.com/wp-
- content/themes/kscope/jcarousel/lib/jquery.jcarousel.min.js"></script>
- <script type="text/javascript">
- function featured_initCallback(carousel)
- {
- // Disable autoscrolling if the user clicks the prev or next button.
- carousel.buttonNext.bind('click', function() {
- carousel.startAuto(0);
- });
- carousel.buttonPrev.bind('click', function() {
- carousel.startAuto(0);
- });
- // Pause autoscrolling if the user moves with the cursor over the clip.
- carousel.clip.hover(function() {
- carousel.stopAuto();
- }, function() {
- carousel.startAuto();
- });
- jQuery('#featured-next').bind('click', function() {
- carousel.next();
- return false;
- });
- jQuery('#featured-prev').bind('click', function() {
- carousel.prev();
- return false;
- });
- jQuery('#featured-controls li').bind('click', function() {
- var st = jQuery(this).attr('id').split('-')[2];
- carousel.scroll(jQuery.jcarousel.intval(st));
- return false;
- });
- }
- function selectNextControl(carousel,control,enabled) {
- $('#featured-controls li.selected').removeClass('selected');
- $('#featured-control-'+carousel.first).addClass('selected');
- }
- function selectPrevControl(carousel,control,enabled) {
- $('#featured-controls li.selected').removeClass('selected');
- $('#featured-control-'+carousel.first).addClass('selected');
- }
- function featured_itemVisibleInCallback(carousel, item, i, state, evt) {
- $('#featured-controls li.selected').removeClass('selected');
- $('#featured-control-'+i).addClass('selected');
- }
- jQuery(document).ready(function() {
- jQuery('#carousel').jcarousel({
- scroll: 1, //auto: 2
- wrap: 'last',
- vertical: false,
- auto:6,
- initCallback: featured_initCallback,
- itemVisibleInCallback: {onAfterAnimation: featured_itemVisibleInCallback}
- });
- $("#right-posts .post").hover(function() {$(this).animate({opacity:0.9},200);},
- function() {$(this).animate({opacity:1},200);}
- );
- });
- </script>
- </head>
- <body>
- <div id="top">
- <div id="header">
- <div id="dateAndTime">
- <?php date_default_timezone_set('America/New_York'); echo date("F j, Y, g:i a"); ?>
- </div>
- <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
- <p id="slogan"><?php bloginfo('description'); ?></p>
- <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
- <input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s"
- size="15" />
- <input type="submit" id="searchSubmit" value="Search" />
- </form>
- <div class="clear"></div>
- </div>
- <div id="categories-wrapper">
- <ul id="categories">
- <?php wp_list_categories('orderby=name&exclude=1,9,10&title_li='); ?>
- <div class="clear"></div>
- </ul>
- </div>
- </div>
- <div id="wrapper" class="container_12">
- <div id="content" class="container_12">
- <div class="grid_6">
- <div id="featured-carousel">
- <ul id="carousel">
- <?php
- $featured = new WP_Query();
- $featured->query('showposts=5&cat=10');
- while($featured->have_posts()) : $featured->the_post();
- ?>
- <li class="post">
- <div class="featured-image">
- <a href="<?php the_permalink() ?>">
- <?php
- the_post_thumbnail('carousel');
- ?></a></div>
- <h1><a href="<?php the_permalink() ?>">
- <?php the_title(); ?></a></h1>
- <div class="tease"><?php the_excerpt(); ?></div>
- </li>
- <?php endwhile; ?>
- </ul>
- </div>
- <ul id="featured-controls">
- <?php
- $featured = new WP_Query();
- $featured->query('showposts=7&cat=10');
- $i = 1;
- while($featured->have_posts()): $featured->the_post();
- ?>
- <li id="featured-control-<?php echo $i; ?>"<?php if($i==1): ?
- >class="selected"<?php endif; ?>>
- <?php the_post_thumbnail('carousel-control'); ?>
- </li>
- <?php $i++; ?>
- <?php endwhile; ?>
- <div class="clear"></div>
- </ul>
- <!-- end carousel -->
- <div id="top-stories">
- <div id="left" class="grid_4 front-posts">
- <?php
- $leftNews = new WP_Query();
- $leftNews->query('cat=-10,-3,-8,-7&showposts=3');
- while($leftNews->have_posts()) : $leftNews->the_post();
- ?>
- <div id="post-<?php the_ID(); ?>" class="post" <?php post_class(); ?>>
- <a href="<?php the_permalink(); ?>" class="post-list-thumbnail"><?
- php the_post_thumbnail('front-post'); ?></a>
- <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?
- ></a></h4>
- <div class="meta">
- By <span class="author"><?php the_author_link(); ?></span> <span
- class="timestamp"><?php the_date(); ?></span>
- </div>
- <div class="entry"><?php the_excerpt(); ?></div>
- <div class="clear"></div>
- </div>
- <?php endwhile; ?>
- </div>
- <div id="in-depth">
- <div class="grid_6 front-posts">
- <h4>In Depth</h4>
- <?php
- $idPosts = new WP_Query();
- $idPosts->query('cat=-10,-3,-8,7&showposts=2');
- while($idPosts->have_posts()) : $idPosts->the_post();
- ?>
- <div id="post-<?php the_ID(); ?>" class="post" <?php post_class(); ?>>
- <a href="<?php the_permalink(); ?>" class="post-list-
- thumbnail"><?php the_post_thumbnail(); ?></a>
- <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?
- ></a></h4>
- <div class="meta">
- By <span class="author"><?php the_author_link(); ?></span>
- <span class="timestamp"><?php the_date(); ?></span>
- </div>
- <div class="entry"><?php the_excerpt(); ?></div>
- <div class="clear"></div>
- </div>
- <?php endwhile; ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="middle" class="grid_2">
- <div id="recent-posts">
- <?php
- $middleNews = new WP_Query();
- $middleNews->query('cat=-10&showposts=10&offset=3');
- while($middleNews->have_posts()) : $middleNews->the_post();
- ?>
- <div id="post-<?php the_ID(); ?>" class="post" <?php post_class(); ?>>
- <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
- <div class="meta">
- By <span class="author"><?php the_author_link(); ?></span>
- </div>
- <div class="clear"></div>
- </div>
- <?php endwhile; ?>
- </div>
- ---
- <div id="more-middle">
- <?php
- $middleNews = new WP_Query();
- $middleNews->query('cat=-10&showposts=3&offset=3');
- while($middleNews->have_posts()) : $middleNews->the_post();
- ?>
- <div id="post-<?php the_ID(); ?>" class="post" <?php post_class(); ?>>
- <a href="<?php the_permalink(); ?>" class="post-list-thumbnail"><?php
- the_post_thumbnail('middle'); ?></a>
- <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
- <div class="meta">
- By <span class="author"><?php the_author_link(); ?></span>
- </div>
- <div class="entry"><?php the_excerpt(); ?></div>
- <div class="clear"></div>
- </div>
- <?php endwhile; ?>
- </div>
- --- </div>
- <div class="grid_4">
- <div id="right-posts" class="grid_4">
- <?php
- $rightNews = new WP_Query();
- $rightNews->query('cat=-10&showposts=3');
- while($rightNews->have_posts()) : $rightNews->the_post();
- ?>
- <div id="post-<?php the_ID(); ?>" class="post" <?php post_class(); ?>>
- <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?
- ></a></h4>
- <div class="meta">
- By <span class="author"><?php the_author_link(); ?></span> <span
- class="timestamp"><?php the_date(); ?></span>
- </div>
- <a href="<?php the_permalink(); ?>" class="post-list-thumbnail"><?php
- the_post_thumbnail('smallish'); ?></a>
- <div class="entry"><?php the_excerpt(); ?></div>
- <div class="clear"></div>
- </div>
- <?php endwhile; ?>
- </div>
- <div id="sidebar" class="grid_4">
- <h4>Most Read Posts</h4>
- <?php wpp_get_mostpopular(); ?>
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('rightSidebar'))
- {} ?>
- </div>
- </div>
- <div class="clear"></div>
- </div>
- </div>
- <div id="footer">
- <div class="container_12">
- <p>
- <?php bloginfo('name'); ?> © '<?php echo date('y'); ?><br />
- <?php bloginfo('description'); ?> - Designed by Aaron Lifton -
- aaronlifton at gmail dot com
- </p>
- <ul>
- <li><a href="<?php bloginfo('url'); ?>" title="home">Home</a></li>
- <?php wp_list_pages('title_li='); ?>
- <div class="clear"></div>
- </ul>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement