View difference between Paste ID: 710eL48V and s0HmbkZH
SHOW: | | - or go back to the newest paste.
1-
<tr>
1+
    <?php query_posts(array('category__and'=>array(2541,4433),'showposts'=>30,'orderby'=>menu_order,'order'=>asc)); 
2
if( have_posts() ) : ?>
3
    <tr>
4-
    <?php query_posts(array('category__and'=>array(2541,4433),'showposts'=>30,'orderby'=>menu_order,'order'=>asc)); ?>
4+
5
    </tr>
6
    <?php while (have_posts()) : the_post(); ?>
7
    <tr>
8
      <td class="postbit" id="post-<?php the_ID(); ?>"><strong><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
9
        <?php the_title(); ?>
10
        </a></strong>
11
        <table border="0" cellspacing="0" cellpadding="0" width="522">
12
          <tr>
13
            <?php excerpt('0'); ?>
14
            <td class="ip" valign="middle" align="left"><?php
15
$content = $post->post_content;
16
$content = strip_shortcodes($content);
17
$content = str_replace(']]>', ']]&gt;', $content);
18
$content = strip_tags($content);
19
echo substr($content, 0, 230);
20
?>
21
              ... </td>
22
          </tr>
23
        </table></td>
24-
    <?php endwhile;?>
24+
25
    <?php endwhile; endif ?>