[IMG]
[/IMG][IMG]
[/IMG]olması gereken
[IMG]
[/IMG]benim eklediğim kod renkli belirtilmiştir
<?php
/**
* @package WordPress
* @subpackage KuazaHaber
*/
get_header();
?>
<DIV class="clear_both"><IMG height="0" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<DIV style="height:0px;border-top: 1px solid #CCCCCC;"></DIV>
<table style="width: 974px; position:relative;">
<TBODY>
<tr>
<td style="width: 735px;padding-right:10px;" valign="top">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<DIV class="float_left">
<div class="haber_baslik baslik_renk" style="padding-top: 7px;margin-left:10px;">
<?php the_title(); ?>
</div>
<span style="margin-left:20px;color:#009900;"><?php echo $kuaza["kategoris"]; ?></span> <?php the_category(', ') ?>
<span style="margin-left:10px;color:#009900;"><?php echo $kuaza["etlo"]; ?></span> <?php the_time('M jS, Y') ?>
<span style="margin-left:10px;color:#009900;"><?php echo $kuaza["ekleyens"]; ?></span> <?php the_author_posts_link(); ?>
<!-- AddThis Button BEGIN -->
<div style="float:right;">
<div class="addthis_toolbox addthis_default_style">
<a href="http://www.addthis.com/bookmark.php?v=250&pub=kuaza" class="addthis_button_compact"><?php echo $kuaza["paylass"]; ?></a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_email"></a>
<a class="addthis_button_favorites"></a>
<a class="addthis_button_print"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=kuaza"></script></div>
<!-- AddThis Button END -->
<DIV class="clear_both" style="border-bottom: 1px solid #CCCCCC;"><IMG height="1" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<DIV class="clear_both"><IMG height="10" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<div style="float:left;padding-left:10px;">
<?php echo (stripslashes(get_option('kuaza_yaziokumaustsol468 x15'))); ?>
</div>
<div style="float:right;">
<?php $ext = end(explode('/', $_SERVER['REQUEST_URI'])); ?>
<?php if(function_exists('the_views')) { the_views(); } ?> / <a href="<?php bloginfo('url'); ?>/kuaza_yorum.php?id=<?php echo $post->ID; ?>/<?php echo $ext; ?>"><b><?php echo $kuaza["byay"]; ?></b></a>
</div>
<DIV class="clear_both"><IMG height="1" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<div id="yaziici">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Kuaza_Yaziokuma_UST') ) : ?><?php endif; ?>
<?php the_content(); ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Kuaza_Yaziokuma_ALT') ) : ?><?php endif; ?>
</div>
<div>
</div>
<td align="left">
<script type="text/javascript">
function bilgileriAlyazar1()
{
$.ajax({
type: 'GET',
url: '<?php echo get_option('home'); ?>/kuaza_yazar_sonyazilari.php',
data: 'yazar=<?php the_author_ID(); ?>',
success: function(ajaxCevap) {
$('#bilgileriAlyazar1').html(ajaxCevap);
}
});
return false;
}
$(document).ready(function(){
// By kuaza dan Sevgilerle.
bilgileriAlyazar1();
});
</script><table><tr><td>
</tr></table></tr>
</td>
<TR><TD colspan="2">
<div style="margin-left:10px;border-top:solid 1px #d8d8d8;" id="bilgileriAlyazar1"></div>
<br>
Yazarin Diger yazilari: <?php the_author_posts_link(); ?>
</TD></TR>
</TBODY></TABLE>
<DIV style="height:100%; margin-left: 10px;" id="divAnaDosyalar">
<?php comments_template(); ?>
<DIV class="clear_both"><IMG height="1" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<div style="padding-bottom: 10px;"> </DIV>
<DIV class="clear_both"><IMG height="5" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<DIV style="height:100%; background:#eee;margin-left: 10px;padding:5px;">
<?php echo $kuaza["stag"]; ?> <?php the_tags('',' > '); ?>
</DIV>
<DIV class="clear_both"><IMG height="5" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<div style="text-align:center;margin-left:10px;font-family: Arial, sans-serif;font-weight:bold;">
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
<div class="alignright"><?php next_post_link('%link »') ?></div>
</div>
<DIV class="clear_both"><IMG height="10" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<div style="float:left;padding-left:10px;">
<?php echo (stripslashes(get_option('kuaza_yaziokumaaltsol360 x250'))); ?>
</div>
<div style="float:right;">
<?php echo (stripslashes(get_option('kuaza_yaziokumaaltsag360 x250'))); ?>
</div>
<DIV class="clear_both"><IMG height="10" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<DIV style="height:100%; margin-left: 10px;">
<DIV class="aynikategoricikkuaza">
<?php the_category(', ') ?> <?php echo $kuaza["kdh5"]; ?>
</div>
<?php
foreach((get_the_category()) as $category) {
$hhh = $category->cat_ID; }
$recentPosts = new WP_Query();
$recentPosts->query('showposts=18&cat='.(stripslashes($hhh)).'' );
?>
<?php while ($recentPosts->have_posts()) : $recentPosts->the_post(); ?>
<div style="float:left;">
<div style="float: left; margin-right: 5px">
<div class="outline">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<img src="<?php viva('KuazaGununMansetleri','1'); ?>" alt="<?php the_title(); ?>">
</a>
</div>
</div>
<div style="float: left; margin-left: 5px; width: 170px">
<div style="color: #003259; font-weight: bold; height:30px;overflow: hidden;">
<a class="blue_12" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
</div>
<div style="margin-top:2px;height:28px;overflow: hidden;">
<a style="font-size:11px;overflow: hidden;" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php print string_limit_words(get_the_excerpt(),5); ?>... </a>
</div>
</div>
<div class="clear_both"></div>
</div>
<?php endwhile; wp_reset_query(); ?>
</DIV>
<DIV class="clear_both"><IMG height="10" alt="" src="<?php bloginfo('template_directory'); ?>/images/sp.gif" width="1"></DIV>
<div style="margin-left:10px;">
<?php echo (stripslashes(get_option('kuaza_yaziokuma728x90')) ); ?>
</div>
</DIV>
<?php endwhile; else: ?>
<p>Valal bisey bulamadim
</p><?php endif; wp_reset_query(); ?>
</TD>
<td style="width: 210px;float:left;padding-right:5px;">
<!-- sag taraf -->
<?php include (TEMPLATEPATH . '/kuaza_sagtaraf.php'); ?>
<!-- / sag taraf -->
</td>
</TR>
</TBODY></TABLE>
<?php get_footer(); ?>
karışık anlatım için kusura bakmayın