Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php get_header(); ?> <div id="author" class="box"> <?php $authorID = get_query_var..

Decoded Output download

<?php get_header(); ?> 
<div id="author" class="box"> 
	<?php  
	$authorID = get_query_var('author');  
	$authorName = get_the_author();  
	?> 
 
	<div class="mainHeading"> 
		<?php echo $authorName; ?> Tarafndan Yazlan Yazlar 
	</div> 
 
	<div class="authorCard"> 
		<?php 
		$image = get_avatar($authorID, 200);  
		$image = explode('src="', $image); 
		$image = explode('"', $image[1]); 
		$image = $image[0]; 
		if(!$image) $image = get_user_meta($authorID, 'avatar', true); 
		if(!$image)	$image = get_bloginfo('template_url') . '/images/noauthor.png'; 
		?> 
		<img src="<?php bloginfo('template_url'); ?>/lib/timthumb.php?src=<?php echo $image; ?>&amp;w=125&amp;h=125" width="125" height="125" alt="<?php the_author(); ?>" /> 
	</div> 
 
	<?php 
	// Yazarn dier yazlar 
	global $paged; 
	$query = new wp_query('paged=' . $paged . '&author='. $authorID); 
	if( $query->have_posts() ) { ?> 
		<div id="authorRelated"> 
		<ul> 
		<?php 
			while ($query->have_posts()) { 
				$query->the_post(); 
				?> 
				<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <span><?php the_time('j F Y'); ?></span></li> 
				<?php 
			} 
		?> 
		</ul> 
		</div> 
		<?php 
	} 
	else { 
		echo 'Yaz bulunamad.'; 
	} 
 
	get_template_part('navi'); 
	?> 
</div> 
<?php get_sidebar(); ?> 
<?php get_footer(); ?>

Did this file decode correctly?

Original Code

<?php get_header(); ?>
<div id="author" class="box">
	<?php 
	$authorID = get_query_var('author'); 
	$authorName = get_the_author(); 
	?>

	<div class="mainHeading">
		<?php echo $authorName; ?> Tarafndan Yazlan Yazlar
	</div>

	<div class="authorCard">
		<?php
		$image = get_avatar($authorID, 200); 
		$image = explode('src="', $image);
		$image = explode('"', $image[1]);
		$image = $image[0];
		if(!$image) $image = get_user_meta($authorID, 'avatar', true);
		if(!$image)	$image = get_bloginfo('template_url') . '/images/noauthor.png';
		?>
		<img src="<?php bloginfo('template_url'); ?>/lib/timthumb.php?src=<?php echo $image; ?>&amp;w=125&amp;h=125" width="125" height="125" alt="<?php the_author(); ?>" />
	</div>

	<?php
	// Yazarn dier yazlar
	global $paged;
	$query = new wp_query('paged=' . $paged . '&author='. $authorID);
	if( $query->have_posts() ) { ?>
		<div id="authorRelated">
		<ul>
		<?php
			while ($query->have_posts()) {
				$query->the_post();
				?>
				<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <span><?php the_time('j F Y'); ?></span></li>
				<?php
			}
		?>
		</ul>
		</div>
		<?php
	}
	else {
		echo 'Yaz bulunamad.';
	}

	get_template_part('navi');
	?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Function Calls

get_header 1

Variables

None

Stats

MD5 b5e850ad30ae8451586becca52f2b316
Eval Count 0
Decode Time 83 ms