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/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
- <head>
- <meta name="keywords" content="" />
- <meta name="description" content="Lagniappe Wines" />
- <meta name="author" content="Matthew Winter" />
- <meta name="copyright" content="© 2011 Lagniappe Wines" />
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
- <title>Lagniappe Wines</title>
- <link REL="SHORTCUT ICON" HREF="favicon.ico">
- <link href="css/styles.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" type="text/css" media="all" href="css/jScrollPane.css">
- <script type="text/javascript" src="js/jquery.js"></script>
- <script type="text/javascript" src="js/jScrollPane.js"></script>
- <script type="text/javascript" src="js/jquery.mousewheel.js"></script>
- <script type="text/javascript">
- $(function()
- {
- $.extend($.fn.jScrollPane.defaults, {showArrows:true});
- $('#text').jScrollPane({scrollbarWidth:5, scrollbarMargin:10, showArrows:false, dragMaxHeight:35, dragMinHeight:35});
- $('#add-content').bind(
- 'click',
- function()
- {
- $('#pane4').append($('<p></p>').html($('#intro').html())).jScrollPane();
- }
- );
- $('#remove-content').bind(
- 'click',
- function()
- {
- $('#pane4').empty().append($('<p></p>').html($('#intro').html())).jScrollPane();
- }
- );
- });
- </script>
- </head>
- <?php
- // Include WordPress
- define('WP_USE_THEMES', false);
- require('wp-load.php');
- $paged = (intval(get_query_var('paged'))) ? intval(get_query_var('paged')) :
- ((intval(get_query_var('page'))) ? intval(get_query_var('page')) : 1);
- query_posts('showposts=5&paged=$paged');
- ?>
- <div id="centering">
- <body bgcolor="#f0f0e8">
- <div id="wine-img">
- <img src= "images/lagniappe.jpg">
- </div>
- <div id="box">
- <div id="text" class="text-box">
- <br>
- <img src= "images/logo-blog.jpg">
- <!-- Start the Loop. -->
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <!-- The following tests if the current post is in category 3. -->
- <!-- If it is, the div box is given the CSS class "post-cat-three". -->
- <!-- Otherwise, the div box will be given the CSS class "post". -->
- <?php if ( in_category('3') ) { ?>
- <div class="post-cat-three">
- <?php } else { ?>
- <div class="post">
- <?php } ?>
- <!-- Display the Title as a link to the Post's permalink. -->
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->
- <small><?php the_time('F jS, Y') ?> by <?php the_author_posts_link() ?></small>
- <p>
- <!-- Display the Post's Content in a div box. -->
- <div class="entry">
- <?php the_content(); ?>
- </div>
- <small><p class="entry-meta">
- <span class="categories"><?php _e('Posted in', 'example'); ?> <?php the_category(', '); ?></span>
- <?php the_tags('<span class="tags"> <span class="sep">|</span> ' . __('Tagged', 'example') . ' ', ', ', '</span>'); ?>
- <span class="sep">|</span> <?php comments_popup_link(__('Leave a response', 'example'), __('1 Response', 'example'), __('% Responses', 'example'), 'comments-link', __('Comments closed', 'example')); ?>
- </small>
- </p>
- <br>
- </div> <!-- closes the first div box -->
- <!-- Stop The Loop (but note the "else:" - see next line). -->
- <?php endwhile; else: ?>
- <!-- The very first "if" tested to see if there were any Posts to -->
- <!-- display. This "else" part tells what do if there weren't any. -->
- <p>Sorry, no posts matched your criteria.</p>
- <!-- REALLY stop The Loop. -->
- <?php endif; ?>
- <?php posts_nav_link(); ?>
- </div>
- </div>
- <div id="box-white"></div>
- <div class="text-pal">
- <div id="logo">
- <a href="index.html" ><img src="images/logo.png"></a>
- </div>
- <script type="text/javascript">
- $(document).ready(function() {
- document.getElementById('WinesDiv').style.display="block";
- document.getElementById('VineyardsDiv').style.display="block";
- document.getElementById('AboutDiv').style.display="block";
- $('#Wines').hide();
- $('#Vineyards').hide();
- $('#About').hide();
- $('#WinesC').click(function() {
- $('#Wines').toggle(200);
- });
- $('#VineyardsC').click(function() {
- $('#Vineyards').toggle(200);
- });
- $('#AboutC').click(function() {
- $('#About').toggle(200);
- });
- });
- </script>
- <div id="logo">
- <a href="../index.html" ><img src="images/logo.png"></a>
- </div>
- <div id="about">
- <div id="AboutC" class="navlist_normal"><a class="navlist_normal">ABOUT</a></div>
- <div id="AboutDiv" style="display: block;"><ul
- style="display: none;" id="About">
- <li class="navlist_bold_li">
- <a
- href="../lagniappe.html"
- class="navlist_bold">Lagniappe</a></li>
- <li class="navlist_bold_li">
- <a
- href=".../founder.html"
- class="navlist_bold">Founder</a></li>
- <li class="navlist_bold_li">
- <a
- href="../winemaker.html"
- class="navlist_bold">Winemaker</a></li>
- <li class="navlist_bold_li">
- </div>
- </ul></div>
- <div id="vineyards">
- <div id="VineyardsC" class="navlist_normal"><a
- class="navlist_normal">VINEYARDS</a></div>
- <div id="VineyardsDiv" style="display: block;"><ul
- style="display: none;" id="Vineyards">
- <li class="navlist_bold_li">
- <a
- href="../sc.html"
- class="navlist_bold">Sonoma Coast</a></li>
- <li class="navlist_bold_li">
- <a
- href="../av.html"
- class="navlist_bold">Anderson Valley</a></li>
- <li class="navlist_bold_li">
- </div>
- </ul></div>
- <div id="wines">
- <div id="WinesC" class="navlist_normal"><a
- class="navlist_normal">WINES</a></div>
- <div id="WinesDiv" style="display: block;"><ul
- style="display: none;" id="Wines">
- <li class="navlist_bold_li">
- <a href="../sc_pinot.html"
- class="navlist_bold">2009 Sonoma Coast</br> Pinot Noir</a></li>
- <li class="navlist_bold_li">
- <a
- href="../av_pinot.html"
- class="navlist_bold">2009 Anderson Valley</br> Pinot Noir</a></li>
- <li class="navlist_bold_li">
- </div>
- </ul></div>
- <div id="news" class="navlist_normal">
- <a href="../news.html" class="navlist_normal">NEWS & EVENTS</a>
- </div>
- <div id="contact" class="navlist_normal">
- <a href="http://lagniappewines.securewinemerchant.com/contact" class="navlist_normal">CONTACT</a>
- </div>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment