IE7styles.css | archive.php | comments-popup.php | comments.php | crop.php | flere_kategorier.php | flere_nyheder.php | footer.php | frontpage.php | header.php | index.php | menu.php | page.php | posts.php | posts_content.php | right_sidebar.php | right_sidebar_single.php | single.php | single_page.php | style.css |
<div id="c_left">
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <?php include("menu.php"); ?>
        <div id="breadcrumb">
            <?php
            
if(function_exists('bcn_display'))
            {
            
bcn_display();
            }
            
?>
        </div>
        <div id="main_pic">
        <?php if(is_single()): ?>
        <div class="date"><?php the_date(); ?></div>
        <?php endif; ?>
        
        <?php 
        
if(get_post_custom_values("pic_538x484"))
        {
            
$image get_post_custom_values("pic_538x484");
            
$image $image[0];
            
$img "http://www.lewa.dk/blog/wp-content/themes/laustwilster/crop.php?i=".$image."&w=540&h=270";
        }
        elseif(
get_post_custom_values("pic_540x270"))
        {
            
$image get_post_custom_values("pic_540x270");
            
$image $image[0];
            
$img "http://www.lewa.dk/blog/wp-content/themes/laustwilster/crop.php?i=".$image."&w=540&h=270";
        }
        else
        {
            
$img get_bloginfo('template_directory') . "/test_medium_page.jpg";
        }
        
?>
        <img src="<?php echo $img?>" />
        </div>
        
        <div class="front_page_main">
            
            <div class="transparent_layer"></div>
            
            <div class="singletitle">ยป<?php $titlen the_title('','',FALSE); echo substr($titlen,0,80); ?></div>

              <div class="maincontent"><?php the_content(); ?></div>
            
            
            
          </div>
        <?php endwhile; endif; ?>
        
        <?php if(get_the_ID() == 268): ?>
        <?php comments_template(); ?>
        <?php endif; ?>
        
    </div>