You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

45 lines
1.5 KiB

<?php
$mtime = explode(" ", microtime());
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
?>
<?php
get_header();
?>
<?php if(preg_match('/(?i)msie [4-8]/',$_SERVER['HTTP_USER_AGENT'])) echo '<h1 style="color: #070; text-align:center; font-size: 90px;">&gt;Internet Explorer</h1>';?>
<div id="primary">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : ?>
<article>
<?php the_post(); ?>
<h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="post-info">
<span class="time"><?php the_time("j. F Y"); ?></span> by <span class="author"><?php the_author_posts_link(); ?></span> <span class="comments"><?php comments_popup_link("Write a comment", "1 comment", "% comments"); ?></span> <?php edit_post_link(); ?>
</div>
<div class="post-content">
<?php the_content(); ?>
</div>
<div class="post-meta">
<span class="categories">Categories: <?php the_category(", "); ?></span>
</div>
</article>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php previous_posts_link('&laquo; Previous Entries') ?></div>
<div class="alignright"><?php next_posts_link('Next Entries &raquo;') ?></div>
</div>
<?php else: ?>
<p>No posts found matching your criteria.</p>
<?php endif; ?>
</div>
<?php
get_sidebar();
get_footer();
?>
<?php
$mtime = explode(" ", microtime());
$mtime = $mtime[1] + $mtime[0];
$endtime = $mtime;
$totaltime = ($endtime - $starttime);
echo "This page was created in " . $totaltime . " seconds.";
?>