man4toman گفت:
چه خطایی میده؟
تو خط 12 خطا میده
<link href="style.css" rel="stylesheet" type="text/css" />
<div id="rightcol">
<div id="postbox">
<?php $values = get_post_custom_values("pic"); ?>
<?php $recent = new WP_Query("cat=2,5,7,12,15,14,16,18,20&showposts=12"); while($recent->have_posts()) : $recent->the_post();?>
<h2><img class="dot" src="<?php bloginfo('template_url'); ?>/images/4dot.gif" /><a href="<?php the_permalink(); ?>" rel="bookmark" target="_blank">
<?php the_title(); ?>
</a></h2>
<div class="midthumb">
<?php $values = get_post_custom_values("aks"); if($values) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"target="_blank"><img height="106px" width="80px" src="<?php echo get_post_meta($post->ID, "aks", true); ?>"></a>
<?php } $picval = get_post_custom_values("pic"); elseif($picval) {?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"target="_blank"><img height="106px" width="80px" src="<?php echo get_post_meta($post->ID, "pic", true); ?>"></a>
<?php } elseif( has_post_thumbnail()){ the_post_thumbnail('post-thumb');} ?>
</div>
<?php the_excerpt_rss(); ?>
<div class="clear"></div>
<?php endwhile; ?>
<div class="more"><?php _e('اخبار سینمای جهان', 'themejunkie'); ?></div>
<ul>
<?php $recent = new WP_Query("cat=8&showposts=5"); while($recent->have_posts()) : $recent->the_post();?>
<li><h2><img class="dot" src="<?php bloginfo('template_url'); ?>/images/4dot.gif" /><a href="<?php the_permalink(); ?>" rel="bookmark" target="_blank">
<?php the_title(); ?>
</a></h2></li>
<div style="height:3px;"></div>
<?php endwhile; ?>
</ul>
<div class="clear"></div>
</div>
<?php ?>
</div>