rendered paste body<?php get_header(); ?>
<div id="main">
<div id="content">
<div align="center">
<?php
if(isset($_GET['author_name'])) :
$curauth = get_userdatabylogin($author_name); // NOTE: 2.0 bug requires get_userdatabylogin(get_the_author_login());
else :
$curauth = get_userdata(intval($author));
endif;
?>
<?php get_header(); ?>
</div>
<h2 align="center"><img src="<?php bloginfo('home'); ?>/wp-content/avatars/<?php echo $curauth->ID; ?>.jpg" align="absmiddle" /> "<?php echo $curauth->display_name; ?>" adlı üyenin profili</h2>
<h4>» Hakkında:</h4>
<p><?php echo $curauth->user_description; ?></p>
<h4>» MSN Adresi:</h4>
<p><?php echo $curauth->aim; ?></p>
<h4>» Internet sitesi:</h4>
<p><a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a></p>
<h4>» Üyenin <?php the_author_posts(); ?> yazısı var:</h4>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<ul>
<li><span class="category"><?php the_time('d/m/Y'); ?> : <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?> <?php _e('Yazısına Git'); ?>"><?php the_title(); ?></a> (<?php the_category('-');?>)</span><br /></li>
</ul>
<?php endwhile; ?>
</ul><?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
<?php else: ?>
<p>Üyeye ait bir yazı yok.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>