1. <?php
  2. $content = get_extended($post->post_content);
  3. if($content['extended'] == '') :  ?>
  4.  
  5. <?php the_content(); ?>
  6. <div style="display:block;float:left;margin-top:0px;margin-right:15px;">
  7. <script type="text/javascript">
  8.   GA_googleFillSlot("CI_Article_Top");
  9. </script>
  10. </div>
  11.  
  12. <?php else : ?>
  13. <?php
  14. $content['main'] = $content['main'] . '<span id="more-' . $post->ID . '"></span>';
  15. $first_content = apply_filters('the_content', $content['main']);
  16. $second_content = apply_filters('the_content', $content['extended']);
  17.  
  18. echo $first_content;
  19. ?>
  20.  
  21. <div style="display:block;float:left;margin-top:0px;margin-right:15px;">
  22. <script type="text/javascript">
  23.   GA_googleFillSlot("CI_Article_Top");
  24. </script>
  25. </div>
  26.  
  27. <?php
  28. echo $second_content;
  29. ?>
  30. <?php endif; ?>