Okay on index.php there was nothing interesting except it opened blog.php and ran off that. Here;s the content
<div class="span-<?php
$sidebar_state = get_option('T_sidebar_state');
if($sidebar_state == "On") {
echo "15 colborder home";
}
else {
echo "24 last";
}
?>">
<h3 class="sub">Latest</h3>
<?php if (have_posts()) : ?>
<?php $i = 0; ?>
<?php while (have_posts()) : the_post(); $i++; ?>
<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="entry">
<?php if ($i == 1) {
include (THEMELIB . '/apps/multimedia.php');
the_content();
}
else {
postimage('thumbnail');
the_excerpt();
}
?>
</div>
<div class="clear"></div>
<p class="postmetadata"><?php the_time('M d, Y') ?> | Categories: <?php if (the_category(', ')) the_category(); ?> <?php if (get_the_tags()) the_tags('| Tags: '); ?> | <?php comments_popup_link('Leave A Comment »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', '| ', ''); ?> </p>
</div>
<div class="clear"></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>
<?php
$sidebar_state = get_option('T_sidebar_state');
if($sidebar_state == "On") {
get_sidebar() ;
}
else {
echo "";
}
?>
</div>
<div class="double-border"></div>
thanks