hata aldım hocam
Parse error: syntax error, unexpected T_ECHO in /home/trguncel/public_html/wp-content/themes/centric/index.php on line 37
index.php
<?php get_header(); get_sidebar(); ?>
<!-- BEGIN content -->
<div id="content">
<!-- begin latest -->
<div id="latest">
<?php if (have_posts()) : the_post(); ?>
<a href="<?php the_permalink(); ?>"><img src="<?php dp_attachment_image(0, 'full', '380', '230'); ?>" alt="Son Haberler" /></a>
<div>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p><?php ob_start(); the_excerpt(); echo dp_clean(ob_get_clean(), 500); ?></p>
<a href="#" class="readmore">Devamını oku »</a>
</div>
<?php endif; ?>
</div>
<!-- end latest -->
<div class="break"></div>
<?php
$thecat = explode(',', dp_settings('categories'));
$count = 0;
foreach ($thecat as $val) :
$count++;
if ($count == 3) $end = ' end'; else $end = '';
?>
<!-- begin -->
<div class="box<?php echo $end; ?>">
<h2><?php echo get_cat_name($val); ?></h2>
<?php
query_posts('cat=' . $val);
if (have_posts()) : $first = true;
while (have_posts()) : the_post();
if ($first) : $first = false;
?>
<?php if (echo get_post_meta($post->ID, "thumbnail", true) !="") { ?>
<a href="<?php the_permalink(); ?>"><img src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" width="198" height="98"></a>
<?php }else{ ?>
<a href="<?php the_permalink(); ?>"><img src="http://www.trguncel.com/goruntuyok.jpg)" width="198" height="98"></a>
<?php } ?>
<p><?php ob_start(); the_excerpt(); echo dp_clean(ob_get_clean(), 140); ?></p>
<a href="<?php the_permalink(); ?>" class="readmore">Devamını oku »</a>
<ul>
<?php else: ?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<?php endif; endwhile; ?>
</ul>
<?php endif; ?>
</div>
<!-- end -->
<?php endforeach; ?>
<div class="break"></div>
<!-- begin recent posts -->
<div class="box">
<h2>Son Yazılar</h2>
<ul>
<?php dp_recent_posts(10); ?>
</ul>
</div>
<!-- end recent posts -->
<!-- begin recent comments -->
<div class="box">
<h2>Son Yorumlar</h2>
<ul>
<?php dp_recent_comments(10); ?>
</ul>
</div>
<!-- end recent comments -->
<!-- begin top commentators -->
<div class="box end">
<h2>Yazarlar</h2>
<ul>
<?php dp_top_commentators(10); ?>
</ul>
</div>
<!-- end top commentators -->
</div>
<!-- END content -->
<?php get_footer(); ?>