thepumpkingdom

Untitled

Aug 9th, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  4.  
  5. <head>
  6.  
  7. <meta name="keywords" content="" />
  8.  
  9. <meta name="description" content="Lagniappe Wines" />
  10.  
  11. <meta name="author" content="Matthew Winter" />
  12.  
  13. <meta name="copyright" content="© 2011 Lagniappe Wines" />
  14.  
  15. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  16.  
  17. <title>Lagniappe Wines</title>
  18.  
  19. <link REL="SHORTCUT ICON" HREF="favicon.ico">
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. <link href="css/styles.css" rel="stylesheet" type="text/css"/>
  28. <link rel="stylesheet" type="text/css" media="all" href="css/jScrollPane.css">
  29.  
  30. <script type="text/javascript" src="js/jquery.js"></script>
  31.  
  32.  
  33. <script type="text/javascript" src="js/jScrollPane.js"></script>
  34. <script type="text/javascript" src="js/jquery.mousewheel.js"></script>
  35. <script type="text/javascript">
  36.  
  37. $(function()
  38. {
  39.  
  40. $.extend($.fn.jScrollPane.defaults, {showArrows:true});
  41.  
  42.  
  43.  
  44. $('#text').jScrollPane({scrollbarWidth:5, scrollbarMargin:10, showArrows:false, dragMaxHeight:35, dragMinHeight:35});
  45.  
  46.  
  47. $('#add-content').bind(
  48. 'click',
  49. function()
  50. {
  51. $('#pane4').append($('<p></p>').html($('#intro').html())).jScrollPane();
  52. }
  53. );
  54.  
  55. $('#remove-content').bind(
  56. 'click',
  57. function()
  58. {
  59. $('#pane4').empty().append($('<p></p>').html($('#intro').html())).jScrollPane();
  60. }
  61. );
  62. });
  63.  
  64. </script>
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. </head>
  72.  
  73. <?php
  74. // Include WordPress
  75. define('WP_USE_THEMES', false);
  76. require('wp-load.php');
  77. $paged = (intval(get_query_var('paged'))) ? intval(get_query_var('paged')) :
  78. ((intval(get_query_var('page'))) ? intval(get_query_var('page')) : 1);
  79. query_posts('showposts=5&paged=$paged');
  80. ?>
  81.  
  82.  
  83. <div id="centering">
  84.  
  85. <body bgcolor="#f0f0e8">
  86.  
  87. <div id="wine-img">
  88. <img src= "images/lagniappe.jpg">
  89. </div>
  90.  
  91.  
  92.  
  93.  
  94. <div id="box">
  95. <div id="text" class="text-box">
  96. <br>
  97.  
  98.  
  99. <img src= "images/logo-blog.jpg">
  100.  
  101.  
  102.  
  103. <!-- Start the Loop. -->
  104. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  105.  
  106. <!-- The following tests if the current post is in category 3. -->
  107. <!-- If it is, the div box is given the CSS class "post-cat-three". -->
  108. <!-- Otherwise, the div box will be given the CSS class "post". -->
  109. <?php if ( in_category('3') ) { ?>
  110. <div class="post-cat-three">
  111. <?php } else { ?>
  112. <div class="post">
  113. <?php } ?>
  114.  
  115. <!-- Display the Title as a link to the Post's permalink. -->
  116. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  117.  
  118. <!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->
  119. <small><?php the_time('F jS, Y') ?> by <?php the_author_posts_link() ?></small>
  120.  
  121. <p>
  122.  
  123. <!-- Display the Post's Content in a div box. -->
  124. <div class="entry">
  125. <?php the_content(); ?>
  126. </div>
  127.  
  128.  
  129. <small><p class="entry-meta">
  130. <span class="categories"><?php _e('Posted in', 'example'); ?> <?php the_category(', '); ?></span>
  131. <?php the_tags('<span class="tags"> <span class="sep">|</span> ' . __('Tagged', 'example') . ' ', ', ', '</span>'); ?>
  132. <span class="sep">|</span> <?php comments_popup_link(__('Leave a response', 'example'), __('1 Response', 'example'), __('% Responses', 'example'), 'comments-link', __('Comments closed', 'example')); ?>
  133. </small>
  134. </p>
  135.  
  136. <br>
  137.  
  138. </div> <!-- closes the first div box -->
  139.  
  140.  
  141.  
  142. <!-- Stop The Loop (but note the "else:" - see next line). -->
  143. <?php endwhile; else: ?>
  144.  
  145. <!-- The very first "if" tested to see if there were any Posts to -->
  146. <!-- display. This "else" part tells what do if there weren't any. -->
  147. <p>Sorry, no posts matched your criteria.</p>
  148.  
  149.  
  150.  
  151. <!-- REALLY stop The Loop. -->
  152. <?php endif; ?>
  153.  
  154.  
  155.  
  156.  
  157.  
  158. <?php posts_nav_link(); ?>
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166. </div>
  167. </div>
  168. <div id="box-white"></div>
  169.  
  170.  
  171. <div class="text-pal">
  172. <div id="logo">
  173. <a href="index.html" ><img src="images/logo.png"></a>
  174. </div>
  175.  
  176.  
  177.  
  178. <script type="text/javascript">
  179.  
  180. $(document).ready(function() {
  181.  
  182. document.getElementById('WinesDiv').style.display="block";
  183. document.getElementById('VineyardsDiv').style.display="block";
  184. document.getElementById('AboutDiv').style.display="block";
  185.  
  186.  
  187.  
  188.  
  189. $('#Wines').hide();
  190. $('#Vineyards').hide();
  191. $('#About').hide();
  192.  
  193.  
  194.  
  195.  
  196. $('#WinesC').click(function() {
  197. $('#Wines').toggle(200);
  198. });
  199.  
  200. $('#VineyardsC').click(function() {
  201. $('#Vineyards').toggle(200);
  202. });
  203. $('#AboutC').click(function() {
  204. $('#About').toggle(200);
  205. });
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212. });
  213. </script>
  214.  
  215.  
  216. <div id="logo">
  217. <a href="../index.html" ><img src="images/logo.png"></a>
  218. </div>
  219.  
  220.  
  221.  
  222. <div id="about">
  223.  
  224. <div id="AboutC" class="navlist_normal"><a class="navlist_normal">ABOUT</a></div>
  225. <div id="AboutDiv" style="display: block;"><ul
  226. style="display: none;" id="About">
  227. <li class="navlist_bold_li">
  228.  
  229. <a
  230. href="../lagniappe.html"
  231. class="navlist_bold">Lagniappe</a></li>
  232.  
  233.  
  234. <li class="navlist_bold_li">
  235.  
  236.  
  237. <a
  238. href=".../founder.html"
  239. class="navlist_bold">Founder</a></li>
  240.  
  241. <li class="navlist_bold_li">
  242.  
  243. <a
  244. href="../winemaker.html"
  245. class="navlist_bold">Winemaker</a></li>
  246.  
  247. <li class="navlist_bold_li">
  248.  
  249. </div>
  250.  
  251. </ul></div>
  252.  
  253.  
  254.  
  255.  
  256.  
  257. <div id="vineyards">
  258.  
  259. <div id="VineyardsC" class="navlist_normal"><a
  260. class="navlist_normal">VINEYARDS</a></div>
  261. <div id="VineyardsDiv" style="display: block;"><ul
  262. style="display: none;" id="Vineyards">
  263. <li class="navlist_bold_li">
  264.  
  265.  
  266. <a
  267. href="../sc.html"
  268. class="navlist_bold">Sonoma Coast</a></li>
  269. <li class="navlist_bold_li">
  270.  
  271.  
  272. <a
  273. href="../av.html"
  274. class="navlist_bold">Anderson Valley</a></li>
  275.  
  276. <li class="navlist_bold_li">
  277.  
  278.  
  279.  
  280. </div>
  281.  
  282. </ul></div>
  283.  
  284.  
  285.  
  286.  
  287. <div id="wines">
  288.  
  289. <div id="WinesC" class="navlist_normal"><a
  290. class="navlist_normal">WINES</a></div>
  291. <div id="WinesDiv" style="display: block;"><ul
  292. style="display: none;" id="Wines">
  293. <li class="navlist_bold_li">
  294.  
  295.  
  296. <a href="../sc_pinot.html"
  297. class="navlist_bold">2009 Sonoma Coast</br> Pinot Noir</a></li>
  298. <li class="navlist_bold_li">
  299.  
  300.  
  301. <a
  302. href="../av_pinot.html"
  303. class="navlist_bold">2009 Anderson Valley</br> Pinot Noir</a></li>
  304. <li class="navlist_bold_li">
  305.  
  306. </div>
  307.  
  308. </ul></div>
  309.  
  310.  
  311.  
  312.  
  313. <div id="news" class="navlist_normal">
  314. <a href="../news.html" class="navlist_normal">NEWS & EVENTS</a>
  315. </div>
  316.  
  317.  
  318.  
  319.  
  320. <div id="contact" class="navlist_normal">
  321. <a href="http://lagniappewines.securewinemerchant.com/contact" class="navlist_normal">CONTACT</a>
  322. </div>
  323.  
  324. </div>
  325.  
  326. </body>
Advertisement
Add Comment
Please, Sign In to add comment