Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 22nd, 2010  |  syntax: None  |  size: 11.38 KB  |  hits: 132  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. // Include WordPress
  3. define('WP_USE_THEMES', false);
  4. require('/home2/gainfivz/public_html/olivialin/wp-load.php');
  5. query_posts('showposts=5');
  6. ?>
  7.  
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <head>
  11.  
  12. <meta name="" content="olivialin, olivia lin, olivia j. lin, olivialin.com. olivia, " />
  13. <meta name="keywords" content="olivialin, olivia lin, olivia j. lin, olivialin.com, olivia" />
  14.  
  15. <link rel="shortcut icon" href="" type="https://login.bluehost.com/viewer/home2%2fgainfivz%2fpublic_html%2folivialin/currenticon.ico" />
  16.  
  17. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  18. <title>The Blog of Olivia Lin</title>
  19. <link href="index.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
  20. <style type="text/css">
  21. /* place css box model fixes for IE 5* in this conditional comment */
  22. .thrColFix #sidebar1 { width: 180px; }
  23. .thrColFix #sidebar2 { width: 190px; }
  24. </style>
  25. <![endif]--><!--[if IE]>
  26. <style type="text/css">
  27. /* place css fixes for all versions of IE in this conditional comment */
  28. .thrColFix #sidebar2, .thrColFix #sidebar1 { padding-top: 30px; }
  29. .thrColFix #mainContent { zoom: 1; }
  30. /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
  31. </style>
  32. <![endif]-->
  33. <script type="text/javascript">
  34. <!--
  35. function MM_swapImgRestore() { //v3.0
  36.   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  37. }
  38. function MM_preloadImages() { //v3.0
  39.   var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  40.     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  41.     if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
  42. }
  43.  
  44. function MM_findObj(n, d) { //v4.01
  45.   var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
  46.     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  47.   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  48.   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  49.   if(!x && d.getElementById) x=d.getElementById(n); return x;
  50. }
  51.  
  52. function MM_swapImage() { //v3.0
  53.   var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  54.    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
  55. }
  56. //-->
  57. </script>
  58. </head>
  59.  
  60. <body class="thrColFix" onload="MM_preloadImages('labels/LabelGreyHome.jpg','labels/LabelGreyBio.jpg','labels/LabelGreyResources.jpg','labels/LabelGreyDisclosures.jpg','labels/LabelGreyContact.jpg','http://farm6.static.flickr.com/5003/5276501106_465dc74bb9_t.jpg')">
  61.  
  62. <div id="container">
  63.   <div id="sidebar1">
  64.   <h3>&nbsp;</h3>
  65.     <p>
  66.       <!-- end #sidebar1 -->
  67.     <a href="index.php"><img src="http://farm6.static.flickr.com/5170/5275892951_b0b9f93655.jpg" alt="logo" width="430" height="60" border="0" /></a></p>
  68.     <p class="test">  <span class="whitespaces">__</span><img src="http://farm6.static.flickr.com/5250/5275893199_98b7a0e50a_z.jpg" width="531" height="230" alt="header1" /> <img src="http://farm6.static.flickr.com/5164/5275893273_02fa16dc56.jpg" width="320" height="230" alt="yellow" /></p>
  69.     <form method="get" id="search_form" action="http://www.google.com/search">
  70.       <div align="left"><span class="whitespaces">__<a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','http://farm6.static.flickr.com/5003/5276501106_465dc74bb9_t.jpg',1)"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','http://farm6.static.flickr.com/5003/5276501106_465dc74bb9_t.jpg',1)"></a><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','http://farm6.static.flickr.com/5003/5276501106_465dc74bb9_t.jpg',1)"><img src="http://farm6.static.flickr.com/5090/5276501126_1890829b01_t.jpg" alt="clickhome" name="home" width="82" height="32" border="0" id="home" /></a>__ <a href="bio.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('bio','','http://farm6.static.flickr.com/5043/5275893045_b801da3b46_t.jpg',1)"><img src="http://farm6.static.flickr.com/5005/5276500984_64d229a321_t.jpg" alt="clickbio" name="bio" width="82" height="32" border="0" id="bio" /></a><a href="index.html" class="whitespaces" onmouseover="MM_swapImage('Home','','http://farm6.static.flickr.com/5003/5276501106_465dc74bb9_t.jpg',1)" onmouseout="MM_swapImgRestore()">___ </a></span><span class="test"><a href="resources.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('resources','','http://farm6.static.flickr.com/5123/5275893123_9dbfb9db9a_t.jpg',1)"><img src="http://farm6.static.flickr.com/5010/5276501164_a9d5e60302_t.jpg" alt="clickresources" name="resources" width="82" height="32" border="0" id="resources" /></a></span><span class="whitespaces"><a href="disclosures.html" class="whitespaces" onmouseover="MM_swapImage('disclosures','','http://farm6.static.flickr.com/5288/5275893077_5590e38355_t.jpg',1)" onmouseout="MM_swapImgRestore()">___</a></span><span class="test"><a href="disclosures.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('disclosures','','http://farm6.static.flickr.com/5288/5275893077_5590e38355_t.jpg',1)"> <img src="http://farm6.static.flickr.com/5246/5276501016_9c64844f8d_t.jpg" alt="clickdisclosures" name="disclosures" width="82" height="32" border="0" id="disclosures" /></a></span><span class="whitespaces"><a href="disclosures.html" class="whitespaces" onmouseover="MM_swapImage('disclosures','','http://farm6.static.flickr.com/5288/5275893077_5590e38355_t.jpg',1)" onmouseout="MM_swapImgRestore()">___</a></span><span class="test"><a href="disclosures.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('disclosures','','http://farm6.static.flickr.com/5288/5275893077_5590e38355_t.jpg',1)"> <a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact','','http://farm6.static.flickr.com/5126/5275893063_9f6a35bd8f_t.jpg',1)"><img src="http://farm6.static.flickr.com/5125/5275892999_72bf57d3b2_t.jpg" alt="clickcontact" name="contact" width="82" height="32" border="0" id="contact" /></a></span><span class="whitespaces"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('clickhome','','labels/LabelGreyHome.jpg',1)"><a href="www.olivialin.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('clickhome','','labels/LabelGreyHome.jpg',1)"></a></span>
  71.         <input type="text" class="search_input" value="Search" name="q" id="q" onfocus="if (this.value == 'Search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search';}" />
  72.         <input type="hidden" id="sitesearch" name="sitesearch" value="olivialin.com" />
  73.         <input type="hidden" id="_searchsubmit" value="Search" />
  74.         <input type="image" id="searchsubmit" src="http://farm6.static.flickr.com/5243/5276501174_8c895a2685_t.jpg" alt="Submit" />
  75.       </div>
  76.     </form>
  77.     <div id="search"></div>
  78.  
  79. <span class="whitespaces">__</span></p>
  80. </div>
  81. <div id="sidebar2">
  82.   <!-- Start of Sidebar2 -->
  83.  
  84. <script src="http://widgets.twimg.com/j/2/widget.js"></script>
  85. <script>
  86. new TWTR.Widget({
  87.   version: 2,
  88.   type: 'profile',
  89.   rpp: 3,
  90.   interval: 6000,
  91.   width: 'auto',
  92.   height: 300,
  93.   theme: {
  94.     shell: {
  95.       background: '#e9e4e2',
  96.       color: '#000000'
  97.     },
  98.     tweets: {
  99.       background: '#fffaf7',
  100.       color: '#000000',
  101.       links: '#2300c1'
  102.     }
  103.   },
  104.   features: {
  105.     scrollbar: false,
  106.     loop: false,
  107.     live: false,
  108.     hashtags: true,
  109.     timestamp: true,
  110.     avatars: false,
  111.     behavior: 'all'
  112.   }
  113. }).render().setUser('oliviajlin').start();
  114. </script>
  115.    
  116.     <h3>Olivia's Photos and More</h3>
  117.    
  118.     <p align="center">
  119.  
  120. <!-- Start of Flickr Badge -->
  121. <style type="text/css">
  122. #flickr_badge_source_txt {padding:0; font: 11px Arial, Helvetica, Sans serif; color:#666666;}
  123. #flickr_badge_icon {display:block !important; margin:0 !important; border: 1px solid rgb(0, 0, 0) !important;}
  124. #flickr_icon_td {padding:0 5px 0 0 !important;}
  125. .flickr_badge_image {text-align:center !important;}
  126. .flickr_badge_image img {border: 1px solid black !important;}
  127. #flickr_www {display:block; padding:0 10px 0 10px !important; font: 11px Arial, Helvetica, Sans serif !important; color:#3993ff !important;}
  128. #flickr_badge_uber_wrapper a:hover,
  129. #flickr_badge_uber_wrapper a:link,
  130. #flickr_badge_uber_wrapper a:active,
  131. #flickr_badge_uber_wrapper a:visited {text-decoration:none !important; background:inherit !important;color:#3993ff;}
  132. #flickr_badge_wrapper {}
  133. #flickr_badge_source {padding:0 !important; font: 11px Arial, Helvetica, Sans serif !important; color:#666666 !important;}
  134. </style>
  135.  
  136. <script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=6&display=latest&size=s&layout=h&source=user&user=54952971%40N08"></script>
  137.  
  138.  
  139. <!-- End of Flickr Badge -->
  140.  
  141.  
  142.  
  143. </p>
  144.     <p>&nbsp;</p>
  145.     <p>&nbsp;</p>
  146.     <p>&nbsp;</p>
  147.     <p>&nbsp;</p>
  148.     <p>&nbsp;</p>
  149. <p>&nbsp;</p>
  150.     <p align="right">&nbsp;</p>
  151. <p align="right">Copyright &copy; 2010 Olivia Lin </p>
  152. </div>
  153.    <div id="mainContent">
  154.  
  155.   <!-- Start the Loop. -->
  156.  <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  157.  
  158.  <!-- The following tests if the current post is in category 3. -->
  159.  <!-- If it is, the div box is given the CSS class "post-cat-three". -->
  160.  <!-- Otherwise, the div box will be given the CSS class "post". -->
  161.  <?php if ( in_category('3') ) { ?>
  162. <div class="post-cat-three">
  163.  <?php } else { ?>
  164.            <div class="post">
  165.  <div align="left">
  166.    <p>
  167.      <span class="makegrey">
  168.      <?php } ?>
  169.      
  170.      <!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->
  171.      <small>
  172.      <?php the_time('F jS, Y') ?>
  173.      </small></span></p>
  174.    <!-- Display the Title as a link to the Post's permalink. -->
  175.  </p>
  176.  </div>
  177.  <h2 align="left"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  178.    <p align="left"><span class="makegrey"><small>Written by
  179.   <?php the_author_posts_link() ?>
  180.    </small>    
  181.  <!-- Display a comma separated list of the Post's Categories. -->
  182.      <small>
  183.      Topics:
  184. <?php the_category(', '); ?>
  185.      </small></span>
  186. <hr />
  187.  
  188.  <!-- Display the Post's Content in a div box. -->
  189. <div class="entry">
  190.    <?php the_content('Read More'); ?>
  191.    
  192.  </div>
  193.  <!-- Display the Post's Comment information -->
  194. <p class="postmetadata"><small>
  195. <?php comments_popup_link('No Comments/Leave a comment or a question', '1 Comment/Leave a comment or a question', '% Comments/Leave a comment or a question'); ?></small></p>
  196.  
  197.  
  198.  </div> <!-- closes the first div box -->
  199.  <!-- Display Navigation Link -->
  200. <div id="nextprevious">
  201. <div class="alignleft"><?php previous_posts_link() ?></div>
  202. <div class="alignright"><?php next_posts_link() ?></div>
  203. <div class="cleared"></div>
  204. </div>
  205.  
  206.  <!-- Stop The Loop (but note the "else:" - see next line). -->
  207.  <?php endwhile; else: ?>
  208.  
  209.  <!-- The very first "if" tested to see if there were any Posts to -->
  210.  <!-- display.  This "else" part tells what do if there weren't any. -->
  211.  <p>Sorry, no posts matched your criteria.</p>
  212.  
  213.  <!-- REALLY stop The Loop. -->
  214.  <?php endif; ?>
  215.    
  216.     <h1>
  217.       <!-- end #mainContent -->
  218.   </h1></div>
  219.  
  220.                
  221. </body>
  222. </html>