Pastoid

The page you are looking at now is at this URL: http://pastoid.com/byz

This paste was last updated on January 7, 2010 at 5:27 pm.

Pasted Coderaw

<?php 
$content = $block->content;
if(preg_match('%(<a[^>]+>)(.+?)</a>%i', $content, $matches) && trim($matches[2]) == trim(strip_tags($content))) {
	$begin = $matches[1];
	$content = $matches[2];
	$end = '</a>';
}
else {
	$begin = '';
	$end = '';
}
?>
<?php echo $begin; ?>
<div id="block-<?php echo $block->module .'-'. $block->delta;?>" class="block block-<?php echo $block->module;?> <?php echo ($block->theme)?'block-'.$block->theme:'';?> <?php echo isset($blocktheme) ? $blocktheme : '' ?> <?php echo is_array($block->classes)?implode(' ', $block->classes):'';?>">
	<div class="top"></div>
	<div class="block_content">
		<?php  if (!empty($block->subject)): ?>
		<h2><?php echo $block->subject;?></h2>
		<?php  endif;?>
		<div class="content"><?php echo $content;?></div>
	</div>
	<div class="bottom"></div>
</div>
<?php echo $end; ?>

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 6
www.rockriverbar.com 2
Is this paste spam?
<Hide