1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
    <div class="slider-frame">    
                <div class="sliderImages">
          <ul>


<?php 
        $slidercatid=get_option("slidercatid");
           query_posts("category_name=$slidercatid&showposts=".get_option("sliderpostlimit")); ?>

 <?php  while (have_posts()) : the_post();    ?>

            <li>

                        <?php if ( get_post_meta($post->ID, 'Image', true) ) { ?>
        <?php if (get_option("timthumboption"))
                  $timthumboption = get_option("timthumboption");

                if( $timthumboption == "1" ){?>
     <img src="<?php echo get_post_meta( $post->ID, "Image", true ); ?>" width="240"  height="160" /> 
        <?php } else { ?>
       <img src="<?php bloginfo('template_url'); ?>/timthumb.php?src=<?php echo get_post_meta($post->ID, "Image", $single = true); ?>      
      &amp;h=160&amp;w=240&amp;zc=2" alt="<?php the_title(); ?>"  /> 
        <?php } ?>
        <?php } else { ?>

        <?php } ?>
                                </li>
      <?php endwhile;?>
          </ul>    
                </div> 
   </div>
       <div class="arrow-but">
        <a href="#" class="prev">&nbsp;</a>          
        <a href="#" class="next">&nbsp;</a>      </div>

<!-- ********************END SLIDER IMAGES*******************************-->