Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 69 lines (52 sloc) 3.207 kB
642c326 Intial Code
jeremyclark13 authored
1 <?php get_header();
2 get_tech_options();
2ba7c8d Fixed layout error with ie 7. Fixed error with two column setting al…
jeremyclark13 authored
3 global $tech;
4 $date_format = get_option('date_format');
e03d776 Added new layout options, and function for outputing sidebar dependin…
jeremyclark13 authored
5 if ($tech['home_sidebar'] == "Yes") tech_show_sidebar("l");?>
642c326 Intial Code
jeremyclark13 authored
6
6e2a9c6 Fixed error with images aligned left or right falling out of post con…
jeremyclark13 authored
7 <div id="content" class="<?php if ($tech['home_sidebar'] == "Yes") { echo "narrow"; }else {echo "wide";}?>column">
642c326 Intial Code
jeremyclark13 authored
8
9 <?php if (have_posts()) : ?>
10
11 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
12 <?php /* If this is a category archive */ if (is_category()) { ?>
13 <h2 class="pagetitle"><?php printf(__('Archive for the %s Category','techozoic'), single_cat_title('',false)); ?></h2>
14
15 <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
16 <h2 class="pagetitle"><?php printf(__('Archive for %s' ,'techozoic'), get_the_time('F jS, Y')); ?></h2>
17
18 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
19 <h2 class="pagetitle"><?php printf(__('Archive for %s' ,'techozoic'), get_the_time('F, Y')); ?></h2>
20
21 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
22 <h2 class="pagetitle"><?php printf(__('Archive for %s' ,'techozoic'), get_the_time('Y')); ?></h2>
23
24 <?php /* If this is a search */ } elseif (is_search()) { ?>
25 <h2 class="pagetitle"><?php _e('Search Results' ,'techozoic')?></h2>
26
27 <?php /* If this is an author archive */ } elseif (is_author()) { ?>
28 <h2 class="pagetitle"><?php _e('Author Archive' ,'techozoic')?></h2>
29
30 <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
31 <h2 class="pagetitle"><?php _e('Blog Archives' ,'techozoic')?></h2>
32
33 <?php } ?>
34 <div class="navigation">
6e2a9c6 Fixed error with images aligned left or right falling out of post con…
jeremyclark13 authored
35 <div class="alignleft"><?php posts_nav_link(' ',' ',__('&laquo; Older Entries' , 'techozoic')) ?></div>
36 <div class="alignright"><?php posts_nav_link(' ',__('Newer Entries &raquo;' , 'techozoic'),' ') ?></div>
37 </div>
642c326 Intial Code
jeremyclark13 authored
38 <?php while (have_posts()) : the_post(); ?>
39 <div class="post">
a47d82f Styles are now stored in database and pulled out instead of doing all…
jeremyclark13 authored
40 <h2 id="post-<?php the_ID(); ?>" class="post_title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','techozoic'), get_the_title()); ?>"><?php the_title(); ?></a></h2>
2ba7c8d Fixed layout error with ie 7. Fixed error with two column setting al…
jeremyclark13 authored
41 <small><?php the_time($date_format) ?></small>
642c326 Intial Code
jeremyclark13 authored
42
43 <div class="entry">
12d3d3f Added new support section to admin pages, fixed comment preview error…
jeremyclark13 authored
44 <?php the_content();
45 $posttags = get_the_tags();
46 if (!empty($posttags)) { ?>
47 <div class="tags"><small><?php the_tags(); ?></small></div>
48 <?php
49 } ?>
642c326 Intial Code
jeremyclark13 authored
50 </div>
51
12d3d3f Added new support section to admin pages, fixed comment preview error…
jeremyclark13 authored
52 <p class="postmetadata"><?php printf(__('Posted in %s' ,'techozoic'), get_the_category_list(', '));?> | <?php edit_post_link(__('Edit' ,'techozoic'), '', ' | '); ?> <?php comments_popup_link(__('No Comments &#187;' ,'techozoic'), __('1 Comment &#187;' ,'techozoic'), _n('% Comment &#187;' , '% Comments &#187',get_comments_number(),'techozoic')); ?></p>
642c326 Intial Code
jeremyclark13 authored
53
54 </div>
55
56 <?php endwhile; ?>
57 <div class="navigation">
6e2a9c6 Fixed error with images aligned left or right falling out of post con…
jeremyclark13 authored
58 <div class="alignleft"><?php posts_nav_link(' ',' ',__('&laquo; Older Entries' , 'techozoic')) ?></div>
59 <div class="alignright"><?php posts_nav_link(' ',__('Newer Entries &raquo;' , 'techozoic'),' ') ?></div>
642c326 Intial Code
jeremyclark13 authored
60 </div>
61
62 <?php else : ?>
63
64 <h2 class="center"><?php _e('Not Found' ,'techozoic')?></h2>
65 <?php endif; ?>
66
67 </div>
e03d776 Added new layout options, and function for outputing sidebar dependin…
jeremyclark13 authored
68 <?php if ($tech['home_sidebar'] == "Yes") tech_show_sidebar("r");
6e2a9c6 Fixed error with images aligned left or right falling out of post con…
jeremyclark13 authored
69 get_footer(); ?>
Something went wrong with that request. Please try again.