source: trunk/www.guidonia.net/wp/wp-content/themes/fusion/search.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 15 years ago
File size: 2.1 KB
Line 
1<?php /* Fusion/digitalnature */ ?>
2<?php get_header(); ?>
3
4
5 <!-- mid content -->
6 <div id="mid-content">
7 <?php if (have_posts()) : ?>
8 <h2 class="pagetitle"><?php _e("Search Results","fusion"); ?></h2>
9 <div class="navigation" id="pagenavi">
10 <?php if(function_exists('wp_pagenavi')) : ?>
11 <?php wp_pagenavi() ?>
12 <?php else : ?>
13 <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','fusion')) ?></div>
14 <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','fusion')) ?></div>
15 <div class="clear"></div>
16 <?php endif; ?>
17 </div>
18
19 <?php while (have_posts()) : the_post(); ?>
20 <?php if (function_exists("post_class")) { ?>
21 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
22 <?php } else { ?>
23 <div class="post" id="post-<?php the_ID(); ?>">
24 <?php } ?>
25 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
26 <small><?php the_time(__('l, F jS, Y','fusion')) ?></small>
27 <p class="postmetadata"><?php the_tags(__('Tags: ','fusion'), ', ', '<br />'); ?> <?php printf(__('Posted in %s','fusion'), get_the_category_list(', '));?> | <?php edit_post_link(__('Edit','fusion'), '', ' | '); ?> <?php comments_popup_link(__('No Comments','fusion'), __('1 Comment','fusion'), __('% Comments','fusion')); ?></p>
28 </div>
29 <?php endwhile; ?>
30 <div class="navigation" id="pagenavi">
31 <?php if(function_exists('wp_pagenavi')) : ?>
32 <?php wp_pagenavi() ?>
33 <?php else : ?>
34 <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','fusion')) ?></div>
35 <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','fusion')) ?></div>
36 <div class="clear"></div>
37 <?php endif; ?>
38 </div>
39 <?php else : ?>
40 <h2 class="center"><?php _e('No posts found. Try a different search?','fusion'); ?></h2>
41 <?php get_search_form(); ?>
42 <?php endif; ?>
43
44 </div>
45 <!-- mid content -->
46 </div>
47 <!-- /mid -->
48
49 <?php get_sidebar(); ?>
50
51<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.