Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php if(is_home()){ ?>
- <style type='text/css'>
- #header .categories {
- clear: both;
- list-style-type: none;
- height: 40px;
- overflow: hidden;
- display: block;
- background: url('<?php bloginfo('template_url'); ?>/images/head_menu_bg.png') no-repeat left top !important;
- }
- </style>
- <?php }?>
- <!-- begin featured -->
- <div id="featured">
- <div class="bg_1">
- <div class="slideshow">
- <? include('sidebar_custom.php'); ?>
- </div>
- <div class="flash">
- <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="490" height="300" id="map" align="middle">
- <param name="allowScriptAccess" value="sameDomain" />
- <param name="allowFullScreen" value="false" />
- <param name="movie" value="/map.swf" />
- <param name="quality" value="high" />
- <param name="wmode" value="transparent" />
- <param name="flashvars" value="lng=en" />
- <embed src="/map.swf" flashvars="lng=en" quality="high" wmode="transparent" width="490" height="300" name="map" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
- </object>
- </div>
- <div class="ac clear"></div>
- </div>
- </div>
- <!-- end featured -->
- <div class="ac"></div>
- <div class="main_bg">
- <div class="content_and_sidebar">
- <? include('left_sidebar.php'); ?>
- <!-- BEGIN content -->
- <div id="content">
- <div class="breadcrumbs">
- <?php
- if(function_exists('bcn_display'))
- {
- bcn_display();
- }
- ?>
- </div>
- <!-- begin recent posts -->
- <div class="recent">
- <?php
- $wp_query = $tmp_query;
- $odd = false;
- query_posts('showposts=10&cat=1');
- if (have_posts()) :
- while (have_posts()) : the_post();
- $odd = !$odd;
- ?>
- <!-- begin post -->
- <div class="<?php if ($odd) echo 'o '; ?>post">
- <a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'thumbnail', 'alt="' . $post->post_title . '"'); ?></a>
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <p><?php echo dp_clean($post->post_content, 300); ?></p>
- <p class="readmore"><a href="<?php the_permalink(); ?>">read more</a></p>
- <div class="break"></div>
- </div>
- <!-- end post -->
- <?php endwhile; ?>
- <?php wp_pagenavi(); ?>
- <?php else : ?>
- <div class="notfound">
- <h2>Not Found</h2>
- <p>Sorry, but you are looking for something that is not here.</p>
- </div>
- <?php endif; ?>
- </div>
- <!-- end recent posts -->
- </div>
- <!-- END content -->
- <?php get_sidebar(); get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement