need help fix site (full story ,Single Post)

Discussion in 'Programming' started by cpabux.com, Jul 16, 2012.

  1. #1
    need help fix site (full story ,Single Post)
    site http://onlinearchive.info/
    here can see what happens try different browsers
    http://onlinearchive.info/cars/cadillac-escalade-review-kelley-blue-book.html
    here Single Post code:

    <?php get_header(); ?>

    <div id="content" class="widecolumn">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php $preview = get_post_meta($post->ID, 'preview', $preview = true);
    $video = get_post_meta($post->ID, 'video', $video = true); ?>
    <div class="post single" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>">
    <?php the_title(); ?>
    </a> <small class="postinfo">
    <a class="aComments" href="<?php the_permalink();?>#bgc" title="<?php comments_number(__('No comments','newspaper'),__('One comment','newspaper'),__('% comments','newspaper')); ?>">
    <?php comments_number(__('Comments <span>(0)</span>','newspaper'),__('Comments <span>(1)</span>','newspaper'),__('Comments <span>(%)</span>','newspaper')); ?>
    </a>
    <?php _e('Published by ','newspaper')?>
    <strong>
    <?php the_author_posts_link(); ?>
    </strong>
    <?php _e('at','newspaper')?>
    <?php the_time('l j, F Y - g:i a'); ?>
    <?php if(function_exists('the_views')) { the_views(); } ?>
    <?php edit_post_link(__('*','newspaper'), '', ''); ?>
    </small></h2>
    <div class="entry">

    <div class="entrycontent">



    <?php if(in_category(''.newspaper_vids_id().'')) { //videos ?>
    <?php if ( $newspaper->option['showfullvids_add'] == 'yes' ) : // show full vids ?>
    <?php if($video !== '') { ?>
    <?php //echo $video ?>
    <?php } ?>
    <?php endif; ?>
    <p><?php the_content(); ?></p>
    <?php } else { ?>
    <?php the_content(); ?>
    <?php } ?>

    </div>
    <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    <div class="postmetadata">
    <?php if(function_exists('the_tags')) { ?><?php the_tags( '<div class="tagsL">Tags: ', ', ', '</div>'); ?><?php } ?>

    <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    </div>

    <br class="clear" />
    <div id="postOptions">
    <div class="colOpt" id="colL">
    <h3>
    <?php _e('Post Options','newspaper')?>
    </h3>
    <ul>
    <li><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/icons/font_up.gif" alt="<?php _e('Increase Font Size','newspaper')?>" width="10" height="10" /><a href="javascript:void(0);" class="increaseFont" title="<?php _e('Increase Font Size','newspaper')?>">
    <?php _e('Increase Font Size','newspaper')?>
    </a></li>
    <li><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/icons/font_down.gif" alt="<?php _e('Decrease Font Size','newspaper')?>" width="10" height="10" /><a href="javascript:void(0);" class="decreaseFont" title="<?php _e('Decrease Font Size','newspaper')?>">
    <?php _e('Decrease Font Size','newspaper')?>
    </a></li>
    <li><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/icons/font_reset.gif" alt="<?php _e('Reset Font Size','newspaper')?>" width="10" height="10" /><a href="javascript:void(0);" class="resetFont" title="<?php _e('Reset Font Size','newspaper')?>">
    <?php _e('Reset Font Size','newspaper')?>
    </a></li>
    <?php if(function_exists('wp_print')) { ?>
    <li><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/icons/printer.gif" alt="<?php _e('Print this post','newspaper')?>" width="10" height="10" /><?php print_link(); ?></li>
    <?php } ?>
    <?php if(function_exists('wp_email')) { ?>
    <li> <img src="<?php bloginfo('stylesheet_directory'); ?>/pix/icons/mail.gif" alt="<?php _e('Print this post','newspaper')?>" width="10" height="10" />
    <?php email_link(); ?>
    </li>
    <?php } ?>
    <?php if(function_exists('Post2PDF')) { ?>
    <li> <img src="<?php bloginfo('stylesheet_directory'); ?>/pix/icons/save.gif" alt="<?php _e('Print this post','newspaper')?>" width="10" height="10" />
    <?php Post2PDF(); ?>
    </li>
    <?php } ?>
    </ul>
    </div>
    <div class="colOpt" id="colM">
    <h3>
    <?php _e('Share to','newspaper')?>
    </h3>
    <ul class="social">
    <li><a href="http://del.icio.us/post?title=&amp;url=<?php bloginfo('rss2_url'); ?>" title="Del.icio.us"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/delicious.gif" alt="Del.icio.us" width="16" height="16" /></a></li>
    <li><a href="http://www.digg.com/submit?url=<?php bloginfo('rss2_url'); ?>" title="Digg"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/digg.gif" alt="digg" width="16" height="16" /></a></li>
    <li><a href="http://fusion.google.com/add?feedurl=<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/google.gif" alt="Google" width="16" height="16" /></a></li>
    <li><a href="http://technorati.com/faves?add=<?php bloginfo('rss2_url'); ?>" title="Technorati"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/technorati.gif" alt="Technorati" width="16" height="16" /></a></li>
    <li><a href="http://meneame.net/submit.php?url=<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/meneame.gif" alt="Meneame" width="16" height="16" /></a></li>
    <li><a href="http://www.live.com/?add=<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/windows.gif" alt="Windows Live" width="16" height="16" /></a></li>
    <li><a href="http://www.bloglines.com/sub/<?php bloginfo('rss2_url'); ?>" title="Bloglines"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/bloglines.gif" alt="Bloglines" width="16" height="16" /></a></li>
    <li><a href="http://www.netvibes.com/subscribe.php?url=<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/netvibes.gif" alt="NetVibes" width="16" height="16" /></a></li>
    <li><a href="http://www.facebook.com/sharer.php?u=<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/facebook.gif" alt="Facebook" width="16" height="16" /></a></li>
    <li><a href="http://www.mixx.com/submit?page_url=<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/mixx.gif" alt="Facebook" width="16" height="16" /></a></li>
    <li><a href="http://www.stumbleupon.com/submit?url=<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/social/stumbleupon.gif" alt="Stumble" width="16" height="16" /></a></li>
    </ul>

    </div>
    <div class="colOpt" id="colR">
    <h3>
    <?php _e('Navigation','newspaper')?>
    </h3>
    <ul>
    <li class="floatR">
    <?php next_post_link('%link', __('Next post','newspaper'), FALSE); ?>
    &nbsp; </li>
    <li class="floatL">
    <?php previous_post_link('%link', __('Previous post','newspaper'), FALSE); ?>
    &nbsp; </li>
    </ul>
    <p>
    <label for="permalink"> <strong>
    <?php _e('Permalink','newspaper')?>
    </strong>
    <input name="permalink" type="text" id="permalink" value="<?php the_permalink() ?>" />
    </label>
    </p>
    </div>
    </div>



    <?php if (function_exists('st_related_posts')) { ?>
    <div id="stRelated">
    <h2>
    <?php _e('If you have this information concerned, we recommend:','newspaper')?>
    </h2>
    <?php st_related_posts('number=10&title=&include_page=false&dateformat=d, M Y&xformat=<span>%date%</span><a href="%permalink%" title="%title% (%date%)">%title%</a> <br /><p>%post_excerpt%</p>'); ?>
    </div>
    <?php } ?>
    </div>

    <?php newspaper_ads468x60(); ?>
    </div>

    <?php comments_template(); ?>

    <?php endwhile; else: ?>
    <?php include (TEMPLATEPATH . '/inc/notfound.php'); ?>
    <?php endif; ?>
    </div><!-- end content-->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
     
    cpabux.com, Jul 16, 2012 IP