web/wp-content/themes/seoblogsystem/search.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <?php get_header(); ?>
       
     2 <?php get_sidebar(1); ?>
       
     3 <?php get_sidebar(2); ?>
       
     4 
       
     5 		<?php if (have_posts()) : ?>
       
     6 				
       
     7 			<div class="title-page"><h2 style="margin:0;">Search results</h2></div>
       
     8 	
       
     9 			<div class="navigation">
       
    10 				<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
       
    11 				<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
       
    12 				<div class="clear"></div>
       
    13 			</div>
       
    14 	
       
    15 					<?php while (have_posts()) : the_post(); ?>
       
    16 						<div <?php post_class() ?> id="post-<?php the_ID(); ?>" style=" width:auto;">
       
    17 							<div class="bg-top"><div class="bg-bot"><div class="bg-left"><div class="bg-right">
       
    18 					<div class="corner-left-top"><div class="corner-right-top"><div class="corner-left-bot"><div class="corner-right-bot">
       
    19 							<div class="indent">
       
    20 								
       
    21 									
       
    22 								<div class="title">
       
    23 									
       
    24 									<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>
       
    25 									
       
    26 									<div class="author">
       
    27 									posted by <?php the_author_link() ?>
       
    28 								</div>
       
    29 								
       
    30 								<div class="date">
       
    31 									<?php the_time('l, F j, Y') ?> 
       
    32 								</div>
       
    33 									
       
    34 								</div>
       
    35 								
       
    36 								<div class="text-box">
       
    37 									<?php the_content('<div class="more-link"><a href="#">Continue Reading</a></div>'); ?>
       
    38 								</div>
       
    39 								<div class="postmetadata">
       
    40 									<?php the_tags('Tags: ', ', ', '<br />'); ?>
       
    41 								</div>
       
    42 								<div class="link-edit"><?php edit_post_link('Edit', ''); ?></div>
       
    43 								
       
    44 								
       
    45 							</div>
       
    46 							
       
    47 							</div></div></div></div>
       
    48 					</div></div></div></div>
       
    49 						</div>
       
    50 		
       
    51 			
       
    52 					<?php endwhile; ?>
       
    53 			
       
    54 				
       
    55 			<div class="navigation">
       
    56 				<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
       
    57 				<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
       
    58 				<div class="clear"></div>
       
    59 			</div>
       
    60 			
       
    61 		<?php else : ?>
       
    62 			
       
    63 				
       
    64 				<div class="title-page"><h2>Search result</h2></div>
       
    65 			
       
    66 				<div class="text-box">
       
    67 					<div class="search search_page">
       
    68 						<p>No posts found. Try a different search?<p>
       
    69 						
       
    70 						<?php include (TEMPLATEPATH . "/searchform.php"); ?>
       
    71 						
       
    72 					</div>
       
    73 				</div>
       
    74 		<?php endif; ?>
       
    75 	
       
    76 		
       
    77 <?php get_footer(); ?>