1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<?php get_header(); ?>
<div id="page">
<?php include (TEMPLATEPATH . '/left_sidebar.php'); ?>
<?php get_sidebar(); ?>
<div id="content">
<div class="archive">Search results for «<?php echo wp_specialchars($s, 1);; ?>»</div>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="date">Published <?php the_time('F jS, Y') ?> by <?php the_author() ?></div>
<div class="entry">
<?php the_excerpt(); ?>
<div class="postmetadata">
Categories: <?php the_category(', ') ?><?php the_tags(' | Tags: ', ', ', ' | '); ?>
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
<?php edit_post_link('Edit', ' | ', ''); ?>
</div>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
</div><!-- Close page -->
<?php get_footer(); ?>
|