<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : the_post(); ?>
<div id="ensoneklenenoyun">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="5%" rowspan="2" style="padding:0px;text-align:center;">
<?// herhangi bi siteden resim?> <?php $key = "gameimg"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img style="border:3px #F39929 solid;padding:0px;" src="<?php echo $getir; ?>" width="100" height="" /></a><?php } ?>
<?// kraloyun.com'dan resim ?> <?php $key = "kral"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img style="border:3px #F39929 solid;padding:0px;" src="http://yig.vo.llnwd.net/o25/kaisergames/PageKraloyun/images/Games/<?php echo $getir; ?>.jpg" width="100" height="" /></a><?php } ?>
</td>
<td width="95%" colspan="2">
<div id="ensoneklenenoyunadi"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
</td>
</tr>
<tr>
<td width="91%" vAlign="tOp"><div id="ensoneklenenoyunaciklama"> <?php $values = get_post_custom_values("aciklama"); echo $values[0]; ?></div></td>
<td width="4%" vAlign="bOttOm"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/Oyna.gif"></a></td>
</tr>
</table>
</div>
<div style="clear: both; height: 20px;"> </div>
<?php while (have_posts()) : the_post(); ?>
<div id="post" class="post">
<div id="oyuncephe">
<div id="oyunresim">
<?// herhangi bi siteden resim?> <?php $key = "gameimg"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php echo $getir; ?>" width="100" height="63" /></a><?php } ?>
<?// kraloyun.com'dan resim ?> <?php $key = "kral"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="http://yig.vo.llnwd.net/o25/kaisergames/PageKraloyun/images/Games/<?php echo $getir; ?>.jpg" width="100" height="63" /></a><?php } ?>
</div>
<div style=" margin:0 3px 0 3px;" align="center">
<div class="text2" align="center"><span id="soneklenenoyunadi"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php echo substr($post->post_title, 0, 15). ".."; ?></a></span></div>
<div id="soneklenenoyunkategori"><?php the_category(', ') ?></div>
</div>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php previous_posts_link('« Sonraki Sayfa') ?></div>
<div class="alignright"><?php next_posts_link('Önceki Sayfa »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>